BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132517 -3.325875)', '2026-07-18 09:00:41', 5.8, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132503 -3.325862)', '2026-07-18 09:00:52', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132517 -3.325875)'), GeomFromEWKT('SRID=4674;POINT (-39.132503 -3.325862)'))) / (select extract(epoch from '2026-07-18 09:00:52'::timestamp) - extract(epoch from '2026-07-18 09:00:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132517 -3.325875)'), GeomFromEWKT('SRID=4674;POINT (-39.132503 -3.325862)'))) / (select extract(epoch from '2026-07-18 09:00:52'::timestamp) - extract(epoch from '2026-07-18 09: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'), 47471, 'SRID=4674;POINT (-39.1325 -3.325865)', '2026-07-18 09:00:57', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132503 -3.325862)'), GeomFromEWKT('SRID=4674;POINT (-39.1325 -3.325865)'))) / (select extract(epoch from '2026-07-18 09:00:57'::timestamp) - extract(epoch from '2026-07-18 09:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132503 -3.325862)'), GeomFromEWKT('SRID=4674;POINT (-39.1325 -3.325865)'))) / (select extract(epoch from '2026-07-18 09:00:57'::timestamp) - extract(epoch from '2026-07-18 09:00:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132496 -3.325845)', '2026-07-18 09:01:06', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.1325 -3.325865)'), GeomFromEWKT('SRID=4674;POINT (-39.132496 -3.325845)'))) / (select extract(epoch from '2026-07-18 09:01:06'::timestamp) - extract(epoch from '2026-07-18 09:00:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.1325 -3.325865)'), GeomFromEWKT('SRID=4674;POINT (-39.132496 -3.325845)'))) / (select extract(epoch from '2026-07-18 09:01:06'::timestamp) - extract(epoch from '2026-07-18 09:00:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132474 -3.325848)', '2026-07-18 09:01:18', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132496 -3.325845)'), GeomFromEWKT('SRID=4674;POINT (-39.132474 -3.325848)'))) / (select extract(epoch from '2026-07-18 09:01:18'::timestamp) - extract(epoch from '2026-07-18 09:01:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132496 -3.325845)'), GeomFromEWKT('SRID=4674;POINT (-39.132474 -3.325848)'))) / (select extract(epoch from '2026-07-18 09:01:18'::timestamp) - extract(epoch from '2026-07-18 09: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'), 47471, 'SRID=4674;POINT (-39.132474 -3.325841)', '2026-07-18 09:01:28', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132474 -3.325848)'), GeomFromEWKT('SRID=4674;POINT (-39.132474 -3.325841)'))) / (select extract(epoch from '2026-07-18 09:01:28'::timestamp) - extract(epoch from '2026-07-18 09:01:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132474 -3.325848)'), GeomFromEWKT('SRID=4674;POINT (-39.132474 -3.325841)'))) / (select extract(epoch from '2026-07-18 09:01:28'::timestamp) - extract(epoch from '2026-07-18 09:01: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'), 47471, 'SRID=4674;POINT (-39.132464 -3.325839)', '2026-07-18 09:01:37', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132474 -3.325841)'), GeomFromEWKT('SRID=4674;POINT (-39.132464 -3.325839)'))) / (select extract(epoch from '2026-07-18 09:01:37'::timestamp) - extract(epoch from '2026-07-18 09:01:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132474 -3.325841)'), GeomFromEWKT('SRID=4674;POINT (-39.132464 -3.325839)'))) / (select extract(epoch from '2026-07-18 09:01:37'::timestamp) - extract(epoch from '2026-07-18 09: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'), 47471, 'SRID=4674;POINT (-39.132465 -3.325838)', '2026-07-18 09:01:45', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132464 -3.325839)'), GeomFromEWKT('SRID=4674;POINT (-39.132465 -3.325838)'))) / (select extract(epoch from '2026-07-18 09:01:45'::timestamp) - extract(epoch from '2026-07-18 09:01:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132464 -3.325839)'), GeomFromEWKT('SRID=4674;POINT (-39.132465 -3.325838)'))) / (select extract(epoch from '2026-07-18 09:01:45'::timestamp) - extract(epoch from '2026-07-18 09:01: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'), 47471, 'SRID=4674;POINT (-39.13246 -3.325837)', '2026-07-18 09:01:56', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132465 -3.325838)'), GeomFromEWKT('SRID=4674;POINT (-39.13246 -3.325837)'))) / (select extract(epoch from '2026-07-18 09:01:56'::timestamp) - extract(epoch from '2026-07-18 09:01:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132465 -3.325838)'), GeomFromEWKT('SRID=4674;POINT (-39.13246 -3.325837)'))) / (select extract(epoch from '2026-07-18 09:01:56'::timestamp) - extract(epoch from '2026-07-18 09:01: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'), 47471, 'SRID=4674;POINT (-39.132456 -3.325837)', '2026-07-18 09:02:09', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13246 -3.325837)'), GeomFromEWKT('SRID=4674;POINT (-39.132456 -3.325837)'))) / (select extract(epoch from '2026-07-18 09:02:09'::timestamp) - extract(epoch from '2026-07-18 09:01:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13246 -3.325837)'), GeomFromEWKT('SRID=4674;POINT (-39.132456 -3.325837)'))) / (select extract(epoch from '2026-07-18 09:02:09'::timestamp) - extract(epoch from '2026-07-18 09:01:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132459 -3.325828)', '2026-07-18 09:02:20', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132456 -3.325837)'), GeomFromEWKT('SRID=4674;POINT (-39.132459 -3.325828)'))) / (select extract(epoch from '2026-07-18 09:02:20'::timestamp) - extract(epoch from '2026-07-18 09:02:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132456 -3.325837)'), GeomFromEWKT('SRID=4674;POINT (-39.132459 -3.325828)'))) / (select extract(epoch from '2026-07-18 09:02:20'::timestamp) - extract(epoch from '2026-07-18 09:02: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'), 47471, 'SRID=4674;POINT (-39.132454 -3.325834)', '2026-07-18 09:02:26', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132459 -3.325828)'), GeomFromEWKT('SRID=4674;POINT (-39.132454 -3.325834)'))) / (select extract(epoch from '2026-07-18 09:02:26'::timestamp) - extract(epoch from '2026-07-18 09:02:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132459 -3.325828)'), GeomFromEWKT('SRID=4674;POINT (-39.132454 -3.325834)'))) / (select extract(epoch from '2026-07-18 09:02:26'::timestamp) - extract(epoch from '2026-07-18 09: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'), 47471, 'SRID=4674;POINT (-39.132449 -3.325832)', '2026-07-18 09:02:34', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132454 -3.325834)'), GeomFromEWKT('SRID=4674;POINT (-39.132449 -3.325832)'))) / (select extract(epoch from '2026-07-18 09:02:34'::timestamp) - extract(epoch from '2026-07-18 09:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132454 -3.325834)'), GeomFromEWKT('SRID=4674;POINT (-39.132449 -3.325832)'))) / (select extract(epoch from '2026-07-18 09:02:34'::timestamp) - extract(epoch from '2026-07-18 09: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'), 47471, 'SRID=4674;POINT (-39.132443 -3.325832)', '2026-07-18 09:02:45', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132449 -3.325832)'), GeomFromEWKT('SRID=4674;POINT (-39.132443 -3.325832)'))) / (select extract(epoch from '2026-07-18 09:02:45'::timestamp) - extract(epoch from '2026-07-18 09:02:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132449 -3.325832)'), GeomFromEWKT('SRID=4674;POINT (-39.132443 -3.325832)'))) / (select extract(epoch from '2026-07-18 09:02:45'::timestamp) - extract(epoch from '2026-07-18 09:02: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'), 47471, 'SRID=4674;POINT (-39.132442 -3.325825)', '2026-07-18 09:02:52', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132443 -3.325832)'), GeomFromEWKT('SRID=4674;POINT (-39.132442 -3.325825)'))) / (select extract(epoch from '2026-07-18 09:02:52'::timestamp) - extract(epoch from '2026-07-18 09:02:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132443 -3.325832)'), GeomFromEWKT('SRID=4674;POINT (-39.132442 -3.325825)'))) / (select extract(epoch from '2026-07-18 09:02:52'::timestamp) - extract(epoch from '2026-07-18 09: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'), 47471, 'SRID=4674;POINT (-39.132435 -3.325825)', '2026-07-18 09:02:59', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132442 -3.325825)'), GeomFromEWKT('SRID=4674;POINT (-39.132435 -3.325825)'))) / (select extract(epoch from '2026-07-18 09:02:59'::timestamp) - extract(epoch from '2026-07-18 09:02:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132442 -3.325825)'), GeomFromEWKT('SRID=4674;POINT (-39.132435 -3.325825)'))) / (select extract(epoch from '2026-07-18 09:02:59'::timestamp) - extract(epoch from '2026-07-18 09:02:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132438 -3.325821)', '2026-07-18 09:03:06', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132435 -3.325825)'), GeomFromEWKT('SRID=4674;POINT (-39.132438 -3.325821)'))) / (select extract(epoch from '2026-07-18 09:03:06'::timestamp) - extract(epoch from '2026-07-18 09:02:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132435 -3.325825)'), GeomFromEWKT('SRID=4674;POINT (-39.132438 -3.325821)'))) / (select extract(epoch from '2026-07-18 09:03:06'::timestamp) - extract(epoch from '2026-07-18 09:02: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'), 47471, 'SRID=4674;POINT (-39.132444 -3.325817)', '2026-07-18 09:03:15', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132438 -3.325821)'), GeomFromEWKT('SRID=4674;POINT (-39.132444 -3.325817)'))) / (select extract(epoch from '2026-07-18 09:03:15'::timestamp) - extract(epoch from '2026-07-18 09:03:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132438 -3.325821)'), GeomFromEWKT('SRID=4674;POINT (-39.132444 -3.325817)'))) / (select extract(epoch from '2026-07-18 09:03:15'::timestamp) - extract(epoch from '2026-07-18 09:03: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'), 47471, 'SRID=4674;POINT (-39.132442 -3.325814)', '2026-07-18 09:03:19', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132444 -3.325817)'), GeomFromEWKT('SRID=4674;POINT (-39.132442 -3.325814)'))) / (select extract(epoch from '2026-07-18 09:03:19'::timestamp) - extract(epoch from '2026-07-18 09:03:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132444 -3.325817)'), GeomFromEWKT('SRID=4674;POINT (-39.132442 -3.325814)'))) / (select extract(epoch from '2026-07-18 09:03:19'::timestamp) - extract(epoch from '2026-07-18 09:03: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'), 47471, 'SRID=4674;POINT (-39.132446 -3.325821)', '2026-07-18 09:03:29', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132442 -3.325814)'), GeomFromEWKT('SRID=4674;POINT (-39.132446 -3.325821)'))) / (select extract(epoch from '2026-07-18 09:03:29'::timestamp) - extract(epoch from '2026-07-18 09:03:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132442 -3.325814)'), GeomFromEWKT('SRID=4674;POINT (-39.132446 -3.325821)'))) / (select extract(epoch from '2026-07-18 09:03:29'::timestamp) - extract(epoch from '2026-07-18 09:03:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132438 -3.325816)', '2026-07-18 09:03:40', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132446 -3.325821)'), GeomFromEWKT('SRID=4674;POINT (-39.132438 -3.325816)'))) / (select extract(epoch from '2026-07-18 09:03:40'::timestamp) - extract(epoch from '2026-07-18 09:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132446 -3.325821)'), GeomFromEWKT('SRID=4674;POINT (-39.132438 -3.325816)'))) / (select extract(epoch from '2026-07-18 09:03:40'::timestamp) - extract(epoch from '2026-07-18 09: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'), 47471, 'SRID=4674;POINT (-39.132432 -3.325806)', '2026-07-18 09:03:47', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132438 -3.325816)'), GeomFromEWKT('SRID=4674;POINT (-39.132432 -3.325806)'))) / (select extract(epoch from '2026-07-18 09:03:47'::timestamp) - extract(epoch from '2026-07-18 09:03:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132438 -3.325816)'), GeomFromEWKT('SRID=4674;POINT (-39.132432 -3.325806)'))) / (select extract(epoch from '2026-07-18 09:03:47'::timestamp) - extract(epoch from '2026-07-18 09:03:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132432 -3.325803)', '2026-07-18 09:03:52', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132432 -3.325806)'), GeomFromEWKT('SRID=4674;POINT (-39.132432 -3.325803)'))) / (select extract(epoch from '2026-07-18 09:03:52'::timestamp) - extract(epoch from '2026-07-18 09:03:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132432 -3.325806)'), GeomFromEWKT('SRID=4674;POINT (-39.132432 -3.325803)'))) / (select extract(epoch from '2026-07-18 09:03:52'::timestamp) - extract(epoch from '2026-07-18 09:03: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'), 47471, 'SRID=4674;POINT (-39.132429 -3.325809)', '2026-07-18 09:04:00', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132432 -3.325803)'), GeomFromEWKT('SRID=4674;POINT (-39.132429 -3.325809)'))) / (select extract(epoch from '2026-07-18 09:04:00'::timestamp) - extract(epoch from '2026-07-18 09:03:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132432 -3.325803)'), GeomFromEWKT('SRID=4674;POINT (-39.132429 -3.325809)'))) / (select extract(epoch from '2026-07-18 09:04:00'::timestamp) - extract(epoch from '2026-07-18 09:03:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132431 -3.325831)', '2026-07-18 09:04:11', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132429 -3.325809)'), GeomFromEWKT('SRID=4674;POINT (-39.132431 -3.325831)'))) / (select extract(epoch from '2026-07-18 09:04:11'::timestamp) - extract(epoch from '2026-07-18 09:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132429 -3.325809)'), GeomFromEWKT('SRID=4674;POINT (-39.132431 -3.325831)'))) / (select extract(epoch from '2026-07-18 09:04:11'::timestamp) - extract(epoch from '2026-07-18 09: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'), 47471, 'SRID=4674;POINT (-39.132431 -3.325831)', '2026-07-18 09:04:24', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132431 -3.325831)'), GeomFromEWKT('SRID=4674;POINT (-39.132431 -3.325831)'))) / (select extract(epoch from '2026-07-18 09:04:24'::timestamp) - extract(epoch from '2026-07-18 09:04:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132431 -3.325831)'), GeomFromEWKT('SRID=4674;POINT (-39.132431 -3.325831)'))) / (select extract(epoch from '2026-07-18 09:04:24'::timestamp) - extract(epoch from '2026-07-18 09:04:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.13243 -3.325833)', '2026-07-18 09:04:38', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132431 -3.325831)'), GeomFromEWKT('SRID=4674;POINT (-39.13243 -3.325833)'))) / (select extract(epoch from '2026-07-18 09:04:38'::timestamp) - extract(epoch from '2026-07-18 09:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132431 -3.325831)'), GeomFromEWKT('SRID=4674;POINT (-39.13243 -3.325833)'))) / (select extract(epoch from '2026-07-18 09:04:38'::timestamp) - extract(epoch from '2026-07-18 09:04:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.13243 -3.325825)', '2026-07-18 09:04:48', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13243 -3.325833)'), GeomFromEWKT('SRID=4674;POINT (-39.13243 -3.325825)'))) / (select extract(epoch from '2026-07-18 09:04:48'::timestamp) - extract(epoch from '2026-07-18 09:04:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13243 -3.325833)'), GeomFromEWKT('SRID=4674;POINT (-39.13243 -3.325825)'))) / (select extract(epoch from '2026-07-18 09:04:48'::timestamp) - extract(epoch from '2026-07-18 09:04: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'), 47471, 'SRID=4674;POINT (-39.132429 -3.325826)', '2026-07-18 09:04:54', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13243 -3.325825)'), GeomFromEWKT('SRID=4674;POINT (-39.132429 -3.325826)'))) / (select extract(epoch from '2026-07-18 09:04:54'::timestamp) - extract(epoch from '2026-07-18 09:04:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13243 -3.325825)'), GeomFromEWKT('SRID=4674;POINT (-39.132429 -3.325826)'))) / (select extract(epoch from '2026-07-18 09:04:54'::timestamp) - extract(epoch from '2026-07-18 09:04: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'), 47471, 'SRID=4674;POINT (-39.132426 -3.325821)', '2026-07-18 09:05:00', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132429 -3.325826)'), GeomFromEWKT('SRID=4674;POINT (-39.132426 -3.325821)'))) / (select extract(epoch from '2026-07-18 09:05:00'::timestamp) - extract(epoch from '2026-07-18 09:04:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132429 -3.325826)'), GeomFromEWKT('SRID=4674;POINT (-39.132426 -3.325821)'))) / (select extract(epoch from '2026-07-18 09:05:00'::timestamp) - extract(epoch from '2026-07-18 09:04: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'), 47471, 'SRID=4674;POINT (-39.132429 -3.325823)', '2026-07-18 09:05:12', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132426 -3.325821)'), GeomFromEWKT('SRID=4674;POINT (-39.132429 -3.325823)'))) / (select extract(epoch from '2026-07-18 09:05:12'::timestamp) - extract(epoch from '2026-07-18 09:05:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132426 -3.325821)'), GeomFromEWKT('SRID=4674;POINT (-39.132429 -3.325823)'))) / (select extract(epoch from '2026-07-18 09:05:12'::timestamp) - extract(epoch from '2026-07-18 09:05: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'), 47471, 'SRID=4674;POINT (-39.132444 -3.325827)', '2026-07-18 09:05:23', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132429 -3.325823)'), GeomFromEWKT('SRID=4674;POINT (-39.132444 -3.325827)'))) / (select extract(epoch from '2026-07-18 09:05:23'::timestamp) - extract(epoch from '2026-07-18 09:05:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132429 -3.325823)'), GeomFromEWKT('SRID=4674;POINT (-39.132444 -3.325827)'))) / (select extract(epoch from '2026-07-18 09:05:23'::timestamp) - extract(epoch from '2026-07-18 09:05: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'), 47471, 'SRID=4674;POINT (-39.132439 -3.325836)', '2026-07-18 09:05:28', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132444 -3.325827)'), GeomFromEWKT('SRID=4674;POINT (-39.132439 -3.325836)'))) / (select extract(epoch from '2026-07-18 09:05:28'::timestamp) - extract(epoch from '2026-07-18 09:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132444 -3.325827)'), GeomFromEWKT('SRID=4674;POINT (-39.132439 -3.325836)'))) / (select extract(epoch from '2026-07-18 09:05:28'::timestamp) - extract(epoch from '2026-07-18 09:05: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'), 47471, 'SRID=4674;POINT (-39.132442 -3.325838)', '2026-07-18 09:05:34', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132439 -3.325836)'), GeomFromEWKT('SRID=4674;POINT (-39.132442 -3.325838)'))) / (select extract(epoch from '2026-07-18 09:05:34'::timestamp) - extract(epoch from '2026-07-18 09:05:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132439 -3.325836)'), GeomFromEWKT('SRID=4674;POINT (-39.132442 -3.325838)'))) / (select extract(epoch from '2026-07-18 09:05:34'::timestamp) - extract(epoch from '2026-07-18 09:05:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132447 -3.325839)', '2026-07-18 09:05:47', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132442 -3.325838)'), GeomFromEWKT('SRID=4674;POINT (-39.132447 -3.325839)'))) / (select extract(epoch from '2026-07-18 09:05:47'::timestamp) - extract(epoch from '2026-07-18 09:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132442 -3.325838)'), GeomFromEWKT('SRID=4674;POINT (-39.132447 -3.325839)'))) / (select extract(epoch from '2026-07-18 09:05:47'::timestamp) - extract(epoch from '2026-07-18 09:05:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132445 -3.325839)', '2026-07-18 09:05:58', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132447 -3.325839)'), GeomFromEWKT('SRID=4674;POINT (-39.132445 -3.325839)'))) / (select extract(epoch from '2026-07-18 09:05:58'::timestamp) - extract(epoch from '2026-07-18 09:05:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132447 -3.325839)'), GeomFromEWKT('SRID=4674;POINT (-39.132445 -3.325839)'))) / (select extract(epoch from '2026-07-18 09:05:58'::timestamp) - extract(epoch from '2026-07-18 09:05:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132445 -3.325841)', '2026-07-18 09:06:05', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132445 -3.325839)'), GeomFromEWKT('SRID=4674;POINT (-39.132445 -3.325841)'))) / (select extract(epoch from '2026-07-18 09:06:05'::timestamp) - extract(epoch from '2026-07-18 09:05:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132445 -3.325839)'), GeomFromEWKT('SRID=4674;POINT (-39.132445 -3.325841)'))) / (select extract(epoch from '2026-07-18 09:06:05'::timestamp) - extract(epoch from '2026-07-18 09:05: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'), 47471, 'SRID=4674;POINT (-39.13244 -3.325839)', '2026-07-18 09:06:15', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132445 -3.325841)'), GeomFromEWKT('SRID=4674;POINT (-39.13244 -3.325839)'))) / (select extract(epoch from '2026-07-18 09:06:15'::timestamp) - extract(epoch from '2026-07-18 09:06:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132445 -3.325841)'), GeomFromEWKT('SRID=4674;POINT (-39.13244 -3.325839)'))) / (select extract(epoch from '2026-07-18 09:06:15'::timestamp) - extract(epoch from '2026-07-18 09:06: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'), 47471, 'SRID=4674;POINT (-39.132441 -3.325838)', '2026-07-18 09:06:24', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13244 -3.325839)'), GeomFromEWKT('SRID=4674;POINT (-39.132441 -3.325838)'))) / (select extract(epoch from '2026-07-18 09:06:24'::timestamp) - extract(epoch from '2026-07-18 09:06:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13244 -3.325839)'), GeomFromEWKT('SRID=4674;POINT (-39.132441 -3.325838)'))) / (select extract(epoch from '2026-07-18 09:06:24'::timestamp) - extract(epoch from '2026-07-18 09:06:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132442 -3.325838)', '2026-07-18 09:06:39', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132441 -3.325838)'), GeomFromEWKT('SRID=4674;POINT (-39.132442 -3.325838)'))) / (select extract(epoch from '2026-07-18 09:06:39'::timestamp) - extract(epoch from '2026-07-18 09:06:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132441 -3.325838)'), GeomFromEWKT('SRID=4674;POINT (-39.132442 -3.325838)'))) / (select extract(epoch from '2026-07-18 09:06:39'::timestamp) - extract(epoch from '2026-07-18 09:06: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'), 47471, 'SRID=4674;POINT (-39.132445 -3.325835)', '2026-07-18 09:06:45', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132442 -3.325838)'), GeomFromEWKT('SRID=4674;POINT (-39.132445 -3.325835)'))) / (select extract(epoch from '2026-07-18 09:06:45'::timestamp) - extract(epoch from '2026-07-18 09:06:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132442 -3.325838)'), GeomFromEWKT('SRID=4674;POINT (-39.132445 -3.325835)'))) / (select extract(epoch from '2026-07-18 09:06:45'::timestamp) - extract(epoch from '2026-07-18 09:06: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'), 47471, 'SRID=4674;POINT (-39.132446 -3.325832)', '2026-07-18 09:06:51', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132445 -3.325835)'), GeomFromEWKT('SRID=4674;POINT (-39.132446 -3.325832)'))) / (select extract(epoch from '2026-07-18 09:06:51'::timestamp) - extract(epoch from '2026-07-18 09:06:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132445 -3.325835)'), GeomFromEWKT('SRID=4674;POINT (-39.132446 -3.325832)'))) / (select extract(epoch from '2026-07-18 09:06:51'::timestamp) - extract(epoch from '2026-07-18 09:06:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132446 -3.325832)', '2026-07-18 09:07:05', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132446 -3.325832)'), GeomFromEWKT('SRID=4674;POINT (-39.132446 -3.325832)'))) / (select extract(epoch from '2026-07-18 09:07:05'::timestamp) - extract(epoch from '2026-07-18 09:06:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132446 -3.325832)'), GeomFromEWKT('SRID=4674;POINT (-39.132446 -3.325832)'))) / (select extract(epoch from '2026-07-18 09:07:05'::timestamp) - extract(epoch from '2026-07-18 09:06:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132443 -3.325835)', '2026-07-18 09:07:15', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132446 -3.325832)'), GeomFromEWKT('SRID=4674;POINT (-39.132443 -3.325835)'))) / (select extract(epoch from '2026-07-18 09:07:15'::timestamp) - extract(epoch from '2026-07-18 09:07:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132446 -3.325832)'), GeomFromEWKT('SRID=4674;POINT (-39.132443 -3.325835)'))) / (select extract(epoch from '2026-07-18 09:07:15'::timestamp) - extract(epoch from '2026-07-18 09:07: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'), 47471, 'SRID=4674;POINT (-39.132439 -3.325836)', '2026-07-18 09:07:24', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132443 -3.325835)'), GeomFromEWKT('SRID=4674;POINT (-39.132439 -3.325836)'))) / (select extract(epoch from '2026-07-18 09:07:24'::timestamp) - extract(epoch from '2026-07-18 09:07:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132443 -3.325835)'), GeomFromEWKT('SRID=4674;POINT (-39.132439 -3.325836)'))) / (select extract(epoch from '2026-07-18 09:07:24'::timestamp) - extract(epoch from '2026-07-18 09:07: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'), 47471, 'SRID=4674;POINT (-39.13244 -3.325829)', '2026-07-18 09:07:34', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132439 -3.325836)'), GeomFromEWKT('SRID=4674;POINT (-39.13244 -3.325829)'))) / (select extract(epoch from '2026-07-18 09:07:34'::timestamp) - extract(epoch from '2026-07-18 09:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132439 -3.325836)'), GeomFromEWKT('SRID=4674;POINT (-39.13244 -3.325829)'))) / (select extract(epoch from '2026-07-18 09:07:34'::timestamp) - extract(epoch from '2026-07-18 09:07: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'), 47471, 'SRID=4674;POINT (-39.132446 -3.325827)', '2026-07-18 09:07:43', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13244 -3.325829)'), GeomFromEWKT('SRID=4674;POINT (-39.132446 -3.325827)'))) / (select extract(epoch from '2026-07-18 09:07:43'::timestamp) - extract(epoch from '2026-07-18 09:07:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13244 -3.325829)'), GeomFromEWKT('SRID=4674;POINT (-39.132446 -3.325827)'))) / (select extract(epoch from '2026-07-18 09:07:43'::timestamp) - extract(epoch from '2026-07-18 09:07: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'), 47471, 'SRID=4674;POINT (-39.13244 -3.325827)', '2026-07-18 09:07:54', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132446 -3.325827)'), GeomFromEWKT('SRID=4674;POINT (-39.13244 -3.325827)'))) / (select extract(epoch from '2026-07-18 09:07:54'::timestamp) - extract(epoch from '2026-07-18 09:07:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132446 -3.325827)'), GeomFromEWKT('SRID=4674;POINT (-39.13244 -3.325827)'))) / (select extract(epoch from '2026-07-18 09:07:54'::timestamp) - extract(epoch from '2026-07-18 09:07:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132441 -3.325821)', '2026-07-18 09:08:09', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13244 -3.325827)'), GeomFromEWKT('SRID=4674;POINT (-39.132441 -3.325821)'))) / (select extract(epoch from '2026-07-18 09:08:09'::timestamp) - extract(epoch from '2026-07-18 09:07:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13244 -3.325827)'), GeomFromEWKT('SRID=4674;POINT (-39.132441 -3.325821)'))) / (select extract(epoch from '2026-07-18 09:08:09'::timestamp) - extract(epoch from '2026-07-18 09:07: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'), 47471, 'SRID=4674;POINT (-39.132445 -3.325817)', '2026-07-18 09:08:17', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132441 -3.325821)'), GeomFromEWKT('SRID=4674;POINT (-39.132445 -3.325817)'))) / (select extract(epoch from '2026-07-18 09:08:17'::timestamp) - extract(epoch from '2026-07-18 09:08:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132441 -3.325821)'), GeomFromEWKT('SRID=4674;POINT (-39.132445 -3.325817)'))) / (select extract(epoch from '2026-07-18 09:08:17'::timestamp) - extract(epoch from '2026-07-18 09: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'), 47471, 'SRID=4674;POINT (-39.132446 -3.325821)', '2026-07-18 09:08:30', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132445 -3.325817)'), GeomFromEWKT('SRID=4674;POINT (-39.132446 -3.325821)'))) / (select extract(epoch from '2026-07-18 09:08:30'::timestamp) - extract(epoch from '2026-07-18 09:08:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132445 -3.325817)'), GeomFromEWKT('SRID=4674;POINT (-39.132446 -3.325821)'))) / (select extract(epoch from '2026-07-18 09:08:30'::timestamp) - extract(epoch from '2026-07-18 09:08: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'), 47471, 'SRID=4674;POINT (-39.132449 -3.325819)', '2026-07-18 09:08:51', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132446 -3.325821)'), GeomFromEWKT('SRID=4674;POINT (-39.132449 -3.325819)'))) / (select extract(epoch from '2026-07-18 09:08:51'::timestamp) - extract(epoch from '2026-07-18 09:08:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132446 -3.325821)'), GeomFromEWKT('SRID=4674;POINT (-39.132449 -3.325819)'))) / (select extract(epoch from '2026-07-18 09:08:51'::timestamp) - extract(epoch from '2026-07-18 09: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'), 47471, 'SRID=4674;POINT (-39.132452 -3.325818)', '2026-07-18 09:09:02', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132449 -3.325819)'), GeomFromEWKT('SRID=4674;POINT (-39.132452 -3.325818)'))) / (select extract(epoch from '2026-07-18 09:09:02'::timestamp) - extract(epoch from '2026-07-18 09:08:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132449 -3.325819)'), GeomFromEWKT('SRID=4674;POINT (-39.132452 -3.325818)'))) / (select extract(epoch from '2026-07-18 09:09:02'::timestamp) - extract(epoch from '2026-07-18 09: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'), 47471, 'SRID=4674;POINT (-39.13245 -3.325814)', '2026-07-18 09:09:08', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132452 -3.325818)'), GeomFromEWKT('SRID=4674;POINT (-39.13245 -3.325814)'))) / (select extract(epoch from '2026-07-18 09:09:08'::timestamp) - extract(epoch from '2026-07-18 09:09:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132452 -3.325818)'), GeomFromEWKT('SRID=4674;POINT (-39.13245 -3.325814)'))) / (select extract(epoch from '2026-07-18 09:09:08'::timestamp) - extract(epoch from '2026-07-18 09:09: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'), 47471, 'SRID=4674;POINT (-39.132446 -3.325808)', '2026-07-18 09:09:21', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13245 -3.325814)'), GeomFromEWKT('SRID=4674;POINT (-39.132446 -3.325808)'))) / (select extract(epoch from '2026-07-18 09:09:21'::timestamp) - extract(epoch from '2026-07-18 09:09:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13245 -3.325814)'), GeomFromEWKT('SRID=4674;POINT (-39.132446 -3.325808)'))) / (select extract(epoch from '2026-07-18 09:09:21'::timestamp) - extract(epoch from '2026-07-18 09:09: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'), 47471, 'SRID=4674;POINT (-39.132448 -3.325809)', '2026-07-18 09:09:30', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132446 -3.325808)'), GeomFromEWKT('SRID=4674;POINT (-39.132448 -3.325809)'))) / (select extract(epoch from '2026-07-18 09:09:30'::timestamp) - extract(epoch from '2026-07-18 09:09:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132446 -3.325808)'), GeomFromEWKT('SRID=4674;POINT (-39.132448 -3.325809)'))) / (select extract(epoch from '2026-07-18 09:09:30'::timestamp) - extract(epoch from '2026-07-18 09:09: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'), 47471, 'SRID=4674;POINT (-39.132435 -3.325808)', '2026-07-18 09:09:42', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132448 -3.325809)'), GeomFromEWKT('SRID=4674;POINT (-39.132435 -3.325808)'))) / (select extract(epoch from '2026-07-18 09:09:42'::timestamp) - extract(epoch from '2026-07-18 09:09:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132448 -3.325809)'), GeomFromEWKT('SRID=4674;POINT (-39.132435 -3.325808)'))) / (select extract(epoch from '2026-07-18 09:09:42'::timestamp) - extract(epoch from '2026-07-18 09:09: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'), 47471, 'SRID=4674;POINT (-39.132434 -3.325811)', '2026-07-18 09:09:51', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132435 -3.325808)'), GeomFromEWKT('SRID=4674;POINT (-39.132434 -3.325811)'))) / (select extract(epoch from '2026-07-18 09:09:51'::timestamp) - extract(epoch from '2026-07-18 09:09:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132435 -3.325808)'), GeomFromEWKT('SRID=4674;POINT (-39.132434 -3.325811)'))) / (select extract(epoch from '2026-07-18 09:09:51'::timestamp) - extract(epoch from '2026-07-18 09:09: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'), 47471, 'SRID=4674;POINT (-39.132437 -3.325813)', '2026-07-18 09:10:04', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132434 -3.325811)'), GeomFromEWKT('SRID=4674;POINT (-39.132437 -3.325813)'))) / (select extract(epoch from '2026-07-18 09:10:04'::timestamp) - extract(epoch from '2026-07-18 09:09:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132434 -3.325811)'), GeomFromEWKT('SRID=4674;POINT (-39.132437 -3.325813)'))) / (select extract(epoch from '2026-07-18 09:10:04'::timestamp) - extract(epoch from '2026-07-18 09:09: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'), 47471, 'SRID=4674;POINT (-39.132434 -3.32582)', '2026-07-18 09:10:13', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132437 -3.325813)'), GeomFromEWKT('SRID=4674;POINT (-39.132434 -3.32582)'))) / (select extract(epoch from '2026-07-18 09:10:13'::timestamp) - extract(epoch from '2026-07-18 09:10:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132437 -3.325813)'), GeomFromEWKT('SRID=4674;POINT (-39.132434 -3.32582)'))) / (select extract(epoch from '2026-07-18 09:10:13'::timestamp) - extract(epoch from '2026-07-18 09: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'), 47471, 'SRID=4674;POINT (-39.132436 -3.325816)', '2026-07-18 09:10:21', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132434 -3.32582)'), GeomFromEWKT('SRID=4674;POINT (-39.132436 -3.325816)'))) / (select extract(epoch from '2026-07-18 09:10:21'::timestamp) - extract(epoch from '2026-07-18 09:10:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132434 -3.32582)'), GeomFromEWKT('SRID=4674;POINT (-39.132436 -3.325816)'))) / (select extract(epoch from '2026-07-18 09:10:21'::timestamp) - extract(epoch from '2026-07-18 09:10: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'), 47471, 'SRID=4674;POINT (-39.132434 -3.325822)', '2026-07-18 09:10:33', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132436 -3.325816)'), GeomFromEWKT('SRID=4674;POINT (-39.132434 -3.325822)'))) / (select extract(epoch from '2026-07-18 09:10:33'::timestamp) - extract(epoch from '2026-07-18 09:10:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132436 -3.325816)'), GeomFromEWKT('SRID=4674;POINT (-39.132434 -3.325822)'))) / (select extract(epoch from '2026-07-18 09:10:33'::timestamp) - extract(epoch from '2026-07-18 09:10: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'), 47471, 'SRID=4674;POINT (-39.132437 -3.32582)', '2026-07-18 09:10:42', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132434 -3.325822)'), GeomFromEWKT('SRID=4674;POINT (-39.132437 -3.32582)'))) / (select extract(epoch from '2026-07-18 09:10:42'::timestamp) - extract(epoch from '2026-07-18 09:10:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132434 -3.325822)'), GeomFromEWKT('SRID=4674;POINT (-39.132437 -3.32582)'))) / (select extract(epoch from '2026-07-18 09:10:42'::timestamp) - extract(epoch from '2026-07-18 09:10: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'), 47471, 'SRID=4674;POINT (-39.132433 -3.325818)', '2026-07-18 09:10:49', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132437 -3.32582)'), GeomFromEWKT('SRID=4674;POINT (-39.132433 -3.325818)'))) / (select extract(epoch from '2026-07-18 09:10:49'::timestamp) - extract(epoch from '2026-07-18 09:10:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132437 -3.32582)'), GeomFromEWKT('SRID=4674;POINT (-39.132433 -3.325818)'))) / (select extract(epoch from '2026-07-18 09:10:49'::timestamp) - extract(epoch from '2026-07-18 09:10: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'), 47471, 'SRID=4674;POINT (-39.132436 -3.325816)', '2026-07-18 09:10:59', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132433 -3.325818)'), GeomFromEWKT('SRID=4674;POINT (-39.132436 -3.325816)'))) / (select extract(epoch from '2026-07-18 09:10:59'::timestamp) - extract(epoch from '2026-07-18 09:10:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132433 -3.325818)'), GeomFromEWKT('SRID=4674;POINT (-39.132436 -3.325816)'))) / (select extract(epoch from '2026-07-18 09:10:59'::timestamp) - extract(epoch from '2026-07-18 09:10: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'), 47471, 'SRID=4674;POINT (-39.132437 -3.325816)', '2026-07-18 09:11:05', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132436 -3.325816)'), GeomFromEWKT('SRID=4674;POINT (-39.132437 -3.325816)'))) / (select extract(epoch from '2026-07-18 09:11:05'::timestamp) - extract(epoch from '2026-07-18 09:10:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132436 -3.325816)'), GeomFromEWKT('SRID=4674;POINT (-39.132437 -3.325816)'))) / (select extract(epoch from '2026-07-18 09:11:05'::timestamp) - extract(epoch from '2026-07-18 09:10:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132435 -3.325827)', '2026-07-18 09:11:16', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132437 -3.325816)'), GeomFromEWKT('SRID=4674;POINT (-39.132435 -3.325827)'))) / (select extract(epoch from '2026-07-18 09:11:16'::timestamp) - extract(epoch from '2026-07-18 09:11:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132437 -3.325816)'), GeomFromEWKT('SRID=4674;POINT (-39.132435 -3.325827)'))) / (select extract(epoch from '2026-07-18 09:11:16'::timestamp) - extract(epoch from '2026-07-18 09:11: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'), 47471, 'SRID=4674;POINT (-39.132439 -3.325826)', '2026-07-18 09:11:28', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132435 -3.325827)'), GeomFromEWKT('SRID=4674;POINT (-39.132439 -3.325826)'))) / (select extract(epoch from '2026-07-18 09:11:28'::timestamp) - extract(epoch from '2026-07-18 09:11:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132435 -3.325827)'), GeomFromEWKT('SRID=4674;POINT (-39.132439 -3.325826)'))) / (select extract(epoch from '2026-07-18 09:11:28'::timestamp) - extract(epoch from '2026-07-18 09: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'), 47471, 'SRID=4674;POINT (-39.132448 -3.325828)', '2026-07-18 09:11:37', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132439 -3.325826)'), GeomFromEWKT('SRID=4674;POINT (-39.132448 -3.325828)'))) / (select extract(epoch from '2026-07-18 09:11:37'::timestamp) - extract(epoch from '2026-07-18 09:11:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132439 -3.325826)'), GeomFromEWKT('SRID=4674;POINT (-39.132448 -3.325828)'))) / (select extract(epoch from '2026-07-18 09:11:37'::timestamp) - extract(epoch from '2026-07-18 09:11:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132449 -3.325838)', '2026-07-18 09:11:43', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132448 -3.325828)'), GeomFromEWKT('SRID=4674;POINT (-39.132449 -3.325838)'))) / (select extract(epoch from '2026-07-18 09:11:43'::timestamp) - extract(epoch from '2026-07-18 09:11:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132448 -3.325828)'), GeomFromEWKT('SRID=4674;POINT (-39.132449 -3.325838)'))) / (select extract(epoch from '2026-07-18 09:11:43'::timestamp) - extract(epoch from '2026-07-18 09:11: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'), 47471, 'SRID=4674;POINT (-39.132452 -3.32584)', '2026-07-18 09:11:53', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132449 -3.325838)'), GeomFromEWKT('SRID=4674;POINT (-39.132452 -3.32584)'))) / (select extract(epoch from '2026-07-18 09:11:53'::timestamp) - extract(epoch from '2026-07-18 09:11:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132449 -3.325838)'), GeomFromEWKT('SRID=4674;POINT (-39.132452 -3.32584)'))) / (select extract(epoch from '2026-07-18 09:11:53'::timestamp) - extract(epoch from '2026-07-18 09:11:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132451 -3.325836)', '2026-07-18 09:12:04', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132452 -3.32584)'), GeomFromEWKT('SRID=4674;POINT (-39.132451 -3.325836)'))) / (select extract(epoch from '2026-07-18 09:12:04'::timestamp) - extract(epoch from '2026-07-18 09:11:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132452 -3.32584)'), GeomFromEWKT('SRID=4674;POINT (-39.132451 -3.325836)'))) / (select extract(epoch from '2026-07-18 09:12:04'::timestamp) - extract(epoch from '2026-07-18 09:11: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'), 47471, 'SRID=4674;POINT (-39.132458 -3.325843)', '2026-07-18 09:12:13', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132451 -3.325836)'), GeomFromEWKT('SRID=4674;POINT (-39.132458 -3.325843)'))) / (select extract(epoch from '2026-07-18 09:12:13'::timestamp) - extract(epoch from '2026-07-18 09:12:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132451 -3.325836)'), GeomFromEWKT('SRID=4674;POINT (-39.132458 -3.325843)'))) / (select extract(epoch from '2026-07-18 09:12:13'::timestamp) - extract(epoch from '2026-07-18 09: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'), 47471, 'SRID=4674;POINT (-39.132457 -3.325841)', '2026-07-18 09:12:22', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132458 -3.325843)'), GeomFromEWKT('SRID=4674;POINT (-39.132457 -3.325841)'))) / (select extract(epoch from '2026-07-18 09:12:22'::timestamp) - extract(epoch from '2026-07-18 09:12:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132458 -3.325843)'), GeomFromEWKT('SRID=4674;POINT (-39.132457 -3.325841)'))) / (select extract(epoch from '2026-07-18 09:12:22'::timestamp) - extract(epoch from '2026-07-18 09:12:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132461 -3.325839)', '2026-07-18 09:12:28', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132457 -3.325841)'), GeomFromEWKT('SRID=4674;POINT (-39.132461 -3.325839)'))) / (select extract(epoch from '2026-07-18 09:12:28'::timestamp) - extract(epoch from '2026-07-18 09:12:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132457 -3.325841)'), GeomFromEWKT('SRID=4674;POINT (-39.132461 -3.325839)'))) / (select extract(epoch from '2026-07-18 09:12:28'::timestamp) - extract(epoch from '2026-07-18 09:12: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'), 47471, 'SRID=4674;POINT (-39.132463 -3.32584)', '2026-07-18 09:12:41', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132461 -3.325839)'), GeomFromEWKT('SRID=4674;POINT (-39.132463 -3.32584)'))) / (select extract(epoch from '2026-07-18 09:12:41'::timestamp) - extract(epoch from '2026-07-18 09:12:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132461 -3.325839)'), GeomFromEWKT('SRID=4674;POINT (-39.132463 -3.32584)'))) / (select extract(epoch from '2026-07-18 09:12:41'::timestamp) - extract(epoch from '2026-07-18 09: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'), 47471, 'SRID=4674;POINT (-39.132465 -3.325845)', '2026-07-18 09:12:51', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132463 -3.32584)'), GeomFromEWKT('SRID=4674;POINT (-39.132465 -3.325845)'))) / (select extract(epoch from '2026-07-18 09:12:51'::timestamp) - extract(epoch from '2026-07-18 09:12:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132463 -3.32584)'), GeomFromEWKT('SRID=4674;POINT (-39.132465 -3.325845)'))) / (select extract(epoch from '2026-07-18 09:12:51'::timestamp) - extract(epoch from '2026-07-18 09:12: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'), 47471, 'SRID=4674;POINT (-39.132466 -3.325842)', '2026-07-18 09:13:01', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132465 -3.325845)'), GeomFromEWKT('SRID=4674;POINT (-39.132466 -3.325842)'))) / (select extract(epoch from '2026-07-18 09:13:01'::timestamp) - extract(epoch from '2026-07-18 09:12:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132465 -3.325845)'), GeomFromEWKT('SRID=4674;POINT (-39.132466 -3.325842)'))) / (select extract(epoch from '2026-07-18 09:13:01'::timestamp) - extract(epoch from '2026-07-18 09:12: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'), 47471, 'SRID=4674;POINT (-39.132464 -3.325843)', '2026-07-18 09:13:09', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132466 -3.325842)'), GeomFromEWKT('SRID=4674;POINT (-39.132464 -3.325843)'))) / (select extract(epoch from '2026-07-18 09:13:09'::timestamp) - extract(epoch from '2026-07-18 09:13:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132466 -3.325842)'), GeomFromEWKT('SRID=4674;POINT (-39.132464 -3.325843)'))) / (select extract(epoch from '2026-07-18 09:13:09'::timestamp) - extract(epoch from '2026-07-18 09:13: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'), 47471, 'SRID=4674;POINT (-39.132464 -3.325842)', '2026-07-18 09:13:17', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132464 -3.325843)'), GeomFromEWKT('SRID=4674;POINT (-39.132464 -3.325842)'))) / (select extract(epoch from '2026-07-18 09:13:17'::timestamp) - extract(epoch from '2026-07-18 09:13:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132464 -3.325843)'), GeomFromEWKT('SRID=4674;POINT (-39.132464 -3.325842)'))) / (select extract(epoch from '2026-07-18 09:13:17'::timestamp) - extract(epoch from '2026-07-18 09:13:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132461 -3.325846)', '2026-07-18 09:13:26', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132464 -3.325842)'), GeomFromEWKT('SRID=4674;POINT (-39.132461 -3.325846)'))) / (select extract(epoch from '2026-07-18 09:13:26'::timestamp) - extract(epoch from '2026-07-18 09:13:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132464 -3.325842)'), GeomFromEWKT('SRID=4674;POINT (-39.132461 -3.325846)'))) / (select extract(epoch from '2026-07-18 09:13:26'::timestamp) - extract(epoch from '2026-07-18 09:13: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'), 47471, 'SRID=4674;POINT (-39.132459 -3.325847)', '2026-07-18 09:13:33', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132461 -3.325846)'), GeomFromEWKT('SRID=4674;POINT (-39.132459 -3.325847)'))) / (select extract(epoch from '2026-07-18 09:13:33'::timestamp) - extract(epoch from '2026-07-18 09:13:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132461 -3.325846)'), GeomFromEWKT('SRID=4674;POINT (-39.132459 -3.325847)'))) / (select extract(epoch from '2026-07-18 09:13:33'::timestamp) - extract(epoch from '2026-07-18 09:13:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132461 -3.325843)', '2026-07-18 09:13:47', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132459 -3.325847)'), GeomFromEWKT('SRID=4674;POINT (-39.132461 -3.325843)'))) / (select extract(epoch from '2026-07-18 09:13:47'::timestamp) - extract(epoch from '2026-07-18 09:13:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132459 -3.325847)'), GeomFromEWKT('SRID=4674;POINT (-39.132461 -3.325843)'))) / (select extract(epoch from '2026-07-18 09:13:47'::timestamp) - extract(epoch from '2026-07-18 09:13: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'), 47471, 'SRID=4674;POINT (-39.13246 -3.325842)', '2026-07-18 09:13:56', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132461 -3.325843)'), GeomFromEWKT('SRID=4674;POINT (-39.13246 -3.325842)'))) / (select extract(epoch from '2026-07-18 09:13:56'::timestamp) - extract(epoch from '2026-07-18 09:13:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132461 -3.325843)'), GeomFromEWKT('SRID=4674;POINT (-39.13246 -3.325842)'))) / (select extract(epoch from '2026-07-18 09:13:56'::timestamp) - extract(epoch from '2026-07-18 09:13: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'), 47471, 'SRID=4674;POINT (-39.132459 -3.325838)', '2026-07-18 09:14:10', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13246 -3.325842)'), GeomFromEWKT('SRID=4674;POINT (-39.132459 -3.325838)'))) / (select extract(epoch from '2026-07-18 09:14:10'::timestamp) - extract(epoch from '2026-07-18 09:13:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13246 -3.325842)'), GeomFromEWKT('SRID=4674;POINT (-39.132459 -3.325838)'))) / (select extract(epoch from '2026-07-18 09:14:10'::timestamp) - extract(epoch from '2026-07-18 09:13: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'), 47471, 'SRID=4674;POINT (-39.132468 -3.325843)', '2026-07-18 09:14:20', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132459 -3.325838)'), GeomFromEWKT('SRID=4674;POINT (-39.132468 -3.325843)'))) / (select extract(epoch from '2026-07-18 09:14:20'::timestamp) - extract(epoch from '2026-07-18 09:14:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132459 -3.325838)'), GeomFromEWKT('SRID=4674;POINT (-39.132468 -3.325843)'))) / (select extract(epoch from '2026-07-18 09:14:20'::timestamp) - extract(epoch from '2026-07-18 09:14: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'), 47471, 'SRID=4674;POINT (-39.13246 -3.325844)', '2026-07-18 09:14:36', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132468 -3.325843)'), GeomFromEWKT('SRID=4674;POINT (-39.13246 -3.325844)'))) / (select extract(epoch from '2026-07-18 09:14:36'::timestamp) - extract(epoch from '2026-07-18 09:14:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132468 -3.325843)'), GeomFromEWKT('SRID=4674;POINT (-39.13246 -3.325844)'))) / (select extract(epoch from '2026-07-18 09:14:36'::timestamp) - extract(epoch from '2026-07-18 09:14:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132461 -3.325843)', '2026-07-18 09:14:45', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13246 -3.325844)'), GeomFromEWKT('SRID=4674;POINT (-39.132461 -3.325843)'))) / (select extract(epoch from '2026-07-18 09:14:45'::timestamp) - extract(epoch from '2026-07-18 09:14:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13246 -3.325844)'), GeomFromEWKT('SRID=4674;POINT (-39.132461 -3.325843)'))) / (select extract(epoch from '2026-07-18 09:14:45'::timestamp) - extract(epoch from '2026-07-18 09:14: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'), 47471, 'SRID=4674;POINT (-39.132465 -3.325842)', '2026-07-18 09:14:54', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132461 -3.325843)'), GeomFromEWKT('SRID=4674;POINT (-39.132465 -3.325842)'))) / (select extract(epoch from '2026-07-18 09:14:54'::timestamp) - extract(epoch from '2026-07-18 09:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132461 -3.325843)'), GeomFromEWKT('SRID=4674;POINT (-39.132465 -3.325842)'))) / (select extract(epoch from '2026-07-18 09:14:54'::timestamp) - extract(epoch from '2026-07-18 09: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'), 47471, 'SRID=4674;POINT (-39.132463 -3.325841)', '2026-07-18 09:15:02', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132465 -3.325842)'), GeomFromEWKT('SRID=4674;POINT (-39.132463 -3.325841)'))) / (select extract(epoch from '2026-07-18 09:15:02'::timestamp) - extract(epoch from '2026-07-18 09:14:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132465 -3.325842)'), GeomFromEWKT('SRID=4674;POINT (-39.132463 -3.325841)'))) / (select extract(epoch from '2026-07-18 09:15:02'::timestamp) - extract(epoch from '2026-07-18 09:14: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'), 47471, 'SRID=4674;POINT (-39.132448 -3.325833)', '2026-07-18 09:15:19', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132463 -3.325841)'), GeomFromEWKT('SRID=4674;POINT (-39.132448 -3.325833)'))) / (select extract(epoch from '2026-07-18 09:15:19'::timestamp) - extract(epoch from '2026-07-18 09:15:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132463 -3.325841)'), GeomFromEWKT('SRID=4674;POINT (-39.132448 -3.325833)'))) / (select extract(epoch from '2026-07-18 09:15:19'::timestamp) - extract(epoch from '2026-07-18 09: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'), 47471, 'SRID=4674;POINT (-39.132447 -3.325832)', '2026-07-18 09:15:25', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132448 -3.325833)'), GeomFromEWKT('SRID=4674;POINT (-39.132447 -3.325832)'))) / (select extract(epoch from '2026-07-18 09:15:25'::timestamp) - extract(epoch from '2026-07-18 09:15:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132448 -3.325833)'), GeomFromEWKT('SRID=4674;POINT (-39.132447 -3.325832)'))) / (select extract(epoch from '2026-07-18 09:15:25'::timestamp) - extract(epoch from '2026-07-18 09:15: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'), 47471, 'SRID=4674;POINT (-39.13245 -3.32583)', '2026-07-18 09:15:32', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132447 -3.325832)'), GeomFromEWKT('SRID=4674;POINT (-39.13245 -3.32583)'))) / (select extract(epoch from '2026-07-18 09:15:32'::timestamp) - extract(epoch from '2026-07-18 09:15:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132447 -3.325832)'), GeomFromEWKT('SRID=4674;POINT (-39.13245 -3.32583)'))) / (select extract(epoch from '2026-07-18 09:15:32'::timestamp) - extract(epoch from '2026-07-18 09:15:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132449 -3.32583)', '2026-07-18 09:15:44', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13245 -3.32583)'), GeomFromEWKT('SRID=4674;POINT (-39.132449 -3.32583)'))) / (select extract(epoch from '2026-07-18 09:15:44'::timestamp) - extract(epoch from '2026-07-18 09:15:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13245 -3.32583)'), GeomFromEWKT('SRID=4674;POINT (-39.132449 -3.32583)'))) / (select extract(epoch from '2026-07-18 09:15:44'::timestamp) - extract(epoch from '2026-07-18 09:15:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132452 -3.325827)', '2026-07-18 09:15:53', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132449 -3.32583)'), GeomFromEWKT('SRID=4674;POINT (-39.132452 -3.325827)'))) / (select extract(epoch from '2026-07-18 09:15:53'::timestamp) - extract(epoch from '2026-07-18 09:15:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132449 -3.32583)'), GeomFromEWKT('SRID=4674;POINT (-39.132452 -3.325827)'))) / (select extract(epoch from '2026-07-18 09:15:53'::timestamp) - extract(epoch from '2026-07-18 09:15:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132457 -3.32583)', '2026-07-18 09:15:59', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132452 -3.325827)'), GeomFromEWKT('SRID=4674;POINT (-39.132457 -3.32583)'))) / (select extract(epoch from '2026-07-18 09:15:59'::timestamp) - extract(epoch from '2026-07-18 09:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132452 -3.325827)'), GeomFromEWKT('SRID=4674;POINT (-39.132457 -3.32583)'))) / (select extract(epoch from '2026-07-18 09:15:59'::timestamp) - extract(epoch from '2026-07-18 09:15: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'), 47471, 'SRID=4674;POINT (-39.132456 -3.325839)', '2026-07-18 09:16:06', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132457 -3.32583)'), GeomFromEWKT('SRID=4674;POINT (-39.132456 -3.325839)'))) / (select extract(epoch from '2026-07-18 09:16:06'::timestamp) - extract(epoch from '2026-07-18 09:15:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132457 -3.32583)'), GeomFromEWKT('SRID=4674;POINT (-39.132456 -3.325839)'))) / (select extract(epoch from '2026-07-18 09:16:06'::timestamp) - extract(epoch from '2026-07-18 09: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'), 47471, 'SRID=4674;POINT (-39.13246 -3.325834)', '2026-07-18 09:16:13', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132456 -3.325839)'), GeomFromEWKT('SRID=4674;POINT (-39.13246 -3.325834)'))) / (select extract(epoch from '2026-07-18 09:16:13'::timestamp) - extract(epoch from '2026-07-18 09:16:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132456 -3.325839)'), GeomFromEWKT('SRID=4674;POINT (-39.13246 -3.325834)'))) / (select extract(epoch from '2026-07-18 09:16:13'::timestamp) - extract(epoch from '2026-07-18 09: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'), 47471, 'SRID=4674;POINT (-39.132458 -3.325841)', '2026-07-18 09:16:23', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13246 -3.325834)'), GeomFromEWKT('SRID=4674;POINT (-39.132458 -3.325841)'))) / (select extract(epoch from '2026-07-18 09:16:23'::timestamp) - extract(epoch from '2026-07-18 09:16:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13246 -3.325834)'), GeomFromEWKT('SRID=4674;POINT (-39.132458 -3.325841)'))) / (select extract(epoch from '2026-07-18 09:16:23'::timestamp) - extract(epoch from '2026-07-18 09:16: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'), 47471, 'SRID=4674;POINT (-39.132462 -3.325843)', '2026-07-18 09:16:31', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132458 -3.325841)'), GeomFromEWKT('SRID=4674;POINT (-39.132462 -3.325843)'))) / (select extract(epoch from '2026-07-18 09:16:31'::timestamp) - extract(epoch from '2026-07-18 09:16:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132458 -3.325841)'), GeomFromEWKT('SRID=4674;POINT (-39.132462 -3.325843)'))) / (select extract(epoch from '2026-07-18 09:16:31'::timestamp) - extract(epoch from '2026-07-18 09:16: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'), 47471, 'SRID=4674;POINT (-39.132459 -3.325842)', '2026-07-18 09:16:39', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132462 -3.325843)'), GeomFromEWKT('SRID=4674;POINT (-39.132459 -3.325842)'))) / (select extract(epoch from '2026-07-18 09:16:39'::timestamp) - extract(epoch from '2026-07-18 09:16:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132462 -3.325843)'), GeomFromEWKT('SRID=4674;POINT (-39.132459 -3.325842)'))) / (select extract(epoch from '2026-07-18 09:16:39'::timestamp) - extract(epoch from '2026-07-18 09:16:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132453 -3.325837)', '2026-07-18 09:16:47', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132459 -3.325842)'), GeomFromEWKT('SRID=4674;POINT (-39.132453 -3.325837)'))) / (select extract(epoch from '2026-07-18 09:16:47'::timestamp) - extract(epoch from '2026-07-18 09:16:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132459 -3.325842)'), GeomFromEWKT('SRID=4674;POINT (-39.132453 -3.325837)'))) / (select extract(epoch from '2026-07-18 09:16:47'::timestamp) - extract(epoch from '2026-07-18 09:16:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.13245 -3.325834)', '2026-07-18 09:16:53', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132453 -3.325837)'), GeomFromEWKT('SRID=4674;POINT (-39.13245 -3.325834)'))) / (select extract(epoch from '2026-07-18 09:16:53'::timestamp) - extract(epoch from '2026-07-18 09:16:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132453 -3.325837)'), GeomFromEWKT('SRID=4674;POINT (-39.13245 -3.325834)'))) / (select extract(epoch from '2026-07-18 09:16:53'::timestamp) - extract(epoch from '2026-07-18 09:16: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'), 47471, 'SRID=4674;POINT (-39.132448 -3.325833)', '2026-07-18 09:17:02', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13245 -3.325834)'), GeomFromEWKT('SRID=4674;POINT (-39.132448 -3.325833)'))) / (select extract(epoch from '2026-07-18 09:17:02'::timestamp) - extract(epoch from '2026-07-18 09:16:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13245 -3.325834)'), GeomFromEWKT('SRID=4674;POINT (-39.132448 -3.325833)'))) / (select extract(epoch from '2026-07-18 09:17:02'::timestamp) - extract(epoch from '2026-07-18 09:16: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'), 47471, 'SRID=4674;POINT (-39.132444 -3.325836)', '2026-07-18 09:17:13', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132448 -3.325833)'), GeomFromEWKT('SRID=4674;POINT (-39.132444 -3.325836)'))) / (select extract(epoch from '2026-07-18 09:17:13'::timestamp) - extract(epoch from '2026-07-18 09:17:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132448 -3.325833)'), GeomFromEWKT('SRID=4674;POINT (-39.132444 -3.325836)'))) / (select extract(epoch from '2026-07-18 09:17:13'::timestamp) - extract(epoch from '2026-07-18 09: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'), 47471, 'SRID=4674;POINT (-39.132449 -3.325828)', '2026-07-18 09:17:19', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132444 -3.325836)'), GeomFromEWKT('SRID=4674;POINT (-39.132449 -3.325828)'))) / (select extract(epoch from '2026-07-18 09:17:19'::timestamp) - extract(epoch from '2026-07-18 09:17:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132444 -3.325836)'), GeomFromEWKT('SRID=4674;POINT (-39.132449 -3.325828)'))) / (select extract(epoch from '2026-07-18 09:17:19'::timestamp) - extract(epoch from '2026-07-18 09:17: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'), 47471, 'SRID=4674;POINT (-39.132456 -3.325832)', '2026-07-18 09:17:26', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132449 -3.325828)'), GeomFromEWKT('SRID=4674;POINT (-39.132456 -3.325832)'))) / (select extract(epoch from '2026-07-18 09:17:26'::timestamp) - extract(epoch from '2026-07-18 09:17:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132449 -3.325828)'), GeomFromEWKT('SRID=4674;POINT (-39.132456 -3.325832)'))) / (select extract(epoch from '2026-07-18 09:17:26'::timestamp) - extract(epoch from '2026-07-18 09:17: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'), 47471, 'SRID=4674;POINT (-39.132458 -3.325834)', '2026-07-18 09:17:34', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132456 -3.325832)'), GeomFromEWKT('SRID=4674;POINT (-39.132458 -3.325834)'))) / (select extract(epoch from '2026-07-18 09:17:34'::timestamp) - extract(epoch from '2026-07-18 09:17:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132456 -3.325832)'), GeomFromEWKT('SRID=4674;POINT (-39.132458 -3.325834)'))) / (select extract(epoch from '2026-07-18 09:17:34'::timestamp) - extract(epoch from '2026-07-18 09:17:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.13246 -3.325833)', '2026-07-18 09:17:41', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132458 -3.325834)'), GeomFromEWKT('SRID=4674;POINT (-39.13246 -3.325833)'))) / (select extract(epoch from '2026-07-18 09:17:41'::timestamp) - extract(epoch from '2026-07-18 09:17:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132458 -3.325834)'), GeomFromEWKT('SRID=4674;POINT (-39.13246 -3.325833)'))) / (select extract(epoch from '2026-07-18 09:17:41'::timestamp) - extract(epoch from '2026-07-18 09:17:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132461 -3.325837)', '2026-07-18 09:17:48', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13246 -3.325833)'), GeomFromEWKT('SRID=4674;POINT (-39.132461 -3.325837)'))) / (select extract(epoch from '2026-07-18 09:17:48'::timestamp) - extract(epoch from '2026-07-18 09:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13246 -3.325833)'), GeomFromEWKT('SRID=4674;POINT (-39.132461 -3.325837)'))) / (select extract(epoch from '2026-07-18 09:17:48'::timestamp) - extract(epoch from '2026-07-18 09: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'), 47471, 'SRID=4674;POINT (-39.13246 -3.325834)', '2026-07-18 09:17:54', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132461 -3.325837)'), GeomFromEWKT('SRID=4674;POINT (-39.13246 -3.325834)'))) / (select extract(epoch from '2026-07-18 09:17:54'::timestamp) - extract(epoch from '2026-07-18 09:17:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132461 -3.325837)'), GeomFromEWKT('SRID=4674;POINT (-39.13246 -3.325834)'))) / (select extract(epoch from '2026-07-18 09:17:54'::timestamp) - extract(epoch from '2026-07-18 09:17: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'), 47471, 'SRID=4674;POINT (-39.132471 -3.325837)', '2026-07-18 09:18:00', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13246 -3.325834)'), GeomFromEWKT('SRID=4674;POINT (-39.132471 -3.325837)'))) / (select extract(epoch from '2026-07-18 09:18:00'::timestamp) - extract(epoch from '2026-07-18 09:17:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13246 -3.325834)'), GeomFromEWKT('SRID=4674;POINT (-39.132471 -3.325837)'))) / (select extract(epoch from '2026-07-18 09:18:00'::timestamp) - extract(epoch from '2026-07-18 09:17: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'), 47471, 'SRID=4674;POINT (-39.13248 -3.325844)', '2026-07-18 09:18:09', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132471 -3.325837)'), GeomFromEWKT('SRID=4674;POINT (-39.13248 -3.325844)'))) / (select extract(epoch from '2026-07-18 09:18:09'::timestamp) - extract(epoch from '2026-07-18 09:18:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132471 -3.325837)'), GeomFromEWKT('SRID=4674;POINT (-39.13248 -3.325844)'))) / (select extract(epoch from '2026-07-18 09:18:09'::timestamp) - extract(epoch from '2026-07-18 09:18: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'), 47471, 'SRID=4674;POINT (-39.132481 -3.325842)', '2026-07-18 09:18:14', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13248 -3.325844)'), GeomFromEWKT('SRID=4674;POINT (-39.132481 -3.325842)'))) / (select extract(epoch from '2026-07-18 09:18:14'::timestamp) - extract(epoch from '2026-07-18 09:18:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13248 -3.325844)'), GeomFromEWKT('SRID=4674;POINT (-39.132481 -3.325842)'))) / (select extract(epoch from '2026-07-18 09:18:14'::timestamp) - extract(epoch from '2026-07-18 09:18: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'), 47471, 'SRID=4674;POINT (-39.132484 -3.325839)', '2026-07-18 09:18:22', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132481 -3.325842)'), GeomFromEWKT('SRID=4674;POINT (-39.132484 -3.325839)'))) / (select extract(epoch from '2026-07-18 09:18:22'::timestamp) - extract(epoch from '2026-07-18 09:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132481 -3.325842)'), GeomFromEWKT('SRID=4674;POINT (-39.132484 -3.325839)'))) / (select extract(epoch from '2026-07-18 09:18:22'::timestamp) - extract(epoch from '2026-07-18 09:18:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132483 -3.325845)', '2026-07-18 09:18:29', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132484 -3.325839)'), GeomFromEWKT('SRID=4674;POINT (-39.132483 -3.325845)'))) / (select extract(epoch from '2026-07-18 09:18:29'::timestamp) - extract(epoch from '2026-07-18 09:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132484 -3.325839)'), GeomFromEWKT('SRID=4674;POINT (-39.132483 -3.325845)'))) / (select extract(epoch from '2026-07-18 09:18:29'::timestamp) - extract(epoch from '2026-07-18 09: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'), 47471, 'SRID=4674;POINT (-39.132482 -3.325848)', '2026-07-18 09:18:36', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132483 -3.325845)'), GeomFromEWKT('SRID=4674;POINT (-39.132482 -3.325848)'))) / (select extract(epoch from '2026-07-18 09:18:36'::timestamp) - extract(epoch from '2026-07-18 09:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132483 -3.325845)'), GeomFromEWKT('SRID=4674;POINT (-39.132482 -3.325848)'))) / (select extract(epoch from '2026-07-18 09:18:36'::timestamp) - extract(epoch from '2026-07-18 09:18:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132478 -3.325854)', '2026-07-18 09:18:43', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132482 -3.325848)'), GeomFromEWKT('SRID=4674;POINT (-39.132478 -3.325854)'))) / (select extract(epoch from '2026-07-18 09:18:43'::timestamp) - extract(epoch from '2026-07-18 09:18:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132482 -3.325848)'), GeomFromEWKT('SRID=4674;POINT (-39.132478 -3.325854)'))) / (select extract(epoch from '2026-07-18 09:18:43'::timestamp) - extract(epoch from '2026-07-18 09:18: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'), 47471, 'SRID=4674;POINT (-39.132478 -3.325851)', '2026-07-18 09:18:49', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132478 -3.325854)'), GeomFromEWKT('SRID=4674;POINT (-39.132478 -3.325851)'))) / (select extract(epoch from '2026-07-18 09:18:49'::timestamp) - extract(epoch from '2026-07-18 09:18:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132478 -3.325854)'), GeomFromEWKT('SRID=4674;POINT (-39.132478 -3.325851)'))) / (select extract(epoch from '2026-07-18 09:18:49'::timestamp) - extract(epoch from '2026-07-18 09:18:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132471 -3.325846)', '2026-07-18 09:18:57', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132478 -3.325851)'), GeomFromEWKT('SRID=4674;POINT (-39.132471 -3.325846)'))) / (select extract(epoch from '2026-07-18 09:18:57'::timestamp) - extract(epoch from '2026-07-18 09:18:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132478 -3.325851)'), GeomFromEWKT('SRID=4674;POINT (-39.132471 -3.325846)'))) / (select extract(epoch from '2026-07-18 09:18:57'::timestamp) - extract(epoch from '2026-07-18 09:18: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'), 47471, 'SRID=4674;POINT (-39.132469 -3.325851)', '2026-07-18 09:19:06', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132471 -3.325846)'), GeomFromEWKT('SRID=4674;POINT (-39.132469 -3.325851)'))) / (select extract(epoch from '2026-07-18 09:19:06'::timestamp) - extract(epoch from '2026-07-18 09:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132471 -3.325846)'), GeomFromEWKT('SRID=4674;POINT (-39.132469 -3.325851)'))) / (select extract(epoch from '2026-07-18 09:19:06'::timestamp) - extract(epoch from '2026-07-18 09:18:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132468 -3.325845)', '2026-07-18 09:19:13', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132469 -3.325851)'), GeomFromEWKT('SRID=4674;POINT (-39.132468 -3.325845)'))) / (select extract(epoch from '2026-07-18 09:19:13'::timestamp) - extract(epoch from '2026-07-18 09:19:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132469 -3.325851)'), GeomFromEWKT('SRID=4674;POINT (-39.132468 -3.325845)'))) / (select extract(epoch from '2026-07-18 09:19:13'::timestamp) - extract(epoch from '2026-07-18 09: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'), 47471, 'SRID=4674;POINT (-39.132461 -3.325844)', '2026-07-18 09:19:21', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132468 -3.325845)'), GeomFromEWKT('SRID=4674;POINT (-39.132461 -3.325844)'))) / (select extract(epoch from '2026-07-18 09:19:21'::timestamp) - extract(epoch from '2026-07-18 09:19:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132468 -3.325845)'), GeomFromEWKT('SRID=4674;POINT (-39.132461 -3.325844)'))) / (select extract(epoch from '2026-07-18 09:19:21'::timestamp) - extract(epoch from '2026-07-18 09:19: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'), 47471, 'SRID=4674;POINT (-39.132457 -3.325837)', '2026-07-18 09:19:32', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132461 -3.325844)'), GeomFromEWKT('SRID=4674;POINT (-39.132457 -3.325837)'))) / (select extract(epoch from '2026-07-18 09:19:32'::timestamp) - extract(epoch from '2026-07-18 09:19:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132461 -3.325844)'), GeomFromEWKT('SRID=4674;POINT (-39.132457 -3.325837)'))) / (select extract(epoch from '2026-07-18 09:19:32'::timestamp) - extract(epoch from '2026-07-18 09:19: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'), 47471, 'SRID=4674;POINT (-39.132453 -3.325833)', '2026-07-18 09:19:42', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132457 -3.325837)'), GeomFromEWKT('SRID=4674;POINT (-39.132453 -3.325833)'))) / (select extract(epoch from '2026-07-18 09:19:42'::timestamp) - extract(epoch from '2026-07-18 09:19:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132457 -3.325837)'), GeomFromEWKT('SRID=4674;POINT (-39.132453 -3.325833)'))) / (select extract(epoch from '2026-07-18 09:19:42'::timestamp) - extract(epoch from '2026-07-18 09:19: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'), 47471, 'SRID=4674;POINT (-39.132453 -3.325833)', '2026-07-18 09:19:52', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132453 -3.325833)'), GeomFromEWKT('SRID=4674;POINT (-39.132453 -3.325833)'))) / (select extract(epoch from '2026-07-18 09:19:52'::timestamp) - extract(epoch from '2026-07-18 09:19:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132453 -3.325833)'), GeomFromEWKT('SRID=4674;POINT (-39.132453 -3.325833)'))) / (select extract(epoch from '2026-07-18 09:19:52'::timestamp) - extract(epoch from '2026-07-18 09: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'), 47471, 'SRID=4674;POINT (-39.132451 -3.325833)', '2026-07-18 09:20:00', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132453 -3.325833)'), GeomFromEWKT('SRID=4674;POINT (-39.132451 -3.325833)'))) / (select extract(epoch from '2026-07-18 09:20:00'::timestamp) - extract(epoch from '2026-07-18 09:19:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132453 -3.325833)'), GeomFromEWKT('SRID=4674;POINT (-39.132451 -3.325833)'))) / (select extract(epoch from '2026-07-18 09:20:00'::timestamp) - extract(epoch from '2026-07-18 09:19:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132451 -3.325831)', '2026-07-18 09:20:08', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132451 -3.325833)'), GeomFromEWKT('SRID=4674;POINT (-39.132451 -3.325831)'))) / (select extract(epoch from '2026-07-18 09:20:08'::timestamp) - extract(epoch from '2026-07-18 09:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132451 -3.325833)'), GeomFromEWKT('SRID=4674;POINT (-39.132451 -3.325831)'))) / (select extract(epoch from '2026-07-18 09:20:08'::timestamp) - extract(epoch from '2026-07-18 09: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'), 47471, 'SRID=4674;POINT (-39.132443 -3.325825)', '2026-07-18 09:20:16', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132451 -3.325831)'), GeomFromEWKT('SRID=4674;POINT (-39.132443 -3.325825)'))) / (select extract(epoch from '2026-07-18 09:20:16'::timestamp) - extract(epoch from '2026-07-18 09:20:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132451 -3.325831)'), GeomFromEWKT('SRID=4674;POINT (-39.132443 -3.325825)'))) / (select extract(epoch from '2026-07-18 09:20:16'::timestamp) - extract(epoch from '2026-07-18 09:20:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132439 -3.325825)', '2026-07-18 09:20:23', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132443 -3.325825)'), GeomFromEWKT('SRID=4674;POINT (-39.132439 -3.325825)'))) / (select extract(epoch from '2026-07-18 09:20:23'::timestamp) - extract(epoch from '2026-07-18 09:20:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132443 -3.325825)'), GeomFromEWKT('SRID=4674;POINT (-39.132439 -3.325825)'))) / (select extract(epoch from '2026-07-18 09:20:23'::timestamp) - extract(epoch from '2026-07-18 09:20: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'), 47471, 'SRID=4674;POINT (-39.13245 -3.325818)', '2026-07-18 09:20:33', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132439 -3.325825)'), GeomFromEWKT('SRID=4674;POINT (-39.13245 -3.325818)'))) / (select extract(epoch from '2026-07-18 09:20:33'::timestamp) - extract(epoch from '2026-07-18 09:20:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132439 -3.325825)'), GeomFromEWKT('SRID=4674;POINT (-39.13245 -3.325818)'))) / (select extract(epoch from '2026-07-18 09:20:33'::timestamp) - extract(epoch from '2026-07-18 09:20:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132434 -3.325802)', '2026-07-18 09:20:47', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13245 -3.325818)'), GeomFromEWKT('SRID=4674;POINT (-39.132434 -3.325802)'))) / (select extract(epoch from '2026-07-18 09:20:47'::timestamp) - extract(epoch from '2026-07-18 09:20:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13245 -3.325818)'), GeomFromEWKT('SRID=4674;POINT (-39.132434 -3.325802)'))) / (select extract(epoch from '2026-07-18 09:20:47'::timestamp) - extract(epoch from '2026-07-18 09:20: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'), 47471, 'SRID=4674;POINT (-39.132423 -3.325792)', '2026-07-18 09:20:59', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132434 -3.325802)'), GeomFromEWKT('SRID=4674;POINT (-39.132423 -3.325792)'))) / (select extract(epoch from '2026-07-18 09:20:59'::timestamp) - extract(epoch from '2026-07-18 09:20:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132434 -3.325802)'), GeomFromEWKT('SRID=4674;POINT (-39.132423 -3.325792)'))) / (select extract(epoch from '2026-07-18 09:20:59'::timestamp) - extract(epoch from '2026-07-18 09:20:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132424 -3.325794)', '2026-07-18 09:21:07', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132423 -3.325792)'), GeomFromEWKT('SRID=4674;POINT (-39.132424 -3.325794)'))) / (select extract(epoch from '2026-07-18 09:21:07'::timestamp) - extract(epoch from '2026-07-18 09:20:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132423 -3.325792)'), GeomFromEWKT('SRID=4674;POINT (-39.132424 -3.325794)'))) / (select extract(epoch from '2026-07-18 09:21:07'::timestamp) - extract(epoch from '2026-07-18 09:20: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'), 47471, 'SRID=4674;POINT (-39.132424 -3.325792)', '2026-07-18 09:21:19', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132424 -3.325794)'), GeomFromEWKT('SRID=4674;POINT (-39.132424 -3.325792)'))) / (select extract(epoch from '2026-07-18 09:21:19'::timestamp) - extract(epoch from '2026-07-18 09:21:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132424 -3.325794)'), GeomFromEWKT('SRID=4674;POINT (-39.132424 -3.325792)'))) / (select extract(epoch from '2026-07-18 09:21:19'::timestamp) - extract(epoch from '2026-07-18 09: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'), 47471, 'SRID=4674;POINT (-39.132417 -3.325791)', '2026-07-18 09:21:30', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132424 -3.325792)'), GeomFromEWKT('SRID=4674;POINT (-39.132417 -3.325791)'))) / (select extract(epoch from '2026-07-18 09:21:30'::timestamp) - extract(epoch from '2026-07-18 09:21:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132424 -3.325792)'), GeomFromEWKT('SRID=4674;POINT (-39.132417 -3.325791)'))) / (select extract(epoch from '2026-07-18 09:21:30'::timestamp) - extract(epoch from '2026-07-18 09:21: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'), 47471, 'SRID=4674;POINT (-39.132415 -3.325796)', '2026-07-18 09:21:37', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132417 -3.325791)'), GeomFromEWKT('SRID=4674;POINT (-39.132415 -3.325796)'))) / (select extract(epoch from '2026-07-18 09:21:37'::timestamp) - extract(epoch from '2026-07-18 09:21:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132417 -3.325791)'), GeomFromEWKT('SRID=4674;POINT (-39.132415 -3.325796)'))) / (select extract(epoch from '2026-07-18 09:21:37'::timestamp) - extract(epoch from '2026-07-18 09:21: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'), 47471, 'SRID=4674;POINT (-39.132414 -3.325793)', '2026-07-18 09:21:49', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132415 -3.325796)'), GeomFromEWKT('SRID=4674;POINT (-39.132414 -3.325793)'))) / (select extract(epoch from '2026-07-18 09:21:49'::timestamp) - extract(epoch from '2026-07-18 09:21:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132415 -3.325796)'), GeomFromEWKT('SRID=4674;POINT (-39.132414 -3.325793)'))) / (select extract(epoch from '2026-07-18 09:21:49'::timestamp) - extract(epoch from '2026-07-18 09:21: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'), 47471, 'SRID=4674;POINT (-39.132423 -3.3258)', '2026-07-18 09:21:57', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132414 -3.325793)'), GeomFromEWKT('SRID=4674;POINT (-39.132423 -3.3258)'))) / (select extract(epoch from '2026-07-18 09:21:57'::timestamp) - extract(epoch from '2026-07-18 09:21:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132414 -3.325793)'), GeomFromEWKT('SRID=4674;POINT (-39.132423 -3.3258)'))) / (select extract(epoch from '2026-07-18 09:21:57'::timestamp) - extract(epoch from '2026-07-18 09:21: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'), 47471, 'SRID=4674;POINT (-39.132431 -3.325811)', '2026-07-18 09:22:09', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132423 -3.3258)'), GeomFromEWKT('SRID=4674;POINT (-39.132431 -3.325811)'))) / (select extract(epoch from '2026-07-18 09:22:09'::timestamp) - extract(epoch from '2026-07-18 09:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132423 -3.3258)'), GeomFromEWKT('SRID=4674;POINT (-39.132431 -3.325811)'))) / (select extract(epoch from '2026-07-18 09:22:09'::timestamp) - extract(epoch from '2026-07-18 09: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'), 47471, 'SRID=4674;POINT (-39.132438 -3.325821)', '2026-07-18 09:22:19', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132431 -3.325811)'), GeomFromEWKT('SRID=4674;POINT (-39.132438 -3.325821)'))) / (select extract(epoch from '2026-07-18 09:22:19'::timestamp) - extract(epoch from '2026-07-18 09:22:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132431 -3.325811)'), GeomFromEWKT('SRID=4674;POINT (-39.132438 -3.325821)'))) / (select extract(epoch from '2026-07-18 09:22:19'::timestamp) - extract(epoch from '2026-07-18 09: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'), 47471, 'SRID=4674;POINT (-39.132443 -3.325819)', '2026-07-18 09:22:26', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132438 -3.325821)'), GeomFromEWKT('SRID=4674;POINT (-39.132443 -3.325819)'))) / (select extract(epoch from '2026-07-18 09:22:26'::timestamp) - extract(epoch from '2026-07-18 09:22:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132438 -3.325821)'), GeomFromEWKT('SRID=4674;POINT (-39.132443 -3.325819)'))) / (select extract(epoch from '2026-07-18 09:22:26'::timestamp) - extract(epoch from '2026-07-18 09:22:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132443 -3.325837)', '2026-07-18 09:22:36', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132443 -3.325819)'), GeomFromEWKT('SRID=4674;POINT (-39.132443 -3.325837)'))) / (select extract(epoch from '2026-07-18 09:22:36'::timestamp) - extract(epoch from '2026-07-18 09:22:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132443 -3.325819)'), GeomFromEWKT('SRID=4674;POINT (-39.132443 -3.325837)'))) / (select extract(epoch from '2026-07-18 09:22:36'::timestamp) - extract(epoch from '2026-07-18 09:22: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'), 47471, 'SRID=4674;POINT (-39.132447 -3.32584)', '2026-07-18 09:22:47', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132443 -3.325837)'), GeomFromEWKT('SRID=4674;POINT (-39.132447 -3.32584)'))) / (select extract(epoch from '2026-07-18 09:22:47'::timestamp) - extract(epoch from '2026-07-18 09:22:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132443 -3.325837)'), GeomFromEWKT('SRID=4674;POINT (-39.132447 -3.32584)'))) / (select extract(epoch from '2026-07-18 09:22:47'::timestamp) - extract(epoch from '2026-07-18 09:22:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.13244 -3.325846)', '2026-07-18 09:22:54', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132447 -3.32584)'), GeomFromEWKT('SRID=4674;POINT (-39.13244 -3.325846)'))) / (select extract(epoch from '2026-07-18 09:22:54'::timestamp) - extract(epoch from '2026-07-18 09:22:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132447 -3.32584)'), GeomFromEWKT('SRID=4674;POINT (-39.13244 -3.325846)'))) / (select extract(epoch from '2026-07-18 09:22:54'::timestamp) - extract(epoch from '2026-07-18 09:22: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'), 47471, 'SRID=4674;POINT (-39.132449 -3.325835)', '2026-07-18 09:23:03', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13244 -3.325846)'), GeomFromEWKT('SRID=4674;POINT (-39.132449 -3.325835)'))) / (select extract(epoch from '2026-07-18 09:23:03'::timestamp) - extract(epoch from '2026-07-18 09:22:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13244 -3.325846)'), GeomFromEWKT('SRID=4674;POINT (-39.132449 -3.325835)'))) / (select extract(epoch from '2026-07-18 09:23:03'::timestamp) - extract(epoch from '2026-07-18 09: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'), 47471, 'SRID=4674;POINT (-39.132453 -3.325834)', '2026-07-18 09:23:09', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132449 -3.325835)'), GeomFromEWKT('SRID=4674;POINT (-39.132453 -3.325834)'))) / (select extract(epoch from '2026-07-18 09:23:09'::timestamp) - extract(epoch from '2026-07-18 09:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132449 -3.325835)'), GeomFromEWKT('SRID=4674;POINT (-39.132453 -3.325834)'))) / (select extract(epoch from '2026-07-18 09:23:09'::timestamp) - extract(epoch from '2026-07-18 09:23: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'), 47471, 'SRID=4674;POINT (-39.132456 -3.325837)', '2026-07-18 09:23:18', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132453 -3.325834)'), GeomFromEWKT('SRID=4674;POINT (-39.132456 -3.325837)'))) / (select extract(epoch from '2026-07-18 09:23:18'::timestamp) - extract(epoch from '2026-07-18 09:23:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132453 -3.325834)'), GeomFromEWKT('SRID=4674;POINT (-39.132456 -3.325837)'))) / (select extract(epoch from '2026-07-18 09:23:18'::timestamp) - extract(epoch from '2026-07-18 09:23: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'), 47471, 'SRID=4674;POINT (-39.132453 -3.325836)', '2026-07-18 09:23:30', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132456 -3.325837)'), GeomFromEWKT('SRID=4674;POINT (-39.132453 -3.325836)'))) / (select extract(epoch from '2026-07-18 09:23:30'::timestamp) - extract(epoch from '2026-07-18 09:23:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132456 -3.325837)'), GeomFromEWKT('SRID=4674;POINT (-39.132453 -3.325836)'))) / (select extract(epoch from '2026-07-18 09:23:30'::timestamp) - extract(epoch from '2026-07-18 09: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'), 47471, 'SRID=4674;POINT (-39.132459 -3.325841)', '2026-07-18 09:23:42', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132453 -3.325836)'), GeomFromEWKT('SRID=4674;POINT (-39.132459 -3.325841)'))) / (select extract(epoch from '2026-07-18 09:23:42'::timestamp) - extract(epoch from '2026-07-18 09:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132453 -3.325836)'), GeomFromEWKT('SRID=4674;POINT (-39.132459 -3.325841)'))) / (select extract(epoch from '2026-07-18 09:23:42'::timestamp) - extract(epoch from '2026-07-18 09:23:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132466 -3.325853)', '2026-07-18 09:23:48', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132459 -3.325841)'), GeomFromEWKT('SRID=4674;POINT (-39.132466 -3.325853)'))) / (select extract(epoch from '2026-07-18 09:23:48'::timestamp) - extract(epoch from '2026-07-18 09:23:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132459 -3.325841)'), GeomFromEWKT('SRID=4674;POINT (-39.132466 -3.325853)'))) / (select extract(epoch from '2026-07-18 09:23:48'::timestamp) - extract(epoch from '2026-07-18 09:23: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'), 47471, 'SRID=4674;POINT (-39.132471 -3.325855)', '2026-07-18 09:23:49', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132466 -3.325853)'), GeomFromEWKT('SRID=4674;POINT (-39.132471 -3.325855)'))) / (select extract(epoch from '2026-07-18 09:23:49'::timestamp) - extract(epoch from '2026-07-18 09:23:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132466 -3.325853)'), GeomFromEWKT('SRID=4674;POINT (-39.132471 -3.325855)'))) / (select extract(epoch from '2026-07-18 09:23:49'::timestamp) - extract(epoch from '2026-07-18 09:23:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132485 -3.325857)', '2026-07-18 09:23:59', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132471 -3.325855)'), GeomFromEWKT('SRID=4674;POINT (-39.132485 -3.325857)'))) / (select extract(epoch from '2026-07-18 09:23:59'::timestamp) - extract(epoch from '2026-07-18 09:23:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132471 -3.325855)'), GeomFromEWKT('SRID=4674;POINT (-39.132485 -3.325857)'))) / (select extract(epoch from '2026-07-18 09:23:59'::timestamp) - extract(epoch from '2026-07-18 09:23: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'), 47471, 'SRID=4674;POINT (-39.132493 -3.32586)', '2026-07-18 09:24:05', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132485 -3.325857)'), GeomFromEWKT('SRID=4674;POINT (-39.132493 -3.32586)'))) / (select extract(epoch from '2026-07-18 09:24:05'::timestamp) - extract(epoch from '2026-07-18 09:23:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132485 -3.325857)'), GeomFromEWKT('SRID=4674;POINT (-39.132493 -3.32586)'))) / (select extract(epoch from '2026-07-18 09:24:05'::timestamp) - extract(epoch from '2026-07-18 09:23:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.1325 -3.325862)', '2026-07-18 09:24:15', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132493 -3.32586)'), GeomFromEWKT('SRID=4674;POINT (-39.1325 -3.325862)'))) / (select extract(epoch from '2026-07-18 09:24:15'::timestamp) - extract(epoch from '2026-07-18 09:24:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132493 -3.32586)'), GeomFromEWKT('SRID=4674;POINT (-39.1325 -3.325862)'))) / (select extract(epoch from '2026-07-18 09:24:15'::timestamp) - extract(epoch from '2026-07-18 09:24: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'), 47471, 'SRID=4674;POINT (-39.132499 -3.325862)', '2026-07-18 09:24:23', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.1325 -3.325862)'), GeomFromEWKT('SRID=4674;POINT (-39.132499 -3.325862)'))) / (select extract(epoch from '2026-07-18 09:24:23'::timestamp) - extract(epoch from '2026-07-18 09:24:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.1325 -3.325862)'), GeomFromEWKT('SRID=4674;POINT (-39.132499 -3.325862)'))) / (select extract(epoch from '2026-07-18 09:24:23'::timestamp) - extract(epoch from '2026-07-18 09: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'), 47471, 'SRID=4674;POINT (-39.132493 -3.325858)', '2026-07-18 09:24:28', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132499 -3.325862)'), GeomFromEWKT('SRID=4674;POINT (-39.132493 -3.325858)'))) / (select extract(epoch from '2026-07-18 09:24:28'::timestamp) - extract(epoch from '2026-07-18 09:24:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132499 -3.325862)'), GeomFromEWKT('SRID=4674;POINT (-39.132493 -3.325858)'))) / (select extract(epoch from '2026-07-18 09:24:28'::timestamp) - extract(epoch from '2026-07-18 09:24:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132484 -3.325853)', '2026-07-18 09:24:38', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132493 -3.325858)'), GeomFromEWKT('SRID=4674;POINT (-39.132484 -3.325853)'))) / (select extract(epoch from '2026-07-18 09:24:38'::timestamp) - extract(epoch from '2026-07-18 09:24:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132493 -3.325858)'), GeomFromEWKT('SRID=4674;POINT (-39.132484 -3.325853)'))) / (select extract(epoch from '2026-07-18 09:24:38'::timestamp) - extract(epoch from '2026-07-18 09:24: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'), 47471, 'SRID=4674;POINT (-39.132483 -3.325852)', '2026-07-18 09:24:45', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132484 -3.325853)'), GeomFromEWKT('SRID=4674;POINT (-39.132483 -3.325852)'))) / (select extract(epoch from '2026-07-18 09:24:45'::timestamp) - extract(epoch from '2026-07-18 09:24:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132484 -3.325853)'), GeomFromEWKT('SRID=4674;POINT (-39.132483 -3.325852)'))) / (select extract(epoch from '2026-07-18 09:24:45'::timestamp) - extract(epoch from '2026-07-18 09:24: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'), 47471, 'SRID=4674;POINT (-39.132493 -3.325853)', '2026-07-18 09:24:55', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132483 -3.325852)'), GeomFromEWKT('SRID=4674;POINT (-39.132493 -3.325853)'))) / (select extract(epoch from '2026-07-18 09:24:55'::timestamp) - extract(epoch from '2026-07-18 09:24:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132483 -3.325852)'), GeomFromEWKT('SRID=4674;POINT (-39.132493 -3.325853)'))) / (select extract(epoch from '2026-07-18 09:24:55'::timestamp) - extract(epoch from '2026-07-18 09: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'), 47471, 'SRID=4674;POINT (-39.132483 -3.325858)', '2026-07-18 09:25:08', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132493 -3.325853)'), GeomFromEWKT('SRID=4674;POINT (-39.132483 -3.325858)'))) / (select extract(epoch from '2026-07-18 09:25:08'::timestamp) - extract(epoch from '2026-07-18 09:24:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132493 -3.325853)'), GeomFromEWKT('SRID=4674;POINT (-39.132483 -3.325858)'))) / (select extract(epoch from '2026-07-18 09:25:08'::timestamp) - extract(epoch from '2026-07-18 09:24: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'), 47471, 'SRID=4674;POINT (-39.13249 -3.325861)', '2026-07-18 09:25:13', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132483 -3.325858)'), GeomFromEWKT('SRID=4674;POINT (-39.13249 -3.325861)'))) / (select extract(epoch from '2026-07-18 09:25:13'::timestamp) - extract(epoch from '2026-07-18 09:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132483 -3.325858)'), GeomFromEWKT('SRID=4674;POINT (-39.13249 -3.325861)'))) / (select extract(epoch from '2026-07-18 09:25:13'::timestamp) - extract(epoch from '2026-07-18 09:25:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132495 -3.325864)', '2026-07-18 09:25:25', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13249 -3.325861)'), GeomFromEWKT('SRID=4674;POINT (-39.132495 -3.325864)'))) / (select extract(epoch from '2026-07-18 09:25:25'::timestamp) - extract(epoch from '2026-07-18 09:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13249 -3.325861)'), GeomFromEWKT('SRID=4674;POINT (-39.132495 -3.325864)'))) / (select extract(epoch from '2026-07-18 09:25:25'::timestamp) - extract(epoch from '2026-07-18 09:25: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'), 47471, 'SRID=4674;POINT (-39.132496 -3.325861)', '2026-07-18 09:25:36', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132495 -3.325864)'), GeomFromEWKT('SRID=4674;POINT (-39.132496 -3.325861)'))) / (select extract(epoch from '2026-07-18 09:25:36'::timestamp) - extract(epoch from '2026-07-18 09:25:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132495 -3.325864)'), GeomFromEWKT('SRID=4674;POINT (-39.132496 -3.325861)'))) / (select extract(epoch from '2026-07-18 09:25:36'::timestamp) - extract(epoch from '2026-07-18 09: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'), 47471, 'SRID=4674;POINT (-39.132494 -3.32586)', '2026-07-18 09:25:48', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132496 -3.325861)'), GeomFromEWKT('SRID=4674;POINT (-39.132494 -3.32586)'))) / (select extract(epoch from '2026-07-18 09:25:48'::timestamp) - extract(epoch from '2026-07-18 09:25:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132496 -3.325861)'), GeomFromEWKT('SRID=4674;POINT (-39.132494 -3.32586)'))) / (select extract(epoch from '2026-07-18 09:25:48'::timestamp) - extract(epoch from '2026-07-18 09: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'), 47471, 'SRID=4674;POINT (-39.1325 -3.32586)', '2026-07-18 09:25:56', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132494 -3.32586)'), GeomFromEWKT('SRID=4674;POINT (-39.1325 -3.32586)'))) / (select extract(epoch from '2026-07-18 09:25:56'::timestamp) - extract(epoch from '2026-07-18 09:25:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132494 -3.32586)'), GeomFromEWKT('SRID=4674;POINT (-39.1325 -3.32586)'))) / (select extract(epoch from '2026-07-18 09:25:56'::timestamp) - extract(epoch from '2026-07-18 09:25:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132507 -3.32587)', '2026-07-18 09:26:09', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.1325 -3.32586)'), GeomFromEWKT('SRID=4674;POINT (-39.132507 -3.32587)'))) / (select extract(epoch from '2026-07-18 09:26:09'::timestamp) - extract(epoch from '2026-07-18 09:25:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.1325 -3.32586)'), GeomFromEWKT('SRID=4674;POINT (-39.132507 -3.32587)'))) / (select extract(epoch from '2026-07-18 09:26:09'::timestamp) - extract(epoch from '2026-07-18 09:25:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132501 -3.32587)', '2026-07-18 09:26:16', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132507 -3.32587)'), GeomFromEWKT('SRID=4674;POINT (-39.132501 -3.32587)'))) / (select extract(epoch from '2026-07-18 09:26:16'::timestamp) - extract(epoch from '2026-07-18 09:26:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132507 -3.32587)'), GeomFromEWKT('SRID=4674;POINT (-39.132501 -3.32587)'))) / (select extract(epoch from '2026-07-18 09:26:16'::timestamp) - extract(epoch from '2026-07-18 09:26: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'), 47471, 'SRID=4674;POINT (-39.132499 -3.32586)', '2026-07-18 09:26:25', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132501 -3.32587)'), GeomFromEWKT('SRID=4674;POINT (-39.132499 -3.32586)'))) / (select extract(epoch from '2026-07-18 09:26:25'::timestamp) - extract(epoch from '2026-07-18 09:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132501 -3.32587)'), GeomFromEWKT('SRID=4674;POINT (-39.132499 -3.32586)'))) / (select extract(epoch from '2026-07-18 09:26:25'::timestamp) - extract(epoch from '2026-07-18 09:26: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'), 47471, 'SRID=4674;POINT (-39.132497 -3.325854)', '2026-07-18 09:26:34', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132499 -3.32586)'), GeomFromEWKT('SRID=4674;POINT (-39.132497 -3.325854)'))) / (select extract(epoch from '2026-07-18 09:26:34'::timestamp) - extract(epoch from '2026-07-18 09:26:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132499 -3.32586)'), GeomFromEWKT('SRID=4674;POINT (-39.132497 -3.325854)'))) / (select extract(epoch from '2026-07-18 09:26:34'::timestamp) - extract(epoch from '2026-07-18 09:26: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'), 47471, 'SRID=4674;POINT (-39.132488 -3.32584)', '2026-07-18 09:26:45', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132497 -3.325854)'), GeomFromEWKT('SRID=4674;POINT (-39.132488 -3.32584)'))) / (select extract(epoch from '2026-07-18 09:26:45'::timestamp) - extract(epoch from '2026-07-18 09:26:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132497 -3.325854)'), GeomFromEWKT('SRID=4674;POINT (-39.132488 -3.32584)'))) / (select extract(epoch from '2026-07-18 09:26:45'::timestamp) - extract(epoch from '2026-07-18 09:26: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'), 47471, 'SRID=4674;POINT (-39.132488 -3.325831)', '2026-07-18 09:26:55', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132488 -3.32584)'), GeomFromEWKT('SRID=4674;POINT (-39.132488 -3.325831)'))) / (select extract(epoch from '2026-07-18 09:26:55'::timestamp) - extract(epoch from '2026-07-18 09:26:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132488 -3.32584)'), GeomFromEWKT('SRID=4674;POINT (-39.132488 -3.325831)'))) / (select extract(epoch from '2026-07-18 09:26:55'::timestamp) - extract(epoch from '2026-07-18 09:26: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'), 47471, 'SRID=4674;POINT (-39.132478 -3.325827)', '2026-07-18 09:27:03', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132488 -3.325831)'), GeomFromEWKT('SRID=4674;POINT (-39.132478 -3.325827)'))) / (select extract(epoch from '2026-07-18 09:27:03'::timestamp) - extract(epoch from '2026-07-18 09:26:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132488 -3.325831)'), GeomFromEWKT('SRID=4674;POINT (-39.132478 -3.325827)'))) / (select extract(epoch from '2026-07-18 09:27:03'::timestamp) - extract(epoch from '2026-07-18 09:26: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'), 47471, 'SRID=4674;POINT (-39.132461 -3.325819)', '2026-07-18 09:27:17', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132478 -3.325827)'), GeomFromEWKT('SRID=4674;POINT (-39.132461 -3.325819)'))) / (select extract(epoch from '2026-07-18 09:27:17'::timestamp) - extract(epoch from '2026-07-18 09:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132478 -3.325827)'), GeomFromEWKT('SRID=4674;POINT (-39.132461 -3.325819)'))) / (select extract(epoch from '2026-07-18 09:27:17'::timestamp) - extract(epoch from '2026-07-18 09:27:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132462 -3.325814)', '2026-07-18 09:27:24', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132461 -3.325819)'), GeomFromEWKT('SRID=4674;POINT (-39.132462 -3.325814)'))) / (select extract(epoch from '2026-07-18 09:27:24'::timestamp) - extract(epoch from '2026-07-18 09:27:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132461 -3.325819)'), GeomFromEWKT('SRID=4674;POINT (-39.132462 -3.325814)'))) / (select extract(epoch from '2026-07-18 09:27:24'::timestamp) - extract(epoch from '2026-07-18 09:27:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132468 -3.325819)', '2026-07-18 09:27:25', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132462 -3.325814)'), GeomFromEWKT('SRID=4674;POINT (-39.132468 -3.325819)'))) / (select extract(epoch from '2026-07-18 09:27:25'::timestamp) - extract(epoch from '2026-07-18 09:27:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132462 -3.325814)'), GeomFromEWKT('SRID=4674;POINT (-39.132468 -3.325819)'))) / (select extract(epoch from '2026-07-18 09:27:25'::timestamp) - extract(epoch from '2026-07-18 09:27: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'), 47471, 'SRID=4674;POINT (-39.132457 -3.325826)', '2026-07-18 09:27:29', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132468 -3.325819)'), GeomFromEWKT('SRID=4674;POINT (-39.132457 -3.325826)'))) / (select extract(epoch from '2026-07-18 09:27:29'::timestamp) - extract(epoch from '2026-07-18 09:27:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132468 -3.325819)'), GeomFromEWKT('SRID=4674;POINT (-39.132457 -3.325826)'))) / (select extract(epoch from '2026-07-18 09:27:29'::timestamp) - extract(epoch from '2026-07-18 09:27:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132464 -3.325821)', '2026-07-18 09:27:37', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132457 -3.325826)'), GeomFromEWKT('SRID=4674;POINT (-39.132464 -3.325821)'))) / (select extract(epoch from '2026-07-18 09:27:37'::timestamp) - extract(epoch from '2026-07-18 09:27:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132457 -3.325826)'), GeomFromEWKT('SRID=4674;POINT (-39.132464 -3.325821)'))) / (select extract(epoch from '2026-07-18 09:27:37'::timestamp) - extract(epoch from '2026-07-18 09:27: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'), 47471, 'SRID=4674;POINT (-39.132461 -3.325821)', '2026-07-18 09:27:48', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132464 -3.325821)'), GeomFromEWKT('SRID=4674;POINT (-39.132461 -3.325821)'))) / (select extract(epoch from '2026-07-18 09:27:48'::timestamp) - extract(epoch from '2026-07-18 09:27:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132464 -3.325821)'), GeomFromEWKT('SRID=4674;POINT (-39.132461 -3.325821)'))) / (select extract(epoch from '2026-07-18 09:27:48'::timestamp) - extract(epoch from '2026-07-18 09:27:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.13246 -3.325822)', '2026-07-18 09:27:57', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132461 -3.325821)'), GeomFromEWKT('SRID=4674;POINT (-39.13246 -3.325822)'))) / (select extract(epoch from '2026-07-18 09:27:57'::timestamp) - extract(epoch from '2026-07-18 09:27:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132461 -3.325821)'), GeomFromEWKT('SRID=4674;POINT (-39.13246 -3.325822)'))) / (select extract(epoch from '2026-07-18 09:27:57'::timestamp) - extract(epoch from '2026-07-18 09:27:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132469 -3.32583)', '2026-07-18 09:28:06', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13246 -3.325822)'), GeomFromEWKT('SRID=4674;POINT (-39.132469 -3.32583)'))) / (select extract(epoch from '2026-07-18 09:28:06'::timestamp) - extract(epoch from '2026-07-18 09:27:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13246 -3.325822)'), GeomFromEWKT('SRID=4674;POINT (-39.132469 -3.32583)'))) / (select extract(epoch from '2026-07-18 09:28:06'::timestamp) - extract(epoch from '2026-07-18 09:27:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132466 -3.325822)', '2026-07-18 09:28:15', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132469 -3.32583)'), GeomFromEWKT('SRID=4674;POINT (-39.132466 -3.325822)'))) / (select extract(epoch from '2026-07-18 09:28:15'::timestamp) - extract(epoch from '2026-07-18 09:28:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132469 -3.32583)'), GeomFromEWKT('SRID=4674;POINT (-39.132466 -3.325822)'))) / (select extract(epoch from '2026-07-18 09:28:15'::timestamp) - extract(epoch from '2026-07-18 09:28: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'), 47471, 'SRID=4674;POINT (-39.132466 -3.325822)', '2026-07-18 09:28:23', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132466 -3.325822)'), GeomFromEWKT('SRID=4674;POINT (-39.132466 -3.325822)'))) / (select extract(epoch from '2026-07-18 09:28:23'::timestamp) - extract(epoch from '2026-07-18 09:28:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132466 -3.325822)'), GeomFromEWKT('SRID=4674;POINT (-39.132466 -3.325822)'))) / (select extract(epoch from '2026-07-18 09:28:23'::timestamp) - extract(epoch from '2026-07-18 09:28:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132474 -3.325829)', '2026-07-18 09:28:30', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132466 -3.325822)'), GeomFromEWKT('SRID=4674;POINT (-39.132474 -3.325829)'))) / (select extract(epoch from '2026-07-18 09:28:30'::timestamp) - extract(epoch from '2026-07-18 09:28:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132466 -3.325822)'), GeomFromEWKT('SRID=4674;POINT (-39.132474 -3.325829)'))) / (select extract(epoch from '2026-07-18 09:28:30'::timestamp) - extract(epoch from '2026-07-18 09:28:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132473 -3.325838)', '2026-07-18 09:28:40', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132474 -3.325829)'), GeomFromEWKT('SRID=4674;POINT (-39.132473 -3.325838)'))) / (select extract(epoch from '2026-07-18 09:28:40'::timestamp) - extract(epoch from '2026-07-18 09:28:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132474 -3.325829)'), GeomFromEWKT('SRID=4674;POINT (-39.132473 -3.325838)'))) / (select extract(epoch from '2026-07-18 09:28:40'::timestamp) - extract(epoch from '2026-07-18 09:28:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132472 -3.325837)', '2026-07-18 09:28:49', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132473 -3.325838)'), GeomFromEWKT('SRID=4674;POINT (-39.132472 -3.325837)'))) / (select extract(epoch from '2026-07-18 09:28:49'::timestamp) - extract(epoch from '2026-07-18 09:28:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132473 -3.325838)'), GeomFromEWKT('SRID=4674;POINT (-39.132472 -3.325837)'))) / (select extract(epoch from '2026-07-18 09:28:49'::timestamp) - extract(epoch from '2026-07-18 09:28: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'), 47471, 'SRID=4674;POINT (-39.13248 -3.325841)', '2026-07-18 09:29:02', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132472 -3.325837)'), GeomFromEWKT('SRID=4674;POINT (-39.13248 -3.325841)'))) / (select extract(epoch from '2026-07-18 09:29:02'::timestamp) - extract(epoch from '2026-07-18 09:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132472 -3.325837)'), GeomFromEWKT('SRID=4674;POINT (-39.13248 -3.325841)'))) / (select extract(epoch from '2026-07-18 09:29:02'::timestamp) - extract(epoch from '2026-07-18 09:28:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132484 -3.325842)', '2026-07-18 09:29:08', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13248 -3.325841)'), GeomFromEWKT('SRID=4674;POINT (-39.132484 -3.325842)'))) / (select extract(epoch from '2026-07-18 09:29:08'::timestamp) - extract(epoch from '2026-07-18 09:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13248 -3.325841)'), GeomFromEWKT('SRID=4674;POINT (-39.132484 -3.325842)'))) / (select extract(epoch from '2026-07-18 09:29:08'::timestamp) - extract(epoch from '2026-07-18 09:29: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'), 47471, 'SRID=4674;POINT (-39.132481 -3.325843)', '2026-07-18 09:29:15', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132484 -3.325842)'), GeomFromEWKT('SRID=4674;POINT (-39.132481 -3.325843)'))) / (select extract(epoch from '2026-07-18 09:29:15'::timestamp) - extract(epoch from '2026-07-18 09:29:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132484 -3.325842)'), GeomFromEWKT('SRID=4674;POINT (-39.132481 -3.325843)'))) / (select extract(epoch from '2026-07-18 09:29:15'::timestamp) - extract(epoch from '2026-07-18 09:29: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'), 47471, 'SRID=4674;POINT (-39.13248 -3.325846)', '2026-07-18 09:29:24', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132481 -3.325843)'), GeomFromEWKT('SRID=4674;POINT (-39.13248 -3.325846)'))) / (select extract(epoch from '2026-07-18 09:29:24'::timestamp) - extract(epoch from '2026-07-18 09:29:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132481 -3.325843)'), GeomFromEWKT('SRID=4674;POINT (-39.13248 -3.325846)'))) / (select extract(epoch from '2026-07-18 09:29:24'::timestamp) - extract(epoch from '2026-07-18 09:29:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132483 -3.32584)', '2026-07-18 09:29:36', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13248 -3.325846)'), GeomFromEWKT('SRID=4674;POINT (-39.132483 -3.32584)'))) / (select extract(epoch from '2026-07-18 09:29:36'::timestamp) - extract(epoch from '2026-07-18 09:29:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13248 -3.325846)'), GeomFromEWKT('SRID=4674;POINT (-39.132483 -3.32584)'))) / (select extract(epoch from '2026-07-18 09:29:36'::timestamp) - extract(epoch from '2026-07-18 09:29:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.13249 -3.325837)', '2026-07-18 09:29:43', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132483 -3.32584)'), GeomFromEWKT('SRID=4674;POINT (-39.13249 -3.325837)'))) / (select extract(epoch from '2026-07-18 09:29:43'::timestamp) - extract(epoch from '2026-07-18 09:29:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132483 -3.32584)'), GeomFromEWKT('SRID=4674;POINT (-39.13249 -3.325837)'))) / (select extract(epoch from '2026-07-18 09:29:43'::timestamp) - extract(epoch from '2026-07-18 09:29: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'), 47471, 'SRID=4674;POINT (-39.132488 -3.325836)', '2026-07-18 09:29:47', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13249 -3.325837)'), GeomFromEWKT('SRID=4674;POINT (-39.132488 -3.325836)'))) / (select extract(epoch from '2026-07-18 09:29:47'::timestamp) - extract(epoch from '2026-07-18 09:29:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13249 -3.325837)'), GeomFromEWKT('SRID=4674;POINT (-39.132488 -3.325836)'))) / (select extract(epoch from '2026-07-18 09:29:47'::timestamp) - extract(epoch from '2026-07-18 09:29:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132488 -3.325841)', '2026-07-18 09:29:52', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132488 -3.325836)'), GeomFromEWKT('SRID=4674;POINT (-39.132488 -3.325841)'))) / (select extract(epoch from '2026-07-18 09:29:52'::timestamp) - extract(epoch from '2026-07-18 09:29:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132488 -3.325836)'), GeomFromEWKT('SRID=4674;POINT (-39.132488 -3.325841)'))) / (select extract(epoch from '2026-07-18 09:29:52'::timestamp) - extract(epoch from '2026-07-18 09:29:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132487 -3.32584)', '2026-07-18 09:29:59', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132488 -3.325841)'), GeomFromEWKT('SRID=4674;POINT (-39.132487 -3.32584)'))) / (select extract(epoch from '2026-07-18 09:29:59'::timestamp) - extract(epoch from '2026-07-18 09:29:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132488 -3.325841)'), GeomFromEWKT('SRID=4674;POINT (-39.132487 -3.32584)'))) / (select extract(epoch from '2026-07-18 09:29:59'::timestamp) - extract(epoch from '2026-07-18 09:29: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'), 47471, 'SRID=4674;POINT (-39.132492 -3.325849)', '2026-07-18 09:30:08', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132487 -3.32584)'), GeomFromEWKT('SRID=4674;POINT (-39.132492 -3.325849)'))) / (select extract(epoch from '2026-07-18 09:30:08'::timestamp) - extract(epoch from '2026-07-18 09:29:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132487 -3.32584)'), GeomFromEWKT('SRID=4674;POINT (-39.132492 -3.325849)'))) / (select extract(epoch from '2026-07-18 09:30:08'::timestamp) - extract(epoch from '2026-07-18 09:29: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'), 47471, 'SRID=4674;POINT (-39.132489 -3.325849)', '2026-07-18 09:30:16', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132492 -3.325849)'), GeomFromEWKT('SRID=4674;POINT (-39.132489 -3.325849)'))) / (select extract(epoch from '2026-07-18 09:30:16'::timestamp) - extract(epoch from '2026-07-18 09:30:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132492 -3.325849)'), GeomFromEWKT('SRID=4674;POINT (-39.132489 -3.325849)'))) / (select extract(epoch from '2026-07-18 09:30:16'::timestamp) - extract(epoch from '2026-07-18 09:30: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'), 47471, 'SRID=4674;POINT (-39.132493 -3.325849)', '2026-07-18 09:30:33', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132489 -3.325849)'), GeomFromEWKT('SRID=4674;POINT (-39.132493 -3.325849)'))) / (select extract(epoch from '2026-07-18 09:30:33'::timestamp) - extract(epoch from '2026-07-18 09:30:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132489 -3.325849)'), GeomFromEWKT('SRID=4674;POINT (-39.132493 -3.325849)'))) / (select extract(epoch from '2026-07-18 09:30:33'::timestamp) - extract(epoch from '2026-07-18 09:30:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132494 -3.325856)', '2026-07-18 09:30:39', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132493 -3.325849)'), GeomFromEWKT('SRID=4674;POINT (-39.132494 -3.325856)'))) / (select extract(epoch from '2026-07-18 09:30:39'::timestamp) - extract(epoch from '2026-07-18 09:30:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132493 -3.325849)'), GeomFromEWKT('SRID=4674;POINT (-39.132494 -3.325856)'))) / (select extract(epoch from '2026-07-18 09:30:39'::timestamp) - extract(epoch from '2026-07-18 09:30:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132492 -3.325861)', '2026-07-18 09:30:49', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132494 -3.325856)'), GeomFromEWKT('SRID=4674;POINT (-39.132492 -3.325861)'))) / (select extract(epoch from '2026-07-18 09:30:49'::timestamp) - extract(epoch from '2026-07-18 09:30:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132494 -3.325856)'), GeomFromEWKT('SRID=4674;POINT (-39.132492 -3.325861)'))) / (select extract(epoch from '2026-07-18 09:30:49'::timestamp) - extract(epoch from '2026-07-18 09:30:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132494 -3.325857)', '2026-07-18 09:30:59', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132492 -3.325861)'), GeomFromEWKT('SRID=4674;POINT (-39.132494 -3.325857)'))) / (select extract(epoch from '2026-07-18 09:30:59'::timestamp) - extract(epoch from '2026-07-18 09:30:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132492 -3.325861)'), GeomFromEWKT('SRID=4674;POINT (-39.132494 -3.325857)'))) / (select extract(epoch from '2026-07-18 09:30:59'::timestamp) - extract(epoch from '2026-07-18 09:30:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132498 -3.325854)', '2026-07-18 09:31:13', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132494 -3.325857)'), GeomFromEWKT('SRID=4674;POINT (-39.132498 -3.325854)'))) / (select extract(epoch from '2026-07-18 09:31:13'::timestamp) - extract(epoch from '2026-07-18 09:30:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132494 -3.325857)'), GeomFromEWKT('SRID=4674;POINT (-39.132498 -3.325854)'))) / (select extract(epoch from '2026-07-18 09:31:13'::timestamp) - extract(epoch from '2026-07-18 09:30: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'), 47471, 'SRID=4674;POINT (-39.132497 -3.325848)', '2026-07-18 09:31:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132498 -3.325854)'), GeomFromEWKT('SRID=4674;POINT (-39.132497 -3.325848)'))) / (select extract(epoch from '2026-07-18 09:31:20'::timestamp) - extract(epoch from '2026-07-18 09:31:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132498 -3.325854)'), GeomFromEWKT('SRID=4674;POINT (-39.132497 -3.325848)'))) / (select extract(epoch from '2026-07-18 09:31:20'::timestamp) - extract(epoch from '2026-07-18 09:31:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132485 -3.325839)', '2026-07-18 09:31:29', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132497 -3.325848)'), GeomFromEWKT('SRID=4674;POINT (-39.132485 -3.325839)'))) / (select extract(epoch from '2026-07-18 09:31:29'::timestamp) - extract(epoch from '2026-07-18 09:31:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132497 -3.325848)'), GeomFromEWKT('SRID=4674;POINT (-39.132485 -3.325839)'))) / (select extract(epoch from '2026-07-18 09:31:29'::timestamp) - extract(epoch from '2026-07-18 09:31: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'), 47471, 'SRID=4674;POINT (-39.132479 -3.325831)', '2026-07-18 09:31:39', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132485 -3.325839)'), GeomFromEWKT('SRID=4674;POINT (-39.132479 -3.325831)'))) / (select extract(epoch from '2026-07-18 09:31:39'::timestamp) - extract(epoch from '2026-07-18 09:31:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132485 -3.325839)'), GeomFromEWKT('SRID=4674;POINT (-39.132479 -3.325831)'))) / (select extract(epoch from '2026-07-18 09:31:39'::timestamp) - extract(epoch from '2026-07-18 09:31: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'), 47471, 'SRID=4674;POINT (-39.132472 -3.325822)', '2026-07-18 09:31:50', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132479 -3.325831)'), GeomFromEWKT('SRID=4674;POINT (-39.132472 -3.325822)'))) / (select extract(epoch from '2026-07-18 09:31:50'::timestamp) - extract(epoch from '2026-07-18 09:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132479 -3.325831)'), GeomFromEWKT('SRID=4674;POINT (-39.132472 -3.325822)'))) / (select extract(epoch from '2026-07-18 09:31:50'::timestamp) - extract(epoch from '2026-07-18 09:31: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'), 47471, 'SRID=4674;POINT (-39.132468 -3.325819)', '2026-07-18 09:32:07', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132472 -3.325822)'), GeomFromEWKT('SRID=4674;POINT (-39.132468 -3.325819)'))) / (select extract(epoch from '2026-07-18 09:32:07'::timestamp) - extract(epoch from '2026-07-18 09:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132472 -3.325822)'), GeomFromEWKT('SRID=4674;POINT (-39.132468 -3.325819)'))) / (select extract(epoch from '2026-07-18 09:32:07'::timestamp) - extract(epoch from '2026-07-18 09:31:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132468 -3.32582)', '2026-07-18 09:32:17', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132468 -3.325819)'), GeomFromEWKT('SRID=4674;POINT (-39.132468 -3.32582)'))) / (select extract(epoch from '2026-07-18 09:32:17'::timestamp) - extract(epoch from '2026-07-18 09:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132468 -3.325819)'), GeomFromEWKT('SRID=4674;POINT (-39.132468 -3.32582)'))) / (select extract(epoch from '2026-07-18 09:32:17'::timestamp) - extract(epoch from '2026-07-18 09:32: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'), 47471, 'SRID=4674;POINT (-39.132469 -3.325818)', '2026-07-18 09:32:29', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132468 -3.32582)'), GeomFromEWKT('SRID=4674;POINT (-39.132469 -3.325818)'))) / (select extract(epoch from '2026-07-18 09:32:29'::timestamp) - extract(epoch from '2026-07-18 09:32:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132468 -3.32582)'), GeomFromEWKT('SRID=4674;POINT (-39.132469 -3.325818)'))) / (select extract(epoch from '2026-07-18 09:32:29'::timestamp) - extract(epoch from '2026-07-18 09:32: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'), 47471, 'SRID=4674;POINT (-39.132467 -3.325818)', '2026-07-18 09:32:37', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132469 -3.325818)'), GeomFromEWKT('SRID=4674;POINT (-39.132467 -3.325818)'))) / (select extract(epoch from '2026-07-18 09:32:37'::timestamp) - extract(epoch from '2026-07-18 09:32:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132469 -3.325818)'), GeomFromEWKT('SRID=4674;POINT (-39.132467 -3.325818)'))) / (select extract(epoch from '2026-07-18 09:32:37'::timestamp) - extract(epoch from '2026-07-18 09:32: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'), 47471, 'SRID=4674;POINT (-39.132469 -3.325819)', '2026-07-18 09:32:48', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132467 -3.325818)'), GeomFromEWKT('SRID=4674;POINT (-39.132469 -3.325819)'))) / (select extract(epoch from '2026-07-18 09:32:48'::timestamp) - extract(epoch from '2026-07-18 09:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132467 -3.325818)'), GeomFromEWKT('SRID=4674;POINT (-39.132469 -3.325819)'))) / (select extract(epoch from '2026-07-18 09:32:48'::timestamp) - extract(epoch from '2026-07-18 09:32:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132468 -3.325823)', '2026-07-18 09:33:01', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132469 -3.325819)'), GeomFromEWKT('SRID=4674;POINT (-39.132468 -3.325823)'))) / (select extract(epoch from '2026-07-18 09:33:01'::timestamp) - extract(epoch from '2026-07-18 09:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132469 -3.325819)'), GeomFromEWKT('SRID=4674;POINT (-39.132468 -3.325823)'))) / (select extract(epoch from '2026-07-18 09:33:01'::timestamp) - extract(epoch from '2026-07-18 09:32:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132475 -3.325824)', '2026-07-18 09:33:13', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132468 -3.325823)'), GeomFromEWKT('SRID=4674;POINT (-39.132475 -3.325824)'))) / (select extract(epoch from '2026-07-18 09:33:13'::timestamp) - extract(epoch from '2026-07-18 09:33:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132468 -3.325823)'), GeomFromEWKT('SRID=4674;POINT (-39.132475 -3.325824)'))) / (select extract(epoch from '2026-07-18 09:33:13'::timestamp) - extract(epoch from '2026-07-18 09:33: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'), 47471, 'SRID=4674;POINT (-39.132481 -3.325828)', '2026-07-18 09:33:25', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132475 -3.325824)'), GeomFromEWKT('SRID=4674;POINT (-39.132481 -3.325828)'))) / (select extract(epoch from '2026-07-18 09:33:25'::timestamp) - extract(epoch from '2026-07-18 09:33:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132475 -3.325824)'), GeomFromEWKT('SRID=4674;POINT (-39.132481 -3.325828)'))) / (select extract(epoch from '2026-07-18 09:33:25'::timestamp) - extract(epoch from '2026-07-18 09:33: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'), 47471, 'SRID=4674;POINT (-39.132485 -3.325835)', '2026-07-18 09:33:36', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132481 -3.325828)'), GeomFromEWKT('SRID=4674;POINT (-39.132485 -3.325835)'))) / (select extract(epoch from '2026-07-18 09:33:36'::timestamp) - extract(epoch from '2026-07-18 09:33:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132481 -3.325828)'), GeomFromEWKT('SRID=4674;POINT (-39.132485 -3.325835)'))) / (select extract(epoch from '2026-07-18 09:33:36'::timestamp) - extract(epoch from '2026-07-18 09:33:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132489 -3.325835)', '2026-07-18 09:33:50', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132485 -3.325835)'), GeomFromEWKT('SRID=4674;POINT (-39.132489 -3.325835)'))) / (select extract(epoch from '2026-07-18 09:33:50'::timestamp) - extract(epoch from '2026-07-18 09:33:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132485 -3.325835)'), GeomFromEWKT('SRID=4674;POINT (-39.132489 -3.325835)'))) / (select extract(epoch from '2026-07-18 09:33:50'::timestamp) - extract(epoch from '2026-07-18 09:33:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132495 -3.325846)', '2026-07-18 09:34:05', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132489 -3.325835)'), GeomFromEWKT('SRID=4674;POINT (-39.132495 -3.325846)'))) / (select extract(epoch from '2026-07-18 09:34:05'::timestamp) - extract(epoch from '2026-07-18 09:33:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132489 -3.325835)'), GeomFromEWKT('SRID=4674;POINT (-39.132495 -3.325846)'))) / (select extract(epoch from '2026-07-18 09:34:05'::timestamp) - extract(epoch from '2026-07-18 09:33:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132495 -3.325842)', '2026-07-18 09:34:12', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132495 -3.325846)'), GeomFromEWKT('SRID=4674;POINT (-39.132495 -3.325842)'))) / (select extract(epoch from '2026-07-18 09:34:12'::timestamp) - extract(epoch from '2026-07-18 09:34:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132495 -3.325846)'), GeomFromEWKT('SRID=4674;POINT (-39.132495 -3.325842)'))) / (select extract(epoch from '2026-07-18 09:34:12'::timestamp) - extract(epoch from '2026-07-18 09:34:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132499 -3.325851)', '2026-07-18 09:34:32', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132495 -3.325842)'), GeomFromEWKT('SRID=4674;POINT (-39.132499 -3.325851)'))) / (select extract(epoch from '2026-07-18 09:34:32'::timestamp) - extract(epoch from '2026-07-18 09:34:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132495 -3.325842)'), GeomFromEWKT('SRID=4674;POINT (-39.132499 -3.325851)'))) / (select extract(epoch from '2026-07-18 09:34:32'::timestamp) - extract(epoch from '2026-07-18 09:34: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'), 47471, 'SRID=4674;POINT (-39.132504 -3.32586)', '2026-07-18 09:34:41', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132499 -3.325851)'), GeomFromEWKT('SRID=4674;POINT (-39.132504 -3.32586)'))) / (select extract(epoch from '2026-07-18 09:34:41'::timestamp) - extract(epoch from '2026-07-18 09:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132499 -3.325851)'), GeomFromEWKT('SRID=4674;POINT (-39.132504 -3.32586)'))) / (select extract(epoch from '2026-07-18 09:34:41'::timestamp) - extract(epoch from '2026-07-18 09:34:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132506 -3.32586)', '2026-07-18 09:34:48', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132504 -3.32586)'), GeomFromEWKT('SRID=4674;POINT (-39.132506 -3.32586)'))) / (select extract(epoch from '2026-07-18 09:34:48'::timestamp) - extract(epoch from '2026-07-18 09:34:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132504 -3.32586)'), GeomFromEWKT('SRID=4674;POINT (-39.132506 -3.32586)'))) / (select extract(epoch from '2026-07-18 09:34:48'::timestamp) - extract(epoch from '2026-07-18 09:34: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'), 47471, 'SRID=4674;POINT (-39.132503 -3.32586)', '2026-07-18 09:34:53', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132506 -3.32586)'), GeomFromEWKT('SRID=4674;POINT (-39.132503 -3.32586)'))) / (select extract(epoch from '2026-07-18 09:34:53'::timestamp) - extract(epoch from '2026-07-18 09:34:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132506 -3.32586)'), GeomFromEWKT('SRID=4674;POINT (-39.132503 -3.32586)'))) / (select extract(epoch from '2026-07-18 09:34:53'::timestamp) - extract(epoch from '2026-07-18 09:34: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'), 47471, 'SRID=4674;POINT (-39.132508 -3.325858)', '2026-07-18 09:35:00', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132503 -3.32586)'), GeomFromEWKT('SRID=4674;POINT (-39.132508 -3.325858)'))) / (select extract(epoch from '2026-07-18 09:35:00'::timestamp) - extract(epoch from '2026-07-18 09:34:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132503 -3.32586)'), GeomFromEWKT('SRID=4674;POINT (-39.132508 -3.325858)'))) / (select extract(epoch from '2026-07-18 09:35:00'::timestamp) - extract(epoch from '2026-07-18 09:34: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'), 47471, 'SRID=4674;POINT (-39.132507 -3.325865)', '2026-07-18 09:35:06', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132508 -3.325858)'), GeomFromEWKT('SRID=4674;POINT (-39.132507 -3.325865)'))) / (select extract(epoch from '2026-07-18 09:35:06'::timestamp) - extract(epoch from '2026-07-18 09:35:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132508 -3.325858)'), GeomFromEWKT('SRID=4674;POINT (-39.132507 -3.325865)'))) / (select extract(epoch from '2026-07-18 09:35:06'::timestamp) - extract(epoch from '2026-07-18 09:35:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132506 -3.325863)', '2026-07-18 09:35:19', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132507 -3.325865)'), GeomFromEWKT('SRID=4674;POINT (-39.132506 -3.325863)'))) / (select extract(epoch from '2026-07-18 09:35:19'::timestamp) - extract(epoch from '2026-07-18 09:35:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132507 -3.325865)'), GeomFromEWKT('SRID=4674;POINT (-39.132506 -3.325863)'))) / (select extract(epoch from '2026-07-18 09:35:19'::timestamp) - extract(epoch from '2026-07-18 09:35: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'), 47471, 'SRID=4674;POINT (-39.132511 -3.325862)', '2026-07-18 09:35:32', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132506 -3.325863)'), GeomFromEWKT('SRID=4674;POINT (-39.132511 -3.325862)'))) / (select extract(epoch from '2026-07-18 09:35:32'::timestamp) - extract(epoch from '2026-07-18 09:35:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132506 -3.325863)'), GeomFromEWKT('SRID=4674;POINT (-39.132511 -3.325862)'))) / (select extract(epoch from '2026-07-18 09:35:32'::timestamp) - extract(epoch from '2026-07-18 09:35: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'), 47471, 'SRID=4674;POINT (-39.132502 -3.32585)', '2026-07-18 09:35:39', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132511 -3.325862)'), GeomFromEWKT('SRID=4674;POINT (-39.132502 -3.32585)'))) / (select extract(epoch from '2026-07-18 09:35:39'::timestamp) - extract(epoch from '2026-07-18 09:35:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132511 -3.325862)'), GeomFromEWKT('SRID=4674;POINT (-39.132502 -3.32585)'))) / (select extract(epoch from '2026-07-18 09:35:39'::timestamp) - extract(epoch from '2026-07-18 09:35: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'), 47471, 'SRID=4674;POINT (-39.1325 -3.325849)', '2026-07-18 09:35:45', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132502 -3.32585)'), GeomFromEWKT('SRID=4674;POINT (-39.1325 -3.325849)'))) / (select extract(epoch from '2026-07-18 09:35:45'::timestamp) - extract(epoch from '2026-07-18 09:35:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132502 -3.32585)'), GeomFromEWKT('SRID=4674;POINT (-39.1325 -3.325849)'))) / (select extract(epoch from '2026-07-18 09:35:45'::timestamp) - extract(epoch from '2026-07-18 09:35: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'), 47471, 'SRID=4674;POINT (-39.132493 -3.325852)', '2026-07-18 09:35:51', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.1325 -3.325849)'), GeomFromEWKT('SRID=4674;POINT (-39.132493 -3.325852)'))) / (select extract(epoch from '2026-07-18 09:35:51'::timestamp) - extract(epoch from '2026-07-18 09:35:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.1325 -3.325849)'), GeomFromEWKT('SRID=4674;POINT (-39.132493 -3.325852)'))) / (select extract(epoch from '2026-07-18 09:35:51'::timestamp) - extract(epoch from '2026-07-18 09:35: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'), 47471, 'SRID=4674;POINT (-39.132494 -3.325853)', '2026-07-18 09:35:59', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132493 -3.325852)'), GeomFromEWKT('SRID=4674;POINT (-39.132494 -3.325853)'))) / (select extract(epoch from '2026-07-18 09:35:59'::timestamp) - extract(epoch from '2026-07-18 09:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132493 -3.325852)'), GeomFromEWKT('SRID=4674;POINT (-39.132494 -3.325853)'))) / (select extract(epoch from '2026-07-18 09:35:59'::timestamp) - extract(epoch from '2026-07-18 09:35: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'), 47471, 'SRID=4674;POINT (-39.132488 -3.325853)', '2026-07-18 09:36:11', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132494 -3.325853)'), GeomFromEWKT('SRID=4674;POINT (-39.132488 -3.325853)'))) / (select extract(epoch from '2026-07-18 09:36:11'::timestamp) - extract(epoch from '2026-07-18 09:35:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132494 -3.325853)'), GeomFromEWKT('SRID=4674;POINT (-39.132488 -3.325853)'))) / (select extract(epoch from '2026-07-18 09:36:11'::timestamp) - extract(epoch from '2026-07-18 09:35:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132462 -3.325856)', '2026-07-18 09:36:20', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132488 -3.325853)'), GeomFromEWKT('SRID=4674;POINT (-39.132462 -3.325856)'))) / (select extract(epoch from '2026-07-18 09:36:20'::timestamp) - extract(epoch from '2026-07-18 09:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132488 -3.325853)'), GeomFromEWKT('SRID=4674;POINT (-39.132462 -3.325856)'))) / (select extract(epoch from '2026-07-18 09:36:20'::timestamp) - extract(epoch from '2026-07-18 09:36: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'), 47471, 'SRID=4674;POINT (-39.132434 -3.325878)', '2026-07-18 09:36:27', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132462 -3.325856)'), GeomFromEWKT('SRID=4674;POINT (-39.132434 -3.325878)'))) / (select extract(epoch from '2026-07-18 09:36:27'::timestamp) - extract(epoch from '2026-07-18 09:36:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132462 -3.325856)'), GeomFromEWKT('SRID=4674;POINT (-39.132434 -3.325878)'))) / (select extract(epoch from '2026-07-18 09:36:27'::timestamp) - extract(epoch from '2026-07-18 09:36: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'), 47471, 'SRID=4674;POINT (-39.132405 -3.325914)', '2026-07-18 09:36:33', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132434 -3.325878)'), GeomFromEWKT('SRID=4674;POINT (-39.132405 -3.325914)'))) / (select extract(epoch from '2026-07-18 09:36:33'::timestamp) - extract(epoch from '2026-07-18 09:36:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132434 -3.325878)'), GeomFromEWKT('SRID=4674;POINT (-39.132405 -3.325914)'))) / (select extract(epoch from '2026-07-18 09:36:33'::timestamp) - extract(epoch from '2026-07-18 09:36:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132393 -3.325926)', '2026-07-18 09:36:35', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132405 -3.325914)'), GeomFromEWKT('SRID=4674;POINT (-39.132393 -3.325926)'))) / (select extract(epoch from '2026-07-18 09:36:35'::timestamp) - extract(epoch from '2026-07-18 09:36:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132405 -3.325914)'), GeomFromEWKT('SRID=4674;POINT (-39.132393 -3.325926)'))) / (select extract(epoch from '2026-07-18 09:36:35'::timestamp) - extract(epoch from '2026-07-18 09:36: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'), 47471, 'SRID=4674;POINT (-39.132367 -3.325981)', '2026-07-18 09:36:41', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132393 -3.325926)'), GeomFromEWKT('SRID=4674;POINT (-39.132367 -3.325981)'))) / (select extract(epoch from '2026-07-18 09:36:41'::timestamp) - extract(epoch from '2026-07-18 09:36:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132393 -3.325926)'), GeomFromEWKT('SRID=4674;POINT (-39.132367 -3.325981)'))) / (select extract(epoch from '2026-07-18 09:36:41'::timestamp) - extract(epoch from '2026-07-18 09:36:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132331 -3.326035)', '2026-07-18 09:36:48', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132367 -3.325981)'), GeomFromEWKT('SRID=4674;POINT (-39.132331 -3.326035)'))) / (select extract(epoch from '2026-07-18 09:36:48'::timestamp) - extract(epoch from '2026-07-18 09:36:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132367 -3.325981)'), GeomFromEWKT('SRID=4674;POINT (-39.132331 -3.326035)'))) / (select extract(epoch from '2026-07-18 09:36:48'::timestamp) - extract(epoch from '2026-07-18 09:36:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132302 -3.326079)', '2026-07-18 09:36:56', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132331 -3.326035)'), GeomFromEWKT('SRID=4674;POINT (-39.132302 -3.326079)'))) / (select extract(epoch from '2026-07-18 09:36:56'::timestamp) - extract(epoch from '2026-07-18 09:36:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132331 -3.326035)'), GeomFromEWKT('SRID=4674;POINT (-39.132302 -3.326079)'))) / (select extract(epoch from '2026-07-18 09:36:56'::timestamp) - extract(epoch from '2026-07-18 09:36:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132254 -3.326112)', '2026-07-18 09:37:04', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132302 -3.326079)'), GeomFromEWKT('SRID=4674;POINT (-39.132254 -3.326112)'))) / (select extract(epoch from '2026-07-18 09:37:04'::timestamp) - extract(epoch from '2026-07-18 09:36:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132302 -3.326079)'), GeomFromEWKT('SRID=4674;POINT (-39.132254 -3.326112)'))) / (select extract(epoch from '2026-07-18 09:37:04'::timestamp) - extract(epoch from '2026-07-18 09:36:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132193 -3.326094)', '2026-07-18 09:37:12', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132254 -3.326112)'), GeomFromEWKT('SRID=4674;POINT (-39.132193 -3.326094)'))) / (select extract(epoch from '2026-07-18 09:37:12'::timestamp) - extract(epoch from '2026-07-18 09:37:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132254 -3.326112)'), GeomFromEWKT('SRID=4674;POINT (-39.132193 -3.326094)'))) / (select extract(epoch from '2026-07-18 09:37:12'::timestamp) - extract(epoch from '2026-07-18 09:37: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'), 47471, 'SRID=4674;POINT (-39.132137 -3.326034)', '2026-07-18 09:37:18', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132193 -3.326094)'), GeomFromEWKT('SRID=4674;POINT (-39.132137 -3.326034)'))) / (select extract(epoch from '2026-07-18 09:37:18'::timestamp) - extract(epoch from '2026-07-18 09:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132193 -3.326094)'), GeomFromEWKT('SRID=4674;POINT (-39.132137 -3.326034)'))) / (select extract(epoch from '2026-07-18 09:37:18'::timestamp) - extract(epoch from '2026-07-18 09:37:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.13206 -3.32593)', '2026-07-18 09:37:26', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132137 -3.326034)'), GeomFromEWKT('SRID=4674;POINT (-39.13206 -3.32593)'))) / (select extract(epoch from '2026-07-18 09:37:26'::timestamp) - extract(epoch from '2026-07-18 09:37:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132137 -3.326034)'), GeomFromEWKT('SRID=4674;POINT (-39.13206 -3.32593)'))) / (select extract(epoch from '2026-07-18 09:37:26'::timestamp) - extract(epoch from '2026-07-18 09:37: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'), 47471, 'SRID=4674;POINT (-39.131996 -3.325843)', '2026-07-18 09:37:32', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13206 -3.32593)'), GeomFromEWKT('SRID=4674;POINT (-39.131996 -3.325843)'))) / (select extract(epoch from '2026-07-18 09:37:32'::timestamp) - extract(epoch from '2026-07-18 09:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13206 -3.32593)'), GeomFromEWKT('SRID=4674;POINT (-39.131996 -3.325843)'))) / (select extract(epoch from '2026-07-18 09:37:32'::timestamp) - extract(epoch from '2026-07-18 09:37: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'), 47471, 'SRID=4674;POINT (-39.131928 -3.32575)', '2026-07-18 09:37:38', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131996 -3.325843)'), GeomFromEWKT('SRID=4674;POINT (-39.131928 -3.32575)'))) / (select extract(epoch from '2026-07-18 09:37:38'::timestamp) - extract(epoch from '2026-07-18 09:37:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131996 -3.325843)'), GeomFromEWKT('SRID=4674;POINT (-39.131928 -3.32575)'))) / (select extract(epoch from '2026-07-18 09:37:38'::timestamp) - extract(epoch from '2026-07-18 09:37: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'), 47471, 'SRID=4674;POINT (-39.131881 -3.325674)', '2026-07-18 09:37:43', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131928 -3.32575)'), GeomFromEWKT('SRID=4674;POINT (-39.131881 -3.325674)'))) / (select extract(epoch from '2026-07-18 09:37:43'::timestamp) - extract(epoch from '2026-07-18 09:37:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131928 -3.32575)'), GeomFromEWKT('SRID=4674;POINT (-39.131881 -3.325674)'))) / (select extract(epoch from '2026-07-18 09:37:43'::timestamp) - extract(epoch from '2026-07-18 09:37: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'), 47471, 'SRID=4674;POINT (-39.131823 -3.32556)', '2026-07-18 09:37:50', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131881 -3.325674)'), GeomFromEWKT('SRID=4674;POINT (-39.131823 -3.32556)'))) / (select extract(epoch from '2026-07-18 09:37:50'::timestamp) - extract(epoch from '2026-07-18 09:37:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131881 -3.325674)'), GeomFromEWKT('SRID=4674;POINT (-39.131823 -3.32556)'))) / (select extract(epoch from '2026-07-18 09:37:50'::timestamp) - extract(epoch from '2026-07-18 09:37:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.131789 -3.325477)', '2026-07-18 09:37:55', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131823 -3.32556)'), GeomFromEWKT('SRID=4674;POINT (-39.131789 -3.325477)'))) / (select extract(epoch from '2026-07-18 09:37:55'::timestamp) - extract(epoch from '2026-07-18 09:37:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131823 -3.32556)'), GeomFromEWKT('SRID=4674;POINT (-39.131789 -3.325477)'))) / (select extract(epoch from '2026-07-18 09:37:55'::timestamp) - extract(epoch from '2026-07-18 09:37:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.131749 -3.325372)', '2026-07-18 09:38:01', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131789 -3.325477)'), GeomFromEWKT('SRID=4674;POINT (-39.131749 -3.325372)'))) / (select extract(epoch from '2026-07-18 09:38:01'::timestamp) - extract(epoch from '2026-07-18 09:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131789 -3.325477)'), GeomFromEWKT('SRID=4674;POINT (-39.131749 -3.325372)'))) / (select extract(epoch from '2026-07-18 09:38:01'::timestamp) - extract(epoch from '2026-07-18 09:37: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'), 47471, 'SRID=4674;POINT (-39.131722 -3.325277)', '2026-07-18 09:38:06', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131749 -3.325372)'), GeomFromEWKT('SRID=4674;POINT (-39.131722 -3.325277)'))) / (select extract(epoch from '2026-07-18 09:38:06'::timestamp) - extract(epoch from '2026-07-18 09:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131749 -3.325372)'), GeomFromEWKT('SRID=4674;POINT (-39.131722 -3.325277)'))) / (select extract(epoch from '2026-07-18 09:38:06'::timestamp) - extract(epoch from '2026-07-18 09:38:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.131688 -3.325143)', '2026-07-18 09:38:13', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131722 -3.325277)'), GeomFromEWKT('SRID=4674;POINT (-39.131688 -3.325143)'))) / (select extract(epoch from '2026-07-18 09:38:13'::timestamp) - extract(epoch from '2026-07-18 09:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131722 -3.325277)'), GeomFromEWKT('SRID=4674;POINT (-39.131688 -3.325143)'))) / (select extract(epoch from '2026-07-18 09:38:13'::timestamp) - extract(epoch from '2026-07-18 09:38:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.131683 -3.325006)', '2026-07-18 09:38:20', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131688 -3.325143)'), GeomFromEWKT('SRID=4674;POINT (-39.131683 -3.325006)'))) / (select extract(epoch from '2026-07-18 09:38:20'::timestamp) - extract(epoch from '2026-07-18 09:38:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131688 -3.325143)'), GeomFromEWKT('SRID=4674;POINT (-39.131683 -3.325006)'))) / (select extract(epoch from '2026-07-18 09:38:20'::timestamp) - extract(epoch from '2026-07-18 09:38: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'), 47471, 'SRID=4674;POINT (-39.131712 -3.324891)', '2026-07-18 09:38:26', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131683 -3.325006)'), GeomFromEWKT('SRID=4674;POINT (-39.131712 -3.324891)'))) / (select extract(epoch from '2026-07-18 09:38:26'::timestamp) - extract(epoch from '2026-07-18 09:38:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131683 -3.325006)'), GeomFromEWKT('SRID=4674;POINT (-39.131712 -3.324891)'))) / (select extract(epoch from '2026-07-18 09:38:26'::timestamp) - extract(epoch from '2026-07-18 09:38:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.131741 -3.324745)', '2026-07-18 09:38:33', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131712 -3.324891)'), GeomFromEWKT('SRID=4674;POINT (-39.131741 -3.324745)'))) / (select extract(epoch from '2026-07-18 09:38:33'::timestamp) - extract(epoch from '2026-07-18 09:38:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131712 -3.324891)'), GeomFromEWKT('SRID=4674;POINT (-39.131741 -3.324745)'))) / (select extract(epoch from '2026-07-18 09:38:33'::timestamp) - extract(epoch from '2026-07-18 09:38:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.131755 -3.324659)', '2026-07-18 09:38:37', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131741 -3.324745)'), GeomFromEWKT('SRID=4674;POINT (-39.131755 -3.324659)'))) / (select extract(epoch from '2026-07-18 09:38:37'::timestamp) - extract(epoch from '2026-07-18 09:38:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131741 -3.324745)'), GeomFromEWKT('SRID=4674;POINT (-39.131755 -3.324659)'))) / (select extract(epoch from '2026-07-18 09:38:37'::timestamp) - extract(epoch from '2026-07-18 09:38: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'), 47471, 'SRID=4674;POINT (-39.131753 -3.32464)', '2026-07-18 09:38:38', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131755 -3.324659)'), GeomFromEWKT('SRID=4674;POINT (-39.131753 -3.32464)'))) / (select extract(epoch from '2026-07-18 09:38:38'::timestamp) - extract(epoch from '2026-07-18 09:38:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131755 -3.324659)'), GeomFromEWKT('SRID=4674;POINT (-39.131753 -3.32464)'))) / (select extract(epoch from '2026-07-18 09:38:38'::timestamp) - extract(epoch from '2026-07-18 09:38: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'), 47471, 'SRID=4674;POINT (-39.131772 -3.324521)', '2026-07-18 09:38:44', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131753 -3.32464)'), GeomFromEWKT('SRID=4674;POINT (-39.131772 -3.324521)'))) / (select extract(epoch from '2026-07-18 09:38:44'::timestamp) - extract(epoch from '2026-07-18 09:38:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131753 -3.32464)'), GeomFromEWKT('SRID=4674;POINT (-39.131772 -3.324521)'))) / (select extract(epoch from '2026-07-18 09:38:44'::timestamp) - extract(epoch from '2026-07-18 09:38: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'), 47471, 'SRID=4674;POINT (-39.131811 -3.324407)', '2026-07-18 09:38:50', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131772 -3.324521)'), GeomFromEWKT('SRID=4674;POINT (-39.131811 -3.324407)'))) / (select extract(epoch from '2026-07-18 09:38:50'::timestamp) - extract(epoch from '2026-07-18 09:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131772 -3.324521)'), GeomFromEWKT('SRID=4674;POINT (-39.131811 -3.324407)'))) / (select extract(epoch from '2026-07-18 09:38:50'::timestamp) - extract(epoch from '2026-07-18 09:38: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'), 47471, 'SRID=4674;POINT (-39.131825 -3.324369)', '2026-07-18 09:38:52', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131811 -3.324407)'), GeomFromEWKT('SRID=4674;POINT (-39.131825 -3.324369)'))) / (select extract(epoch from '2026-07-18 09:38:52'::timestamp) - extract(epoch from '2026-07-18 09:38:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131811 -3.324407)'), GeomFromEWKT('SRID=4674;POINT (-39.131825 -3.324369)'))) / (select extract(epoch from '2026-07-18 09:38:52'::timestamp) - extract(epoch from '2026-07-18 09:38: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'), 47471, 'SRID=4674;POINT (-39.131842 -3.324337)', '2026-07-18 09:38:54', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131825 -3.324369)'), GeomFromEWKT('SRID=4674;POINT (-39.131842 -3.324337)'))) / (select extract(epoch from '2026-07-18 09:38:54'::timestamp) - extract(epoch from '2026-07-18 09:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131825 -3.324369)'), GeomFromEWKT('SRID=4674;POINT (-39.131842 -3.324337)'))) / (select extract(epoch from '2026-07-18 09:38:54'::timestamp) - extract(epoch from '2026-07-18 09:38:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.131875 -3.324245)', '2026-07-18 09:39:00', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131842 -3.324337)'), GeomFromEWKT('SRID=4674;POINT (-39.131875 -3.324245)'))) / (select extract(epoch from '2026-07-18 09:39:00'::timestamp) - extract(epoch from '2026-07-18 09:38:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131842 -3.324337)'), GeomFromEWKT('SRID=4674;POINT (-39.131875 -3.324245)'))) / (select extract(epoch from '2026-07-18 09:39:00'::timestamp) - extract(epoch from '2026-07-18 09:38:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.131888 -3.32417)', '2026-07-18 09:39:05', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131875 -3.324245)'), GeomFromEWKT('SRID=4674;POINT (-39.131888 -3.32417)'))) / (select extract(epoch from '2026-07-18 09:39:05'::timestamp) - extract(epoch from '2026-07-18 09:39:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131875 -3.324245)'), GeomFromEWKT('SRID=4674;POINT (-39.131888 -3.32417)'))) / (select extract(epoch from '2026-07-18 09:39:05'::timestamp) - extract(epoch from '2026-07-18 09:39:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.131903 -3.324094)', '2026-07-18 09:39:10', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131888 -3.32417)'), GeomFromEWKT('SRID=4674;POINT (-39.131903 -3.324094)'))) / (select extract(epoch from '2026-07-18 09:39:10'::timestamp) - extract(epoch from '2026-07-18 09:39:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131888 -3.32417)'), GeomFromEWKT('SRID=4674;POINT (-39.131903 -3.324094)'))) / (select extract(epoch from '2026-07-18 09:39:10'::timestamp) - extract(epoch from '2026-07-18 09:39:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.131925 -3.323998)', '2026-07-18 09:39:16', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131903 -3.324094)'), GeomFromEWKT('SRID=4674;POINT (-39.131925 -3.323998)'))) / (select extract(epoch from '2026-07-18 09:39:16'::timestamp) - extract(epoch from '2026-07-18 09:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131903 -3.324094)'), GeomFromEWKT('SRID=4674;POINT (-39.131925 -3.323998)'))) / (select extract(epoch from '2026-07-18 09:39:16'::timestamp) - extract(epoch from '2026-07-18 09:39: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'), 47471, 'SRID=4674;POINT (-39.131943 -3.32392)', '2026-07-18 09:39:22', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131925 -3.323998)'), GeomFromEWKT('SRID=4674;POINT (-39.131943 -3.32392)'))) / (select extract(epoch from '2026-07-18 09:39:22'::timestamp) - extract(epoch from '2026-07-18 09:39:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131925 -3.323998)'), GeomFromEWKT('SRID=4674;POINT (-39.131943 -3.32392)'))) / (select extract(epoch from '2026-07-18 09:39:22'::timestamp) - extract(epoch from '2026-07-18 09:39: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'), 47471, 'SRID=4674;POINT (-39.131944 -3.323907)', '2026-07-18 09:39:23', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131943 -3.32392)'), GeomFromEWKT('SRID=4674;POINT (-39.131944 -3.323907)'))) / (select extract(epoch from '2026-07-18 09:39:23'::timestamp) - extract(epoch from '2026-07-18 09:39:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131943 -3.32392)'), GeomFromEWKT('SRID=4674;POINT (-39.131944 -3.323907)'))) / (select extract(epoch from '2026-07-18 09:39:23'::timestamp) - extract(epoch from '2026-07-18 09:39:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.131958 -3.323843)', '2026-07-18 09:39:28', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131944 -3.323907)'), GeomFromEWKT('SRID=4674;POINT (-39.131958 -3.323843)'))) / (select extract(epoch from '2026-07-18 09:39:28'::timestamp) - extract(epoch from '2026-07-18 09:39:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131944 -3.323907)'), GeomFromEWKT('SRID=4674;POINT (-39.131958 -3.323843)'))) / (select extract(epoch from '2026-07-18 09:39:28'::timestamp) - extract(epoch from '2026-07-18 09:39:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.131956 -3.323821)', '2026-07-18 09:39:30', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131958 -3.323843)'), GeomFromEWKT('SRID=4674;POINT (-39.131956 -3.323821)'))) / (select extract(epoch from '2026-07-18 09:39:30'::timestamp) - extract(epoch from '2026-07-18 09:39:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131958 -3.323843)'), GeomFromEWKT('SRID=4674;POINT (-39.131956 -3.323821)'))) / (select extract(epoch from '2026-07-18 09:39:30'::timestamp) - extract(epoch from '2026-07-18 09:39:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.131981 -3.32379)', '2026-07-18 09:39:33', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131956 -3.323821)'), GeomFromEWKT('SRID=4674;POINT (-39.131981 -3.32379)'))) / (select extract(epoch from '2026-07-18 09:39:33'::timestamp) - extract(epoch from '2026-07-18 09:39:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131956 -3.323821)'), GeomFromEWKT('SRID=4674;POINT (-39.131981 -3.32379)'))) / (select extract(epoch from '2026-07-18 09:39:33'::timestamp) - extract(epoch from '2026-07-18 09:39: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'), 47471, 'SRID=4674;POINT (-39.131982 -3.32378)', '2026-07-18 09:39:34', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131981 -3.32379)'), GeomFromEWKT('SRID=4674;POINT (-39.131982 -3.32378)'))) / (select extract(epoch from '2026-07-18 09:39:34'::timestamp) - extract(epoch from '2026-07-18 09:39:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131981 -3.32379)'), GeomFromEWKT('SRID=4674;POINT (-39.131982 -3.32378)'))) / (select extract(epoch from '2026-07-18 09:39:34'::timestamp) - extract(epoch from '2026-07-18 09:39:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.131992 -3.323746)', '2026-07-18 09:39:37', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131982 -3.32378)'), GeomFromEWKT('SRID=4674;POINT (-39.131992 -3.323746)'))) / (select extract(epoch from '2026-07-18 09:39:37'::timestamp) - extract(epoch from '2026-07-18 09:39:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131982 -3.32378)'), GeomFromEWKT('SRID=4674;POINT (-39.131992 -3.323746)'))) / (select extract(epoch from '2026-07-18 09:39:37'::timestamp) - extract(epoch from '2026-07-18 09:39: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'), 47471, 'SRID=4674;POINT (-39.132005 -3.323735)', '2026-07-18 09:39:38', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131992 -3.323746)'), GeomFromEWKT('SRID=4674;POINT (-39.132005 -3.323735)'))) / (select extract(epoch from '2026-07-18 09:39:38'::timestamp) - extract(epoch from '2026-07-18 09:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.131992 -3.323746)'), GeomFromEWKT('SRID=4674;POINT (-39.132005 -3.323735)'))) / (select extract(epoch from '2026-07-18 09:39:38'::timestamp) - extract(epoch from '2026-07-18 09:39:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132045 -3.323677)', '2026-07-18 09:39:44', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132005 -3.323735)'), GeomFromEWKT('SRID=4674;POINT (-39.132045 -3.323677)'))) / (select extract(epoch from '2026-07-18 09:39:44'::timestamp) - extract(epoch from '2026-07-18 09:39:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132005 -3.323735)'), GeomFromEWKT('SRID=4674;POINT (-39.132045 -3.323677)'))) / (select extract(epoch from '2026-07-18 09:39:44'::timestamp) - extract(epoch from '2026-07-18 09:39:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132055 -3.32367)', '2026-07-18 09:39:45', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132045 -3.323677)'), GeomFromEWKT('SRID=4674;POINT (-39.132055 -3.32367)'))) / (select extract(epoch from '2026-07-18 09:39:45'::timestamp) - extract(epoch from '2026-07-18 09:39:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132045 -3.323677)'), GeomFromEWKT('SRID=4674;POINT (-39.132055 -3.32367)'))) / (select extract(epoch from '2026-07-18 09:39:45'::timestamp) - extract(epoch from '2026-07-18 09:39:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132081 -3.323646)', '2026-07-18 09:39:48', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132055 -3.32367)'), GeomFromEWKT('SRID=4674;POINT (-39.132081 -3.323646)'))) / (select extract(epoch from '2026-07-18 09:39:48'::timestamp) - extract(epoch from '2026-07-18 09:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132055 -3.32367)'), GeomFromEWKT('SRID=4674;POINT (-39.132081 -3.323646)'))) / (select extract(epoch from '2026-07-18 09:39:48'::timestamp) - extract(epoch from '2026-07-18 09:39:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132093 -3.323629)', '2026-07-18 09:39:50', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132081 -3.323646)'), GeomFromEWKT('SRID=4674;POINT (-39.132093 -3.323629)'))) / (select extract(epoch from '2026-07-18 09:39:50'::timestamp) - extract(epoch from '2026-07-18 09:39:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132081 -3.323646)'), GeomFromEWKT('SRID=4674;POINT (-39.132093 -3.323629)'))) / (select extract(epoch from '2026-07-18 09:39:50'::timestamp) - extract(epoch from '2026-07-18 09:39: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'), 47471, 'SRID=4674;POINT (-39.132145 -3.323575)', '2026-07-18 09:39:57', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132093 -3.323629)'), GeomFromEWKT('SRID=4674;POINT (-39.132145 -3.323575)'))) / (select extract(epoch from '2026-07-18 09:39:57'::timestamp) - extract(epoch from '2026-07-18 09:39:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132093 -3.323629)'), GeomFromEWKT('SRID=4674;POINT (-39.132145 -3.323575)'))) / (select extract(epoch from '2026-07-18 09:39:57'::timestamp) - extract(epoch from '2026-07-18 09:39:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132185 -3.323555)', '2026-07-18 09:40:03', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132145 -3.323575)'), GeomFromEWKT('SRID=4674;POINT (-39.132185 -3.323555)'))) / (select extract(epoch from '2026-07-18 09:40:03'::timestamp) - extract(epoch from '2026-07-18 09:39:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132145 -3.323575)'), GeomFromEWKT('SRID=4674;POINT (-39.132185 -3.323555)'))) / (select extract(epoch from '2026-07-18 09:40:03'::timestamp) - extract(epoch from '2026-07-18 09:39: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'), 47471, 'SRID=4674;POINT (-39.132219 -3.32353)', '2026-07-18 09:40:11', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132185 -3.323555)'), GeomFromEWKT('SRID=4674;POINT (-39.132219 -3.32353)'))) / (select extract(epoch from '2026-07-18 09:40:11'::timestamp) - extract(epoch from '2026-07-18 09:40:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132185 -3.323555)'), GeomFromEWKT('SRID=4674;POINT (-39.132219 -3.32353)'))) / (select extract(epoch from '2026-07-18 09:40:11'::timestamp) - extract(epoch from '2026-07-18 09:40: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'), 47471, 'SRID=4674;POINT (-39.132245 -3.323504)', '2026-07-18 09:40:18', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132219 -3.32353)'), GeomFromEWKT('SRID=4674;POINT (-39.132245 -3.323504)'))) / (select extract(epoch from '2026-07-18 09:40:18'::timestamp) - extract(epoch from '2026-07-18 09:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132219 -3.32353)'), GeomFromEWKT('SRID=4674;POINT (-39.132245 -3.323504)'))) / (select extract(epoch from '2026-07-18 09:40:18'::timestamp) - extract(epoch from '2026-07-18 09:40: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'), 47471, 'SRID=4674;POINT (-39.132262 -3.323467)', '2026-07-18 09:40:26', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132245 -3.323504)'), GeomFromEWKT('SRID=4674;POINT (-39.132262 -3.323467)'))) / (select extract(epoch from '2026-07-18 09:40:26'::timestamp) - extract(epoch from '2026-07-18 09:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132245 -3.323504)'), GeomFromEWKT('SRID=4674;POINT (-39.132262 -3.323467)'))) / (select extract(epoch from '2026-07-18 09:40:26'::timestamp) - extract(epoch from '2026-07-18 09:40: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'), 47471, 'SRID=4674;POINT (-39.132284 -3.323427)', '2026-07-18 09:40:33', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132262 -3.323467)'), GeomFromEWKT('SRID=4674;POINT (-39.132284 -3.323427)'))) / (select extract(epoch from '2026-07-18 09:40:33'::timestamp) - extract(epoch from '2026-07-18 09:40:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132262 -3.323467)'), GeomFromEWKT('SRID=4674;POINT (-39.132284 -3.323427)'))) / (select extract(epoch from '2026-07-18 09:40:33'::timestamp) - extract(epoch from '2026-07-18 09:40:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132309 -3.323381)', '2026-07-18 09:40:41', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132284 -3.323427)'), GeomFromEWKT('SRID=4674;POINT (-39.132309 -3.323381)'))) / (select extract(epoch from '2026-07-18 09:40:41'::timestamp) - extract(epoch from '2026-07-18 09:40:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132284 -3.323427)'), GeomFromEWKT('SRID=4674;POINT (-39.132309 -3.323381)'))) / (select extract(epoch from '2026-07-18 09:40:41'::timestamp) - extract(epoch from '2026-07-18 09:40:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132337 -3.323334)', '2026-07-18 09:40:50', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132309 -3.323381)'), GeomFromEWKT('SRID=4674;POINT (-39.132337 -3.323334)'))) / (select extract(epoch from '2026-07-18 09:40:50'::timestamp) - extract(epoch from '2026-07-18 09:40:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132309 -3.323381)'), GeomFromEWKT('SRID=4674;POINT (-39.132337 -3.323334)'))) / (select extract(epoch from '2026-07-18 09:40:50'::timestamp) - extract(epoch from '2026-07-18 09:40: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'), 47471, 'SRID=4674;POINT (-39.132351 -3.323267)', '2026-07-18 09:41:00', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132337 -3.323334)'), GeomFromEWKT('SRID=4674;POINT (-39.132351 -3.323267)'))) / (select extract(epoch from '2026-07-18 09:41:00'::timestamp) - extract(epoch from '2026-07-18 09:40:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132337 -3.323334)'), GeomFromEWKT('SRID=4674;POINT (-39.132351 -3.323267)'))) / (select extract(epoch from '2026-07-18 09:41:00'::timestamp) - extract(epoch from '2026-07-18 09:40: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'), 47471, 'SRID=4674;POINT (-39.132359 -3.323217)', '2026-07-18 09:41:08', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132351 -3.323267)'), GeomFromEWKT('SRID=4674;POINT (-39.132359 -3.323217)'))) / (select extract(epoch from '2026-07-18 09:41:08'::timestamp) - extract(epoch from '2026-07-18 09:41:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132351 -3.323267)'), GeomFromEWKT('SRID=4674;POINT (-39.132359 -3.323217)'))) / (select extract(epoch from '2026-07-18 09:41:08'::timestamp) - extract(epoch from '2026-07-18 09:41:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132369 -3.323151)', '2026-07-18 09:41:18', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132359 -3.323217)'), GeomFromEWKT('SRID=4674;POINT (-39.132369 -3.323151)'))) / (select extract(epoch from '2026-07-18 09:41:18'::timestamp) - extract(epoch from '2026-07-18 09:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132359 -3.323217)'), GeomFromEWKT('SRID=4674;POINT (-39.132369 -3.323151)'))) / (select extract(epoch from '2026-07-18 09:41:18'::timestamp) - extract(epoch from '2026-07-18 09:41: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'), 47471, 'SRID=4674;POINT (-39.132388 -3.323132)', '2026-07-18 09:41:25', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132369 -3.323151)'), GeomFromEWKT('SRID=4674;POINT (-39.132388 -3.323132)'))) / (select extract(epoch from '2026-07-18 09:41:25'::timestamp) - extract(epoch from '2026-07-18 09:41:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132369 -3.323151)'), GeomFromEWKT('SRID=4674;POINT (-39.132388 -3.323132)'))) / (select extract(epoch from '2026-07-18 09:41:25'::timestamp) - extract(epoch from '2026-07-18 09:41: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'), 47471, 'SRID=4674;POINT (-39.132385 -3.323134)', '2026-07-18 09:41:30', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132388 -3.323132)'), GeomFromEWKT('SRID=4674;POINT (-39.132385 -3.323134)'))) / (select extract(epoch from '2026-07-18 09:41:30'::timestamp) - extract(epoch from '2026-07-18 09:41:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132388 -3.323132)'), GeomFromEWKT('SRID=4674;POINT (-39.132385 -3.323134)'))) / (select extract(epoch from '2026-07-18 09:41:30'::timestamp) - extract(epoch from '2026-07-18 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'), 47471, 'SRID=4674;POINT (-39.132386 -3.323136)', '2026-07-18 09:41:36', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132385 -3.323134)'), GeomFromEWKT('SRID=4674;POINT (-39.132386 -3.323136)'))) / (select extract(epoch from '2026-07-18 09:41:36'::timestamp) - extract(epoch from '2026-07-18 09:41:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132385 -3.323134)'), GeomFromEWKT('SRID=4674;POINT (-39.132386 -3.323136)'))) / (select extract(epoch from '2026-07-18 09:41:36'::timestamp) - extract(epoch from '2026-07-18 09:41: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'), 47471, 'SRID=4674;POINT (-39.132381 -3.323132)', '2026-07-18 09:41:44', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132386 -3.323136)'), GeomFromEWKT('SRID=4674;POINT (-39.132381 -3.323132)'))) / (select extract(epoch from '2026-07-18 09:41:44'::timestamp) - extract(epoch from '2026-07-18 09:41:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132386 -3.323136)'), GeomFromEWKT('SRID=4674;POINT (-39.132381 -3.323132)'))) / (select extract(epoch from '2026-07-18 09:41:44'::timestamp) - extract(epoch from '2026-07-18 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'), 47471, 'SRID=4674;POINT (-39.13238 -3.323123)', '2026-07-18 09:41:54', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132381 -3.323132)'), GeomFromEWKT('SRID=4674;POINT (-39.13238 -3.323123)'))) / (select extract(epoch from '2026-07-18 09:41:54'::timestamp) - extract(epoch from '2026-07-18 09:41:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132381 -3.323132)'), GeomFromEWKT('SRID=4674;POINT (-39.13238 -3.323123)'))) / (select extract(epoch from '2026-07-18 09:41:54'::timestamp) - extract(epoch from '2026-07-18 09:41: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'), 47471, 'SRID=4674;POINT (-39.13237 -3.323122)', '2026-07-18 09:42:06', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13238 -3.323123)'), GeomFromEWKT('SRID=4674;POINT (-39.13237 -3.323122)'))) / (select extract(epoch from '2026-07-18 09:42:06'::timestamp) - extract(epoch from '2026-07-18 09:41:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13238 -3.323123)'), GeomFromEWKT('SRID=4674;POINT (-39.13237 -3.323122)'))) / (select extract(epoch from '2026-07-18 09:42:06'::timestamp) - extract(epoch from '2026-07-18 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'), 47471, 'SRID=4674;POINT (-39.132374 -3.323106)', '2026-07-18 09:42:23', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13237 -3.323122)'), GeomFromEWKT('SRID=4674;POINT (-39.132374 -3.323106)'))) / (select extract(epoch from '2026-07-18 09:42:23'::timestamp) - extract(epoch from '2026-07-18 09:42:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13237 -3.323122)'), GeomFromEWKT('SRID=4674;POINT (-39.132374 -3.323106)'))) / (select extract(epoch from '2026-07-18 09:42:23'::timestamp) - extract(epoch from '2026-07-18 09:42: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'), 47471, 'SRID=4674;POINT (-39.132376 -3.323107)', '2026-07-18 09:42:29', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132374 -3.323106)'), GeomFromEWKT('SRID=4674;POINT (-39.132376 -3.323107)'))) / (select extract(epoch from '2026-07-18 09:42:29'::timestamp) - extract(epoch from '2026-07-18 09:42:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132374 -3.323106)'), GeomFromEWKT('SRID=4674;POINT (-39.132376 -3.323107)'))) / (select extract(epoch from '2026-07-18 09:42:29'::timestamp) - extract(epoch from '2026-07-18 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'), 47471, 'SRID=4674;POINT (-39.132379 -3.323107)', '2026-07-18 09:42:42', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132376 -3.323107)'), GeomFromEWKT('SRID=4674;POINT (-39.132379 -3.323107)'))) / (select extract(epoch from '2026-07-18 09:42:42'::timestamp) - extract(epoch from '2026-07-18 09:42:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132376 -3.323107)'), GeomFromEWKT('SRID=4674;POINT (-39.132379 -3.323107)'))) / (select extract(epoch from '2026-07-18 09:42:42'::timestamp) - extract(epoch from '2026-07-18 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'), 47471, 'SRID=4674;POINT (-39.132381 -3.323108)', '2026-07-18 09:42:52', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132379 -3.323107)'), GeomFromEWKT('SRID=4674;POINT (-39.132381 -3.323108)'))) / (select extract(epoch from '2026-07-18 09:42:52'::timestamp) - extract(epoch from '2026-07-18 09:42:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132379 -3.323107)'), GeomFromEWKT('SRID=4674;POINT (-39.132381 -3.323108)'))) / (select extract(epoch from '2026-07-18 09:42:52'::timestamp) - extract(epoch from '2026-07-18 09:42: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'), 47471, 'SRID=4674;POINT (-39.132374 -3.323106)', '2026-07-18 09:43:04', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132381 -3.323108)'), GeomFromEWKT('SRID=4674;POINT (-39.132374 -3.323106)'))) / (select extract(epoch from '2026-07-18 09:43:04'::timestamp) - extract(epoch from '2026-07-18 09:42:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132381 -3.323108)'), GeomFromEWKT('SRID=4674;POINT (-39.132374 -3.323106)'))) / (select extract(epoch from '2026-07-18 09:43:04'::timestamp) - extract(epoch from '2026-07-18 09:42: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'), 47471, 'SRID=4674;POINT (-39.132369 -3.323103)', '2026-07-18 09:43:15', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132374 -3.323106)'), GeomFromEWKT('SRID=4674;POINT (-39.132369 -3.323103)'))) / (select extract(epoch from '2026-07-18 09:43:15'::timestamp) - extract(epoch from '2026-07-18 09:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132374 -3.323106)'), GeomFromEWKT('SRID=4674;POINT (-39.132369 -3.323103)'))) / (select extract(epoch from '2026-07-18 09:43:15'::timestamp) - extract(epoch from '2026-07-18 09:43: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'), 47471, 'SRID=4674;POINT (-39.132367 -3.323102)', '2026-07-18 09:43:22', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132369 -3.323103)'), GeomFromEWKT('SRID=4674;POINT (-39.132367 -3.323102)'))) / (select extract(epoch from '2026-07-18 09:43:22'::timestamp) - extract(epoch from '2026-07-18 09:43:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132369 -3.323103)'), GeomFromEWKT('SRID=4674;POINT (-39.132367 -3.323102)'))) / (select extract(epoch from '2026-07-18 09:43:22'::timestamp) - extract(epoch from '2026-07-18 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'), 47471, 'SRID=4674;POINT (-39.132378 -3.323105)', '2026-07-18 09:43:31', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132367 -3.323102)'), GeomFromEWKT('SRID=4674;POINT (-39.132378 -3.323105)'))) / (select extract(epoch from '2026-07-18 09:43:31'::timestamp) - extract(epoch from '2026-07-18 09:43:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132367 -3.323102)'), GeomFromEWKT('SRID=4674;POINT (-39.132378 -3.323105)'))) / (select extract(epoch from '2026-07-18 09:43:31'::timestamp) - extract(epoch from '2026-07-18 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'), 47471, 'SRID=4674;POINT (-39.132385 -3.323108)', '2026-07-18 09:43:41', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132378 -3.323105)'), GeomFromEWKT('SRID=4674;POINT (-39.132385 -3.323108)'))) / (select extract(epoch from '2026-07-18 09:43:41'::timestamp) - extract(epoch from '2026-07-18 09:43:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132378 -3.323105)'), GeomFromEWKT('SRID=4674;POINT (-39.132385 -3.323108)'))) / (select extract(epoch from '2026-07-18 09:43:41'::timestamp) - extract(epoch from '2026-07-18 09:43: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'), 47471, 'SRID=4674;POINT (-39.13239 -3.323111)', '2026-07-18 09:43:52', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132385 -3.323108)'), GeomFromEWKT('SRID=4674;POINT (-39.13239 -3.323111)'))) / (select extract(epoch from '2026-07-18 09:43:52'::timestamp) - extract(epoch from '2026-07-18 09:43:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132385 -3.323108)'), GeomFromEWKT('SRID=4674;POINT (-39.13239 -3.323111)'))) / (select extract(epoch from '2026-07-18 09:43:52'::timestamp) - extract(epoch from '2026-07-18 09:43: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'), 47471, 'SRID=4674;POINT (-39.132402 -3.323113)', '2026-07-18 09:44:01', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13239 -3.323111)'), GeomFromEWKT('SRID=4674;POINT (-39.132402 -3.323113)'))) / (select extract(epoch from '2026-07-18 09:44:01'::timestamp) - extract(epoch from '2026-07-18 09:43:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13239 -3.323111)'), GeomFromEWKT('SRID=4674;POINT (-39.132402 -3.323113)'))) / (select extract(epoch from '2026-07-18 09:44:01'::timestamp) - extract(epoch from '2026-07-18 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'), 47471, 'SRID=4674;POINT (-39.132403 -3.323108)', '2026-07-18 09:44:10', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132402 -3.323113)'), GeomFromEWKT('SRID=4674;POINT (-39.132403 -3.323108)'))) / (select extract(epoch from '2026-07-18 09:44:10'::timestamp) - extract(epoch from '2026-07-18 09:44:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132402 -3.323113)'), GeomFromEWKT('SRID=4674;POINT (-39.132403 -3.323108)'))) / (select extract(epoch from '2026-07-18 09:44:10'::timestamp) - extract(epoch from '2026-07-18 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'), 47471, 'SRID=4674;POINT (-39.132405 -3.323104)', '2026-07-18 09:44:17', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132403 -3.323108)'), GeomFromEWKT('SRID=4674;POINT (-39.132405 -3.323104)'))) / (select extract(epoch from '2026-07-18 09:44:17'::timestamp) - extract(epoch from '2026-07-18 09:44:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132403 -3.323108)'), GeomFromEWKT('SRID=4674;POINT (-39.132405 -3.323104)'))) / (select extract(epoch from '2026-07-18 09:44:17'::timestamp) - extract(epoch from '2026-07-18 09:44: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'), 47471, 'SRID=4674;POINT (-39.132399 -3.32312)', '2026-07-18 09:44:26', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132405 -3.323104)'), GeomFromEWKT('SRID=4674;POINT (-39.132399 -3.32312)'))) / (select extract(epoch from '2026-07-18 09:44:26'::timestamp) - extract(epoch from '2026-07-18 09:44:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132405 -3.323104)'), GeomFromEWKT('SRID=4674;POINT (-39.132399 -3.32312)'))) / (select extract(epoch from '2026-07-18 09:44:26'::timestamp) - extract(epoch from '2026-07-18 09:44: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'), 47471, 'SRID=4674;POINT (-39.132409 -3.32311)', '2026-07-18 09:44:35', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132399 -3.32312)'), GeomFromEWKT('SRID=4674;POINT (-39.132409 -3.32311)'))) / (select extract(epoch from '2026-07-18 09:44:35'::timestamp) - extract(epoch from '2026-07-18 09:44:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132399 -3.32312)'), GeomFromEWKT('SRID=4674;POINT (-39.132409 -3.32311)'))) / (select extract(epoch from '2026-07-18 09:44:35'::timestamp) - extract(epoch from '2026-07-18 09:44: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'), 47471, 'SRID=4674;POINT (-39.132409 -3.323116)', '2026-07-18 09:44:46', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132409 -3.32311)'), GeomFromEWKT('SRID=4674;POINT (-39.132409 -3.323116)'))) / (select extract(epoch from '2026-07-18 09:44:46'::timestamp) - extract(epoch from '2026-07-18 09:44:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132409 -3.32311)'), GeomFromEWKT('SRID=4674;POINT (-39.132409 -3.323116)'))) / (select extract(epoch from '2026-07-18 09:44:46'::timestamp) - extract(epoch from '2026-07-18 09:44: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'), 47471, 'SRID=4674;POINT (-39.132409 -3.323112)', '2026-07-18 09:44:58', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132409 -3.323116)'), GeomFromEWKT('SRID=4674;POINT (-39.132409 -3.323112)'))) / (select extract(epoch from '2026-07-18 09:44:58'::timestamp) - extract(epoch from '2026-07-18 09:44:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132409 -3.323116)'), GeomFromEWKT('SRID=4674;POINT (-39.132409 -3.323112)'))) / (select extract(epoch from '2026-07-18 09:44:58'::timestamp) - extract(epoch from '2026-07-18 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'), 47471, 'SRID=4674;POINT (-39.132408 -3.323118)', '2026-07-18 09:45:04', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132409 -3.323112)'), GeomFromEWKT('SRID=4674;POINT (-39.132408 -3.323118)'))) / (select extract(epoch from '2026-07-18 09:45:04'::timestamp) - extract(epoch from '2026-07-18 09:44:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132409 -3.323112)'), GeomFromEWKT('SRID=4674;POINT (-39.132408 -3.323118)'))) / (select extract(epoch from '2026-07-18 09:45:04'::timestamp) - extract(epoch from '2026-07-18 09:44:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132407 -3.323115)', '2026-07-18 09:45:14', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132408 -3.323118)'), GeomFromEWKT('SRID=4674;POINT (-39.132407 -3.323115)'))) / (select extract(epoch from '2026-07-18 09:45:14'::timestamp) - extract(epoch from '2026-07-18 09:45:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132408 -3.323118)'), GeomFromEWKT('SRID=4674;POINT (-39.132407 -3.323115)'))) / (select extract(epoch from '2026-07-18 09:45:14'::timestamp) - extract(epoch from '2026-07-18 09:45:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132403 -3.323113)', '2026-07-18 09:45:22', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132407 -3.323115)'), GeomFromEWKT('SRID=4674;POINT (-39.132403 -3.323113)'))) / (select extract(epoch from '2026-07-18 09:45:22'::timestamp) - extract(epoch from '2026-07-18 09:45:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132407 -3.323115)'), GeomFromEWKT('SRID=4674;POINT (-39.132403 -3.323113)'))) / (select extract(epoch from '2026-07-18 09:45:22'::timestamp) - extract(epoch from '2026-07-18 09:45:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132395 -3.32309)', '2026-07-18 09:45:29', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132403 -3.323113)'), GeomFromEWKT('SRID=4674;POINT (-39.132395 -3.32309)'))) / (select extract(epoch from '2026-07-18 09:45:29'::timestamp) - extract(epoch from '2026-07-18 09:45:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132403 -3.323113)'), GeomFromEWKT('SRID=4674;POINT (-39.132395 -3.32309)'))) / (select extract(epoch from '2026-07-18 09:45:29'::timestamp) - extract(epoch from '2026-07-18 09:45:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132398 -3.323048)', '2026-07-18 09:45:37', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132395 -3.32309)'), GeomFromEWKT('SRID=4674;POINT (-39.132398 -3.323048)'))) / (select extract(epoch from '2026-07-18 09:45:37'::timestamp) - extract(epoch from '2026-07-18 09:45:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132395 -3.32309)'), GeomFromEWKT('SRID=4674;POINT (-39.132398 -3.323048)'))) / (select extract(epoch from '2026-07-18 09:45:37'::timestamp) - extract(epoch from '2026-07-18 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'), 47471, 'SRID=4674;POINT (-39.132414 -3.323011)', '2026-07-18 09:45:44', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132398 -3.323048)'), GeomFromEWKT('SRID=4674;POINT (-39.132414 -3.323011)'))) / (select extract(epoch from '2026-07-18 09:45:44'::timestamp) - extract(epoch from '2026-07-18 09:45:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132398 -3.323048)'), GeomFromEWKT('SRID=4674;POINT (-39.132414 -3.323011)'))) / (select extract(epoch from '2026-07-18 09:45:44'::timestamp) - extract(epoch from '2026-07-18 09:45: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'), 47471, 'SRID=4674;POINT (-39.132436 -3.322977)', '2026-07-18 09:45:53', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132414 -3.323011)'), GeomFromEWKT('SRID=4674;POINT (-39.132436 -3.322977)'))) / (select extract(epoch from '2026-07-18 09:45:53'::timestamp) - extract(epoch from '2026-07-18 09:45:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132414 -3.323011)'), GeomFromEWKT('SRID=4674;POINT (-39.132436 -3.322977)'))) / (select extract(epoch from '2026-07-18 09:45:53'::timestamp) - extract(epoch from '2026-07-18 09:45: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'), 47471, 'SRID=4674;POINT (-39.132463 -3.322938)', '2026-07-18 09:46:03', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132436 -3.322977)'), GeomFromEWKT('SRID=4674;POINT (-39.132463 -3.322938)'))) / (select extract(epoch from '2026-07-18 09:46:03'::timestamp) - extract(epoch from '2026-07-18 09:45:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132436 -3.322977)'), GeomFromEWKT('SRID=4674;POINT (-39.132463 -3.322938)'))) / (select extract(epoch from '2026-07-18 09:46:03'::timestamp) - extract(epoch from '2026-07-18 09:45:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132487 -3.322919)', '2026-07-18 09:46:10', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132463 -3.322938)'), GeomFromEWKT('SRID=4674;POINT (-39.132487 -3.322919)'))) / (select extract(epoch from '2026-07-18 09:46:10'::timestamp) - extract(epoch from '2026-07-18 09:46:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132463 -3.322938)'), GeomFromEWKT('SRID=4674;POINT (-39.132487 -3.322919)'))) / (select extract(epoch from '2026-07-18 09:46:10'::timestamp) - extract(epoch from '2026-07-18 09:46:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132499 -3.322893)', '2026-07-18 09:46:19', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132487 -3.322919)'), GeomFromEWKT('SRID=4674;POINT (-39.132499 -3.322893)'))) / (select extract(epoch from '2026-07-18 09:46:19'::timestamp) - extract(epoch from '2026-07-18 09:46:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132487 -3.322919)'), GeomFromEWKT('SRID=4674;POINT (-39.132499 -3.322893)'))) / (select extract(epoch from '2026-07-18 09:46:19'::timestamp) - extract(epoch from '2026-07-18 09:46: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'), 47471, 'SRID=4674;POINT (-39.132513 -3.322859)', '2026-07-18 09:46:28', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132499 -3.322893)'), GeomFromEWKT('SRID=4674;POINT (-39.132513 -3.322859)'))) / (select extract(epoch from '2026-07-18 09:46:28'::timestamp) - extract(epoch from '2026-07-18 09:46:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132499 -3.322893)'), GeomFromEWKT('SRID=4674;POINT (-39.132513 -3.322859)'))) / (select extract(epoch from '2026-07-18 09:46:28'::timestamp) - extract(epoch from '2026-07-18 09:46: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'), 47471, 'SRID=4674;POINT (-39.13252 -3.322832)', '2026-07-18 09:46:37', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132513 -3.322859)'), GeomFromEWKT('SRID=4674;POINT (-39.13252 -3.322832)'))) / (select extract(epoch from '2026-07-18 09:46:37'::timestamp) - extract(epoch from '2026-07-18 09:46:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132513 -3.322859)'), GeomFromEWKT('SRID=4674;POINT (-39.13252 -3.322832)'))) / (select extract(epoch from '2026-07-18 09:46:37'::timestamp) - extract(epoch from '2026-07-18 09:46: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'), 47471, 'SRID=4674;POINT (-39.132526 -3.3228)', '2026-07-18 09:46:45', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13252 -3.322832)'), GeomFromEWKT('SRID=4674;POINT (-39.132526 -3.3228)'))) / (select extract(epoch from '2026-07-18 09:46:45'::timestamp) - extract(epoch from '2026-07-18 09:46:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13252 -3.322832)'), GeomFromEWKT('SRID=4674;POINT (-39.132526 -3.3228)'))) / (select extract(epoch from '2026-07-18 09:46:45'::timestamp) - extract(epoch from '2026-07-18 09:46:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132518 -3.322799)', '2026-07-18 09:46:52', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132526 -3.3228)'), GeomFromEWKT('SRID=4674;POINT (-39.132518 -3.322799)'))) / (select extract(epoch from '2026-07-18 09:46:52'::timestamp) - extract(epoch from '2026-07-18 09:46:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132526 -3.3228)'), GeomFromEWKT('SRID=4674;POINT (-39.132518 -3.322799)'))) / (select extract(epoch from '2026-07-18 09:46:52'::timestamp) - extract(epoch from '2026-07-18 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'), 47471, 'SRID=4674;POINT (-39.132523 -3.322802)', '2026-07-18 09:46:58', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132518 -3.322799)'), GeomFromEWKT('SRID=4674;POINT (-39.132523 -3.322802)'))) / (select extract(epoch from '2026-07-18 09:46:58'::timestamp) - extract(epoch from '2026-07-18 09:46:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132518 -3.322799)'), GeomFromEWKT('SRID=4674;POINT (-39.132523 -3.322802)'))) / (select extract(epoch from '2026-07-18 09:46:58'::timestamp) - extract(epoch from '2026-07-18 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'), 47471, 'SRID=4674;POINT (-39.132529 -3.322807)', '2026-07-18 09:47:04', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132523 -3.322802)'), GeomFromEWKT('SRID=4674;POINT (-39.132529 -3.322807)'))) / (select extract(epoch from '2026-07-18 09:47:04'::timestamp) - extract(epoch from '2026-07-18 09:46:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132523 -3.322802)'), GeomFromEWKT('SRID=4674;POINT (-39.132529 -3.322807)'))) / (select extract(epoch from '2026-07-18 09:47:04'::timestamp) - extract(epoch from '2026-07-18 09:46:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132536 -3.322809)', '2026-07-18 09:47:10', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132529 -3.322807)'), GeomFromEWKT('SRID=4674;POINT (-39.132536 -3.322809)'))) / (select extract(epoch from '2026-07-18 09:47:10'::timestamp) - extract(epoch from '2026-07-18 09:47:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132529 -3.322807)'), GeomFromEWKT('SRID=4674;POINT (-39.132536 -3.322809)'))) / (select extract(epoch from '2026-07-18 09:47:10'::timestamp) - extract(epoch from '2026-07-18 09:47:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132538 -3.322814)', '2026-07-18 09:47:18', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132536 -3.322809)'), GeomFromEWKT('SRID=4674;POINT (-39.132538 -3.322814)'))) / (select extract(epoch from '2026-07-18 09:47:18'::timestamp) - extract(epoch from '2026-07-18 09:47:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132536 -3.322809)'), GeomFromEWKT('SRID=4674;POINT (-39.132538 -3.322814)'))) / (select extract(epoch from '2026-07-18 09:47:18'::timestamp) - extract(epoch from '2026-07-18 09:47:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132542 -3.322817)', '2026-07-18 09:47:28', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132538 -3.322814)'), GeomFromEWKT('SRID=4674;POINT (-39.132542 -3.322817)'))) / (select extract(epoch from '2026-07-18 09:47:28'::timestamp) - extract(epoch from '2026-07-18 09:47:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132538 -3.322814)'), GeomFromEWKT('SRID=4674;POINT (-39.132542 -3.322817)'))) / (select extract(epoch from '2026-07-18 09:47:28'::timestamp) - extract(epoch from '2026-07-18 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'), 47471, 'SRID=4674;POINT (-39.132547 -3.322817)', '2026-07-18 09:47:39', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132542 -3.322817)'), GeomFromEWKT('SRID=4674;POINT (-39.132547 -3.322817)'))) / (select extract(epoch from '2026-07-18 09:47:39'::timestamp) - extract(epoch from '2026-07-18 09:47:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132542 -3.322817)'), GeomFromEWKT('SRID=4674;POINT (-39.132547 -3.322817)'))) / (select extract(epoch from '2026-07-18 09:47:39'::timestamp) - extract(epoch from '2026-07-18 09:47: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'), 47471, 'SRID=4674;POINT (-39.132561 -3.322821)', '2026-07-18 09:47:53', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132547 -3.322817)'), GeomFromEWKT('SRID=4674;POINT (-39.132561 -3.322821)'))) / (select extract(epoch from '2026-07-18 09:47:53'::timestamp) - extract(epoch from '2026-07-18 09:47:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132547 -3.322817)'), GeomFromEWKT('SRID=4674;POINT (-39.132561 -3.322821)'))) / (select extract(epoch from '2026-07-18 09:47:53'::timestamp) - extract(epoch from '2026-07-18 09:47: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'), 47471, 'SRID=4674;POINT (-39.13257 -3.322828)', '2026-07-18 09:48:03', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132561 -3.322821)'), GeomFromEWKT('SRID=4674;POINT (-39.13257 -3.322828)'))) / (select extract(epoch from '2026-07-18 09:48:03'::timestamp) - extract(epoch from '2026-07-18 09:47:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132561 -3.322821)'), GeomFromEWKT('SRID=4674;POINT (-39.13257 -3.322828)'))) / (select extract(epoch from '2026-07-18 09:48:03'::timestamp) - extract(epoch from '2026-07-18 09:47: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'), 47471, 'SRID=4674;POINT (-39.132568 -3.322832)', '2026-07-18 09:48:13', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13257 -3.322828)'), GeomFromEWKT('SRID=4674;POINT (-39.132568 -3.322832)'))) / (select extract(epoch from '2026-07-18 09:48:13'::timestamp) - extract(epoch from '2026-07-18 09:48:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13257 -3.322828)'), GeomFromEWKT('SRID=4674;POINT (-39.132568 -3.322832)'))) / (select extract(epoch from '2026-07-18 09:48:13'::timestamp) - extract(epoch from '2026-07-18 09:48:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132564 -3.322829)', '2026-07-18 09:48:22', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132568 -3.322832)'), GeomFromEWKT('SRID=4674;POINT (-39.132564 -3.322829)'))) / (select extract(epoch from '2026-07-18 09:48:22'::timestamp) - extract(epoch from '2026-07-18 09:48:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132568 -3.322832)'), GeomFromEWKT('SRID=4674;POINT (-39.132564 -3.322829)'))) / (select extract(epoch from '2026-07-18 09:48:22'::timestamp) - extract(epoch from '2026-07-18 09:48: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'), 47471, 'SRID=4674;POINT (-39.132567 -3.32283)', '2026-07-18 09:48:33', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132564 -3.322829)'), GeomFromEWKT('SRID=4674;POINT (-39.132567 -3.32283)'))) / (select extract(epoch from '2026-07-18 09:48:33'::timestamp) - extract(epoch from '2026-07-18 09:48:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132564 -3.322829)'), GeomFromEWKT('SRID=4674;POINT (-39.132567 -3.32283)'))) / (select extract(epoch from '2026-07-18 09:48:33'::timestamp) - extract(epoch from '2026-07-18 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'), 47471, 'SRID=4674;POINT (-39.13258 -3.322836)', '2026-07-18 09:48:47', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132567 -3.32283)'), GeomFromEWKT('SRID=4674;POINT (-39.13258 -3.322836)'))) / (select extract(epoch from '2026-07-18 09:48:47'::timestamp) - extract(epoch from '2026-07-18 09:48:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132567 -3.32283)'), GeomFromEWKT('SRID=4674;POINT (-39.13258 -3.322836)'))) / (select extract(epoch from '2026-07-18 09:48:47'::timestamp) - extract(epoch from '2026-07-18 09:48:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132583 -3.322838)', '2026-07-18 09:48:55', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13258 -3.322836)'), GeomFromEWKT('SRID=4674;POINT (-39.132583 -3.322838)'))) / (select extract(epoch from '2026-07-18 09:48:55'::timestamp) - extract(epoch from '2026-07-18 09:48:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13258 -3.322836)'), GeomFromEWKT('SRID=4674;POINT (-39.132583 -3.322838)'))) / (select extract(epoch from '2026-07-18 09:48:55'::timestamp) - extract(epoch from '2026-07-18 09:48:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132575 -3.322839)', '2026-07-18 09:49:08', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132583 -3.322838)'), GeomFromEWKT('SRID=4674;POINT (-39.132575 -3.322839)'))) / (select extract(epoch from '2026-07-18 09:49:08'::timestamp) - extract(epoch from '2026-07-18 09:48:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132583 -3.322838)'), GeomFromEWKT('SRID=4674;POINT (-39.132575 -3.322839)'))) / (select extract(epoch from '2026-07-18 09:49:08'::timestamp) - extract(epoch from '2026-07-18 09:48: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'), 47471, 'SRID=4674;POINT (-39.132575 -3.32284)', '2026-07-18 09:49:18', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132575 -3.322839)'), GeomFromEWKT('SRID=4674;POINT (-39.132575 -3.32284)'))) / (select extract(epoch from '2026-07-18 09:49:18'::timestamp) - extract(epoch from '2026-07-18 09:49:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132575 -3.322839)'), GeomFromEWKT('SRID=4674;POINT (-39.132575 -3.32284)'))) / (select extract(epoch from '2026-07-18 09:49:18'::timestamp) - extract(epoch from '2026-07-18 09:49: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'), 47471, 'SRID=4674;POINT (-39.132572 -3.322842)', '2026-07-18 09:49:31', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132575 -3.32284)'), GeomFromEWKT('SRID=4674;POINT (-39.132572 -3.322842)'))) / (select extract(epoch from '2026-07-18 09:49:31'::timestamp) - extract(epoch from '2026-07-18 09:49:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132575 -3.32284)'), GeomFromEWKT('SRID=4674;POINT (-39.132572 -3.322842)'))) / (select extract(epoch from '2026-07-18 09:49:31'::timestamp) - extract(epoch from '2026-07-18 09:49: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'), 47471, 'SRID=4674;POINT (-39.13258 -3.32284)', '2026-07-18 09:49:38', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132572 -3.322842)'), GeomFromEWKT('SRID=4674;POINT (-39.13258 -3.32284)'))) / (select extract(epoch from '2026-07-18 09:49:38'::timestamp) - extract(epoch from '2026-07-18 09:49:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132572 -3.322842)'), GeomFromEWKT('SRID=4674;POINT (-39.13258 -3.32284)'))) / (select extract(epoch from '2026-07-18 09:49:38'::timestamp) - extract(epoch from '2026-07-18 09:49: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'), 47471, 'SRID=4674;POINT (-39.132582 -3.322838)', '2026-07-18 09:49:46', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13258 -3.32284)'), GeomFromEWKT('SRID=4674;POINT (-39.132582 -3.322838)'))) / (select extract(epoch from '2026-07-18 09:49:46'::timestamp) - extract(epoch from '2026-07-18 09:49:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13258 -3.32284)'), GeomFromEWKT('SRID=4674;POINT (-39.132582 -3.322838)'))) / (select extract(epoch from '2026-07-18 09:49:46'::timestamp) - extract(epoch from '2026-07-18 09:49: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'), 47471, 'SRID=4674;POINT (-39.132586 -3.322832)', '2026-07-18 09:49:52', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132582 -3.322838)'), GeomFromEWKT('SRID=4674;POINT (-39.132586 -3.322832)'))) / (select extract(epoch from '2026-07-18 09:49:52'::timestamp) - extract(epoch from '2026-07-18 09:49:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132582 -3.322838)'), GeomFromEWKT('SRID=4674;POINT (-39.132586 -3.322832)'))) / (select extract(epoch from '2026-07-18 09:49:52'::timestamp) - extract(epoch from '2026-07-18 09:49:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132578 -3.322828)', '2026-07-18 09:50:00', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132586 -3.322832)'), GeomFromEWKT('SRID=4674;POINT (-39.132578 -3.322828)'))) / (select extract(epoch from '2026-07-18 09:50:00'::timestamp) - extract(epoch from '2026-07-18 09:49:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132586 -3.322832)'), GeomFromEWKT('SRID=4674;POINT (-39.132578 -3.322828)'))) / (select extract(epoch from '2026-07-18 09:50:00'::timestamp) - extract(epoch from '2026-07-18 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'), 47471, 'SRID=4674;POINT (-39.132573 -3.322821)', '2026-07-18 09:50:13', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132578 -3.322828)'), GeomFromEWKT('SRID=4674;POINT (-39.132573 -3.322821)'))) / (select extract(epoch from '2026-07-18 09:50:13'::timestamp) - extract(epoch from '2026-07-18 09:50:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132578 -3.322828)'), GeomFromEWKT('SRID=4674;POINT (-39.132573 -3.322821)'))) / (select extract(epoch from '2026-07-18 09:50:13'::timestamp) - extract(epoch from '2026-07-18 09:50: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'), 47471, 'SRID=4674;POINT (-39.132571 -3.322827)', '2026-07-18 09:50:22', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132573 -3.322821)'), GeomFromEWKT('SRID=4674;POINT (-39.132571 -3.322827)'))) / (select extract(epoch from '2026-07-18 09:50:22'::timestamp) - extract(epoch from '2026-07-18 09:50:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132573 -3.322821)'), GeomFromEWKT('SRID=4674;POINT (-39.132571 -3.322827)'))) / (select extract(epoch from '2026-07-18 09:50:22'::timestamp) - extract(epoch from '2026-07-18 09:50:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132566 -3.322826)', '2026-07-18 09:50:27', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132571 -3.322827)'), GeomFromEWKT('SRID=4674;POINT (-39.132566 -3.322826)'))) / (select extract(epoch from '2026-07-18 09:50:27'::timestamp) - extract(epoch from '2026-07-18 09:50:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132571 -3.322827)'), GeomFromEWKT('SRID=4674;POINT (-39.132566 -3.322826)'))) / (select extract(epoch from '2026-07-18 09:50:27'::timestamp) - extract(epoch from '2026-07-18 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'), 47471, 'SRID=4674;POINT (-39.132573 -3.322823)', '2026-07-18 09:50:39', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132566 -3.322826)'), GeomFromEWKT('SRID=4674;POINT (-39.132573 -3.322823)'))) / (select extract(epoch from '2026-07-18 09:50:39'::timestamp) - extract(epoch from '2026-07-18 09:50:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132566 -3.322826)'), GeomFromEWKT('SRID=4674;POINT (-39.132573 -3.322823)'))) / (select extract(epoch from '2026-07-18 09:50:39'::timestamp) - extract(epoch from '2026-07-18 09:50:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132572 -3.322828)', '2026-07-18 09:50:49', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132573 -3.322823)'), GeomFromEWKT('SRID=4674;POINT (-39.132572 -3.322828)'))) / (select extract(epoch from '2026-07-18 09:50:49'::timestamp) - extract(epoch from '2026-07-18 09:50:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132573 -3.322823)'), GeomFromEWKT('SRID=4674;POINT (-39.132572 -3.322828)'))) / (select extract(epoch from '2026-07-18 09:50:49'::timestamp) - extract(epoch from '2026-07-18 09:50:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132569 -3.322824)', '2026-07-18 09:50:56', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132572 -3.322828)'), GeomFromEWKT('SRID=4674;POINT (-39.132569 -3.322824)'))) / (select extract(epoch from '2026-07-18 09:50:56'::timestamp) - extract(epoch from '2026-07-18 09:50:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132572 -3.322828)'), GeomFromEWKT('SRID=4674;POINT (-39.132569 -3.322824)'))) / (select extract(epoch from '2026-07-18 09:50:56'::timestamp) - extract(epoch from '2026-07-18 09:50: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'), 47471, 'SRID=4674;POINT (-39.132562 -3.32282)', '2026-07-18 09:51:02', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132569 -3.322824)'), GeomFromEWKT('SRID=4674;POINT (-39.132562 -3.32282)'))) / (select extract(epoch from '2026-07-18 09:51:02'::timestamp) - extract(epoch from '2026-07-18 09:50:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132569 -3.322824)'), GeomFromEWKT('SRID=4674;POINT (-39.132562 -3.32282)'))) / (select extract(epoch from '2026-07-18 09:51:02'::timestamp) - extract(epoch from '2026-07-18 09:50:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132565 -3.322819)', '2026-07-18 09:51:09', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132562 -3.32282)'), GeomFromEWKT('SRID=4674;POINT (-39.132565 -3.322819)'))) / (select extract(epoch from '2026-07-18 09:51:09'::timestamp) - extract(epoch from '2026-07-18 09:51:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132562 -3.32282)'), GeomFromEWKT('SRID=4674;POINT (-39.132565 -3.322819)'))) / (select extract(epoch from '2026-07-18 09:51:09'::timestamp) - extract(epoch from '2026-07-18 09:51:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132561 -3.32282)', '2026-07-18 09:51:17', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132565 -3.322819)'), GeomFromEWKT('SRID=4674;POINT (-39.132561 -3.32282)'))) / (select extract(epoch from '2026-07-18 09:51:17'::timestamp) - extract(epoch from '2026-07-18 09:51:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132565 -3.322819)'), GeomFromEWKT('SRID=4674;POINT (-39.132561 -3.32282)'))) / (select extract(epoch from '2026-07-18 09:51:17'::timestamp) - extract(epoch from '2026-07-18 09:51:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132563 -3.322821)', '2026-07-18 09:51:24', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132561 -3.32282)'), GeomFromEWKT('SRID=4674;POINT (-39.132563 -3.322821)'))) / (select extract(epoch from '2026-07-18 09:51:24'::timestamp) - extract(epoch from '2026-07-18 09:51:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132561 -3.32282)'), GeomFromEWKT('SRID=4674;POINT (-39.132563 -3.322821)'))) / (select extract(epoch from '2026-07-18 09:51:24'::timestamp) - extract(epoch from '2026-07-18 09:51: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'), 47471, 'SRID=4674;POINT (-39.132569 -3.322819)', '2026-07-18 09:51:28', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132563 -3.322821)'), GeomFromEWKT('SRID=4674;POINT (-39.132569 -3.322819)'))) / (select extract(epoch from '2026-07-18 09:51:28'::timestamp) - extract(epoch from '2026-07-18 09:51:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132563 -3.322821)'), GeomFromEWKT('SRID=4674;POINT (-39.132569 -3.322819)'))) / (select extract(epoch from '2026-07-18 09:51:28'::timestamp) - extract(epoch from '2026-07-18 09:51:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132569 -3.322821)', '2026-07-18 09:51:35', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132569 -3.322819)'), GeomFromEWKT('SRID=4674;POINT (-39.132569 -3.322821)'))) / (select extract(epoch from '2026-07-18 09:51:35'::timestamp) - extract(epoch from '2026-07-18 09:51:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132569 -3.322819)'), GeomFromEWKT('SRID=4674;POINT (-39.132569 -3.322821)'))) / (select extract(epoch from '2026-07-18 09:51:35'::timestamp) - extract(epoch from '2026-07-18 09:51: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'), 47471, 'SRID=4674;POINT (-39.132571 -3.322821)', '2026-07-18 09:51:44', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132569 -3.322821)'), GeomFromEWKT('SRID=4674;POINT (-39.132571 -3.322821)'))) / (select extract(epoch from '2026-07-18 09:51:44'::timestamp) - extract(epoch from '2026-07-18 09:51:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132569 -3.322821)'), GeomFromEWKT('SRID=4674;POINT (-39.132571 -3.322821)'))) / (select extract(epoch from '2026-07-18 09:51:44'::timestamp) - extract(epoch from '2026-07-18 09:51:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132564 -3.32282)', '2026-07-18 09:52:00', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132571 -3.322821)'), GeomFromEWKT('SRID=4674;POINT (-39.132564 -3.32282)'))) / (select extract(epoch from '2026-07-18 09:52:00'::timestamp) - extract(epoch from '2026-07-18 09:51:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132571 -3.322821)'), GeomFromEWKT('SRID=4674;POINT (-39.132564 -3.32282)'))) / (select extract(epoch from '2026-07-18 09:52:00'::timestamp) - extract(epoch from '2026-07-18 09:51: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'), 47471, 'SRID=4674;POINT (-39.13256 -3.322818)', '2026-07-18 09:52:05', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132564 -3.32282)'), GeomFromEWKT('SRID=4674;POINT (-39.13256 -3.322818)'))) / (select extract(epoch from '2026-07-18 09:52:05'::timestamp) - extract(epoch from '2026-07-18 09:52:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132564 -3.32282)'), GeomFromEWKT('SRID=4674;POINT (-39.13256 -3.322818)'))) / (select extract(epoch from '2026-07-18 09:52:05'::timestamp) - extract(epoch from '2026-07-18 09:52: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'), 47471, 'SRID=4674;POINT (-39.132567 -3.322818)', '2026-07-18 09:52:17', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13256 -3.322818)'), GeomFromEWKT('SRID=4674;POINT (-39.132567 -3.322818)'))) / (select extract(epoch from '2026-07-18 09:52:17'::timestamp) - extract(epoch from '2026-07-18 09:52:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13256 -3.322818)'), GeomFromEWKT('SRID=4674;POINT (-39.132567 -3.322818)'))) / (select extract(epoch from '2026-07-18 09:52:17'::timestamp) - extract(epoch from '2026-07-18 09:52: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'), 47471, 'SRID=4674;POINT (-39.132578 -3.322821)', '2026-07-18 09:52:27', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132567 -3.322818)'), GeomFromEWKT('SRID=4674;POINT (-39.132578 -3.322821)'))) / (select extract(epoch from '2026-07-18 09:52:27'::timestamp) - extract(epoch from '2026-07-18 09:52:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132567 -3.322818)'), GeomFromEWKT('SRID=4674;POINT (-39.132578 -3.322821)'))) / (select extract(epoch from '2026-07-18 09:52:27'::timestamp) - extract(epoch from '2026-07-18 09:52: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'), 47471, 'SRID=4674;POINT (-39.132578 -3.322826)', '2026-07-18 09:52:33', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132578 -3.322821)'), GeomFromEWKT('SRID=4674;POINT (-39.132578 -3.322826)'))) / (select extract(epoch from '2026-07-18 09:52:33'::timestamp) - extract(epoch from '2026-07-18 09:52:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132578 -3.322821)'), GeomFromEWKT('SRID=4674;POINT (-39.132578 -3.322826)'))) / (select extract(epoch from '2026-07-18 09:52:33'::timestamp) - extract(epoch from '2026-07-18 09:52: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'), 47471, 'SRID=4674;POINT (-39.132573 -3.322823)', '2026-07-18 09:52:42', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132578 -3.322826)'), GeomFromEWKT('SRID=4674;POINT (-39.132573 -3.322823)'))) / (select extract(epoch from '2026-07-18 09:52:42'::timestamp) - extract(epoch from '2026-07-18 09:52:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132578 -3.322826)'), GeomFromEWKT('SRID=4674;POINT (-39.132573 -3.322823)'))) / (select extract(epoch from '2026-07-18 09:52:42'::timestamp) - extract(epoch from '2026-07-18 09:52:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132575 -3.322826)', '2026-07-18 09:52:58', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132573 -3.322823)'), GeomFromEWKT('SRID=4674;POINT (-39.132575 -3.322826)'))) / (select extract(epoch from '2026-07-18 09:52:58'::timestamp) - extract(epoch from '2026-07-18 09:52:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132573 -3.322823)'), GeomFromEWKT('SRID=4674;POINT (-39.132575 -3.322826)'))) / (select extract(epoch from '2026-07-18 09:52:58'::timestamp) - extract(epoch from '2026-07-18 09:52: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'), 47471, 'SRID=4674;POINT (-39.13257 -3.322824)', '2026-07-18 09:53:09', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132575 -3.322826)'), GeomFromEWKT('SRID=4674;POINT (-39.13257 -3.322824)'))) / (select extract(epoch from '2026-07-18 09:53:09'::timestamp) - extract(epoch from '2026-07-18 09:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132575 -3.322826)'), GeomFromEWKT('SRID=4674;POINT (-39.13257 -3.322824)'))) / (select extract(epoch from '2026-07-18 09:53:09'::timestamp) - extract(epoch from '2026-07-18 09:52: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'), 47471, 'SRID=4674;POINT (-39.132579 -3.322832)', '2026-07-18 09:53:19', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13257 -3.322824)'), GeomFromEWKT('SRID=4674;POINT (-39.132579 -3.322832)'))) / (select extract(epoch from '2026-07-18 09:53:19'::timestamp) - extract(epoch from '2026-07-18 09:53:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13257 -3.322824)'), GeomFromEWKT('SRID=4674;POINT (-39.132579 -3.322832)'))) / (select extract(epoch from '2026-07-18 09:53:19'::timestamp) - extract(epoch from '2026-07-18 09:53:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.13258 -3.322835)', '2026-07-18 09:53:29', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132579 -3.322832)'), GeomFromEWKT('SRID=4674;POINT (-39.13258 -3.322835)'))) / (select extract(epoch from '2026-07-18 09:53:29'::timestamp) - extract(epoch from '2026-07-18 09:53:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132579 -3.322832)'), GeomFromEWKT('SRID=4674;POINT (-39.13258 -3.322835)'))) / (select extract(epoch from '2026-07-18 09:53:29'::timestamp) - extract(epoch from '2026-07-18 09:53: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'), 47471, 'SRID=4674;POINT (-39.13258 -3.322833)', '2026-07-18 09:53:41', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13258 -3.322835)'), GeomFromEWKT('SRID=4674;POINT (-39.13258 -3.322833)'))) / (select extract(epoch from '2026-07-18 09:53:41'::timestamp) - extract(epoch from '2026-07-18 09:53:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13258 -3.322835)'), GeomFromEWKT('SRID=4674;POINT (-39.13258 -3.322833)'))) / (select extract(epoch from '2026-07-18 09:53:41'::timestamp) - extract(epoch from '2026-07-18 09:53: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'), 47471, 'SRID=4674;POINT (-39.13259 -3.322835)', '2026-07-18 09:53:51', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13258 -3.322833)'), GeomFromEWKT('SRID=4674;POINT (-39.13259 -3.322835)'))) / (select extract(epoch from '2026-07-18 09:53:51'::timestamp) - extract(epoch from '2026-07-18 09:53:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13258 -3.322833)'), GeomFromEWKT('SRID=4674;POINT (-39.13259 -3.322835)'))) / (select extract(epoch from '2026-07-18 09:53:51'::timestamp) - extract(epoch from '2026-07-18 09:53:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132594 -3.322841)', '2026-07-18 09:53:58', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13259 -3.322835)'), GeomFromEWKT('SRID=4674;POINT (-39.132594 -3.322841)'))) / (select extract(epoch from '2026-07-18 09:53:58'::timestamp) - extract(epoch from '2026-07-18 09:53:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13259 -3.322835)'), GeomFromEWKT('SRID=4674;POINT (-39.132594 -3.322841)'))) / (select extract(epoch from '2026-07-18 09:53:58'::timestamp) - extract(epoch from '2026-07-18 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'), 47471, 'SRID=4674;POINT (-39.132591 -3.322843)', '2026-07-18 09:54:03', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132594 -3.322841)'), GeomFromEWKT('SRID=4674;POINT (-39.132591 -3.322843)'))) / (select extract(epoch from '2026-07-18 09:54:03'::timestamp) - extract(epoch from '2026-07-18 09:53:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132594 -3.322841)'), GeomFromEWKT('SRID=4674;POINT (-39.132591 -3.322843)'))) / (select extract(epoch from '2026-07-18 09:54:03'::timestamp) - extract(epoch from '2026-07-18 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'), 47471, 'SRID=4674;POINT (-39.132589 -3.322846)', '2026-07-18 09:54:13', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132591 -3.322843)'), GeomFromEWKT('SRID=4674;POINT (-39.132589 -3.322846)'))) / (select extract(epoch from '2026-07-18 09:54:13'::timestamp) - extract(epoch from '2026-07-18 09:54:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132591 -3.322843)'), GeomFromEWKT('SRID=4674;POINT (-39.132589 -3.322846)'))) / (select extract(epoch from '2026-07-18 09:54:13'::timestamp) - extract(epoch from '2026-07-18 09:54: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'), 47471, 'SRID=4674;POINT (-39.132588 -3.322848)', '2026-07-18 09:54:20', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132589 -3.322846)'), GeomFromEWKT('SRID=4674;POINT (-39.132588 -3.322848)'))) / (select extract(epoch from '2026-07-18 09:54:20'::timestamp) - extract(epoch from '2026-07-18 09:54:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132589 -3.322846)'), GeomFromEWKT('SRID=4674;POINT (-39.132588 -3.322848)'))) / (select extract(epoch from '2026-07-18 09:54:20'::timestamp) - extract(epoch from '2026-07-18 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'), 47471, 'SRID=4674;POINT (-39.132591 -3.322853)', '2026-07-18 09:54:29', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132588 -3.322848)'), GeomFromEWKT('SRID=4674;POINT (-39.132591 -3.322853)'))) / (select extract(epoch from '2026-07-18 09:54:29'::timestamp) - extract(epoch from '2026-07-18 09:54:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132588 -3.322848)'), GeomFromEWKT('SRID=4674;POINT (-39.132591 -3.322853)'))) / (select extract(epoch from '2026-07-18 09:54:29'::timestamp) - extract(epoch from '2026-07-18 09:54: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'), 47471, 'SRID=4674;POINT (-39.132599 -3.322852)', '2026-07-18 09:54:38', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132591 -3.322853)'), GeomFromEWKT('SRID=4674;POINT (-39.132599 -3.322852)'))) / (select extract(epoch from '2026-07-18 09:54:38'::timestamp) - extract(epoch from '2026-07-18 09:54:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132591 -3.322853)'), GeomFromEWKT('SRID=4674;POINT (-39.132599 -3.322852)'))) / (select extract(epoch from '2026-07-18 09:54:38'::timestamp) - extract(epoch from '2026-07-18 09:54:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132605 -3.322856)', '2026-07-18 09:54:45', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132599 -3.322852)'), GeomFromEWKT('SRID=4674;POINT (-39.132605 -3.322856)'))) / (select extract(epoch from '2026-07-18 09:54:45'::timestamp) - extract(epoch from '2026-07-18 09:54:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132599 -3.322852)'), GeomFromEWKT('SRID=4674;POINT (-39.132605 -3.322856)'))) / (select extract(epoch from '2026-07-18 09:54:45'::timestamp) - extract(epoch from '2026-07-18 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'), 47471, 'SRID=4674;POINT (-39.132616 -3.322863)', '2026-07-18 09:54:49', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132605 -3.322856)'), GeomFromEWKT('SRID=4674;POINT (-39.132616 -3.322863)'))) / (select extract(epoch from '2026-07-18 09:54:49'::timestamp) - extract(epoch from '2026-07-18 09:54:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132605 -3.322856)'), GeomFromEWKT('SRID=4674;POINT (-39.132616 -3.322863)'))) / (select extract(epoch from '2026-07-18 09:54:49'::timestamp) - extract(epoch from '2026-07-18 09:54: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'), 47471, 'SRID=4674;POINT (-39.132613 -3.322857)', '2026-07-18 09:54:58', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132616 -3.322863)'), GeomFromEWKT('SRID=4674;POINT (-39.132613 -3.322857)'))) / (select extract(epoch from '2026-07-18 09:54:58'::timestamp) - extract(epoch from '2026-07-18 09:54:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132616 -3.322863)'), GeomFromEWKT('SRID=4674;POINT (-39.132613 -3.322857)'))) / (select extract(epoch from '2026-07-18 09:54:58'::timestamp) - extract(epoch from '2026-07-18 09:54:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132612 -3.322858)', '2026-07-18 09:55:03', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132613 -3.322857)'), GeomFromEWKT('SRID=4674;POINT (-39.132612 -3.322858)'))) / (select extract(epoch from '2026-07-18 09:55:03'::timestamp) - extract(epoch from '2026-07-18 09:54:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132613 -3.322857)'), GeomFromEWKT('SRID=4674;POINT (-39.132612 -3.322858)'))) / (select extract(epoch from '2026-07-18 09:55:03'::timestamp) - extract(epoch from '2026-07-18 09:54: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'), 47471, 'SRID=4674;POINT (-39.13262 -3.322858)', '2026-07-18 09:55:14', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132612 -3.322858)'), GeomFromEWKT('SRID=4674;POINT (-39.13262 -3.322858)'))) / (select extract(epoch from '2026-07-18 09:55:14'::timestamp) - extract(epoch from '2026-07-18 09:55:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132612 -3.322858)'), GeomFromEWKT('SRID=4674;POINT (-39.13262 -3.322858)'))) / (select extract(epoch from '2026-07-18 09:55:14'::timestamp) - extract(epoch from '2026-07-18 09:55: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'), 47471, 'SRID=4674;POINT (-39.132614 -3.322862)', '2026-07-18 09:55:25', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13262 -3.322858)'), GeomFromEWKT('SRID=4674;POINT (-39.132614 -3.322862)'))) / (select extract(epoch from '2026-07-18 09:55:25'::timestamp) - extract(epoch from '2026-07-18 09:55:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13262 -3.322858)'), GeomFromEWKT('SRID=4674;POINT (-39.132614 -3.322862)'))) / (select extract(epoch from '2026-07-18 09:55:25'::timestamp) - extract(epoch from '2026-07-18 09:55: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'), 47471, 'SRID=4674;POINT (-39.132614 -3.322864)', '2026-07-18 09:55:35', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132614 -3.322862)'), GeomFromEWKT('SRID=4674;POINT (-39.132614 -3.322864)'))) / (select extract(epoch from '2026-07-18 09:55:35'::timestamp) - extract(epoch from '2026-07-18 09:55:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132614 -3.322862)'), GeomFromEWKT('SRID=4674;POINT (-39.132614 -3.322864)'))) / (select extract(epoch from '2026-07-18 09:55:35'::timestamp) - extract(epoch from '2026-07-18 09:55: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'), 47471, 'SRID=4674;POINT (-39.132618 -3.322866)', '2026-07-18 09:55:42', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132614 -3.322864)'), GeomFromEWKT('SRID=4674;POINT (-39.132618 -3.322866)'))) / (select extract(epoch from '2026-07-18 09:55:42'::timestamp) - extract(epoch from '2026-07-18 09:55:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132614 -3.322864)'), GeomFromEWKT('SRID=4674;POINT (-39.132618 -3.322866)'))) / (select extract(epoch from '2026-07-18 09:55:42'::timestamp) - extract(epoch from '2026-07-18 09:55:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132619 -3.322873)', '2026-07-18 09:55:52', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132618 -3.322866)'), GeomFromEWKT('SRID=4674;POINT (-39.132619 -3.322873)'))) / (select extract(epoch from '2026-07-18 09:55:52'::timestamp) - extract(epoch from '2026-07-18 09:55:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132618 -3.322866)'), GeomFromEWKT('SRID=4674;POINT (-39.132619 -3.322873)'))) / (select extract(epoch from '2026-07-18 09:55:52'::timestamp) - extract(epoch from '2026-07-18 09:55: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'), 47471, 'SRID=4674;POINT (-39.132624 -3.322871)', '2026-07-18 09:55:58', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132619 -3.322873)'), GeomFromEWKT('SRID=4674;POINT (-39.132624 -3.322871)'))) / (select extract(epoch from '2026-07-18 09:55:58'::timestamp) - extract(epoch from '2026-07-18 09:55:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132619 -3.322873)'), GeomFromEWKT('SRID=4674;POINT (-39.132624 -3.322871)'))) / (select extract(epoch from '2026-07-18 09:55:58'::timestamp) - extract(epoch from '2026-07-18 09:55: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'), 47471, 'SRID=4674;POINT (-39.132625 -3.322878)', '2026-07-18 09:56:05', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132624 -3.322871)'), GeomFromEWKT('SRID=4674;POINT (-39.132625 -3.322878)'))) / (select extract(epoch from '2026-07-18 09:56:05'::timestamp) - extract(epoch from '2026-07-18 09:55:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132624 -3.322871)'), GeomFromEWKT('SRID=4674;POINT (-39.132625 -3.322878)'))) / (select extract(epoch from '2026-07-18 09:56:05'::timestamp) - extract(epoch from '2026-07-18 09:55: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'), 47471, 'SRID=4674;POINT (-39.132621 -3.322877)', '2026-07-18 09:56:18', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132625 -3.322878)'), GeomFromEWKT('SRID=4674;POINT (-39.132621 -3.322877)'))) / (select extract(epoch from '2026-07-18 09:56:18'::timestamp) - extract(epoch from '2026-07-18 09:56:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132625 -3.322878)'), GeomFromEWKT('SRID=4674;POINT (-39.132621 -3.322877)'))) / (select extract(epoch from '2026-07-18 09:56:18'::timestamp) - extract(epoch from '2026-07-18 09:56: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'), 47471, 'SRID=4674;POINT (-39.132628 -3.322876)', '2026-07-18 09:56:35', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132621 -3.322877)'), GeomFromEWKT('SRID=4674;POINT (-39.132628 -3.322876)'))) / (select extract(epoch from '2026-07-18 09:56:35'::timestamp) - extract(epoch from '2026-07-18 09:56:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132621 -3.322877)'), GeomFromEWKT('SRID=4674;POINT (-39.132628 -3.322876)'))) / (select extract(epoch from '2026-07-18 09:56:35'::timestamp) - extract(epoch from '2026-07-18 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'), 47471, 'SRID=4674;POINT (-39.132623 -3.322883)', '2026-07-18 09:56:47', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132628 -3.322876)'), GeomFromEWKT('SRID=4674;POINT (-39.132623 -3.322883)'))) / (select extract(epoch from '2026-07-18 09:56:47'::timestamp) - extract(epoch from '2026-07-18 09:56:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132628 -3.322876)'), GeomFromEWKT('SRID=4674;POINT (-39.132623 -3.322883)'))) / (select extract(epoch from '2026-07-18 09:56:47'::timestamp) - extract(epoch from '2026-07-18 09:56:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132613 -3.322888)', '2026-07-18 09:56:55', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132623 -3.322883)'), GeomFromEWKT('SRID=4674;POINT (-39.132613 -3.322888)'))) / (select extract(epoch from '2026-07-18 09:56:55'::timestamp) - extract(epoch from '2026-07-18 09:56:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132623 -3.322883)'), GeomFromEWKT('SRID=4674;POINT (-39.132613 -3.322888)'))) / (select extract(epoch from '2026-07-18 09:56:55'::timestamp) - extract(epoch from '2026-07-18 09:56: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'), 47471, 'SRID=4674;POINT (-39.132613 -3.322888)', '2026-07-18 09:57:02', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132613 -3.322888)'), GeomFromEWKT('SRID=4674;POINT (-39.132613 -3.322888)'))) / (select extract(epoch from '2026-07-18 09:57:02'::timestamp) - extract(epoch from '2026-07-18 09:56:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132613 -3.322888)'), GeomFromEWKT('SRID=4674;POINT (-39.132613 -3.322888)'))) / (select extract(epoch from '2026-07-18 09:57:02'::timestamp) - extract(epoch from '2026-07-18 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'), 47471, 'SRID=4674;POINT (-39.132623 -3.322882)', '2026-07-18 09:57:10', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132613 -3.322888)'), GeomFromEWKT('SRID=4674;POINT (-39.132623 -3.322882)'))) / (select extract(epoch from '2026-07-18 09:57:10'::timestamp) - extract(epoch from '2026-07-18 09:57:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132613 -3.322888)'), GeomFromEWKT('SRID=4674;POINT (-39.132623 -3.322882)'))) / (select extract(epoch from '2026-07-18 09:57:10'::timestamp) - extract(epoch from '2026-07-18 09:57: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'), 47471, 'SRID=4674;POINT (-39.132624 -3.322877)', '2026-07-18 09:57:21', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132623 -3.322882)'), GeomFromEWKT('SRID=4674;POINT (-39.132624 -3.322877)'))) / (select extract(epoch from '2026-07-18 09:57:21'::timestamp) - extract(epoch from '2026-07-18 09:57:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132623 -3.322882)'), GeomFromEWKT('SRID=4674;POINT (-39.132624 -3.322877)'))) / (select extract(epoch from '2026-07-18 09:57:21'::timestamp) - extract(epoch from '2026-07-18 09:57: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'), 47471, 'SRID=4674;POINT (-39.132625 -3.322882)', '2026-07-18 09:57:29', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132624 -3.322877)'), GeomFromEWKT('SRID=4674;POINT (-39.132625 -3.322882)'))) / (select extract(epoch from '2026-07-18 09:57:29'::timestamp) - extract(epoch from '2026-07-18 09:57:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132624 -3.322877)'), GeomFromEWKT('SRID=4674;POINT (-39.132625 -3.322882)'))) / (select extract(epoch from '2026-07-18 09:57:29'::timestamp) - extract(epoch from '2026-07-18 09:57:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132636 -3.322885)', '2026-07-18 09:57:42', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132625 -3.322882)'), GeomFromEWKT('SRID=4674;POINT (-39.132636 -3.322885)'))) / (select extract(epoch from '2026-07-18 09:57:42'::timestamp) - extract(epoch from '2026-07-18 09:57:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132625 -3.322882)'), GeomFromEWKT('SRID=4674;POINT (-39.132636 -3.322885)'))) / (select extract(epoch from '2026-07-18 09:57:42'::timestamp) - extract(epoch from '2026-07-18 09:57:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132642 -3.322881)', '2026-07-18 09:57:51', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132636 -3.322885)'), GeomFromEWKT('SRID=4674;POINT (-39.132642 -3.322881)'))) / (select extract(epoch from '2026-07-18 09:57:51'::timestamp) - extract(epoch from '2026-07-18 09:57:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132636 -3.322885)'), GeomFromEWKT('SRID=4674;POINT (-39.132642 -3.322881)'))) / (select extract(epoch from '2026-07-18 09:57:51'::timestamp) - extract(epoch from '2026-07-18 09:57: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'), 47471, 'SRID=4674;POINT (-39.132646 -3.32289)', '2026-07-18 09:57:59', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132642 -3.322881)'), GeomFromEWKT('SRID=4674;POINT (-39.132646 -3.32289)'))) / (select extract(epoch from '2026-07-18 09:57:59'::timestamp) - extract(epoch from '2026-07-18 09:57:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132642 -3.322881)'), GeomFromEWKT('SRID=4674;POINT (-39.132646 -3.32289)'))) / (select extract(epoch from '2026-07-18 09:57:59'::timestamp) - extract(epoch from '2026-07-18 09:57:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132657 -3.322887)', '2026-07-18 09:58:08', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132646 -3.32289)'), GeomFromEWKT('SRID=4674;POINT (-39.132657 -3.322887)'))) / (select extract(epoch from '2026-07-18 09:58:08'::timestamp) - extract(epoch from '2026-07-18 09:57:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132646 -3.32289)'), GeomFromEWKT('SRID=4674;POINT (-39.132657 -3.322887)'))) / (select extract(epoch from '2026-07-18 09:58:08'::timestamp) - extract(epoch from '2026-07-18 09:57: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'), 47471, 'SRID=4674;POINT (-39.132654 -3.322896)', '2026-07-18 09:58:19', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132657 -3.322887)'), GeomFromEWKT('SRID=4674;POINT (-39.132654 -3.322896)'))) / (select extract(epoch from '2026-07-18 09:58:19'::timestamp) - extract(epoch from '2026-07-18 09:58:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132657 -3.322887)'), GeomFromEWKT('SRID=4674;POINT (-39.132654 -3.322896)'))) / (select extract(epoch from '2026-07-18 09:58:19'::timestamp) - extract(epoch from '2026-07-18 09:58:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132656 -3.322902)', '2026-07-18 09:58:29', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132654 -3.322896)'), GeomFromEWKT('SRID=4674;POINT (-39.132656 -3.322902)'))) / (select extract(epoch from '2026-07-18 09:58:29'::timestamp) - extract(epoch from '2026-07-18 09:58:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132654 -3.322896)'), GeomFromEWKT('SRID=4674;POINT (-39.132656 -3.322902)'))) / (select extract(epoch from '2026-07-18 09:58:29'::timestamp) - extract(epoch from '2026-07-18 09:58: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'), 47471, 'SRID=4674;POINT (-39.132651 -3.322901)', '2026-07-18 09:58:39', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132656 -3.322902)'), GeomFromEWKT('SRID=4674;POINT (-39.132651 -3.322901)'))) / (select extract(epoch from '2026-07-18 09:58:39'::timestamp) - extract(epoch from '2026-07-18 09:58:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132656 -3.322902)'), GeomFromEWKT('SRID=4674;POINT (-39.132651 -3.322901)'))) / (select extract(epoch from '2026-07-18 09:58:39'::timestamp) - extract(epoch from '2026-07-18 09:58: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'), 47471, 'SRID=4674;POINT (-39.132662 -3.322904)', '2026-07-18 09:58:51', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132651 -3.322901)'), GeomFromEWKT('SRID=4674;POINT (-39.132662 -3.322904)'))) / (select extract(epoch from '2026-07-18 09:58:51'::timestamp) - extract(epoch from '2026-07-18 09:58:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132651 -3.322901)'), GeomFromEWKT('SRID=4674;POINT (-39.132662 -3.322904)'))) / (select extract(epoch from '2026-07-18 09:58:51'::timestamp) - extract(epoch from '2026-07-18 09:58:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132658 -3.322907)', '2026-07-18 09:58:59', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132662 -3.322904)'), GeomFromEWKT('SRID=4674;POINT (-39.132658 -3.322907)'))) / (select extract(epoch from '2026-07-18 09:58:59'::timestamp) - extract(epoch from '2026-07-18 09:58:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132662 -3.322904)'), GeomFromEWKT('SRID=4674;POINT (-39.132658 -3.322907)'))) / (select extract(epoch from '2026-07-18 09:58:59'::timestamp) - extract(epoch from '2026-07-18 09:58: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'), 47471, 'SRID=4674;POINT (-39.132662 -3.322908)', '2026-07-18 09:59:08', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132658 -3.322907)'), GeomFromEWKT('SRID=4674;POINT (-39.132662 -3.322908)'))) / (select extract(epoch from '2026-07-18 09:59:08'::timestamp) - extract(epoch from '2026-07-18 09:58:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132658 -3.322907)'), GeomFromEWKT('SRID=4674;POINT (-39.132662 -3.322908)'))) / (select extract(epoch from '2026-07-18 09:59:08'::timestamp) - extract(epoch from '2026-07-18 09:58: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'), 47471, 'SRID=4674;POINT (-39.132667 -3.322907)', '2026-07-18 09:59:16', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132662 -3.322908)'), GeomFromEWKT('SRID=4674;POINT (-39.132667 -3.322907)'))) / (select extract(epoch from '2026-07-18 09:59:16'::timestamp) - extract(epoch from '2026-07-18 09:59:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132662 -3.322908)'), GeomFromEWKT('SRID=4674;POINT (-39.132667 -3.322907)'))) / (select extract(epoch from '2026-07-18 09:59:16'::timestamp) - extract(epoch from '2026-07-18 09:59:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.13266 -3.322905)', '2026-07-18 09:59:22', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132667 -3.322907)'), GeomFromEWKT('SRID=4674;POINT (-39.13266 -3.322905)'))) / (select extract(epoch from '2026-07-18 09:59:22'::timestamp) - extract(epoch from '2026-07-18 09:59:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132667 -3.322907)'), GeomFromEWKT('SRID=4674;POINT (-39.13266 -3.322905)'))) / (select extract(epoch from '2026-07-18 09:59:22'::timestamp) - extract(epoch from '2026-07-18 09:59: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'), 47471, 'SRID=4674;POINT (-39.132657 -3.322904)', '2026-07-18 09:59:32', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13266 -3.322905)'), GeomFromEWKT('SRID=4674;POINT (-39.132657 -3.322904)'))) / (select extract(epoch from '2026-07-18 09:59:32'::timestamp) - extract(epoch from '2026-07-18 09:59:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13266 -3.322905)'), GeomFromEWKT('SRID=4674;POINT (-39.132657 -3.322904)'))) / (select extract(epoch from '2026-07-18 09:59:32'::timestamp) - extract(epoch from '2026-07-18 09:59: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'), 47471, 'SRID=4674;POINT (-39.132655 -3.3229)', '2026-07-18 09:59:40', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132657 -3.322904)'), GeomFromEWKT('SRID=4674;POINT (-39.132655 -3.3229)'))) / (select extract(epoch from '2026-07-18 09:59:40'::timestamp) - extract(epoch from '2026-07-18 09:59:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132657 -3.322904)'), GeomFromEWKT('SRID=4674;POINT (-39.132655 -3.3229)'))) / (select extract(epoch from '2026-07-18 09:59:40'::timestamp) - extract(epoch from '2026-07-18 09:59:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132657 -3.322898)', '2026-07-18 09:59:51', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132655 -3.3229)'), GeomFromEWKT('SRID=4674;POINT (-39.132657 -3.322898)'))) / (select extract(epoch from '2026-07-18 09:59:51'::timestamp) - extract(epoch from '2026-07-18 09:59:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132655 -3.3229)'), GeomFromEWKT('SRID=4674;POINT (-39.132657 -3.322898)'))) / (select extract(epoch from '2026-07-18 09:59:51'::timestamp) - extract(epoch from '2026-07-18 09:59:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.13265 -3.322893)', '2026-07-18 10:00:02', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132657 -3.322898)'), GeomFromEWKT('SRID=4674;POINT (-39.13265 -3.322893)'))) / (select extract(epoch from '2026-07-18 10:00:02'::timestamp) - extract(epoch from '2026-07-18 09:59:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132657 -3.322898)'), GeomFromEWKT('SRID=4674;POINT (-39.13265 -3.322893)'))) / (select extract(epoch from '2026-07-18 10:00:02'::timestamp) - extract(epoch from '2026-07-18 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'), 47471, 'SRID=4674;POINT (-39.132642 -3.322888)', '2026-07-18 10:00:09', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13265 -3.322893)'), GeomFromEWKT('SRID=4674;POINT (-39.132642 -3.322888)'))) / (select extract(epoch from '2026-07-18 10:00:09'::timestamp) - extract(epoch from '2026-07-18 10:00:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13265 -3.322893)'), GeomFromEWKT('SRID=4674;POINT (-39.132642 -3.322888)'))) / (select extract(epoch from '2026-07-18 10:00:09'::timestamp) - extract(epoch from '2026-07-18 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'), 47471, 'SRID=4674;POINT (-39.132636 -3.322886)', '2026-07-18 10:00:15', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132642 -3.322888)'), GeomFromEWKT('SRID=4674;POINT (-39.132636 -3.322886)'))) / (select extract(epoch from '2026-07-18 10:00:15'::timestamp) - extract(epoch from '2026-07-18 10:00:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132642 -3.322888)'), GeomFromEWKT('SRID=4674;POINT (-39.132636 -3.322886)'))) / (select extract(epoch from '2026-07-18 10:00:15'::timestamp) - extract(epoch from '2026-07-18 10:00: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'), 47471, 'SRID=4674;POINT (-39.132637 -3.322888)', '2026-07-18 10:00:25', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132636 -3.322886)'), GeomFromEWKT('SRID=4674;POINT (-39.132637 -3.322888)'))) / (select extract(epoch from '2026-07-18 10:00:25'::timestamp) - extract(epoch from '2026-07-18 10:00:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132636 -3.322886)'), GeomFromEWKT('SRID=4674;POINT (-39.132637 -3.322888)'))) / (select extract(epoch from '2026-07-18 10:00:25'::timestamp) - extract(epoch from '2026-07-18 10:00:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132635 -3.322889)', '2026-07-18 10:00:39', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132637 -3.322888)'), GeomFromEWKT('SRID=4674;POINT (-39.132635 -3.322889)'))) / (select extract(epoch from '2026-07-18 10:00:39'::timestamp) - extract(epoch from '2026-07-18 10:00:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132637 -3.322888)'), GeomFromEWKT('SRID=4674;POINT (-39.132635 -3.322889)'))) / (select extract(epoch from '2026-07-18 10:00:39'::timestamp) - extract(epoch from '2026-07-18 10:00:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132637 -3.322891)', '2026-07-18 10:00:48', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132635 -3.322889)'), GeomFromEWKT('SRID=4674;POINT (-39.132637 -3.322891)'))) / (select extract(epoch from '2026-07-18 10:00:48'::timestamp) - extract(epoch from '2026-07-18 10:00:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132635 -3.322889)'), GeomFromEWKT('SRID=4674;POINT (-39.132637 -3.322891)'))) / (select extract(epoch from '2026-07-18 10:00:48'::timestamp) - extract(epoch from '2026-07-18 10:00: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'), 47471, 'SRID=4674;POINT (-39.13264 -3.322888)', '2026-07-18 10:00:58', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132637 -3.322891)'), GeomFromEWKT('SRID=4674;POINT (-39.13264 -3.322888)'))) / (select extract(epoch from '2026-07-18 10:00:58'::timestamp) - extract(epoch from '2026-07-18 10:00:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132637 -3.322891)'), GeomFromEWKT('SRID=4674;POINT (-39.13264 -3.322888)'))) / (select extract(epoch from '2026-07-18 10:00:58'::timestamp) - extract(epoch from '2026-07-18 10:00: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'), 47471, 'SRID=4674;POINT (-39.132642 -3.322894)', '2026-07-18 10:01:10', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13264 -3.322888)'), GeomFromEWKT('SRID=4674;POINT (-39.132642 -3.322894)'))) / (select extract(epoch from '2026-07-18 10:01:10'::timestamp) - extract(epoch from '2026-07-18 10:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13264 -3.322888)'), GeomFromEWKT('SRID=4674;POINT (-39.132642 -3.322894)'))) / (select extract(epoch from '2026-07-18 10:01:10'::timestamp) - extract(epoch from '2026-07-18 10:00: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'), 47471, 'SRID=4674;POINT (-39.132651 -3.322896)', '2026-07-18 10:01:22', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132642 -3.322894)'), GeomFromEWKT('SRID=4674;POINT (-39.132651 -3.322896)'))) / (select extract(epoch from '2026-07-18 10:01:22'::timestamp) - extract(epoch from '2026-07-18 10:01:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132642 -3.322894)'), GeomFromEWKT('SRID=4674;POINT (-39.132651 -3.322896)'))) / (select extract(epoch from '2026-07-18 10:01:22'::timestamp) - extract(epoch from '2026-07-18 10:01: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'), 47471, 'SRID=4674;POINT (-39.132655 -3.322901)', '2026-07-18 10:01:29', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132651 -3.322896)'), GeomFromEWKT('SRID=4674;POINT (-39.132655 -3.322901)'))) / (select extract(epoch from '2026-07-18 10:01:29'::timestamp) - extract(epoch from '2026-07-18 10:01:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132651 -3.322896)'), GeomFromEWKT('SRID=4674;POINT (-39.132655 -3.322901)'))) / (select extract(epoch from '2026-07-18 10:01:29'::timestamp) - extract(epoch from '2026-07-18 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'), 47471, 'SRID=4674;POINT (-39.132659 -3.322902)', '2026-07-18 10:01:38', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132655 -3.322901)'), GeomFromEWKT('SRID=4674;POINT (-39.132659 -3.322902)'))) / (select extract(epoch from '2026-07-18 10:01:38'::timestamp) - extract(epoch from '2026-07-18 10:01:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132655 -3.322901)'), GeomFromEWKT('SRID=4674;POINT (-39.132659 -3.322902)'))) / (select extract(epoch from '2026-07-18 10:01:38'::timestamp) - extract(epoch from '2026-07-18 10:01: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'), 47471, 'SRID=4674;POINT (-39.132654 -3.32291)', '2026-07-18 10:01:46', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132659 -3.322902)'), GeomFromEWKT('SRID=4674;POINT (-39.132654 -3.32291)'))) / (select extract(epoch from '2026-07-18 10:01:46'::timestamp) - extract(epoch from '2026-07-18 10:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132659 -3.322902)'), GeomFromEWKT('SRID=4674;POINT (-39.132654 -3.32291)'))) / (select extract(epoch from '2026-07-18 10:01:46'::timestamp) - extract(epoch from '2026-07-18 10:01: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'), 47471, 'SRID=4674;POINT (-39.132663 -3.322909)', '2026-07-18 10:01:52', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132654 -3.32291)'), GeomFromEWKT('SRID=4674;POINT (-39.132663 -3.322909)'))) / (select extract(epoch from '2026-07-18 10:01:52'::timestamp) - extract(epoch from '2026-07-18 10:01:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132654 -3.32291)'), GeomFromEWKT('SRID=4674;POINT (-39.132663 -3.322909)'))) / (select extract(epoch from '2026-07-18 10:01:52'::timestamp) - extract(epoch from '2026-07-18 10:01: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'), 47471, 'SRID=4674;POINT (-39.132669 -3.322908)', '2026-07-18 10:02:03', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132663 -3.322909)'), GeomFromEWKT('SRID=4674;POINT (-39.132669 -3.322908)'))) / (select extract(epoch from '2026-07-18 10:02:03'::timestamp) - extract(epoch from '2026-07-18 10:01:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132663 -3.322909)'), GeomFromEWKT('SRID=4674;POINT (-39.132669 -3.322908)'))) / (select extract(epoch from '2026-07-18 10:02:03'::timestamp) - extract(epoch from '2026-07-18 10:01: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'), 47471, 'SRID=4674;POINT (-39.132673 -3.322908)', '2026-07-18 10:02:15', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132669 -3.322908)'), GeomFromEWKT('SRID=4674;POINT (-39.132673 -3.322908)'))) / (select extract(epoch from '2026-07-18 10:02:15'::timestamp) - extract(epoch from '2026-07-18 10:02:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132669 -3.322908)'), GeomFromEWKT('SRID=4674;POINT (-39.132673 -3.322908)'))) / (select extract(epoch from '2026-07-18 10:02:15'::timestamp) - extract(epoch from '2026-07-18 10:02:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132669 -3.32291)', '2026-07-18 10:02:25', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132673 -3.322908)'), GeomFromEWKT('SRID=4674;POINT (-39.132669 -3.32291)'))) / (select extract(epoch from '2026-07-18 10:02:25'::timestamp) - extract(epoch from '2026-07-18 10:02:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132673 -3.322908)'), GeomFromEWKT('SRID=4674;POINT (-39.132669 -3.32291)'))) / (select extract(epoch from '2026-07-18 10:02:25'::timestamp) - extract(epoch from '2026-07-18 10:02: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'), 47471, 'SRID=4674;POINT (-39.132682 -3.322916)', '2026-07-18 10:02:35', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132669 -3.32291)'), GeomFromEWKT('SRID=4674;POINT (-39.132682 -3.322916)'))) / (select extract(epoch from '2026-07-18 10:02:35'::timestamp) - extract(epoch from '2026-07-18 10:02:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132669 -3.32291)'), GeomFromEWKT('SRID=4674;POINT (-39.132682 -3.322916)'))) / (select extract(epoch from '2026-07-18 10:02:35'::timestamp) - extract(epoch from '2026-07-18 10:02: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'), 47471, 'SRID=4674;POINT (-39.132686 -3.322923)', '2026-07-18 10:02:47', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132682 -3.322916)'), GeomFromEWKT('SRID=4674;POINT (-39.132686 -3.322923)'))) / (select extract(epoch from '2026-07-18 10:02:47'::timestamp) - extract(epoch from '2026-07-18 10:02:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132682 -3.322916)'), GeomFromEWKT('SRID=4674;POINT (-39.132686 -3.322923)'))) / (select extract(epoch from '2026-07-18 10:02:47'::timestamp) - extract(epoch from '2026-07-18 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'), 47471, 'SRID=4674;POINT (-39.132688 -3.322924)', '2026-07-18 10:02:58', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132686 -3.322923)'), GeomFromEWKT('SRID=4674;POINT (-39.132688 -3.322924)'))) / (select extract(epoch from '2026-07-18 10:02:58'::timestamp) - extract(epoch from '2026-07-18 10:02:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132686 -3.322923)'), GeomFromEWKT('SRID=4674;POINT (-39.132688 -3.322924)'))) / (select extract(epoch from '2026-07-18 10:02:58'::timestamp) - extract(epoch from '2026-07-18 10:02: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'), 47471, 'SRID=4674;POINT (-39.132691 -3.322922)', '2026-07-18 10:03:11', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132688 -3.322924)'), GeomFromEWKT('SRID=4674;POINT (-39.132691 -3.322922)'))) / (select extract(epoch from '2026-07-18 10:03:11'::timestamp) - extract(epoch from '2026-07-18 10:02:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132688 -3.322924)'), GeomFromEWKT('SRID=4674;POINT (-39.132691 -3.322922)'))) / (select extract(epoch from '2026-07-18 10:03:11'::timestamp) - extract(epoch from '2026-07-18 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'), 47471, 'SRID=4674;POINT (-39.132694 -3.322923)', '2026-07-18 10:03:20', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132691 -3.322922)'), GeomFromEWKT('SRID=4674;POINT (-39.132694 -3.322923)'))) / (select extract(epoch from '2026-07-18 10:03:20'::timestamp) - extract(epoch from '2026-07-18 10:03:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132691 -3.322922)'), GeomFromEWKT('SRID=4674;POINT (-39.132694 -3.322923)'))) / (select extract(epoch from '2026-07-18 10:03:20'::timestamp) - extract(epoch from '2026-07-18 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'), 47471, 'SRID=4674;POINT (-39.132696 -3.322925)', '2026-07-18 10:03:28', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132694 -3.322923)'), GeomFromEWKT('SRID=4674;POINT (-39.132696 -3.322925)'))) / (select extract(epoch from '2026-07-18 10:03:28'::timestamp) - extract(epoch from '2026-07-18 10:03:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132694 -3.322923)'), GeomFromEWKT('SRID=4674;POINT (-39.132696 -3.322925)'))) / (select extract(epoch from '2026-07-18 10:03:28'::timestamp) - extract(epoch from '2026-07-18 10:03: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'), 47471, 'SRID=4674;POINT (-39.132692 -3.322929)', '2026-07-18 10:03:35', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132696 -3.322925)'), GeomFromEWKT('SRID=4674;POINT (-39.132692 -3.322929)'))) / (select extract(epoch from '2026-07-18 10:03:35'::timestamp) - extract(epoch from '2026-07-18 10:03:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132696 -3.322925)'), GeomFromEWKT('SRID=4674;POINT (-39.132692 -3.322929)'))) / (select extract(epoch from '2026-07-18 10:03:35'::timestamp) - extract(epoch from '2026-07-18 10:03: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'), 47471, 'SRID=4674;POINT (-39.132689 -3.322925)', '2026-07-18 10:03:44', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132692 -3.322929)'), GeomFromEWKT('SRID=4674;POINT (-39.132689 -3.322925)'))) / (select extract(epoch from '2026-07-18 10:03:44'::timestamp) - extract(epoch from '2026-07-18 10:03:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132692 -3.322929)'), GeomFromEWKT('SRID=4674;POINT (-39.132689 -3.322925)'))) / (select extract(epoch from '2026-07-18 10:03:44'::timestamp) - extract(epoch from '2026-07-18 10:03: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'), 47471, 'SRID=4674;POINT (-39.132688 -3.322926)', '2026-07-18 10:03:55', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132689 -3.322925)'), GeomFromEWKT('SRID=4674;POINT (-39.132688 -3.322926)'))) / (select extract(epoch from '2026-07-18 10:03:55'::timestamp) - extract(epoch from '2026-07-18 10:03:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132689 -3.322925)'), GeomFromEWKT('SRID=4674;POINT (-39.132688 -3.322926)'))) / (select extract(epoch from '2026-07-18 10:03:55'::timestamp) - extract(epoch from '2026-07-18 10:03: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'), 47471, 'SRID=4674;POINT (-39.132687 -3.322919)', '2026-07-18 10:04:04', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132688 -3.322926)'), GeomFromEWKT('SRID=4674;POINT (-39.132687 -3.322919)'))) / (select extract(epoch from '2026-07-18 10:04:04'::timestamp) - extract(epoch from '2026-07-18 10:03:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132688 -3.322926)'), GeomFromEWKT('SRID=4674;POINT (-39.132687 -3.322919)'))) / (select extract(epoch from '2026-07-18 10:04:04'::timestamp) - extract(epoch from '2026-07-18 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'), 47471, 'SRID=4674;POINT (-39.132676 -3.322915)', '2026-07-18 10:04:13', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132687 -3.322919)'), GeomFromEWKT('SRID=4674;POINT (-39.132676 -3.322915)'))) / (select extract(epoch from '2026-07-18 10:04:13'::timestamp) - extract(epoch from '2026-07-18 10:04:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132687 -3.322919)'), GeomFromEWKT('SRID=4674;POINT (-39.132676 -3.322915)'))) / (select extract(epoch from '2026-07-18 10:04:13'::timestamp) - extract(epoch from '2026-07-18 10:04: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'), 47471, 'SRID=4674;POINT (-39.132672 -3.322915)', '2026-07-18 10:04:24', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132676 -3.322915)'), GeomFromEWKT('SRID=4674;POINT (-39.132672 -3.322915)'))) / (select extract(epoch from '2026-07-18 10:04:24'::timestamp) - extract(epoch from '2026-07-18 10:04:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132676 -3.322915)'), GeomFromEWKT('SRID=4674;POINT (-39.132672 -3.322915)'))) / (select extract(epoch from '2026-07-18 10:04:24'::timestamp) - extract(epoch from '2026-07-18 10:04: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'), 47471, 'SRID=4674;POINT (-39.132661 -3.322903)', '2026-07-18 10:04:32', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132672 -3.322915)'), GeomFromEWKT('SRID=4674;POINT (-39.132661 -3.322903)'))) / (select extract(epoch from '2026-07-18 10:04:32'::timestamp) - extract(epoch from '2026-07-18 10:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132672 -3.322915)'), GeomFromEWKT('SRID=4674;POINT (-39.132661 -3.322903)'))) / (select extract(epoch from '2026-07-18 10:04:32'::timestamp) - extract(epoch from '2026-07-18 10:04:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132651 -3.322894)', '2026-07-18 10:04:42', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132661 -3.322903)'), GeomFromEWKT('SRID=4674;POINT (-39.132651 -3.322894)'))) / (select extract(epoch from '2026-07-18 10:04:42'::timestamp) - extract(epoch from '2026-07-18 10:04:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132661 -3.322903)'), GeomFromEWKT('SRID=4674;POINT (-39.132651 -3.322894)'))) / (select extract(epoch from '2026-07-18 10:04:42'::timestamp) - extract(epoch from '2026-07-18 10:04: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'), 47471, 'SRID=4674;POINT (-39.132647 -3.322894)', '2026-07-18 10:04:49', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132651 -3.322894)'), GeomFromEWKT('SRID=4674;POINT (-39.132647 -3.322894)'))) / (select extract(epoch from '2026-07-18 10:04:49'::timestamp) - extract(epoch from '2026-07-18 10:04:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132651 -3.322894)'), GeomFromEWKT('SRID=4674;POINT (-39.132647 -3.322894)'))) / (select extract(epoch from '2026-07-18 10:04:49'::timestamp) - extract(epoch from '2026-07-18 10:04: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'), 47471, 'SRID=4674;POINT (-39.132653 -3.322902)', '2026-07-18 10:05:03', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132647 -3.322894)'), GeomFromEWKT('SRID=4674;POINT (-39.132653 -3.322902)'))) / (select extract(epoch from '2026-07-18 10:05:03'::timestamp) - extract(epoch from '2026-07-18 10:04:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132647 -3.322894)'), GeomFromEWKT('SRID=4674;POINT (-39.132653 -3.322902)'))) / (select extract(epoch from '2026-07-18 10:05:03'::timestamp) - extract(epoch from '2026-07-18 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'), 47471, 'SRID=4674;POINT (-39.132649 -3.322898)', '2026-07-18 10:05:11', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132653 -3.322902)'), GeomFromEWKT('SRID=4674;POINT (-39.132649 -3.322898)'))) / (select extract(epoch from '2026-07-18 10:05:11'::timestamp) - extract(epoch from '2026-07-18 10:05:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132653 -3.322902)'), GeomFromEWKT('SRID=4674;POINT (-39.132649 -3.322898)'))) / (select extract(epoch from '2026-07-18 10:05:11'::timestamp) - extract(epoch from '2026-07-18 10:05: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'), 47471, 'SRID=4674;POINT (-39.132656 -3.322896)', '2026-07-18 10:05:18', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132649 -3.322898)'), GeomFromEWKT('SRID=4674;POINT (-39.132656 -3.322896)'))) / (select extract(epoch from '2026-07-18 10:05:18'::timestamp) - extract(epoch from '2026-07-18 10:05:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132649 -3.322898)'), GeomFromEWKT('SRID=4674;POINT (-39.132656 -3.322896)'))) / (select extract(epoch from '2026-07-18 10:05:18'::timestamp) - extract(epoch from '2026-07-18 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'), 47471, 'SRID=4674;POINT (-39.132654 -3.322897)', '2026-07-18 10:05:24', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132656 -3.322896)'), GeomFromEWKT('SRID=4674;POINT (-39.132654 -3.322897)'))) / (select extract(epoch from '2026-07-18 10:05:24'::timestamp) - extract(epoch from '2026-07-18 10:05:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132656 -3.322896)'), GeomFromEWKT('SRID=4674;POINT (-39.132654 -3.322897)'))) / (select extract(epoch from '2026-07-18 10:05:24'::timestamp) - extract(epoch from '2026-07-18 10:05: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'), 47471, 'SRID=4674;POINT (-39.132658 -3.322892)', '2026-07-18 10:05:33', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132654 -3.322897)'), GeomFromEWKT('SRID=4674;POINT (-39.132658 -3.322892)'))) / (select extract(epoch from '2026-07-18 10:05:33'::timestamp) - extract(epoch from '2026-07-18 10:05:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132654 -3.322897)'), GeomFromEWKT('SRID=4674;POINT (-39.132658 -3.322892)'))) / (select extract(epoch from '2026-07-18 10:05:33'::timestamp) - extract(epoch from '2026-07-18 10:05: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'), 47471, 'SRID=4674;POINT (-39.132662 -3.322898)', '2026-07-18 10:05:42', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132658 -3.322892)'), GeomFromEWKT('SRID=4674;POINT (-39.132662 -3.322898)'))) / (select extract(epoch from '2026-07-18 10:05:42'::timestamp) - extract(epoch from '2026-07-18 10:05:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132658 -3.322892)'), GeomFromEWKT('SRID=4674;POINT (-39.132662 -3.322898)'))) / (select extract(epoch from '2026-07-18 10:05:42'::timestamp) - extract(epoch from '2026-07-18 10:05: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'), 47471, 'SRID=4674;POINT (-39.132664 -3.322901)', '2026-07-18 10:05:55', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132662 -3.322898)'), GeomFromEWKT('SRID=4674;POINT (-39.132664 -3.322901)'))) / (select extract(epoch from '2026-07-18 10:05:55'::timestamp) - extract(epoch from '2026-07-18 10:05:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132662 -3.322898)'), GeomFromEWKT('SRID=4674;POINT (-39.132664 -3.322901)'))) / (select extract(epoch from '2026-07-18 10:05:55'::timestamp) - extract(epoch from '2026-07-18 10:05:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132662 -3.322898)', '2026-07-18 10:06:13', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132664 -3.322901)'), GeomFromEWKT('SRID=4674;POINT (-39.132662 -3.322898)'))) / (select extract(epoch from '2026-07-18 10:06:13'::timestamp) - extract(epoch from '2026-07-18 10:05:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132664 -3.322901)'), GeomFromEWKT('SRID=4674;POINT (-39.132662 -3.322898)'))) / (select extract(epoch from '2026-07-18 10:06:13'::timestamp) - extract(epoch from '2026-07-18 10:05: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'), 47471, 'SRID=4674;POINT (-39.132663 -3.322897)', '2026-07-18 10:06:23', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132662 -3.322898)'), GeomFromEWKT('SRID=4674;POINT (-39.132663 -3.322897)'))) / (select extract(epoch from '2026-07-18 10:06:23'::timestamp) - extract(epoch from '2026-07-18 10:06:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132662 -3.322898)'), GeomFromEWKT('SRID=4674;POINT (-39.132663 -3.322897)'))) / (select extract(epoch from '2026-07-18 10:06:23'::timestamp) - extract(epoch from '2026-07-18 10:06: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'), 47471, 'SRID=4674;POINT (-39.132667 -3.322887)', '2026-07-18 10:06:41', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132663 -3.322897)'), GeomFromEWKT('SRID=4674;POINT (-39.132667 -3.322887)'))) / (select extract(epoch from '2026-07-18 10:06:41'::timestamp) - extract(epoch from '2026-07-18 10:06:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132663 -3.322897)'), GeomFromEWKT('SRID=4674;POINT (-39.132667 -3.322887)'))) / (select extract(epoch from '2026-07-18 10:06:41'::timestamp) - extract(epoch from '2026-07-18 10:06: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'), 47471, 'SRID=4674;POINT (-39.132664 -3.322888)', '2026-07-18 10:06:55', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132667 -3.322887)'), GeomFromEWKT('SRID=4674;POINT (-39.132664 -3.322888)'))) / (select extract(epoch from '2026-07-18 10:06:55'::timestamp) - extract(epoch from '2026-07-18 10:06:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132667 -3.322887)'), GeomFromEWKT('SRID=4674;POINT (-39.132664 -3.322888)'))) / (select extract(epoch from '2026-07-18 10:06:55'::timestamp) - extract(epoch from '2026-07-18 10:06:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132655 -3.322885)', '2026-07-18 10:07:05', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132664 -3.322888)'), GeomFromEWKT('SRID=4674;POINT (-39.132655 -3.322885)'))) / (select extract(epoch from '2026-07-18 10:07:05'::timestamp) - extract(epoch from '2026-07-18 10:06:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132664 -3.322888)'), GeomFromEWKT('SRID=4674;POINT (-39.132655 -3.322885)'))) / (select extract(epoch from '2026-07-18 10:07:05'::timestamp) - extract(epoch from '2026-07-18 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'), 47471, 'SRID=4674;POINT (-39.132663 -3.322889)', '2026-07-18 10:07:20', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132655 -3.322885)'), GeomFromEWKT('SRID=4674;POINT (-39.132663 -3.322889)'))) / (select extract(epoch from '2026-07-18 10:07:20'::timestamp) - extract(epoch from '2026-07-18 10:07:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132655 -3.322885)'), GeomFromEWKT('SRID=4674;POINT (-39.132663 -3.322889)'))) / (select extract(epoch from '2026-07-18 10:07:20'::timestamp) - extract(epoch from '2026-07-18 10:07: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'), 47471, 'SRID=4674;POINT (-39.132669 -3.322903)', '2026-07-18 10:07:28', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132663 -3.322889)'), GeomFromEWKT('SRID=4674;POINT (-39.132669 -3.322903)'))) / (select extract(epoch from '2026-07-18 10:07:28'::timestamp) - extract(epoch from '2026-07-18 10:07:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132663 -3.322889)'), GeomFromEWKT('SRID=4674;POINT (-39.132669 -3.322903)'))) / (select extract(epoch from '2026-07-18 10:07:28'::timestamp) - extract(epoch from '2026-07-18 10:07:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132675 -3.322903)', '2026-07-18 10:07:34', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132669 -3.322903)'), GeomFromEWKT('SRID=4674;POINT (-39.132675 -3.322903)'))) / (select extract(epoch from '2026-07-18 10:07:34'::timestamp) - extract(epoch from '2026-07-18 10:07:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132669 -3.322903)'), GeomFromEWKT('SRID=4674;POINT (-39.132675 -3.322903)'))) / (select extract(epoch from '2026-07-18 10:07:34'::timestamp) - extract(epoch from '2026-07-18 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'), 47471, 'SRID=4674;POINT (-39.132681 -3.322906)', '2026-07-18 10:07:42', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132675 -3.322903)'), GeomFromEWKT('SRID=4674;POINT (-39.132681 -3.322906)'))) / (select extract(epoch from '2026-07-18 10:07:42'::timestamp) - extract(epoch from '2026-07-18 10:07:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132675 -3.322903)'), GeomFromEWKT('SRID=4674;POINT (-39.132681 -3.322906)'))) / (select extract(epoch from '2026-07-18 10:07:42'::timestamp) - extract(epoch from '2026-07-18 10:07: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'), 47471, 'SRID=4674;POINT (-39.132682 -3.322911)', '2026-07-18 10:07:49', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132681 -3.322906)'), GeomFromEWKT('SRID=4674;POINT (-39.132682 -3.322911)'))) / (select extract(epoch from '2026-07-18 10:07:49'::timestamp) - extract(epoch from '2026-07-18 10:07:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132681 -3.322906)'), GeomFromEWKT('SRID=4674;POINT (-39.132682 -3.322911)'))) / (select extract(epoch from '2026-07-18 10:07:49'::timestamp) - extract(epoch from '2026-07-18 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'), 47471, 'SRID=4674;POINT (-39.13269 -3.322911)', '2026-07-18 10:07:58', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132682 -3.322911)'), GeomFromEWKT('SRID=4674;POINT (-39.13269 -3.322911)'))) / (select extract(epoch from '2026-07-18 10:07:58'::timestamp) - extract(epoch from '2026-07-18 10:07:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132682 -3.322911)'), GeomFromEWKT('SRID=4674;POINT (-39.13269 -3.322911)'))) / (select extract(epoch from '2026-07-18 10:07:58'::timestamp) - extract(epoch from '2026-07-18 10:07:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132688 -3.322907)', '2026-07-18 10:08:05', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13269 -3.322911)'), GeomFromEWKT('SRID=4674;POINT (-39.132688 -3.322907)'))) / (select extract(epoch from '2026-07-18 10:08:05'::timestamp) - extract(epoch from '2026-07-18 10:07:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13269 -3.322911)'), GeomFromEWKT('SRID=4674;POINT (-39.132688 -3.322907)'))) / (select extract(epoch from '2026-07-18 10:08:05'::timestamp) - extract(epoch from '2026-07-18 10:07: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'), 47471, 'SRID=4674;POINT (-39.132689 -3.322909)', '2026-07-18 10:08:12', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132688 -3.322907)'), GeomFromEWKT('SRID=4674;POINT (-39.132689 -3.322909)'))) / (select extract(epoch from '2026-07-18 10:08:12'::timestamp) - extract(epoch from '2026-07-18 10:08:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132688 -3.322907)'), GeomFromEWKT('SRID=4674;POINT (-39.132689 -3.322909)'))) / (select extract(epoch from '2026-07-18 10:08:12'::timestamp) - extract(epoch from '2026-07-18 10:08: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'), 47471, 'SRID=4674;POINT (-39.132688 -3.322898)', '2026-07-18 10:08:24', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132689 -3.322909)'), GeomFromEWKT('SRID=4674;POINT (-39.132688 -3.322898)'))) / (select extract(epoch from '2026-07-18 10:08:24'::timestamp) - extract(epoch from '2026-07-18 10:08:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132689 -3.322909)'), GeomFromEWKT('SRID=4674;POINT (-39.132688 -3.322898)'))) / (select extract(epoch from '2026-07-18 10:08:24'::timestamp) - extract(epoch from '2026-07-18 10:08:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132691 -3.322899)', '2026-07-18 10:08:33', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132688 -3.322898)'), GeomFromEWKT('SRID=4674;POINT (-39.132691 -3.322899)'))) / (select extract(epoch from '2026-07-18 10:08:33'::timestamp) - extract(epoch from '2026-07-18 10:08:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132688 -3.322898)'), GeomFromEWKT('SRID=4674;POINT (-39.132691 -3.322899)'))) / (select extract(epoch from '2026-07-18 10:08:33'::timestamp) - extract(epoch from '2026-07-18 10:08: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'), 47471, 'SRID=4674;POINT (-39.132689 -3.322901)', '2026-07-18 10:08:44', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132691 -3.322899)'), GeomFromEWKT('SRID=4674;POINT (-39.132689 -3.322901)'))) / (select extract(epoch from '2026-07-18 10:08:44'::timestamp) - extract(epoch from '2026-07-18 10:08:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132691 -3.322899)'), GeomFromEWKT('SRID=4674;POINT (-39.132689 -3.322901)'))) / (select extract(epoch from '2026-07-18 10:08:44'::timestamp) - extract(epoch from '2026-07-18 10:08:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132685 -3.322898)', '2026-07-18 10:08:56', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132689 -3.322901)'), GeomFromEWKT('SRID=4674;POINT (-39.132685 -3.322898)'))) / (select extract(epoch from '2026-07-18 10:08:56'::timestamp) - extract(epoch from '2026-07-18 10:08:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132689 -3.322901)'), GeomFromEWKT('SRID=4674;POINT (-39.132685 -3.322898)'))) / (select extract(epoch from '2026-07-18 10:08:56'::timestamp) - extract(epoch from '2026-07-18 10:08:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132675 -3.322898)', '2026-07-18 10:09:10', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132685 -3.322898)'), GeomFromEWKT('SRID=4674;POINT (-39.132675 -3.322898)'))) / (select extract(epoch from '2026-07-18 10:09:10'::timestamp) - extract(epoch from '2026-07-18 10:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132685 -3.322898)'), GeomFromEWKT('SRID=4674;POINT (-39.132675 -3.322898)'))) / (select extract(epoch from '2026-07-18 10:09:10'::timestamp) - extract(epoch from '2026-07-18 10:08: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'), 47471, 'SRID=4674;POINT (-39.132669 -3.322901)', '2026-07-18 10:09:16', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132675 -3.322898)'), GeomFromEWKT('SRID=4674;POINT (-39.132669 -3.322901)'))) / (select extract(epoch from '2026-07-18 10:09:16'::timestamp) - extract(epoch from '2026-07-18 10:09:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132675 -3.322898)'), GeomFromEWKT('SRID=4674;POINT (-39.132669 -3.322901)'))) / (select extract(epoch from '2026-07-18 10:09:16'::timestamp) - extract(epoch from '2026-07-18 10:09:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47471, 'SRID=4674;POINT (-39.132677 -3.322907)', '2026-07-18 10:09:24', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132669 -3.322901)'), GeomFromEWKT('SRID=4674;POINT (-39.132677 -3.322907)'))) / (select extract(epoch from '2026-07-18 10:09:24'::timestamp) - extract(epoch from '2026-07-18 10:09:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132669 -3.322901)'), GeomFromEWKT('SRID=4674;POINT (-39.132677 -3.322907)'))) / (select extract(epoch from '2026-07-18 10:09:24'::timestamp) - extract(epoch from '2026-07-18 10:09: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'), 47471, 'SRID=4674;POINT (-39.132679 -3.322912)', '2026-07-18 10:09:31', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132677 -3.322907)'), GeomFromEWKT('SRID=4674;POINT (-39.132679 -3.322912)'))) / (select extract(epoch from '2026-07-18 10:09:31'::timestamp) - extract(epoch from '2026-07-18 10:09:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132677 -3.322907)'), GeomFromEWKT('SRID=4674;POINT (-39.132679 -3.322912)'))) / (select extract(epoch from '2026-07-18 10:09:31'::timestamp) - extract(epoch from '2026-07-18 10:09: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'), 47471, 'SRID=4674;POINT (-39.132676 -3.322909)', '2026-07-18 10:09:42', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132679 -3.322912)'), GeomFromEWKT('SRID=4674;POINT (-39.132676 -3.322909)'))) / (select extract(epoch from '2026-07-18 10:09:42'::timestamp) - extract(epoch from '2026-07-18 10:09:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132679 -3.322912)'), GeomFromEWKT('SRID=4674;POINT (-39.132676 -3.322909)'))) / (select extract(epoch from '2026-07-18 10:09:42'::timestamp) - extract(epoch from '2026-07-18 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'), 47471, 'SRID=4674;POINT (-39.132677 -3.322913)', '2026-07-18 10:09:53', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132676 -3.322909)'), GeomFromEWKT('SRID=4674;POINT (-39.132677 -3.322913)'))) / (select extract(epoch from '2026-07-18 10:09:53'::timestamp) - extract(epoch from '2026-07-18 10:09:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132676 -3.322909)'), GeomFromEWKT('SRID=4674;POINT (-39.132677 -3.322913)'))) / (select extract(epoch from '2026-07-18 10:09:53'::timestamp) - extract(epoch from '2026-07-18 10:09: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'), 47471, 'SRID=4674;POINT (-39.13268 -3.322925)', '2026-07-18 10:10:00', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132677 -3.322913)'), GeomFromEWKT('SRID=4674;POINT (-39.13268 -3.322925)'))) / (select extract(epoch from '2026-07-18 10:10:00'::timestamp) - extract(epoch from '2026-07-18 10:09:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132677 -3.322913)'), GeomFromEWKT('SRID=4674;POINT (-39.13268 -3.322925)'))) / (select extract(epoch from '2026-07-18 10:10:00'::timestamp) - extract(epoch from '2026-07-18 10:09: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'), 47471, 'SRID=4674;POINT (-39.13268 -3.32292)', '2026-07-18 10:10:09', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13268 -3.322925)'), GeomFromEWKT('SRID=4674;POINT (-39.13268 -3.32292)'))) / (select extract(epoch from '2026-07-18 10:10:09'::timestamp) - extract(epoch from '2026-07-18 10:10:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13268 -3.322925)'), GeomFromEWKT('SRID=4674;POINT (-39.13268 -3.32292)'))) / (select extract(epoch from '2026-07-18 10:10:09'::timestamp) - extract(epoch from '2026-07-18 10:10: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'), 47471, 'SRID=4674;POINT (-39.132687 -3.322923)', '2026-07-18 10:10:20', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13268 -3.32292)'), GeomFromEWKT('SRID=4674;POINT (-39.132687 -3.322923)'))) / (select extract(epoch from '2026-07-18 10:10:20'::timestamp) - extract(epoch from '2026-07-18 10:10:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13268 -3.32292)'), GeomFromEWKT('SRID=4674;POINT (-39.132687 -3.322923)'))) / (select extract(epoch from '2026-07-18 10:10:20'::timestamp) - extract(epoch from '2026-07-18 10:10: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'), 47471, 'SRID=4674;POINT (-39.132702 -3.322914)', '2026-07-18 10:10:31', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132687 -3.322923)'), GeomFromEWKT('SRID=4674;POINT (-39.132702 -3.322914)'))) / (select extract(epoch from '2026-07-18 10:10:31'::timestamp) - extract(epoch from '2026-07-18 10:10:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.132687 -3.322923)'), GeomFromEWKT('SRID=4674;POINT (-39.132702 -3.322914)'))) / (select extract(epoch from '2026-07-18 10:10:31'::timestamp) - extract(epoch from '2026-07-18 10:10:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
