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'), 47375, 'SRID=4674;POINT (-38.614237 -3.663033)', '2026-07-22 16:47:23', 3.2, 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'), 47375, 'SRID=4674;POINT (-38.614249 -3.662882)', '2026-07-22 16:47:29', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614237 -3.663033)'), GeomFromEWKT('SRID=4674;POINT (-38.614249 -3.662882)'))) / (select extract(epoch from '2026-07-22 16:47:29'::timestamp) - extract(epoch from '2026-07-22 16:47:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614237 -3.663033)'), GeomFromEWKT('SRID=4674;POINT (-38.614249 -3.662882)'))) / (select extract(epoch from '2026-07-22 16:47:29'::timestamp) - extract(epoch from '2026-07-22 16:47:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.614318 -3.662669)', '2026-07-22 16:47:37', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614249 -3.662882)'), GeomFromEWKT('SRID=4674;POINT (-38.614318 -3.662669)'))) / (select extract(epoch from '2026-07-22 16:47:37'::timestamp) - extract(epoch from '2026-07-22 16:47:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614249 -3.662882)'), GeomFromEWKT('SRID=4674;POINT (-38.614318 -3.662669)'))) / (select extract(epoch from '2026-07-22 16:47:37'::timestamp) - extract(epoch from '2026-07-22 16:47:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.614364 -3.662501)', '2026-07-22 16:47:43', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614318 -3.662669)'), GeomFromEWKT('SRID=4674;POINT (-38.614364 -3.662501)'))) / (select extract(epoch from '2026-07-22 16:47:43'::timestamp) - extract(epoch from '2026-07-22 16:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614318 -3.662669)'), GeomFromEWKT('SRID=4674;POINT (-38.614364 -3.662501)'))) / (select extract(epoch from '2026-07-22 16:47:43'::timestamp) - extract(epoch from '2026-07-22 16:47:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.614399 -3.66234)', '2026-07-22 16:47:49', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614364 -3.662501)'), GeomFromEWKT('SRID=4674;POINT (-38.614399 -3.66234)'))) / (select extract(epoch from '2026-07-22 16:47:49'::timestamp) - extract(epoch from '2026-07-22 16:47:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614364 -3.662501)'), GeomFromEWKT('SRID=4674;POINT (-38.614399 -3.66234)'))) / (select extract(epoch from '2026-07-22 16:47:49'::timestamp) - extract(epoch from '2026-07-22 16:47:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.614423 -3.662156)', '2026-07-22 16:47:55', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614399 -3.66234)'), GeomFromEWKT('SRID=4674;POINT (-38.614423 -3.662156)'))) / (select extract(epoch from '2026-07-22 16:47:55'::timestamp) - extract(epoch from '2026-07-22 16:47:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614399 -3.66234)'), GeomFromEWKT('SRID=4674;POINT (-38.614423 -3.662156)'))) / (select extract(epoch from '2026-07-22 16:47:55'::timestamp) - extract(epoch from '2026-07-22 16:47: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'), 47375, 'SRID=4674;POINT (-38.614439 -3.661913)', '2026-07-22 16:48:03', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614423 -3.662156)'), GeomFromEWKT('SRID=4674;POINT (-38.614439 -3.661913)'))) / (select extract(epoch from '2026-07-22 16:48:03'::timestamp) - extract(epoch from '2026-07-22 16:47:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614423 -3.662156)'), GeomFromEWKT('SRID=4674;POINT (-38.614439 -3.661913)'))) / (select extract(epoch from '2026-07-22 16:48:03'::timestamp) - extract(epoch from '2026-07-22 16:47: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'), 47375, 'SRID=4674;POINT (-38.614417 -3.661744)', '2026-07-22 16:48:09', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614439 -3.661913)'), GeomFromEWKT('SRID=4674;POINT (-38.614417 -3.661744)'))) / (select extract(epoch from '2026-07-22 16:48:09'::timestamp) - extract(epoch from '2026-07-22 16:48:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614439 -3.661913)'), GeomFromEWKT('SRID=4674;POINT (-38.614417 -3.661744)'))) / (select extract(epoch from '2026-07-22 16:48:09'::timestamp) - extract(epoch from '2026-07-22 16: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'), 47375, 'SRID=4674;POINT (-38.614435 -3.661601)', '2026-07-22 16:48:14', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614417 -3.661744)'), GeomFromEWKT('SRID=4674;POINT (-38.614435 -3.661601)'))) / (select extract(epoch from '2026-07-22 16:48:14'::timestamp) - extract(epoch from '2026-07-22 16:48:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614417 -3.661744)'), GeomFromEWKT('SRID=4674;POINT (-38.614435 -3.661601)'))) / (select extract(epoch from '2026-07-22 16:48:14'::timestamp) - extract(epoch from '2026-07-22 16:48:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.614466 -3.661461)', '2026-07-22 16:48:19', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614435 -3.661601)'), GeomFromEWKT('SRID=4674;POINT (-38.614466 -3.661461)'))) / (select extract(epoch from '2026-07-22 16:48:19'::timestamp) - extract(epoch from '2026-07-22 16:48:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614435 -3.661601)'), GeomFromEWKT('SRID=4674;POINT (-38.614466 -3.661461)'))) / (select extract(epoch from '2026-07-22 16:48:19'::timestamp) - extract(epoch from '2026-07-22 16:48:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.614494 -3.661268)', '2026-07-22 16:48:26', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614466 -3.661461)'), GeomFromEWKT('SRID=4674;POINT (-38.614494 -3.661268)'))) / (select extract(epoch from '2026-07-22 16:48:26'::timestamp) - extract(epoch from '2026-07-22 16:48:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614466 -3.661461)'), GeomFromEWKT('SRID=4674;POINT (-38.614494 -3.661268)'))) / (select extract(epoch from '2026-07-22 16:48:26'::timestamp) - extract(epoch from '2026-07-22 16:48:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.614519 -3.661139)', '2026-07-22 16:48:31', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614494 -3.661268)'), GeomFromEWKT('SRID=4674;POINT (-38.614519 -3.661139)'))) / (select extract(epoch from '2026-07-22 16:48:31'::timestamp) - extract(epoch from '2026-07-22 16:48:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614494 -3.661268)'), GeomFromEWKT('SRID=4674;POINT (-38.614519 -3.661139)'))) / (select extract(epoch from '2026-07-22 16:48:31'::timestamp) - extract(epoch from '2026-07-22 16:48:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.614519 -3.661092)', '2026-07-22 16:48:33', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614519 -3.661139)'), GeomFromEWKT('SRID=4674;POINT (-38.614519 -3.661092)'))) / (select extract(epoch from '2026-07-22 16:48:33'::timestamp) - extract(epoch from '2026-07-22 16:48:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614519 -3.661139)'), GeomFromEWKT('SRID=4674;POINT (-38.614519 -3.661092)'))) / (select extract(epoch from '2026-07-22 16:48:33'::timestamp) - extract(epoch from '2026-07-22 16:48: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'), 47375, 'SRID=4674;POINT (-38.61452 -3.661034)', '2026-07-22 16:48:35', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614519 -3.661092)'), GeomFromEWKT('SRID=4674;POINT (-38.61452 -3.661034)'))) / (select extract(epoch from '2026-07-22 16:48:35'::timestamp) - extract(epoch from '2026-07-22 16:48:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614519 -3.661092)'), GeomFromEWKT('SRID=4674;POINT (-38.61452 -3.661034)'))) / (select extract(epoch from '2026-07-22 16:48:35'::timestamp) - extract(epoch from '2026-07-22 16: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'), 47375, 'SRID=4674;POINT (-38.614539 -3.660888)', '2026-07-22 16:48:40', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61452 -3.661034)'), GeomFromEWKT('SRID=4674;POINT (-38.614539 -3.660888)'))) / (select extract(epoch from '2026-07-22 16:48:40'::timestamp) - extract(epoch from '2026-07-22 16:48:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61452 -3.661034)'), GeomFromEWKT('SRID=4674;POINT (-38.614539 -3.660888)'))) / (select extract(epoch from '2026-07-22 16:48:40'::timestamp) - extract(epoch from '2026-07-22 16:48: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'), 47375, 'SRID=4674;POINT (-38.614587 -3.660717)', '2026-07-22 16:48:46', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614539 -3.660888)'), GeomFromEWKT('SRID=4674;POINT (-38.614587 -3.660717)'))) / (select extract(epoch from '2026-07-22 16:48:46'::timestamp) - extract(epoch from '2026-07-22 16:48:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614539 -3.660888)'), GeomFromEWKT('SRID=4674;POINT (-38.614587 -3.660717)'))) / (select extract(epoch from '2026-07-22 16:48:46'::timestamp) - extract(epoch from '2026-07-22 16:48: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'), 47375, 'SRID=4674;POINT (-38.614593 -3.660546)', '2026-07-22 16:48:52', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614587 -3.660717)'), GeomFromEWKT('SRID=4674;POINT (-38.614593 -3.660546)'))) / (select extract(epoch from '2026-07-22 16:48:52'::timestamp) - extract(epoch from '2026-07-22 16:48:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614587 -3.660717)'), GeomFromEWKT('SRID=4674;POINT (-38.614593 -3.660546)'))) / (select extract(epoch from '2026-07-22 16:48:52'::timestamp) - extract(epoch from '2026-07-22 16:48: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'), 47375, 'SRID=4674;POINT (-38.614605 -3.6604)', '2026-07-22 16:48:57', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614593 -3.660546)'), GeomFromEWKT('SRID=4674;POINT (-38.614605 -3.6604)'))) / (select extract(epoch from '2026-07-22 16:48:57'::timestamp) - extract(epoch from '2026-07-22 16:48:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614593 -3.660546)'), GeomFromEWKT('SRID=4674;POINT (-38.614605 -3.6604)'))) / (select extract(epoch from '2026-07-22 16:48:57'::timestamp) - extract(epoch from '2026-07-22 16:48: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'), 47375, 'SRID=4674;POINT (-38.614639 -3.660266)', '2026-07-22 16:49:02', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614605 -3.6604)'), GeomFromEWKT('SRID=4674;POINT (-38.614639 -3.660266)'))) / (select extract(epoch from '2026-07-22 16:49:02'::timestamp) - extract(epoch from '2026-07-22 16:48:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614605 -3.6604)'), GeomFromEWKT('SRID=4674;POINT (-38.614639 -3.660266)'))) / (select extract(epoch from '2026-07-22 16:49:02'::timestamp) - extract(epoch from '2026-07-22 16:48:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.614662 -3.660094)', '2026-07-22 16:49:08', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614639 -3.660266)'), GeomFromEWKT('SRID=4674;POINT (-38.614662 -3.660094)'))) / (select extract(epoch from '2026-07-22 16:49:08'::timestamp) - extract(epoch from '2026-07-22 16:49:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614639 -3.660266)'), GeomFromEWKT('SRID=4674;POINT (-38.614662 -3.660094)'))) / (select extract(epoch from '2026-07-22 16:49:08'::timestamp) - extract(epoch from '2026-07-22 16:49: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'), 47375, 'SRID=4674;POINT (-38.614714 -3.659939)', '2026-07-22 16:49:14', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614662 -3.660094)'), GeomFromEWKT('SRID=4674;POINT (-38.614714 -3.659939)'))) / (select extract(epoch from '2026-07-22 16:49:14'::timestamp) - extract(epoch from '2026-07-22 16:49:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614662 -3.660094)'), GeomFromEWKT('SRID=4674;POINT (-38.614714 -3.659939)'))) / (select extract(epoch from '2026-07-22 16:49:14'::timestamp) - extract(epoch from '2026-07-22 16: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'), 47375, 'SRID=4674;POINT (-38.614759 -3.659766)', '2026-07-22 16:49:20', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614714 -3.659939)'), GeomFromEWKT('SRID=4674;POINT (-38.614759 -3.659766)'))) / (select extract(epoch from '2026-07-22 16:49:20'::timestamp) - extract(epoch from '2026-07-22 16:49:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614714 -3.659939)'), GeomFromEWKT('SRID=4674;POINT (-38.614759 -3.659766)'))) / (select extract(epoch from '2026-07-22 16:49:20'::timestamp) - extract(epoch from '2026-07-22 16:49:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.61477 -3.659586)', '2026-07-22 16:49:27', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614759 -3.659766)'), GeomFromEWKT('SRID=4674;POINT (-38.61477 -3.659586)'))) / (select extract(epoch from '2026-07-22 16:49:27'::timestamp) - extract(epoch from '2026-07-22 16:49:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614759 -3.659766)'), GeomFromEWKT('SRID=4674;POINT (-38.61477 -3.659586)'))) / (select extract(epoch from '2026-07-22 16:49:27'::timestamp) - extract(epoch from '2026-07-22 16:49: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'), 47375, 'SRID=4674;POINT (-38.614833 -3.659432)', '2026-07-22 16:49:33', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61477 -3.659586)'), GeomFromEWKT('SRID=4674;POINT (-38.614833 -3.659432)'))) / (select extract(epoch from '2026-07-22 16:49:33'::timestamp) - extract(epoch from '2026-07-22 16:49:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61477 -3.659586)'), GeomFromEWKT('SRID=4674;POINT (-38.614833 -3.659432)'))) / (select extract(epoch from '2026-07-22 16:49:33'::timestamp) - extract(epoch from '2026-07-22 16:49: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'), 47375, 'SRID=4674;POINT (-38.61491 -3.659314)', '2026-07-22 16:49:38', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614833 -3.659432)'), GeomFromEWKT('SRID=4674;POINT (-38.61491 -3.659314)'))) / (select extract(epoch from '2026-07-22 16:49:38'::timestamp) - extract(epoch from '2026-07-22 16:49:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614833 -3.659432)'), GeomFromEWKT('SRID=4674;POINT (-38.61491 -3.659314)'))) / (select extract(epoch from '2026-07-22 16:49:38'::timestamp) - extract(epoch from '2026-07-22 16:49: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'), 47375, 'SRID=4674;POINT (-38.614976 -3.659172)', '2026-07-22 16:49:44', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61491 -3.659314)'), GeomFromEWKT('SRID=4674;POINT (-38.614976 -3.659172)'))) / (select extract(epoch from '2026-07-22 16:49:44'::timestamp) - extract(epoch from '2026-07-22 16:49:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61491 -3.659314)'), GeomFromEWKT('SRID=4674;POINT (-38.614976 -3.659172)'))) / (select extract(epoch from '2026-07-22 16:49:44'::timestamp) - extract(epoch from '2026-07-22 16: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'), 47375, 'SRID=4674;POINT (-38.615012 -3.659039)', '2026-07-22 16:49:49', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614976 -3.659172)'), GeomFromEWKT('SRID=4674;POINT (-38.615012 -3.659039)'))) / (select extract(epoch from '2026-07-22 16:49:49'::timestamp) - extract(epoch from '2026-07-22 16:49:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614976 -3.659172)'), GeomFromEWKT('SRID=4674;POINT (-38.615012 -3.659039)'))) / (select extract(epoch from '2026-07-22 16:49:49'::timestamp) - extract(epoch from '2026-07-22 16:49:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.615076 -3.658865)', '2026-07-22 16:49:56', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615012 -3.659039)'), GeomFromEWKT('SRID=4674;POINT (-38.615076 -3.658865)'))) / (select extract(epoch from '2026-07-22 16:49:56'::timestamp) - extract(epoch from '2026-07-22 16:49:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615012 -3.659039)'), GeomFromEWKT('SRID=4674;POINT (-38.615076 -3.658865)'))) / (select extract(epoch from '2026-07-22 16:49:56'::timestamp) - extract(epoch from '2026-07-22 16:49:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.615128 -3.658719)', '2026-07-22 16:50:02', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615076 -3.658865)'), GeomFromEWKT('SRID=4674;POINT (-38.615128 -3.658719)'))) / (select extract(epoch from '2026-07-22 16:50:02'::timestamp) - extract(epoch from '2026-07-22 16:49:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615076 -3.658865)'), GeomFromEWKT('SRID=4674;POINT (-38.615128 -3.658719)'))) / (select extract(epoch from '2026-07-22 16:50:02'::timestamp) - extract(epoch from '2026-07-22 16:49: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'), 47375, 'SRID=4674;POINT (-38.615159 -3.658558)', '2026-07-22 16:50:08', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615128 -3.658719)'), GeomFromEWKT('SRID=4674;POINT (-38.615159 -3.658558)'))) / (select extract(epoch from '2026-07-22 16:50:08'::timestamp) - extract(epoch from '2026-07-22 16:50:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615128 -3.658719)'), GeomFromEWKT('SRID=4674;POINT (-38.615159 -3.658558)'))) / (select extract(epoch from '2026-07-22 16:50:08'::timestamp) - extract(epoch from '2026-07-22 16:50:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.615189 -3.658408)', '2026-07-22 16:50:14', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615159 -3.658558)'), GeomFromEWKT('SRID=4674;POINT (-38.615189 -3.658408)'))) / (select extract(epoch from '2026-07-22 16:50:14'::timestamp) - extract(epoch from '2026-07-22 16:50:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615159 -3.658558)'), GeomFromEWKT('SRID=4674;POINT (-38.615189 -3.658408)'))) / (select extract(epoch from '2026-07-22 16:50:14'::timestamp) - extract(epoch from '2026-07-22 16:50: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'), 47375, 'SRID=4674;POINT (-38.615246 -3.658267)', '2026-07-22 16:50:20', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615189 -3.658408)'), GeomFromEWKT('SRID=4674;POINT (-38.615246 -3.658267)'))) / (select extract(epoch from '2026-07-22 16:50:20'::timestamp) - extract(epoch from '2026-07-22 16:50:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615189 -3.658408)'), GeomFromEWKT('SRID=4674;POINT (-38.615246 -3.658267)'))) / (select extract(epoch from '2026-07-22 16:50:20'::timestamp) - extract(epoch from '2026-07-22 16:50:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.615282 -3.658115)', '2026-07-22 16:50:26', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615246 -3.658267)'), GeomFromEWKT('SRID=4674;POINT (-38.615282 -3.658115)'))) / (select extract(epoch from '2026-07-22 16:50:26'::timestamp) - extract(epoch from '2026-07-22 16:50:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615246 -3.658267)'), GeomFromEWKT('SRID=4674;POINT (-38.615282 -3.658115)'))) / (select extract(epoch from '2026-07-22 16:50:26'::timestamp) - extract(epoch from '2026-07-22 16:50: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'), 47375, 'SRID=4674;POINT (-38.61527 -3.657958)', '2026-07-22 16:50:32', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615282 -3.658115)'), GeomFromEWKT('SRID=4674;POINT (-38.61527 -3.657958)'))) / (select extract(epoch from '2026-07-22 16:50:32'::timestamp) - extract(epoch from '2026-07-22 16:50:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615282 -3.658115)'), GeomFromEWKT('SRID=4674;POINT (-38.61527 -3.657958)'))) / (select extract(epoch from '2026-07-22 16:50:32'::timestamp) - extract(epoch from '2026-07-22 16:50:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.615254 -3.657795)', '2026-07-22 16:50:38', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61527 -3.657958)'), GeomFromEWKT('SRID=4674;POINT (-38.615254 -3.657795)'))) / (select extract(epoch from '2026-07-22 16:50:38'::timestamp) - extract(epoch from '2026-07-22 16:50:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61527 -3.657958)'), GeomFromEWKT('SRID=4674;POINT (-38.615254 -3.657795)'))) / (select extract(epoch from '2026-07-22 16:50:38'::timestamp) - extract(epoch from '2026-07-22 16:50: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'), 47375, 'SRID=4674;POINT (-38.61525 -3.657633)', '2026-07-22 16:50:44', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615254 -3.657795)'), GeomFromEWKT('SRID=4674;POINT (-38.61525 -3.657633)'))) / (select extract(epoch from '2026-07-22 16:50:44'::timestamp) - extract(epoch from '2026-07-22 16:50:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615254 -3.657795)'), GeomFromEWKT('SRID=4674;POINT (-38.61525 -3.657633)'))) / (select extract(epoch from '2026-07-22 16:50:44'::timestamp) - extract(epoch from '2026-07-22 16:50: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'), 47375, 'SRID=4674;POINT (-38.615261 -3.657475)', '2026-07-22 16:50:50', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61525 -3.657633)'), GeomFromEWKT('SRID=4674;POINT (-38.615261 -3.657475)'))) / (select extract(epoch from '2026-07-22 16:50:50'::timestamp) - extract(epoch from '2026-07-22 16:50:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61525 -3.657633)'), GeomFromEWKT('SRID=4674;POINT (-38.615261 -3.657475)'))) / (select extract(epoch from '2026-07-22 16:50:50'::timestamp) - extract(epoch from '2026-07-22 16:50: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'), 47375, 'SRID=4674;POINT (-38.615267 -3.657345)', '2026-07-22 16:50:55', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615261 -3.657475)'), GeomFromEWKT('SRID=4674;POINT (-38.615267 -3.657345)'))) / (select extract(epoch from '2026-07-22 16:50:55'::timestamp) - extract(epoch from '2026-07-22 16:50:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615261 -3.657475)'), GeomFromEWKT('SRID=4674;POINT (-38.615267 -3.657345)'))) / (select extract(epoch from '2026-07-22 16:50:55'::timestamp) - extract(epoch from '2026-07-22 16:50:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.615252 -3.657172)', '2026-07-22 16:51:02', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615267 -3.657345)'), GeomFromEWKT('SRID=4674;POINT (-38.615252 -3.657172)'))) / (select extract(epoch from '2026-07-22 16:51:02'::timestamp) - extract(epoch from '2026-07-22 16:50:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615267 -3.657345)'), GeomFromEWKT('SRID=4674;POINT (-38.615252 -3.657172)'))) / (select extract(epoch from '2026-07-22 16:51:02'::timestamp) - extract(epoch from '2026-07-22 16:50: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'), 47375, 'SRID=4674;POINT (-38.615242 -3.657022)', '2026-07-22 16:51:08', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615252 -3.657172)'), GeomFromEWKT('SRID=4674;POINT (-38.615242 -3.657022)'))) / (select extract(epoch from '2026-07-22 16:51:08'::timestamp) - extract(epoch from '2026-07-22 16:51:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615252 -3.657172)'), GeomFromEWKT('SRID=4674;POINT (-38.615242 -3.657022)'))) / (select extract(epoch from '2026-07-22 16:51:08'::timestamp) - extract(epoch from '2026-07-22 16: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'), 47375, 'SRID=4674;POINT (-38.615227 -3.656897)', '2026-07-22 16:51:13', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615242 -3.657022)'), GeomFromEWKT('SRID=4674;POINT (-38.615227 -3.656897)'))) / (select extract(epoch from '2026-07-22 16:51:13'::timestamp) - extract(epoch from '2026-07-22 16:51:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615242 -3.657022)'), GeomFromEWKT('SRID=4674;POINT (-38.615227 -3.656897)'))) / (select extract(epoch from '2026-07-22 16:51:13'::timestamp) - extract(epoch from '2026-07-22 16:51: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'), 47375, 'SRID=4674;POINT (-38.615196 -3.65673)', '2026-07-22 16:51:20', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615227 -3.656897)'), GeomFromEWKT('SRID=4674;POINT (-38.615196 -3.65673)'))) / (select extract(epoch from '2026-07-22 16:51:20'::timestamp) - extract(epoch from '2026-07-22 16:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615227 -3.656897)'), GeomFromEWKT('SRID=4674;POINT (-38.615196 -3.65673)'))) / (select extract(epoch from '2026-07-22 16:51:20'::timestamp) - extract(epoch from '2026-07-22 16:51: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'), 47375, 'SRID=4674;POINT (-38.615169 -3.656549)', '2026-07-22 16:51:27', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615196 -3.65673)'), GeomFromEWKT('SRID=4674;POINT (-38.615169 -3.656549)'))) / (select extract(epoch from '2026-07-22 16:51:27'::timestamp) - extract(epoch from '2026-07-22 16:51:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615196 -3.65673)'), GeomFromEWKT('SRID=4674;POINT (-38.615169 -3.656549)'))) / (select extract(epoch from '2026-07-22 16:51:27'::timestamp) - extract(epoch from '2026-07-22 16:51:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.615148 -3.656429)', '2026-07-22 16:51:32', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615169 -3.656549)'), GeomFromEWKT('SRID=4674;POINT (-38.615148 -3.656429)'))) / (select extract(epoch from '2026-07-22 16:51:32'::timestamp) - extract(epoch from '2026-07-22 16:51:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615169 -3.656549)'), GeomFromEWKT('SRID=4674;POINT (-38.615148 -3.656429)'))) / (select extract(epoch from '2026-07-22 16:51:32'::timestamp) - extract(epoch from '2026-07-22 16:51:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.615126 -3.656213)', '2026-07-22 16:51:40', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615148 -3.656429)'), GeomFromEWKT('SRID=4674;POINT (-38.615126 -3.656213)'))) / (select extract(epoch from '2026-07-22 16:51:40'::timestamp) - extract(epoch from '2026-07-22 16:51:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615148 -3.656429)'), GeomFromEWKT('SRID=4674;POINT (-38.615126 -3.656213)'))) / (select extract(epoch from '2026-07-22 16:51:40'::timestamp) - extract(epoch from '2026-07-22 16:51: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'), 47375, 'SRID=4674;POINT (-38.615114 -3.656052)', '2026-07-22 16:51:46', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615126 -3.656213)'), GeomFromEWKT('SRID=4674;POINT (-38.615114 -3.656052)'))) / (select extract(epoch from '2026-07-22 16:51:46'::timestamp) - extract(epoch from '2026-07-22 16:51:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615126 -3.656213)'), GeomFromEWKT('SRID=4674;POINT (-38.615114 -3.656052)'))) / (select extract(epoch from '2026-07-22 16:51:46'::timestamp) - extract(epoch from '2026-07-22 16:51:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.615128 -3.655908)', '2026-07-22 16:51:51', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615114 -3.656052)'), GeomFromEWKT('SRID=4674;POINT (-38.615128 -3.655908)'))) / (select extract(epoch from '2026-07-22 16:51:51'::timestamp) - extract(epoch from '2026-07-22 16:51:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615114 -3.656052)'), GeomFromEWKT('SRID=4674;POINT (-38.615128 -3.655908)'))) / (select extract(epoch from '2026-07-22 16:51:51'::timestamp) - extract(epoch from '2026-07-22 16:51:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.615135 -3.655747)', '2026-07-22 16:51:57', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615128 -3.655908)'), GeomFromEWKT('SRID=4674;POINT (-38.615135 -3.655747)'))) / (select extract(epoch from '2026-07-22 16:51:57'::timestamp) - extract(epoch from '2026-07-22 16:51:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615128 -3.655908)'), GeomFromEWKT('SRID=4674;POINT (-38.615135 -3.655747)'))) / (select extract(epoch from '2026-07-22 16:51:57'::timestamp) - extract(epoch from '2026-07-22 16:51: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'), 47375, 'SRID=4674;POINT (-38.615166 -3.655521)', '2026-07-22 16:52:06', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615135 -3.655747)'), GeomFromEWKT('SRID=4674;POINT (-38.615166 -3.655521)'))) / (select extract(epoch from '2026-07-22 16:52:06'::timestamp) - extract(epoch from '2026-07-22 16:51:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615135 -3.655747)'), GeomFromEWKT('SRID=4674;POINT (-38.615166 -3.655521)'))) / (select extract(epoch from '2026-07-22 16:52:06'::timestamp) - extract(epoch from '2026-07-22 16:51:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.615177 -3.655387)', '2026-07-22 16:52:11', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615166 -3.655521)'), GeomFromEWKT('SRID=4674;POINT (-38.615177 -3.655387)'))) / (select extract(epoch from '2026-07-22 16:52:11'::timestamp) - extract(epoch from '2026-07-22 16:52:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615166 -3.655521)'), GeomFromEWKT('SRID=4674;POINT (-38.615177 -3.655387)'))) / (select extract(epoch from '2026-07-22 16:52:11'::timestamp) - extract(epoch from '2026-07-22 16:52: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'), 47375, 'SRID=4674;POINT (-38.615177 -3.655201)', '2026-07-22 16:52:18', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615177 -3.655387)'), GeomFromEWKT('SRID=4674;POINT (-38.615177 -3.655201)'))) / (select extract(epoch from '2026-07-22 16:52:18'::timestamp) - extract(epoch from '2026-07-22 16:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615177 -3.655387)'), GeomFromEWKT('SRID=4674;POINT (-38.615177 -3.655201)'))) / (select extract(epoch from '2026-07-22 16:52:18'::timestamp) - extract(epoch from '2026-07-22 16:52: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'), 47375, 'SRID=4674;POINT (-38.615211 -3.655054)', '2026-07-22 16:52:24', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615177 -3.655201)'), GeomFromEWKT('SRID=4674;POINT (-38.615211 -3.655054)'))) / (select extract(epoch from '2026-07-22 16:52:24'::timestamp) - extract(epoch from '2026-07-22 16:52:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615177 -3.655201)'), GeomFromEWKT('SRID=4674;POINT (-38.615211 -3.655054)'))) / (select extract(epoch from '2026-07-22 16:52:24'::timestamp) - extract(epoch from '2026-07-22 16:52: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'), 47375, 'SRID=4674;POINT (-38.615221 -3.654916)', '2026-07-22 16:52:29', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615211 -3.655054)'), GeomFromEWKT('SRID=4674;POINT (-38.615221 -3.654916)'))) / (select extract(epoch from '2026-07-22 16:52:29'::timestamp) - extract(epoch from '2026-07-22 16:52:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615211 -3.655054)'), GeomFromEWKT('SRID=4674;POINT (-38.615221 -3.654916)'))) / (select extract(epoch from '2026-07-22 16:52:29'::timestamp) - extract(epoch from '2026-07-22 16:52: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'), 47375, 'SRID=4674;POINT (-38.615241 -3.654753)', '2026-07-22 16:52:35', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615221 -3.654916)'), GeomFromEWKT('SRID=4674;POINT (-38.615241 -3.654753)'))) / (select extract(epoch from '2026-07-22 16:52:35'::timestamp) - extract(epoch from '2026-07-22 16:52:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615221 -3.654916)'), GeomFromEWKT('SRID=4674;POINT (-38.615241 -3.654753)'))) / (select extract(epoch from '2026-07-22 16:52:35'::timestamp) - extract(epoch from '2026-07-22 16:52:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.615263 -3.654578)', '2026-07-22 16:52:42', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615241 -3.654753)'), GeomFromEWKT('SRID=4674;POINT (-38.615263 -3.654578)'))) / (select extract(epoch from '2026-07-22 16:52:42'::timestamp) - extract(epoch from '2026-07-22 16:52:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615241 -3.654753)'), GeomFromEWKT('SRID=4674;POINT (-38.615263 -3.654578)'))) / (select extract(epoch from '2026-07-22 16:52:42'::timestamp) - extract(epoch from '2026-07-22 16:52:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.615262 -3.654431)', '2026-07-22 16:52:48', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615263 -3.654578)'), GeomFromEWKT('SRID=4674;POINT (-38.615262 -3.654431)'))) / (select extract(epoch from '2026-07-22 16:52:48'::timestamp) - extract(epoch from '2026-07-22 16:52:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615263 -3.654578)'), GeomFromEWKT('SRID=4674;POINT (-38.615262 -3.654431)'))) / (select extract(epoch from '2026-07-22 16:52:48'::timestamp) - extract(epoch from '2026-07-22 16: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'), 47375, 'SRID=4674;POINT (-38.615244 -3.654287)', '2026-07-22 16:52:54', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615262 -3.654431)'), GeomFromEWKT('SRID=4674;POINT (-38.615244 -3.654287)'))) / (select extract(epoch from '2026-07-22 16:52:54'::timestamp) - extract(epoch from '2026-07-22 16:52:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615262 -3.654431)'), GeomFromEWKT('SRID=4674;POINT (-38.615244 -3.654287)'))) / (select extract(epoch from '2026-07-22 16:52:54'::timestamp) - extract(epoch from '2026-07-22 16:52: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'), 47375, 'SRID=4674;POINT (-38.61523 -3.654188)', '2026-07-22 16:52:58', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615244 -3.654287)'), GeomFromEWKT('SRID=4674;POINT (-38.61523 -3.654188)'))) / (select extract(epoch from '2026-07-22 16:52:58'::timestamp) - extract(epoch from '2026-07-22 16:52:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615244 -3.654287)'), GeomFromEWKT('SRID=4674;POINT (-38.61523 -3.654188)'))) / (select extract(epoch from '2026-07-22 16:52:58'::timestamp) - extract(epoch from '2026-07-22 16:52:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.615223 -3.65397)', '2026-07-22 16:53:06', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61523 -3.654188)'), GeomFromEWKT('SRID=4674;POINT (-38.615223 -3.65397)'))) / (select extract(epoch from '2026-07-22 16:53:06'::timestamp) - extract(epoch from '2026-07-22 16:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61523 -3.654188)'), GeomFromEWKT('SRID=4674;POINT (-38.615223 -3.65397)'))) / (select extract(epoch from '2026-07-22 16:53:06'::timestamp) - extract(epoch from '2026-07-22 16: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'), 47375, 'SRID=4674;POINT (-38.615266 -3.653795)', '2026-07-22 16:53:13', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615223 -3.65397)'), GeomFromEWKT('SRID=4674;POINT (-38.615266 -3.653795)'))) / (select extract(epoch from '2026-07-22 16:53:13'::timestamp) - extract(epoch from '2026-07-22 16:53:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615223 -3.65397)'), GeomFromEWKT('SRID=4674;POINT (-38.615266 -3.653795)'))) / (select extract(epoch from '2026-07-22 16:53:13'::timestamp) - extract(epoch from '2026-07-22 16:53:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.615317 -3.653623)', '2026-07-22 16:53:20', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615266 -3.653795)'), GeomFromEWKT('SRID=4674;POINT (-38.615317 -3.653623)'))) / (select extract(epoch from '2026-07-22 16:53:20'::timestamp) - extract(epoch from '2026-07-22 16:53:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615266 -3.653795)'), GeomFromEWKT('SRID=4674;POINT (-38.615317 -3.653623)'))) / (select extract(epoch from '2026-07-22 16:53:20'::timestamp) - extract(epoch from '2026-07-22 16:53:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.615326 -3.653487)', '2026-07-22 16:53:25', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615317 -3.653623)'), GeomFromEWKT('SRID=4674;POINT (-38.615326 -3.653487)'))) / (select extract(epoch from '2026-07-22 16:53:25'::timestamp) - extract(epoch from '2026-07-22 16:53:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615317 -3.653623)'), GeomFromEWKT('SRID=4674;POINT (-38.615326 -3.653487)'))) / (select extract(epoch from '2026-07-22 16:53:25'::timestamp) - extract(epoch from '2026-07-22 16:53: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'), 47375, 'SRID=4674;POINT (-38.615328 -3.653321)', '2026-07-22 16:53:31', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615326 -3.653487)'), GeomFromEWKT('SRID=4674;POINT (-38.615328 -3.653321)'))) / (select extract(epoch from '2026-07-22 16:53:31'::timestamp) - extract(epoch from '2026-07-22 16:53:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615326 -3.653487)'), GeomFromEWKT('SRID=4674;POINT (-38.615328 -3.653321)'))) / (select extract(epoch from '2026-07-22 16:53:31'::timestamp) - extract(epoch from '2026-07-22 16:53:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.615361 -3.653207)', '2026-07-22 16:53:36', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615328 -3.653321)'), GeomFromEWKT('SRID=4674;POINT (-38.615361 -3.653207)'))) / (select extract(epoch from '2026-07-22 16:53:36'::timestamp) - extract(epoch from '2026-07-22 16:53:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615328 -3.653321)'), GeomFromEWKT('SRID=4674;POINT (-38.615361 -3.653207)'))) / (select extract(epoch from '2026-07-22 16:53:36'::timestamp) - extract(epoch from '2026-07-22 16:53:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.615377 -3.653049)', '2026-07-22 16:53:42', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615361 -3.653207)'), GeomFromEWKT('SRID=4674;POINT (-38.615377 -3.653049)'))) / (select extract(epoch from '2026-07-22 16:53:42'::timestamp) - extract(epoch from '2026-07-22 16:53:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615361 -3.653207)'), GeomFromEWKT('SRID=4674;POINT (-38.615377 -3.653049)'))) / (select extract(epoch from '2026-07-22 16:53:42'::timestamp) - extract(epoch from '2026-07-22 16:53: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'), 47375, 'SRID=4674;POINT (-38.61542 -3.65287)', '2026-07-22 16:53:49', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615377 -3.653049)'), GeomFromEWKT('SRID=4674;POINT (-38.61542 -3.65287)'))) / (select extract(epoch from '2026-07-22 16:53:49'::timestamp) - extract(epoch from '2026-07-22 16:53:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615377 -3.653049)'), GeomFromEWKT('SRID=4674;POINT (-38.61542 -3.65287)'))) / (select extract(epoch from '2026-07-22 16:53:49'::timestamp) - extract(epoch from '2026-07-22 16:53: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'), 47375, 'SRID=4674;POINT (-38.615438 -3.652732)', '2026-07-22 16:53:54', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61542 -3.65287)'), GeomFromEWKT('SRID=4674;POINT (-38.615438 -3.652732)'))) / (select extract(epoch from '2026-07-22 16:53:54'::timestamp) - extract(epoch from '2026-07-22 16:53:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61542 -3.65287)'), GeomFromEWKT('SRID=4674;POINT (-38.615438 -3.652732)'))) / (select extract(epoch from '2026-07-22 16:53:54'::timestamp) - extract(epoch from '2026-07-22 16:53: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'), 47375, 'SRID=4674;POINT (-38.615463 -3.652571)', '2026-07-22 16:54:00', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615438 -3.652732)'), GeomFromEWKT('SRID=4674;POINT (-38.615463 -3.652571)'))) / (select extract(epoch from '2026-07-22 16:54:00'::timestamp) - extract(epoch from '2026-07-22 16:53:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615438 -3.652732)'), GeomFromEWKT('SRID=4674;POINT (-38.615463 -3.652571)'))) / (select extract(epoch from '2026-07-22 16:54:00'::timestamp) - extract(epoch from '2026-07-22 16:53: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'), 47375, 'SRID=4674;POINT (-38.615504 -3.652445)', '2026-07-22 16:54:05', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615463 -3.652571)'), GeomFromEWKT('SRID=4674;POINT (-38.615504 -3.652445)'))) / (select extract(epoch from '2026-07-22 16:54:05'::timestamp) - extract(epoch from '2026-07-22 16:54:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615463 -3.652571)'), GeomFromEWKT('SRID=4674;POINT (-38.615504 -3.652445)'))) / (select extract(epoch from '2026-07-22 16:54:05'::timestamp) - extract(epoch from '2026-07-22 16:54: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'), 47375, 'SRID=4674;POINT (-38.615536 -3.652283)', '2026-07-22 16:54:11', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615504 -3.652445)'), GeomFromEWKT('SRID=4674;POINT (-38.615536 -3.652283)'))) / (select extract(epoch from '2026-07-22 16:54:11'::timestamp) - extract(epoch from '2026-07-22 16:54:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615504 -3.652445)'), GeomFromEWKT('SRID=4674;POINT (-38.615536 -3.652283)'))) / (select extract(epoch from '2026-07-22 16:54:11'::timestamp) - extract(epoch from '2026-07-22 16:54:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.615563 -3.652163)', '2026-07-22 16:54:15', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615536 -3.652283)'), GeomFromEWKT('SRID=4674;POINT (-38.615563 -3.652163)'))) / (select extract(epoch from '2026-07-22 16:54:15'::timestamp) - extract(epoch from '2026-07-22 16:54:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615536 -3.652283)'), GeomFromEWKT('SRID=4674;POINT (-38.615563 -3.652163)'))) / (select extract(epoch from '2026-07-22 16:54:15'::timestamp) - extract(epoch from '2026-07-22 16:54: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'), 47375, 'SRID=4674;POINT (-38.615559 -3.652032)', '2026-07-22 16:54:20', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615563 -3.652163)'), GeomFromEWKT('SRID=4674;POINT (-38.615559 -3.652032)'))) / (select extract(epoch from '2026-07-22 16:54:20'::timestamp) - extract(epoch from '2026-07-22 16:54:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615563 -3.652163)'), GeomFromEWKT('SRID=4674;POINT (-38.615559 -3.652032)'))) / (select extract(epoch from '2026-07-22 16:54:20'::timestamp) - extract(epoch from '2026-07-22 16:54: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'), 47375, 'SRID=4674;POINT (-38.615578 -3.651807)', '2026-07-22 16:54:28', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615559 -3.652032)'), GeomFromEWKT('SRID=4674;POINT (-38.615578 -3.651807)'))) / (select extract(epoch from '2026-07-22 16:54:28'::timestamp) - extract(epoch from '2026-07-22 16:54:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615559 -3.652032)'), GeomFromEWKT('SRID=4674;POINT (-38.615578 -3.651807)'))) / (select extract(epoch from '2026-07-22 16:54:28'::timestamp) - extract(epoch from '2026-07-22 16: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'), 47375, 'SRID=4674;POINT (-38.615597 -3.651702)', '2026-07-22 16:54:32', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615578 -3.651807)'), GeomFromEWKT('SRID=4674;POINT (-38.615597 -3.651702)'))) / (select extract(epoch from '2026-07-22 16:54:32'::timestamp) - extract(epoch from '2026-07-22 16:54:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615578 -3.651807)'), GeomFromEWKT('SRID=4674;POINT (-38.615597 -3.651702)'))) / (select extract(epoch from '2026-07-22 16:54:32'::timestamp) - extract(epoch from '2026-07-22 16:54: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'), 47375, 'SRID=4674;POINT (-38.615615 -3.651547)', '2026-07-22 16:54:38', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615597 -3.651702)'), GeomFromEWKT('SRID=4674;POINT (-38.615615 -3.651547)'))) / (select extract(epoch from '2026-07-22 16:54:38'::timestamp) - extract(epoch from '2026-07-22 16:54:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615597 -3.651702)'), GeomFromEWKT('SRID=4674;POINT (-38.615615 -3.651547)'))) / (select extract(epoch from '2026-07-22 16:54:38'::timestamp) - extract(epoch from '2026-07-22 16:54:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.615612 -3.651521)', '2026-07-22 16:54:39', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615615 -3.651547)'), GeomFromEWKT('SRID=4674;POINT (-38.615612 -3.651521)'))) / (select extract(epoch from '2026-07-22 16:54:39'::timestamp) - extract(epoch from '2026-07-22 16:54:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615615 -3.651547)'), GeomFromEWKT('SRID=4674;POINT (-38.615612 -3.651521)'))) / (select extract(epoch from '2026-07-22 16:54:39'::timestamp) - extract(epoch from '2026-07-22 16: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'), 47375, 'SRID=4674;POINT (-38.615614 -3.651442)', '2026-07-22 16:54:42', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615612 -3.651521)'), GeomFromEWKT('SRID=4674;POINT (-38.615614 -3.651442)'))) / (select extract(epoch from '2026-07-22 16:54:42'::timestamp) - extract(epoch from '2026-07-22 16:54:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615612 -3.651521)'), GeomFromEWKT('SRID=4674;POINT (-38.615614 -3.651442)'))) / (select extract(epoch from '2026-07-22 16:54:42'::timestamp) - extract(epoch from '2026-07-22 16:54:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.615655 -3.651291)', '2026-07-22 16:54:48', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615614 -3.651442)'), GeomFromEWKT('SRID=4674;POINT (-38.615655 -3.651291)'))) / (select extract(epoch from '2026-07-22 16:54:48'::timestamp) - extract(epoch from '2026-07-22 16:54:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615614 -3.651442)'), GeomFromEWKT('SRID=4674;POINT (-38.615655 -3.651291)'))) / (select extract(epoch from '2026-07-22 16:54:48'::timestamp) - extract(epoch from '2026-07-22 16:54: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'), 47375, 'SRID=4674;POINT (-38.615714 -3.651173)', '2026-07-22 16:54:53', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615655 -3.651291)'), GeomFromEWKT('SRID=4674;POINT (-38.615714 -3.651173)'))) / (select extract(epoch from '2026-07-22 16:54:53'::timestamp) - extract(epoch from '2026-07-22 16:54:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615655 -3.651291)'), GeomFromEWKT('SRID=4674;POINT (-38.615714 -3.651173)'))) / (select extract(epoch from '2026-07-22 16:54:53'::timestamp) - extract(epoch from '2026-07-22 16:54: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'), 47375, 'SRID=4674;POINT (-38.615766 -3.651017)', '2026-07-22 16:54:59', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615714 -3.651173)'), GeomFromEWKT('SRID=4674;POINT (-38.615766 -3.651017)'))) / (select extract(epoch from '2026-07-22 16:54:59'::timestamp) - extract(epoch from '2026-07-22 16:54:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615714 -3.651173)'), GeomFromEWKT('SRID=4674;POINT (-38.615766 -3.651017)'))) / (select extract(epoch from '2026-07-22 16:54:59'::timestamp) - extract(epoch from '2026-07-22 16:54: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'), 47375, 'SRID=4674;POINT (-38.615799 -3.650891)', '2026-07-22 16:55:04', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615766 -3.651017)'), GeomFromEWKT('SRID=4674;POINT (-38.615799 -3.650891)'))) / (select extract(epoch from '2026-07-22 16:55:04'::timestamp) - extract(epoch from '2026-07-22 16:54:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615766 -3.651017)'), GeomFromEWKT('SRID=4674;POINT (-38.615799 -3.650891)'))) / (select extract(epoch from '2026-07-22 16:55:04'::timestamp) - extract(epoch from '2026-07-22 16:54: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'), 47375, 'SRID=4674;POINT (-38.615851 -3.650747)', '2026-07-22 16:55:10', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615799 -3.650891)'), GeomFromEWKT('SRID=4674;POINT (-38.615851 -3.650747)'))) / (select extract(epoch from '2026-07-22 16:55:10'::timestamp) - extract(epoch from '2026-07-22 16:55:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615799 -3.650891)'), GeomFromEWKT('SRID=4674;POINT (-38.615851 -3.650747)'))) / (select extract(epoch from '2026-07-22 16:55:10'::timestamp) - extract(epoch from '2026-07-22 16:55: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'), 47375, 'SRID=4674;POINT (-38.615893 -3.650567)', '2026-07-22 16:55:17', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615851 -3.650747)'), GeomFromEWKT('SRID=4674;POINT (-38.615893 -3.650567)'))) / (select extract(epoch from '2026-07-22 16:55:17'::timestamp) - extract(epoch from '2026-07-22 16:55:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615851 -3.650747)'), GeomFromEWKT('SRID=4674;POINT (-38.615893 -3.650567)'))) / (select extract(epoch from '2026-07-22 16:55:17'::timestamp) - extract(epoch from '2026-07-22 16:55: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'), 47375, 'SRID=4674;POINT (-38.615901 -3.650419)', '2026-07-22 16:55:22', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615893 -3.650567)'), GeomFromEWKT('SRID=4674;POINT (-38.615901 -3.650419)'))) / (select extract(epoch from '2026-07-22 16:55:22'::timestamp) - extract(epoch from '2026-07-22 16:55:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615893 -3.650567)'), GeomFromEWKT('SRID=4674;POINT (-38.615901 -3.650419)'))) / (select extract(epoch from '2026-07-22 16:55:22'::timestamp) - extract(epoch from '2026-07-22 16:55: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'), 47375, 'SRID=4674;POINT (-38.615922 -3.650281)', '2026-07-22 16:55:27', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615901 -3.650419)'), GeomFromEWKT('SRID=4674;POINT (-38.615922 -3.650281)'))) / (select extract(epoch from '2026-07-22 16:55:27'::timestamp) - extract(epoch from '2026-07-22 16:55:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615901 -3.650419)'), GeomFromEWKT('SRID=4674;POINT (-38.615922 -3.650281)'))) / (select extract(epoch from '2026-07-22 16:55:27'::timestamp) - extract(epoch from '2026-07-22 16:55:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.615949 -3.650135)', '2026-07-22 16:55:33', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615922 -3.650281)'), GeomFromEWKT('SRID=4674;POINT (-38.615949 -3.650135)'))) / (select extract(epoch from '2026-07-22 16:55:33'::timestamp) - extract(epoch from '2026-07-22 16:55:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615922 -3.650281)'), GeomFromEWKT('SRID=4674;POINT (-38.615949 -3.650135)'))) / (select extract(epoch from '2026-07-22 16:55:33'::timestamp) - extract(epoch from '2026-07-22 16:55: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'), 47375, 'SRID=4674;POINT (-38.615978 -3.649978)', '2026-07-22 16:55:39', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615949 -3.650135)'), GeomFromEWKT('SRID=4674;POINT (-38.615978 -3.649978)'))) / (select extract(epoch from '2026-07-22 16:55:39'::timestamp) - extract(epoch from '2026-07-22 16:55:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615949 -3.650135)'), GeomFromEWKT('SRID=4674;POINT (-38.615978 -3.649978)'))) / (select extract(epoch from '2026-07-22 16:55:39'::timestamp) - extract(epoch from '2026-07-22 16:55: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'), 47375, 'SRID=4674;POINT (-38.61602 -3.649825)', '2026-07-22 16:55:45', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615978 -3.649978)'), GeomFromEWKT('SRID=4674;POINT (-38.61602 -3.649825)'))) / (select extract(epoch from '2026-07-22 16:55:45'::timestamp) - extract(epoch from '2026-07-22 16:55:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615978 -3.649978)'), GeomFromEWKT('SRID=4674;POINT (-38.61602 -3.649825)'))) / (select extract(epoch from '2026-07-22 16:55:45'::timestamp) - extract(epoch from '2026-07-22 16:55:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.616068 -3.649615)', '2026-07-22 16:55:53', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61602 -3.649825)'), GeomFromEWKT('SRID=4674;POINT (-38.616068 -3.649615)'))) / (select extract(epoch from '2026-07-22 16:55:53'::timestamp) - extract(epoch from '2026-07-22 16:55:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61602 -3.649825)'), GeomFromEWKT('SRID=4674;POINT (-38.616068 -3.649615)'))) / (select extract(epoch from '2026-07-22 16:55:53'::timestamp) - extract(epoch from '2026-07-22 16:55:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.616118 -3.649441)', '2026-07-22 16:56:00', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616068 -3.649615)'), GeomFromEWKT('SRID=4674;POINT (-38.616118 -3.649441)'))) / (select extract(epoch from '2026-07-22 16:56:00'::timestamp) - extract(epoch from '2026-07-22 16:55:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616068 -3.649615)'), GeomFromEWKT('SRID=4674;POINT (-38.616118 -3.649441)'))) / (select extract(epoch from '2026-07-22 16:56:00'::timestamp) - extract(epoch from '2026-07-22 16:55: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'), 47375, 'SRID=4674;POINT (-38.616166 -3.649246)', '2026-07-22 16:56:07', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616118 -3.649441)'), GeomFromEWKT('SRID=4674;POINT (-38.616166 -3.649246)'))) / (select extract(epoch from '2026-07-22 16:56:07'::timestamp) - extract(epoch from '2026-07-22 16:56:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616118 -3.649441)'), GeomFromEWKT('SRID=4674;POINT (-38.616166 -3.649246)'))) / (select extract(epoch from '2026-07-22 16:56:07'::timestamp) - extract(epoch from '2026-07-22 16:56: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'), 47375, 'SRID=4674;POINT (-38.616218 -3.649122)', '2026-07-22 16:56:12', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616166 -3.649246)'), GeomFromEWKT('SRID=4674;POINT (-38.616218 -3.649122)'))) / (select extract(epoch from '2026-07-22 16:56:12'::timestamp) - extract(epoch from '2026-07-22 16:56:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616166 -3.649246)'), GeomFromEWKT('SRID=4674;POINT (-38.616218 -3.649122)'))) / (select extract(epoch from '2026-07-22 16:56:12'::timestamp) - extract(epoch from '2026-07-22 16:56: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'), 47375, 'SRID=4674;POINT (-38.616277 -3.648939)', '2026-07-22 16:56:19', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616218 -3.649122)'), GeomFromEWKT('SRID=4674;POINT (-38.616277 -3.648939)'))) / (select extract(epoch from '2026-07-22 16:56:19'::timestamp) - extract(epoch from '2026-07-22 16:56:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616218 -3.649122)'), GeomFromEWKT('SRID=4674;POINT (-38.616277 -3.648939)'))) / (select extract(epoch from '2026-07-22 16:56:19'::timestamp) - extract(epoch from '2026-07-22 16:56:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.61633 -3.648811)', '2026-07-22 16:56:24', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616277 -3.648939)'), GeomFromEWKT('SRID=4674;POINT (-38.61633 -3.648811)'))) / (select extract(epoch from '2026-07-22 16:56:24'::timestamp) - extract(epoch from '2026-07-22 16:56:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616277 -3.648939)'), GeomFromEWKT('SRID=4674;POINT (-38.61633 -3.648811)'))) / (select extract(epoch from '2026-07-22 16:56:24'::timestamp) - extract(epoch from '2026-07-22 16:56:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.616367 -3.648703)', '2026-07-22 16:56:28', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61633 -3.648811)'), GeomFromEWKT('SRID=4674;POINT (-38.616367 -3.648703)'))) / (select extract(epoch from '2026-07-22 16:56:28'::timestamp) - extract(epoch from '2026-07-22 16:56:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61633 -3.648811)'), GeomFromEWKT('SRID=4674;POINT (-38.616367 -3.648703)'))) / (select extract(epoch from '2026-07-22 16:56:28'::timestamp) - extract(epoch from '2026-07-22 16:56:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.61642 -3.648575)', '2026-07-22 16:56:33', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616367 -3.648703)'), GeomFromEWKT('SRID=4674;POINT (-38.61642 -3.648575)'))) / (select extract(epoch from '2026-07-22 16:56:33'::timestamp) - extract(epoch from '2026-07-22 16:56:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616367 -3.648703)'), GeomFromEWKT('SRID=4674;POINT (-38.61642 -3.648575)'))) / (select extract(epoch from '2026-07-22 16:56:33'::timestamp) - extract(epoch from '2026-07-22 16:56: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'), 47375, 'SRID=4674;POINT (-38.61649 -3.648454)', '2026-07-22 16:56:38', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61642 -3.648575)'), GeomFromEWKT('SRID=4674;POINT (-38.61649 -3.648454)'))) / (select extract(epoch from '2026-07-22 16:56:38'::timestamp) - extract(epoch from '2026-07-22 16:56:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61642 -3.648575)'), GeomFromEWKT('SRID=4674;POINT (-38.61649 -3.648454)'))) / (select extract(epoch from '2026-07-22 16:56:38'::timestamp) - extract(epoch from '2026-07-22 16:56: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'), 47375, 'SRID=4674;POINT (-38.616539 -3.648301)', '2026-07-22 16:56:44', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61649 -3.648454)'), GeomFromEWKT('SRID=4674;POINT (-38.616539 -3.648301)'))) / (select extract(epoch from '2026-07-22 16:56:44'::timestamp) - extract(epoch from '2026-07-22 16:56:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61649 -3.648454)'), GeomFromEWKT('SRID=4674;POINT (-38.616539 -3.648301)'))) / (select extract(epoch from '2026-07-22 16:56:44'::timestamp) - extract(epoch from '2026-07-22 16:56:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.616585 -3.648146)', '2026-07-22 16:56:50', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616539 -3.648301)'), GeomFromEWKT('SRID=4674;POINT (-38.616585 -3.648146)'))) / (select extract(epoch from '2026-07-22 16:56:50'::timestamp) - extract(epoch from '2026-07-22 16:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616539 -3.648301)'), GeomFromEWKT('SRID=4674;POINT (-38.616585 -3.648146)'))) / (select extract(epoch from '2026-07-22 16:56:50'::timestamp) - extract(epoch from '2026-07-22 16:56: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'), 47375, 'SRID=4674;POINT (-38.616599 -3.648009)', '2026-07-22 16:56:55', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616585 -3.648146)'), GeomFromEWKT('SRID=4674;POINT (-38.616599 -3.648009)'))) / (select extract(epoch from '2026-07-22 16:56:55'::timestamp) - extract(epoch from '2026-07-22 16:56:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616585 -3.648146)'), GeomFromEWKT('SRID=4674;POINT (-38.616599 -3.648009)'))) / (select extract(epoch from '2026-07-22 16:56:55'::timestamp) - extract(epoch from '2026-07-22 16:56: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'), 47375, 'SRID=4674;POINT (-38.616629 -3.647875)', '2026-07-22 16:57:00', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616599 -3.648009)'), GeomFromEWKT('SRID=4674;POINT (-38.616629 -3.647875)'))) / (select extract(epoch from '2026-07-22 16:57:00'::timestamp) - extract(epoch from '2026-07-22 16:56:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616599 -3.648009)'), GeomFromEWKT('SRID=4674;POINT (-38.616629 -3.647875)'))) / (select extract(epoch from '2026-07-22 16:57:00'::timestamp) - extract(epoch from '2026-07-22 16: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'), 47375, 'SRID=4674;POINT (-38.61664 -3.647727)', '2026-07-22 16:57:06', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616629 -3.647875)'), GeomFromEWKT('SRID=4674;POINT (-38.61664 -3.647727)'))) / (select extract(epoch from '2026-07-22 16:57:06'::timestamp) - extract(epoch from '2026-07-22 16:57:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616629 -3.647875)'), GeomFromEWKT('SRID=4674;POINT (-38.61664 -3.647727)'))) / (select extract(epoch from '2026-07-22 16:57:06'::timestamp) - extract(epoch from '2026-07-22 16:57: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'), 47375, 'SRID=4674;POINT (-38.61661 -3.647601)', '2026-07-22 16:57:12', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61664 -3.647727)'), GeomFromEWKT('SRID=4674;POINT (-38.61661 -3.647601)'))) / (select extract(epoch from '2026-07-22 16:57:12'::timestamp) - extract(epoch from '2026-07-22 16:57:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61664 -3.647727)'), GeomFromEWKT('SRID=4674;POINT (-38.61661 -3.647601)'))) / (select extract(epoch from '2026-07-22 16:57:12'::timestamp) - extract(epoch from '2026-07-22 16:57:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.61658 -3.64748)', '2026-07-22 16:57:18', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61661 -3.647601)'), GeomFromEWKT('SRID=4674;POINT (-38.61658 -3.64748)'))) / (select extract(epoch from '2026-07-22 16:57:18'::timestamp) - extract(epoch from '2026-07-22 16:57:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61661 -3.647601)'), GeomFromEWKT('SRID=4674;POINT (-38.61658 -3.64748)'))) / (select extract(epoch from '2026-07-22 16:57:18'::timestamp) - extract(epoch from '2026-07-22 16:57: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'), 47375, 'SRID=4674;POINT (-38.616579 -3.647348)', '2026-07-22 16:57:23', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61658 -3.64748)'), GeomFromEWKT('SRID=4674;POINT (-38.616579 -3.647348)'))) / (select extract(epoch from '2026-07-22 16:57:23'::timestamp) - extract(epoch from '2026-07-22 16:57:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61658 -3.64748)'), GeomFromEWKT('SRID=4674;POINT (-38.616579 -3.647348)'))) / (select extract(epoch from '2026-07-22 16:57:23'::timestamp) - extract(epoch from '2026-07-22 16:57: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'), 47375, 'SRID=4674;POINT (-38.616563 -3.647138)', '2026-07-22 16:57:30', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616579 -3.647348)'), GeomFromEWKT('SRID=4674;POINT (-38.616563 -3.647138)'))) / (select extract(epoch from '2026-07-22 16:57:30'::timestamp) - extract(epoch from '2026-07-22 16:57:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616579 -3.647348)'), GeomFromEWKT('SRID=4674;POINT (-38.616563 -3.647138)'))) / (select extract(epoch from '2026-07-22 16:57:30'::timestamp) - extract(epoch from '2026-07-22 16:57:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.61654 -3.646885)', '2026-07-22 16:57:38', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616563 -3.647138)'), GeomFromEWKT('SRID=4674;POINT (-38.61654 -3.646885)'))) / (select extract(epoch from '2026-07-22 16:57:38'::timestamp) - extract(epoch from '2026-07-22 16:57:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616563 -3.647138)'), GeomFromEWKT('SRID=4674;POINT (-38.61654 -3.646885)'))) / (select extract(epoch from '2026-07-22 16:57:38'::timestamp) - extract(epoch from '2026-07-22 16:57: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'), 47375, 'SRID=4674;POINT (-38.616495 -3.646646)', '2026-07-22 16:57:46', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61654 -3.646885)'), GeomFromEWKT('SRID=4674;POINT (-38.616495 -3.646646)'))) / (select extract(epoch from '2026-07-22 16:57:46'::timestamp) - extract(epoch from '2026-07-22 16:57:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61654 -3.646885)'), GeomFromEWKT('SRID=4674;POINT (-38.616495 -3.646646)'))) / (select extract(epoch from '2026-07-22 16:57:46'::timestamp) - extract(epoch from '2026-07-22 16:57:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.616475 -3.646477)', '2026-07-22 16:57:51', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616495 -3.646646)'), GeomFromEWKT('SRID=4674;POINT (-38.616475 -3.646477)'))) / (select extract(epoch from '2026-07-22 16:57:51'::timestamp) - extract(epoch from '2026-07-22 16:57:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616495 -3.646646)'), GeomFromEWKT('SRID=4674;POINT (-38.616475 -3.646477)'))) / (select extract(epoch from '2026-07-22 16:57:51'::timestamp) - extract(epoch from '2026-07-22 16:57: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'), 47375, 'SRID=4674;POINT (-38.616442 -3.646228)', '2026-07-22 16:57:59', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616475 -3.646477)'), GeomFromEWKT('SRID=4674;POINT (-38.616442 -3.646228)'))) / (select extract(epoch from '2026-07-22 16:57:59'::timestamp) - extract(epoch from '2026-07-22 16:57:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616475 -3.646477)'), GeomFromEWKT('SRID=4674;POINT (-38.616442 -3.646228)'))) / (select extract(epoch from '2026-07-22 16:57:59'::timestamp) - extract(epoch from '2026-07-22 16: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'), 47375, 'SRID=4674;POINT (-38.616404 -3.646042)', '2026-07-22 16:58:05', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616442 -3.646228)'), GeomFromEWKT('SRID=4674;POINT (-38.616404 -3.646042)'))) / (select extract(epoch from '2026-07-22 16:58:05'::timestamp) - extract(epoch from '2026-07-22 16:57:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616442 -3.646228)'), GeomFromEWKT('SRID=4674;POINT (-38.616404 -3.646042)'))) / (select extract(epoch from '2026-07-22 16:58:05'::timestamp) - extract(epoch from '2026-07-22 16: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'), 47375, 'SRID=4674;POINT (-38.616373 -3.645922)', '2026-07-22 16:58:09', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616404 -3.646042)'), GeomFromEWKT('SRID=4674;POINT (-38.616373 -3.645922)'))) / (select extract(epoch from '2026-07-22 16:58:09'::timestamp) - extract(epoch from '2026-07-22 16:58:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616404 -3.646042)'), GeomFromEWKT('SRID=4674;POINT (-38.616373 -3.645922)'))) / (select extract(epoch from '2026-07-22 16:58:09'::timestamp) - extract(epoch from '2026-07-22 16:58: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'), 47375, 'SRID=4674;POINT (-38.616337 -3.645745)', '2026-07-22 16:58:15', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616373 -3.645922)'), GeomFromEWKT('SRID=4674;POINT (-38.616337 -3.645745)'))) / (select extract(epoch from '2026-07-22 16:58:15'::timestamp) - extract(epoch from '2026-07-22 16:58:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616373 -3.645922)'), GeomFromEWKT('SRID=4674;POINT (-38.616337 -3.645745)'))) / (select extract(epoch from '2026-07-22 16:58:15'::timestamp) - extract(epoch from '2026-07-22 16:58:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.616315 -3.645594)', '2026-07-22 16:58:20', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616337 -3.645745)'), GeomFromEWKT('SRID=4674;POINT (-38.616315 -3.645594)'))) / (select extract(epoch from '2026-07-22 16:58:20'::timestamp) - extract(epoch from '2026-07-22 16:58:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616337 -3.645745)'), GeomFromEWKT('SRID=4674;POINT (-38.616315 -3.645594)'))) / (select extract(epoch from '2026-07-22 16:58:20'::timestamp) - extract(epoch from '2026-07-22 16:58:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.616301 -3.64545)', '2026-07-22 16:58:25', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616315 -3.645594)'), GeomFromEWKT('SRID=4674;POINT (-38.616301 -3.64545)'))) / (select extract(epoch from '2026-07-22 16:58:25'::timestamp) - extract(epoch from '2026-07-22 16:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616315 -3.645594)'), GeomFromEWKT('SRID=4674;POINT (-38.616301 -3.64545)'))) / (select extract(epoch from '2026-07-22 16:58:25'::timestamp) - extract(epoch from '2026-07-22 16:58:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.616267 -3.645277)', '2026-07-22 16:58:31', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616301 -3.64545)'), GeomFromEWKT('SRID=4674;POINT (-38.616267 -3.645277)'))) / (select extract(epoch from '2026-07-22 16:58:31'::timestamp) - extract(epoch from '2026-07-22 16:58:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616301 -3.64545)'), GeomFromEWKT('SRID=4674;POINT (-38.616267 -3.645277)'))) / (select extract(epoch from '2026-07-22 16:58:31'::timestamp) - extract(epoch from '2026-07-22 16:58: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'), 47375, 'SRID=4674;POINT (-38.616229 -3.645104)', '2026-07-22 16:58:37', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616267 -3.645277)'), GeomFromEWKT('SRID=4674;POINT (-38.616229 -3.645104)'))) / (select extract(epoch from '2026-07-22 16:58:37'::timestamp) - extract(epoch from '2026-07-22 16:58:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616267 -3.645277)'), GeomFromEWKT('SRID=4674;POINT (-38.616229 -3.645104)'))) / (select extract(epoch from '2026-07-22 16:58:37'::timestamp) - extract(epoch from '2026-07-22 16:58:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.616181 -3.644959)', '2026-07-22 16:58:42', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616229 -3.645104)'), GeomFromEWKT('SRID=4674;POINT (-38.616181 -3.644959)'))) / (select extract(epoch from '2026-07-22 16:58:42'::timestamp) - extract(epoch from '2026-07-22 16:58:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616229 -3.645104)'), GeomFromEWKT('SRID=4674;POINT (-38.616181 -3.644959)'))) / (select extract(epoch from '2026-07-22 16:58:42'::timestamp) - extract(epoch from '2026-07-22 16:58: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'), 47375, 'SRID=4674;POINT (-38.61614 -3.644781)', '2026-07-22 16:58:48', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616181 -3.644959)'), GeomFromEWKT('SRID=4674;POINT (-38.61614 -3.644781)'))) / (select extract(epoch from '2026-07-22 16:58:48'::timestamp) - extract(epoch from '2026-07-22 16:58:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616181 -3.644959)'), GeomFromEWKT('SRID=4674;POINT (-38.61614 -3.644781)'))) / (select extract(epoch from '2026-07-22 16:58:48'::timestamp) - extract(epoch from '2026-07-22 16:58: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'), 47375, 'SRID=4674;POINT (-38.616127 -3.64456)', '2026-07-22 16:58:55', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61614 -3.644781)'), GeomFromEWKT('SRID=4674;POINT (-38.616127 -3.64456)'))) / (select extract(epoch from '2026-07-22 16:58:55'::timestamp) - extract(epoch from '2026-07-22 16:58:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61614 -3.644781)'), GeomFromEWKT('SRID=4674;POINT (-38.616127 -3.64456)'))) / (select extract(epoch from '2026-07-22 16:58:55'::timestamp) - extract(epoch from '2026-07-22 16:58: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'), 47375, 'SRID=4674;POINT (-38.616147 -3.644378)', '2026-07-22 16:59:01', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616127 -3.64456)'), GeomFromEWKT('SRID=4674;POINT (-38.616147 -3.644378)'))) / (select extract(epoch from '2026-07-22 16:59:01'::timestamp) - extract(epoch from '2026-07-22 16:58:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616127 -3.64456)'), GeomFromEWKT('SRID=4674;POINT (-38.616147 -3.644378)'))) / (select extract(epoch from '2026-07-22 16:59:01'::timestamp) - extract(epoch from '2026-07-22 16:58:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.616189 -3.644199)', '2026-07-22 16:59:07', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616147 -3.644378)'), GeomFromEWKT('SRID=4674;POINT (-38.616189 -3.644199)'))) / (select extract(epoch from '2026-07-22 16:59:07'::timestamp) - extract(epoch from '2026-07-22 16:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616147 -3.644378)'), GeomFromEWKT('SRID=4674;POINT (-38.616189 -3.644199)'))) / (select extract(epoch from '2026-07-22 16:59:07'::timestamp) - extract(epoch from '2026-07-22 16:59: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'), 47375, 'SRID=4674;POINT (-38.61622 -3.643979)', '2026-07-22 16:59:14', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616189 -3.644199)'), GeomFromEWKT('SRID=4674;POINT (-38.61622 -3.643979)'))) / (select extract(epoch from '2026-07-22 16:59:14'::timestamp) - extract(epoch from '2026-07-22 16:59:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616189 -3.644199)'), GeomFromEWKT('SRID=4674;POINT (-38.61622 -3.643979)'))) / (select extract(epoch from '2026-07-22 16:59:14'::timestamp) - extract(epoch from '2026-07-22 16:59:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.616229 -3.643792)', '2026-07-22 16:59:20', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61622 -3.643979)'), GeomFromEWKT('SRID=4674;POINT (-38.616229 -3.643792)'))) / (select extract(epoch from '2026-07-22 16:59:20'::timestamp) - extract(epoch from '2026-07-22 16:59:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61622 -3.643979)'), GeomFromEWKT('SRID=4674;POINT (-38.616229 -3.643792)'))) / (select extract(epoch from '2026-07-22 16:59:20'::timestamp) - extract(epoch from '2026-07-22 16:59: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'), 47375, 'SRID=4674;POINT (-38.616271 -3.64361)', '2026-07-22 16:59:26', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616229 -3.643792)'), GeomFromEWKT('SRID=4674;POINT (-38.616271 -3.64361)'))) / (select extract(epoch from '2026-07-22 16:59:26'::timestamp) - extract(epoch from '2026-07-22 16:59:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616229 -3.643792)'), GeomFromEWKT('SRID=4674;POINT (-38.616271 -3.64361)'))) / (select extract(epoch from '2026-07-22 16:59:26'::timestamp) - extract(epoch from '2026-07-22 16:59:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.616329 -3.643395)', '2026-07-22 16:59:33', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616271 -3.64361)'), GeomFromEWKT('SRID=4674;POINT (-38.616329 -3.643395)'))) / (select extract(epoch from '2026-07-22 16:59:33'::timestamp) - extract(epoch from '2026-07-22 16:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616271 -3.64361)'), GeomFromEWKT('SRID=4674;POINT (-38.616329 -3.643395)'))) / (select extract(epoch from '2026-07-22 16:59:33'::timestamp) - extract(epoch from '2026-07-22 16:59:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.616382 -3.643234)', '2026-07-22 16:59:38', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616329 -3.643395)'), GeomFromEWKT('SRID=4674;POINT (-38.616382 -3.643234)'))) / (select extract(epoch from '2026-07-22 16:59:38'::timestamp) - extract(epoch from '2026-07-22 16:59:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616329 -3.643395)'), GeomFromEWKT('SRID=4674;POINT (-38.616382 -3.643234)'))) / (select extract(epoch from '2026-07-22 16:59:38'::timestamp) - extract(epoch from '2026-07-22 16:59:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.61642 -3.64308)', '2026-07-22 16:59:43', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616382 -3.643234)'), GeomFromEWKT('SRID=4674;POINT (-38.61642 -3.64308)'))) / (select extract(epoch from '2026-07-22 16:59:43'::timestamp) - extract(epoch from '2026-07-22 16:59:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616382 -3.643234)'), GeomFromEWKT('SRID=4674;POINT (-38.61642 -3.64308)'))) / (select extract(epoch from '2026-07-22 16:59:43'::timestamp) - extract(epoch from '2026-07-22 16:59: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'), 47375, 'SRID=4674;POINT (-38.61646 -3.64294)', '2026-07-22 16:59:48', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61642 -3.64308)'), GeomFromEWKT('SRID=4674;POINT (-38.61646 -3.64294)'))) / (select extract(epoch from '2026-07-22 16:59:48'::timestamp) - extract(epoch from '2026-07-22 16:59:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61642 -3.64308)'), GeomFromEWKT('SRID=4674;POINT (-38.61646 -3.64294)'))) / (select extract(epoch from '2026-07-22 16:59:48'::timestamp) - extract(epoch from '2026-07-22 16:59: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'), 47375, 'SRID=4674;POINT (-38.616505 -3.64279)', '2026-07-22 16:59:54', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61646 -3.64294)'), GeomFromEWKT('SRID=4674;POINT (-38.616505 -3.64279)'))) / (select extract(epoch from '2026-07-22 16:59:54'::timestamp) - extract(epoch from '2026-07-22 16:59:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61646 -3.64294)'), GeomFromEWKT('SRID=4674;POINT (-38.616505 -3.64279)'))) / (select extract(epoch from '2026-07-22 16:59:54'::timestamp) - extract(epoch from '2026-07-22 16:59:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.616548 -3.642637)', '2026-07-22 17:00:00', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616505 -3.64279)'), GeomFromEWKT('SRID=4674;POINT (-38.616548 -3.642637)'))) / (select extract(epoch from '2026-07-22 17:00:00'::timestamp) - extract(epoch from '2026-07-22 16:59:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616505 -3.64279)'), GeomFromEWKT('SRID=4674;POINT (-38.616548 -3.642637)'))) / (select extract(epoch from '2026-07-22 17:00:00'::timestamp) - extract(epoch from '2026-07-22 16:59:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.616597 -3.642457)', '2026-07-22 17:00:07', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616548 -3.642637)'), GeomFromEWKT('SRID=4674;POINT (-38.616597 -3.642457)'))) / (select extract(epoch from '2026-07-22 17:00:07'::timestamp) - extract(epoch from '2026-07-22 17:00:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616548 -3.642637)'), GeomFromEWKT('SRID=4674;POINT (-38.616597 -3.642457)'))) / (select extract(epoch from '2026-07-22 17:00:07'::timestamp) - extract(epoch from '2026-07-22 17:00:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.61664 -3.642334)', '2026-07-22 17:00:12', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616597 -3.642457)'), GeomFromEWKT('SRID=4674;POINT (-38.61664 -3.642334)'))) / (select extract(epoch from '2026-07-22 17:00:12'::timestamp) - extract(epoch from '2026-07-22 17:00:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616597 -3.642457)'), GeomFromEWKT('SRID=4674;POINT (-38.61664 -3.642334)'))) / (select extract(epoch from '2026-07-22 17:00:12'::timestamp) - extract(epoch from '2026-07-22 17:00:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.616684 -3.642236)', '2026-07-22 17:00:16', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61664 -3.642334)'), GeomFromEWKT('SRID=4674;POINT (-38.616684 -3.642236)'))) / (select extract(epoch from '2026-07-22 17:00:16'::timestamp) - extract(epoch from '2026-07-22 17:00:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61664 -3.642334)'), GeomFromEWKT('SRID=4674;POINT (-38.616684 -3.642236)'))) / (select extract(epoch from '2026-07-22 17:00:16'::timestamp) - extract(epoch from '2026-07-22 17:00:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.616703 -3.642054)', '2026-07-22 17:00:23', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616684 -3.642236)'), GeomFromEWKT('SRID=4674;POINT (-38.616703 -3.642054)'))) / (select extract(epoch from '2026-07-22 17:00:23'::timestamp) - extract(epoch from '2026-07-22 17:00:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616684 -3.642236)'), GeomFromEWKT('SRID=4674;POINT (-38.616703 -3.642054)'))) / (select extract(epoch from '2026-07-22 17:00:23'::timestamp) - extract(epoch from '2026-07-22 17:00:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.616759 -3.641881)', '2026-07-22 17:00:30', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616703 -3.642054)'), GeomFromEWKT('SRID=4674;POINT (-38.616759 -3.641881)'))) / (select extract(epoch from '2026-07-22 17:00:30'::timestamp) - extract(epoch from '2026-07-22 17:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616703 -3.642054)'), GeomFromEWKT('SRID=4674;POINT (-38.616759 -3.641881)'))) / (select extract(epoch from '2026-07-22 17:00:30'::timestamp) - extract(epoch from '2026-07-22 17:00:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.616764 -3.641747)', '2026-07-22 17:00:36', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616759 -3.641881)'), GeomFromEWKT('SRID=4674;POINT (-38.616764 -3.641747)'))) / (select extract(epoch from '2026-07-22 17:00:36'::timestamp) - extract(epoch from '2026-07-22 17:00:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616759 -3.641881)'), GeomFromEWKT('SRID=4674;POINT (-38.616764 -3.641747)'))) / (select extract(epoch from '2026-07-22 17:00:36'::timestamp) - extract(epoch from '2026-07-22 17:00: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'), 47375, 'SRID=4674;POINT (-38.616778 -3.641603)', '2026-07-22 17:00:42', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616764 -3.641747)'), GeomFromEWKT('SRID=4674;POINT (-38.616778 -3.641603)'))) / (select extract(epoch from '2026-07-22 17:00:42'::timestamp) - extract(epoch from '2026-07-22 17:00:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616764 -3.641747)'), GeomFromEWKT('SRID=4674;POINT (-38.616778 -3.641603)'))) / (select extract(epoch from '2026-07-22 17:00:42'::timestamp) - extract(epoch from '2026-07-22 17:00: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'), 47375, 'SRID=4674;POINT (-38.616791 -3.641443)', '2026-07-22 17:00:48', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616778 -3.641603)'), GeomFromEWKT('SRID=4674;POINT (-38.616791 -3.641443)'))) / (select extract(epoch from '2026-07-22 17:00:48'::timestamp) - extract(epoch from '2026-07-22 17:00:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616778 -3.641603)'), GeomFromEWKT('SRID=4674;POINT (-38.616791 -3.641443)'))) / (select extract(epoch from '2026-07-22 17:00:48'::timestamp) - extract(epoch from '2026-07-22 17:00: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'), 47375, 'SRID=4674;POINT (-38.616827 -3.641267)', '2026-07-22 17:00:55', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616791 -3.641443)'), GeomFromEWKT('SRID=4674;POINT (-38.616827 -3.641267)'))) / (select extract(epoch from '2026-07-22 17:00:55'::timestamp) - extract(epoch from '2026-07-22 17:00:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616791 -3.641443)'), GeomFromEWKT('SRID=4674;POINT (-38.616827 -3.641267)'))) / (select extract(epoch from '2026-07-22 17:00:55'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47375, 'SRID=4674;POINT (-38.616863 -3.641124)', '2026-07-22 17:01:01', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616827 -3.641267)'), GeomFromEWKT('SRID=4674;POINT (-38.616863 -3.641124)'))) / (select extract(epoch from '2026-07-22 17:01:01'::timestamp) - extract(epoch from '2026-07-22 17:00:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616827 -3.641267)'), GeomFromEWKT('SRID=4674;POINT (-38.616863 -3.641124)'))) / (select extract(epoch from '2026-07-22 17:01:01'::timestamp) - extract(epoch from '2026-07-22 17:00:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.616908 -3.640981)', '2026-07-22 17:01:07', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616863 -3.641124)'), GeomFromEWKT('SRID=4674;POINT (-38.616908 -3.640981)'))) / (select extract(epoch from '2026-07-22 17:01:07'::timestamp) - extract(epoch from '2026-07-22 17:01:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616863 -3.641124)'), GeomFromEWKT('SRID=4674;POINT (-38.616908 -3.640981)'))) / (select extract(epoch from '2026-07-22 17:01:07'::timestamp) - extract(epoch from '2026-07-22 17:01:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.616954 -3.640864)', '2026-07-22 17:01:12', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616908 -3.640981)'), GeomFromEWKT('SRID=4674;POINT (-38.616954 -3.640864)'))) / (select extract(epoch from '2026-07-22 17:01:12'::timestamp) - extract(epoch from '2026-07-22 17:01:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616908 -3.640981)'), GeomFromEWKT('SRID=4674;POINT (-38.616954 -3.640864)'))) / (select extract(epoch from '2026-07-22 17:01:12'::timestamp) - extract(epoch from '2026-07-22 17:01:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.616986 -3.640696)', '2026-07-22 17:01:19', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616954 -3.640864)'), GeomFromEWKT('SRID=4674;POINT (-38.616986 -3.640696)'))) / (select extract(epoch from '2026-07-22 17:01:19'::timestamp) - extract(epoch from '2026-07-22 17:01:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616954 -3.640864)'), GeomFromEWKT('SRID=4674;POINT (-38.616986 -3.640696)'))) / (select extract(epoch from '2026-07-22 17:01:19'::timestamp) - extract(epoch from '2026-07-22 17:01:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.616988 -3.640528)', '2026-07-22 17:01:26', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616986 -3.640696)'), GeomFromEWKT('SRID=4674;POINT (-38.616988 -3.640528)'))) / (select extract(epoch from '2026-07-22 17:01:26'::timestamp) - extract(epoch from '2026-07-22 17:01:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616986 -3.640696)'), GeomFromEWKT('SRID=4674;POINT (-38.616988 -3.640528)'))) / (select extract(epoch from '2026-07-22 17:01:26'::timestamp) - extract(epoch from '2026-07-22 17:01: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'), 47375, 'SRID=4674;POINT (-38.617005 -3.640364)', '2026-07-22 17:01:33', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616988 -3.640528)'), GeomFromEWKT('SRID=4674;POINT (-38.617005 -3.640364)'))) / (select extract(epoch from '2026-07-22 17:01:33'::timestamp) - extract(epoch from '2026-07-22 17:01:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616988 -3.640528)'), GeomFromEWKT('SRID=4674;POINT (-38.617005 -3.640364)'))) / (select extract(epoch from '2026-07-22 17:01:33'::timestamp) - extract(epoch from '2026-07-22 17:01: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'), 47375, 'SRID=4674;POINT (-38.617029 -3.640229)', '2026-07-22 17:01:39', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617005 -3.640364)'), GeomFromEWKT('SRID=4674;POINT (-38.617029 -3.640229)'))) / (select extract(epoch from '2026-07-22 17:01:39'::timestamp) - extract(epoch from '2026-07-22 17:01:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617005 -3.640364)'), GeomFromEWKT('SRID=4674;POINT (-38.617029 -3.640229)'))) / (select extract(epoch from '2026-07-22 17:01:39'::timestamp) - extract(epoch from '2026-07-22 17:01:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.617064 -3.64007)', '2026-07-22 17:01:46', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617029 -3.640229)'), GeomFromEWKT('SRID=4674;POINT (-38.617064 -3.64007)'))) / (select extract(epoch from '2026-07-22 17:01:46'::timestamp) - extract(epoch from '2026-07-22 17:01:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617029 -3.640229)'), GeomFromEWKT('SRID=4674;POINT (-38.617064 -3.64007)'))) / (select extract(epoch from '2026-07-22 17:01:46'::timestamp) - extract(epoch from '2026-07-22 17:01:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.617084 -3.639913)', '2026-07-22 17:01:53', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617064 -3.64007)'), GeomFromEWKT('SRID=4674;POINT (-38.617084 -3.639913)'))) / (select extract(epoch from '2026-07-22 17:01:53'::timestamp) - extract(epoch from '2026-07-22 17:01:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617064 -3.64007)'), GeomFromEWKT('SRID=4674;POINT (-38.617084 -3.639913)'))) / (select extract(epoch from '2026-07-22 17:01:53'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47375, 'SRID=4674;POINT (-38.617097 -3.639781)', '2026-07-22 17:01:59', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617084 -3.639913)'), GeomFromEWKT('SRID=4674;POINT (-38.617097 -3.639781)'))) / (select extract(epoch from '2026-07-22 17:01:59'::timestamp) - extract(epoch from '2026-07-22 17:01:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617084 -3.639913)'), GeomFromEWKT('SRID=4674;POINT (-38.617097 -3.639781)'))) / (select extract(epoch from '2026-07-22 17:01:59'::timestamp) - extract(epoch from '2026-07-22 17:01:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.617119 -3.639617)', '2026-07-22 17:02:06', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617097 -3.639781)'), GeomFromEWKT('SRID=4674;POINT (-38.617119 -3.639617)'))) / (select extract(epoch from '2026-07-22 17:02:06'::timestamp) - extract(epoch from '2026-07-22 17:01:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617097 -3.639781)'), GeomFromEWKT('SRID=4674;POINT (-38.617119 -3.639617)'))) / (select extract(epoch from '2026-07-22 17:02:06'::timestamp) - extract(epoch from '2026-07-22 17:01:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.617135 -3.639473)', '2026-07-22 17:02:12', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617119 -3.639617)'), GeomFromEWKT('SRID=4674;POINT (-38.617135 -3.639473)'))) / (select extract(epoch from '2026-07-22 17:02:12'::timestamp) - extract(epoch from '2026-07-22 17:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617119 -3.639617)'), GeomFromEWKT('SRID=4674;POINT (-38.617135 -3.639473)'))) / (select extract(epoch from '2026-07-22 17:02:12'::timestamp) - extract(epoch from '2026-07-22 17:02: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'), 47375, 'SRID=4674;POINT (-38.617134 -3.6393)', '2026-07-22 17:02:20', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617135 -3.639473)'), GeomFromEWKT('SRID=4674;POINT (-38.617134 -3.6393)'))) / (select extract(epoch from '2026-07-22 17:02:20'::timestamp) - extract(epoch from '2026-07-22 17:02:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617135 -3.639473)'), GeomFromEWKT('SRID=4674;POINT (-38.617134 -3.6393)'))) / (select extract(epoch from '2026-07-22 17:02:20'::timestamp) - extract(epoch from '2026-07-22 17:02: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'), 47375, 'SRID=4674;POINT (-38.617146 -3.639172)', '2026-07-22 17:02:26', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617134 -3.6393)'), GeomFromEWKT('SRID=4674;POINT (-38.617146 -3.639172)'))) / (select extract(epoch from '2026-07-22 17:02:26'::timestamp) - extract(epoch from '2026-07-22 17:02:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617134 -3.6393)'), GeomFromEWKT('SRID=4674;POINT (-38.617146 -3.639172)'))) / (select extract(epoch from '2026-07-22 17:02:26'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47375, 'SRID=4674;POINT (-38.617171 -3.639064)', '2026-07-22 17:02:31', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617146 -3.639172)'), GeomFromEWKT('SRID=4674;POINT (-38.617171 -3.639064)'))) / (select extract(epoch from '2026-07-22 17:02:31'::timestamp) - extract(epoch from '2026-07-22 17:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617146 -3.639172)'), GeomFromEWKT('SRID=4674;POINT (-38.617171 -3.639064)'))) / (select extract(epoch from '2026-07-22 17:02:31'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47375, 'SRID=4674;POINT (-38.617225 -3.638941)', '2026-07-22 17:02:37', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617171 -3.639064)'), GeomFromEWKT('SRID=4674;POINT (-38.617225 -3.638941)'))) / (select extract(epoch from '2026-07-22 17:02:37'::timestamp) - extract(epoch from '2026-07-22 17:02:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617171 -3.639064)'), GeomFromEWKT('SRID=4674;POINT (-38.617225 -3.638941)'))) / (select extract(epoch from '2026-07-22 17:02:37'::timestamp) - extract(epoch from '2026-07-22 17:02: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'), 47375, 'SRID=4674;POINT (-38.617242 -3.638797)', '2026-07-22 17:02:44', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617225 -3.638941)'), GeomFromEWKT('SRID=4674;POINT (-38.617242 -3.638797)'))) / (select extract(epoch from '2026-07-22 17:02:44'::timestamp) - extract(epoch from '2026-07-22 17:02:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617225 -3.638941)'), GeomFromEWKT('SRID=4674;POINT (-38.617242 -3.638797)'))) / (select extract(epoch from '2026-07-22 17:02:44'::timestamp) - extract(epoch from '2026-07-22 17:02:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.617246 -3.638648)', '2026-07-22 17:02:51', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617242 -3.638797)'), GeomFromEWKT('SRID=4674;POINT (-38.617246 -3.638648)'))) / (select extract(epoch from '2026-07-22 17:02:51'::timestamp) - extract(epoch from '2026-07-22 17:02:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617242 -3.638797)'), GeomFromEWKT('SRID=4674;POINT (-38.617246 -3.638648)'))) / (select extract(epoch from '2026-07-22 17:02:51'::timestamp) - extract(epoch from '2026-07-22 17:02:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.61726 -3.6385)', '2026-07-22 17:02:58', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617246 -3.638648)'), GeomFromEWKT('SRID=4674;POINT (-38.61726 -3.6385)'))) / (select extract(epoch from '2026-07-22 17:02:58'::timestamp) - extract(epoch from '2026-07-22 17:02:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617246 -3.638648)'), GeomFromEWKT('SRID=4674;POINT (-38.61726 -3.6385)'))) / (select extract(epoch from '2026-07-22 17:02:58'::timestamp) - extract(epoch from '2026-07-22 17:02:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.617266 -3.638358)', '2026-07-22 17:03:05', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61726 -3.6385)'), GeomFromEWKT('SRID=4674;POINT (-38.617266 -3.638358)'))) / (select extract(epoch from '2026-07-22 17:03:05'::timestamp) - extract(epoch from '2026-07-22 17:02:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61726 -3.6385)'), GeomFromEWKT('SRID=4674;POINT (-38.617266 -3.638358)'))) / (select extract(epoch from '2026-07-22 17:03:05'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47375, 'SRID=4674;POINT (-38.617262 -3.638257)', '2026-07-22 17:03:10', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617266 -3.638358)'), GeomFromEWKT('SRID=4674;POINT (-38.617262 -3.638257)'))) / (select extract(epoch from '2026-07-22 17:03:10'::timestamp) - extract(epoch from '2026-07-22 17:03:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617266 -3.638358)'), GeomFromEWKT('SRID=4674;POINT (-38.617262 -3.638257)'))) / (select extract(epoch from '2026-07-22 17:03:10'::timestamp) - extract(epoch from '2026-07-22 17:03: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'), 47375, 'SRID=4674;POINT (-38.617264 -3.638149)', '2026-07-22 17:03:15', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617262 -3.638257)'), GeomFromEWKT('SRID=4674;POINT (-38.617264 -3.638149)'))) / (select extract(epoch from '2026-07-22 17:03:15'::timestamp) - extract(epoch from '2026-07-22 17:03:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617262 -3.638257)'), GeomFromEWKT('SRID=4674;POINT (-38.617264 -3.638149)'))) / (select extract(epoch from '2026-07-22 17:03:15'::timestamp) - extract(epoch from '2026-07-22 17:03: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'), 47375, 'SRID=4674;POINT (-38.617266 -3.638064)', '2026-07-22 17:03:19', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617264 -3.638149)'), GeomFromEWKT('SRID=4674;POINT (-38.617266 -3.638064)'))) / (select extract(epoch from '2026-07-22 17:03:19'::timestamp) - extract(epoch from '2026-07-22 17:03:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617264 -3.638149)'), GeomFromEWKT('SRID=4674;POINT (-38.617266 -3.638064)'))) / (select extract(epoch from '2026-07-22 17:03:19'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47375, 'SRID=4674;POINT (-38.617272 -3.638046)', '2026-07-22 17:03:20', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617266 -3.638064)'), GeomFromEWKT('SRID=4674;POINT (-38.617272 -3.638046)'))) / (select extract(epoch from '2026-07-22 17:03:20'::timestamp) - extract(epoch from '2026-07-22 17:03:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617266 -3.638064)'), GeomFromEWKT('SRID=4674;POINT (-38.617272 -3.638046)'))) / (select extract(epoch from '2026-07-22 17:03:20'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47375, 'SRID=4674;POINT (-38.617287 -3.637932)', '2026-07-22 17:03:25', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617272 -3.638046)'), GeomFromEWKT('SRID=4674;POINT (-38.617287 -3.637932)'))) / (select extract(epoch from '2026-07-22 17:03:25'::timestamp) - extract(epoch from '2026-07-22 17:03:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617272 -3.638046)'), GeomFromEWKT('SRID=4674;POINT (-38.617287 -3.637932)'))) / (select extract(epoch from '2026-07-22 17:03:25'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47375, 'SRID=4674;POINT (-38.617303 -3.637825)', '2026-07-22 17:03:30', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617287 -3.637932)'), GeomFromEWKT('SRID=4674;POINT (-38.617303 -3.637825)'))) / (select extract(epoch from '2026-07-22 17:03:30'::timestamp) - extract(epoch from '2026-07-22 17:03:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617287 -3.637932)'), GeomFromEWKT('SRID=4674;POINT (-38.617303 -3.637825)'))) / (select extract(epoch from '2026-07-22 17:03:30'::timestamp) - extract(epoch from '2026-07-22 17:03: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'), 47375, 'SRID=4674;POINT (-38.617313 -3.637681)', '2026-07-22 17:03:37', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617303 -3.637825)'), GeomFromEWKT('SRID=4674;POINT (-38.617313 -3.637681)'))) / (select extract(epoch from '2026-07-22 17:03:37'::timestamp) - extract(epoch from '2026-07-22 17:03:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617303 -3.637825)'), GeomFromEWKT('SRID=4674;POINT (-38.617313 -3.637681)'))) / (select extract(epoch from '2026-07-22 17:03:37'::timestamp) - extract(epoch from '2026-07-22 17:03: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'), 47375, 'SRID=4674;POINT (-38.617306 -3.637527)', '2026-07-22 17:03:44', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617313 -3.637681)'), GeomFromEWKT('SRID=4674;POINT (-38.617306 -3.637527)'))) / (select extract(epoch from '2026-07-22 17:03:44'::timestamp) - extract(epoch from '2026-07-22 17:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617313 -3.637681)'), GeomFromEWKT('SRID=4674;POINT (-38.617306 -3.637527)'))) / (select extract(epoch from '2026-07-22 17:03:44'::timestamp) - extract(epoch from '2026-07-22 17:03: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'), 47375, 'SRID=4674;POINT (-38.617299 -3.637395)', '2026-07-22 17:03:50', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617306 -3.637527)'), GeomFromEWKT('SRID=4674;POINT (-38.617299 -3.637395)'))) / (select extract(epoch from '2026-07-22 17:03:50'::timestamp) - extract(epoch from '2026-07-22 17:03:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617306 -3.637527)'), GeomFromEWKT('SRID=4674;POINT (-38.617299 -3.637395)'))) / (select extract(epoch from '2026-07-22 17:03:50'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47375, 'SRID=4674;POINT (-38.617304 -3.637251)', '2026-07-22 17:03:57', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617299 -3.637395)'), GeomFromEWKT('SRID=4674;POINT (-38.617304 -3.637251)'))) / (select extract(epoch from '2026-07-22 17:03:57'::timestamp) - extract(epoch from '2026-07-22 17:03:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617299 -3.637395)'), GeomFromEWKT('SRID=4674;POINT (-38.617304 -3.637251)'))) / (select extract(epoch from '2026-07-22 17:03:57'::timestamp) - extract(epoch from '2026-07-22 17:03:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.617319 -3.63714)', '2026-07-22 17:04:03', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617304 -3.637251)'), GeomFromEWKT('SRID=4674;POINT (-38.617319 -3.63714)'))) / (select extract(epoch from '2026-07-22 17:04:03'::timestamp) - extract(epoch from '2026-07-22 17:03:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617304 -3.637251)'), GeomFromEWKT('SRID=4674;POINT (-38.617319 -3.63714)'))) / (select extract(epoch from '2026-07-22 17:04:03'::timestamp) - extract(epoch from '2026-07-22 17:03: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'), 47375, 'SRID=4674;POINT (-38.617317 -3.637061)', '2026-07-22 17:04:10', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617319 -3.63714)'), GeomFromEWKT('SRID=4674;POINT (-38.617317 -3.637061)'))) / (select extract(epoch from '2026-07-22 17:04:10'::timestamp) - extract(epoch from '2026-07-22 17:04:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617319 -3.63714)'), GeomFromEWKT('SRID=4674;POINT (-38.617317 -3.637061)'))) / (select extract(epoch from '2026-07-22 17:04:10'::timestamp) - extract(epoch from '2026-07-22 17:04: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'), 47375, 'SRID=4674;POINT (-38.617325 -3.637027)', '2026-07-22 17:04:16', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617317 -3.637061)'), GeomFromEWKT('SRID=4674;POINT (-38.617325 -3.637027)'))) / (select extract(epoch from '2026-07-22 17:04:16'::timestamp) - extract(epoch from '2026-07-22 17:04:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617317 -3.637061)'), GeomFromEWKT('SRID=4674;POINT (-38.617325 -3.637027)'))) / (select extract(epoch from '2026-07-22 17:04:16'::timestamp) - extract(epoch from '2026-07-22 17:04:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.61735 -3.636983)', '2026-07-22 17:04:25', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617325 -3.637027)'), GeomFromEWKT('SRID=4674;POINT (-38.61735 -3.636983)'))) / (select extract(epoch from '2026-07-22 17:04:25'::timestamp) - extract(epoch from '2026-07-22 17:04:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617325 -3.637027)'), GeomFromEWKT('SRID=4674;POINT (-38.61735 -3.636983)'))) / (select extract(epoch from '2026-07-22 17:04:25'::timestamp) - extract(epoch from '2026-07-22 17:04:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.617374 -3.636965)', '2026-07-22 17:04:31', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61735 -3.636983)'), GeomFromEWKT('SRID=4674;POINT (-38.617374 -3.636965)'))) / (select extract(epoch from '2026-07-22 17:04:31'::timestamp) - extract(epoch from '2026-07-22 17:04:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61735 -3.636983)'), GeomFromEWKT('SRID=4674;POINT (-38.617374 -3.636965)'))) / (select extract(epoch from '2026-07-22 17:04:31'::timestamp) - extract(epoch from '2026-07-22 17:04: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'), 47375, 'SRID=4674;POINT (-38.617389 -3.636959)', '2026-07-22 17:04:37', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617374 -3.636965)'), GeomFromEWKT('SRID=4674;POINT (-38.617389 -3.636959)'))) / (select extract(epoch from '2026-07-22 17:04:37'::timestamp) - extract(epoch from '2026-07-22 17:04:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617374 -3.636965)'), GeomFromEWKT('SRID=4674;POINT (-38.617389 -3.636959)'))) / (select extract(epoch from '2026-07-22 17:04:37'::timestamp) - extract(epoch from '2026-07-22 17:04: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'), 47375, 'SRID=4674;POINT (-38.617407 -3.636952)', '2026-07-22 17:04:41', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617389 -3.636959)'), GeomFromEWKT('SRID=4674;POINT (-38.617407 -3.636952)'))) / (select extract(epoch from '2026-07-22 17:04:41'::timestamp) - extract(epoch from '2026-07-22 17:04:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617389 -3.636959)'), GeomFromEWKT('SRID=4674;POINT (-38.617407 -3.636952)'))) / (select extract(epoch from '2026-07-22 17:04:41'::timestamp) - extract(epoch from '2026-07-22 17:04:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.617447 -3.636954)', '2026-07-22 17:04:48', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617407 -3.636952)'), GeomFromEWKT('SRID=4674;POINT (-38.617447 -3.636954)'))) / (select extract(epoch from '2026-07-22 17:04:48'::timestamp) - extract(epoch from '2026-07-22 17:04:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617407 -3.636952)'), GeomFromEWKT('SRID=4674;POINT (-38.617447 -3.636954)'))) / (select extract(epoch from '2026-07-22 17:04:48'::timestamp) - extract(epoch from '2026-07-22 17:04: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'), 47375, 'SRID=4674;POINT (-38.617471 -3.63695)', '2026-07-22 17:04:54', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617447 -3.636954)'), GeomFromEWKT('SRID=4674;POINT (-38.617471 -3.63695)'))) / (select extract(epoch from '2026-07-22 17:04:54'::timestamp) - extract(epoch from '2026-07-22 17:04:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617447 -3.636954)'), GeomFromEWKT('SRID=4674;POINT (-38.617471 -3.63695)'))) / (select extract(epoch from '2026-07-22 17:04:54'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47375, 'SRID=4674;POINT (-38.617506 -3.636948)', '2026-07-22 17:05:00', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617471 -3.63695)'), GeomFromEWKT('SRID=4674;POINT (-38.617506 -3.636948)'))) / (select extract(epoch from '2026-07-22 17:05:00'::timestamp) - extract(epoch from '2026-07-22 17:04:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617471 -3.63695)'), GeomFromEWKT('SRID=4674;POINT (-38.617506 -3.636948)'))) / (select extract(epoch from '2026-07-22 17:05:00'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47375, 'SRID=4674;POINT (-38.617553 -3.636953)', '2026-07-22 17:05:07', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617506 -3.636948)'), GeomFromEWKT('SRID=4674;POINT (-38.617553 -3.636953)'))) / (select extract(epoch from '2026-07-22 17:05:07'::timestamp) - extract(epoch from '2026-07-22 17:05:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617506 -3.636948)'), GeomFromEWKT('SRID=4674;POINT (-38.617553 -3.636953)'))) / (select extract(epoch from '2026-07-22 17:05:07'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47375, 'SRID=4674;POINT (-38.61758 -3.636951)', '2026-07-22 17:05:13', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617553 -3.636953)'), GeomFromEWKT('SRID=4674;POINT (-38.61758 -3.636951)'))) / (select extract(epoch from '2026-07-22 17:05:13'::timestamp) - extract(epoch from '2026-07-22 17:05:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617553 -3.636953)'), GeomFromEWKT('SRID=4674;POINT (-38.61758 -3.636951)'))) / (select extract(epoch from '2026-07-22 17:05:13'::timestamp) - extract(epoch from '2026-07-22 17:05: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'), 47375, 'SRID=4674;POINT (-38.617607 -3.636947)', '2026-07-22 17:05:19', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61758 -3.636951)'), GeomFromEWKT('SRID=4674;POINT (-38.617607 -3.636947)'))) / (select extract(epoch from '2026-07-22 17:05:19'::timestamp) - extract(epoch from '2026-07-22 17:05:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61758 -3.636951)'), GeomFromEWKT('SRID=4674;POINT (-38.617607 -3.636947)'))) / (select extract(epoch from '2026-07-22 17:05:19'::timestamp) - extract(epoch from '2026-07-22 17:05:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.617653 -3.636941)', '2026-07-22 17:05:27', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617607 -3.636947)'), GeomFromEWKT('SRID=4674;POINT (-38.617653 -3.636941)'))) / (select extract(epoch from '2026-07-22 17:05:27'::timestamp) - extract(epoch from '2026-07-22 17:05:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617607 -3.636947)'), GeomFromEWKT('SRID=4674;POINT (-38.617653 -3.636941)'))) / (select extract(epoch from '2026-07-22 17:05:27'::timestamp) - extract(epoch from '2026-07-22 17:05: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'), 47375, 'SRID=4674;POINT (-38.617678 -3.636934)', '2026-07-22 17:05:33', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617653 -3.636941)'), GeomFromEWKT('SRID=4674;POINT (-38.617678 -3.636934)'))) / (select extract(epoch from '2026-07-22 17:05:33'::timestamp) - extract(epoch from '2026-07-22 17:05:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617653 -3.636941)'), GeomFromEWKT('SRID=4674;POINT (-38.617678 -3.636934)'))) / (select extract(epoch from '2026-07-22 17:05:33'::timestamp) - extract(epoch from '2026-07-22 17:05: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'), 47375, 'SRID=4674;POINT (-38.617709 -3.636932)', '2026-07-22 17:05:39', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617678 -3.636934)'), GeomFromEWKT('SRID=4674;POINT (-38.617709 -3.636932)'))) / (select extract(epoch from '2026-07-22 17:05:39'::timestamp) - extract(epoch from '2026-07-22 17:05:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617678 -3.636934)'), GeomFromEWKT('SRID=4674;POINT (-38.617709 -3.636932)'))) / (select extract(epoch from '2026-07-22 17:05:39'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47375, 'SRID=4674;POINT (-38.617752 -3.636921)', '2026-07-22 17:05:47', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617709 -3.636932)'), GeomFromEWKT('SRID=4674;POINT (-38.617752 -3.636921)'))) / (select extract(epoch from '2026-07-22 17:05:47'::timestamp) - extract(epoch from '2026-07-22 17:05:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617709 -3.636932)'), GeomFromEWKT('SRID=4674;POINT (-38.617752 -3.636921)'))) / (select extract(epoch from '2026-07-22 17:05:47'::timestamp) - extract(epoch from '2026-07-22 17:05:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.617789 -3.636903)', '2026-07-22 17:05:55', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617752 -3.636921)'), GeomFromEWKT('SRID=4674;POINT (-38.617789 -3.636903)'))) / (select extract(epoch from '2026-07-22 17:05:55'::timestamp) - extract(epoch from '2026-07-22 17:05:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617752 -3.636921)'), GeomFromEWKT('SRID=4674;POINT (-38.617789 -3.636903)'))) / (select extract(epoch from '2026-07-22 17:05:55'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47375, 'SRID=4674;POINT (-38.617838 -3.636885)', '2026-07-22 17:06:06', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617789 -3.636903)'), GeomFromEWKT('SRID=4674;POINT (-38.617838 -3.636885)'))) / (select extract(epoch from '2026-07-22 17:06:06'::timestamp) - extract(epoch from '2026-07-22 17:05:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617789 -3.636903)'), GeomFromEWKT('SRID=4674;POINT (-38.617838 -3.636885)'))) / (select extract(epoch from '2026-07-22 17:06:06'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47375, 'SRID=4674;POINT (-38.617863 -3.636873)', '2026-07-22 17:06:13', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617838 -3.636885)'), GeomFromEWKT('SRID=4674;POINT (-38.617863 -3.636873)'))) / (select extract(epoch from '2026-07-22 17:06:13'::timestamp) - extract(epoch from '2026-07-22 17:06:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617838 -3.636885)'), GeomFromEWKT('SRID=4674;POINT (-38.617863 -3.636873)'))) / (select extract(epoch from '2026-07-22 17:06:13'::timestamp) - extract(epoch from '2026-07-22 17:06:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.617892 -3.636858)', '2026-07-22 17:06:21', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617863 -3.636873)'), GeomFromEWKT('SRID=4674;POINT (-38.617892 -3.636858)'))) / (select extract(epoch from '2026-07-22 17:06:21'::timestamp) - extract(epoch from '2026-07-22 17:06:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617863 -3.636873)'), GeomFromEWKT('SRID=4674;POINT (-38.617892 -3.636858)'))) / (select extract(epoch from '2026-07-22 17:06:21'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47375, 'SRID=4674;POINT (-38.617925 -3.636849)', '2026-07-22 17:06:28', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617892 -3.636858)'), GeomFromEWKT('SRID=4674;POINT (-38.617925 -3.636849)'))) / (select extract(epoch from '2026-07-22 17:06:28'::timestamp) - extract(epoch from '2026-07-22 17:06:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617892 -3.636858)'), GeomFromEWKT('SRID=4674;POINT (-38.617925 -3.636849)'))) / (select extract(epoch from '2026-07-22 17:06:28'::timestamp) - extract(epoch from '2026-07-22 17:06:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.617965 -3.636846)', '2026-07-22 17:06:36', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617925 -3.636849)'), GeomFromEWKT('SRID=4674;POINT (-38.617965 -3.636846)'))) / (select extract(epoch from '2026-07-22 17:06:36'::timestamp) - extract(epoch from '2026-07-22 17:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617925 -3.636849)'), GeomFromEWKT('SRID=4674;POINT (-38.617965 -3.636846)'))) / (select extract(epoch from '2026-07-22 17:06:36'::timestamp) - extract(epoch from '2026-07-22 17:06: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'), 47375, 'SRID=4674;POINT (-38.618002 -3.636819)', '2026-07-22 17:06:44', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617965 -3.636846)'), GeomFromEWKT('SRID=4674;POINT (-38.618002 -3.636819)'))) / (select extract(epoch from '2026-07-22 17:06:44'::timestamp) - extract(epoch from '2026-07-22 17:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617965 -3.636846)'), GeomFromEWKT('SRID=4674;POINT (-38.618002 -3.636819)'))) / (select extract(epoch from '2026-07-22 17:06:44'::timestamp) - extract(epoch from '2026-07-22 17:06:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.618015 -3.636707)', '2026-07-22 17:06:53', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618002 -3.636819)'), GeomFromEWKT('SRID=4674;POINT (-38.618015 -3.636707)'))) / (select extract(epoch from '2026-07-22 17:06:53'::timestamp) - extract(epoch from '2026-07-22 17:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618002 -3.636819)'), GeomFromEWKT('SRID=4674;POINT (-38.618015 -3.636707)'))) / (select extract(epoch from '2026-07-22 17:06:53'::timestamp) - extract(epoch from '2026-07-22 17:06:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.617996 -3.636597)', '2026-07-22 17:06:59', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618015 -3.636707)'), GeomFromEWKT('SRID=4674;POINT (-38.617996 -3.636597)'))) / (select extract(epoch from '2026-07-22 17:06:59'::timestamp) - extract(epoch from '2026-07-22 17:06:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618015 -3.636707)'), GeomFromEWKT('SRID=4674;POINT (-38.617996 -3.636597)'))) / (select extract(epoch from '2026-07-22 17:06:59'::timestamp) - extract(epoch from '2026-07-22 17:06: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'), 47375, 'SRID=4674;POINT (-38.617987 -3.636494)', '2026-07-22 17:07:05', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617996 -3.636597)'), GeomFromEWKT('SRID=4674;POINT (-38.617987 -3.636494)'))) / (select extract(epoch from '2026-07-22 17:07:05'::timestamp) - extract(epoch from '2026-07-22 17:06:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617996 -3.636597)'), GeomFromEWKT('SRID=4674;POINT (-38.617987 -3.636494)'))) / (select extract(epoch from '2026-07-22 17:07:05'::timestamp) - extract(epoch from '2026-07-22 17:06: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'), 47375, 'SRID=4674;POINT (-38.617992 -3.636424)', '2026-07-22 17:07:09', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617987 -3.636494)'), GeomFromEWKT('SRID=4674;POINT (-38.617992 -3.636424)'))) / (select extract(epoch from '2026-07-22 17:07:09'::timestamp) - extract(epoch from '2026-07-22 17:07:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617987 -3.636494)'), GeomFromEWKT('SRID=4674;POINT (-38.617992 -3.636424)'))) / (select extract(epoch from '2026-07-22 17:07:09'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47375, 'SRID=4674;POINT (-38.617998 -3.636405)', '2026-07-22 17:07:10', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617992 -3.636424)'), GeomFromEWKT('SRID=4674;POINT (-38.617998 -3.636405)'))) / (select extract(epoch from '2026-07-22 17:07:10'::timestamp) - extract(epoch from '2026-07-22 17:07:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617992 -3.636424)'), GeomFromEWKT('SRID=4674;POINT (-38.617998 -3.636405)'))) / (select extract(epoch from '2026-07-22 17:07:10'::timestamp) - extract(epoch from '2026-07-22 17:07: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'), 47375, 'SRID=4674;POINT (-38.618034 -3.636282)', '2026-07-22 17:07:17', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617998 -3.636405)'), GeomFromEWKT('SRID=4674;POINT (-38.618034 -3.636282)'))) / (select extract(epoch from '2026-07-22 17:07:17'::timestamp) - extract(epoch from '2026-07-22 17:07:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617998 -3.636405)'), GeomFromEWKT('SRID=4674;POINT (-38.618034 -3.636282)'))) / (select extract(epoch from '2026-07-22 17:07:17'::timestamp) - extract(epoch from '2026-07-22 17:07: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'), 47375, 'SRID=4674;POINT (-38.618052 -3.63614)', '2026-07-22 17:07:25', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618034 -3.636282)'), GeomFromEWKT('SRID=4674;POINT (-38.618052 -3.63614)'))) / (select extract(epoch from '2026-07-22 17:07:25'::timestamp) - extract(epoch from '2026-07-22 17:07:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618034 -3.636282)'), GeomFromEWKT('SRID=4674;POINT (-38.618052 -3.63614)'))) / (select extract(epoch from '2026-07-22 17:07:25'::timestamp) - extract(epoch from '2026-07-22 17:07:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.618063 -3.636111)', '2026-07-22 17:07:27', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618052 -3.63614)'), GeomFromEWKT('SRID=4674;POINT (-38.618063 -3.636111)'))) / (select extract(epoch from '2026-07-22 17:07:27'::timestamp) - extract(epoch from '2026-07-22 17:07:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618052 -3.63614)'), GeomFromEWKT('SRID=4674;POINT (-38.618063 -3.636111)'))) / (select extract(epoch from '2026-07-22 17:07:27'::timestamp) - extract(epoch from '2026-07-22 17:07: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'), 47375, 'SRID=4674;POINT (-38.618072 -3.636076)', '2026-07-22 17:07:30', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618063 -3.636111)'), GeomFromEWKT('SRID=4674;POINT (-38.618072 -3.636076)'))) / (select extract(epoch from '2026-07-22 17:07:30'::timestamp) - extract(epoch from '2026-07-22 17:07:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618063 -3.636111)'), GeomFromEWKT('SRID=4674;POINT (-38.618072 -3.636076)'))) / (select extract(epoch from '2026-07-22 17:07:30'::timestamp) - extract(epoch from '2026-07-22 17:07: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'), 47375, 'SRID=4674;POINT (-38.618095 -3.63603)', '2026-07-22 17:07:35', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618072 -3.636076)'), GeomFromEWKT('SRID=4674;POINT (-38.618095 -3.63603)'))) / (select extract(epoch from '2026-07-22 17:07:35'::timestamp) - extract(epoch from '2026-07-22 17:07:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618072 -3.636076)'), GeomFromEWKT('SRID=4674;POINT (-38.618095 -3.63603)'))) / (select extract(epoch from '2026-07-22 17:07:35'::timestamp) - extract(epoch from '2026-07-22 17:07: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'), 47375, 'SRID=4674;POINT (-38.618114 -3.635994)', '2026-07-22 17:07:40', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618095 -3.63603)'), GeomFromEWKT('SRID=4674;POINT (-38.618114 -3.635994)'))) / (select extract(epoch from '2026-07-22 17:07:40'::timestamp) - extract(epoch from '2026-07-22 17:07:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618095 -3.63603)'), GeomFromEWKT('SRID=4674;POINT (-38.618114 -3.635994)'))) / (select extract(epoch from '2026-07-22 17:07:40'::timestamp) - extract(epoch from '2026-07-22 17:07:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.618122 -3.635992)', '2026-07-22 17:07:41', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618114 -3.635994)'), GeomFromEWKT('SRID=4674;POINT (-38.618122 -3.635992)'))) / (select extract(epoch from '2026-07-22 17:07:41'::timestamp) - extract(epoch from '2026-07-22 17:07:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618114 -3.635994)'), GeomFromEWKT('SRID=4674;POINT (-38.618122 -3.635992)'))) / (select extract(epoch from '2026-07-22 17:07:41'::timestamp) - extract(epoch from '2026-07-22 17:07: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'), 47375, 'SRID=4674;POINT (-38.618142 -3.63597)', '2026-07-22 17:07:46', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618122 -3.635992)'), GeomFromEWKT('SRID=4674;POINT (-38.618142 -3.63597)'))) / (select extract(epoch from '2026-07-22 17:07:46'::timestamp) - extract(epoch from '2026-07-22 17:07:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618122 -3.635992)'), GeomFromEWKT('SRID=4674;POINT (-38.618142 -3.63597)'))) / (select extract(epoch from '2026-07-22 17:07:46'::timestamp) - extract(epoch from '2026-07-22 17:07: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'), 47375, 'SRID=4674;POINT (-38.618172 -3.635951)', '2026-07-22 17:07:53', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618142 -3.63597)'), GeomFromEWKT('SRID=4674;POINT (-38.618172 -3.635951)'))) / (select extract(epoch from '2026-07-22 17:07:53'::timestamp) - extract(epoch from '2026-07-22 17:07:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618142 -3.63597)'), GeomFromEWKT('SRID=4674;POINT (-38.618172 -3.635951)'))) / (select extract(epoch from '2026-07-22 17:07:53'::timestamp) - extract(epoch from '2026-07-22 17:07: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'), 47375, 'SRID=4674;POINT (-38.618204 -3.635931)', '2026-07-22 17:08:01', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618172 -3.635951)'), GeomFromEWKT('SRID=4674;POINT (-38.618204 -3.635931)'))) / (select extract(epoch from '2026-07-22 17:08:01'::timestamp) - extract(epoch from '2026-07-22 17:07:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618172 -3.635951)'), GeomFromEWKT('SRID=4674;POINT (-38.618204 -3.635931)'))) / (select extract(epoch from '2026-07-22 17:08:01'::timestamp) - extract(epoch from '2026-07-22 17:07: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'), 47375, 'SRID=4674;POINT (-38.618234 -3.63593)', '2026-07-22 17:08:08', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618204 -3.635931)'), GeomFromEWKT('SRID=4674;POINT (-38.618234 -3.63593)'))) / (select extract(epoch from '2026-07-22 17:08:08'::timestamp) - extract(epoch from '2026-07-22 17:08:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618204 -3.635931)'), GeomFromEWKT('SRID=4674;POINT (-38.618234 -3.63593)'))) / (select extract(epoch from '2026-07-22 17:08:08'::timestamp) - extract(epoch from '2026-07-22 17:08: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'), 47375, 'SRID=4674;POINT (-38.618271 -3.635926)', '2026-07-22 17:08:16', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618234 -3.63593)'), GeomFromEWKT('SRID=4674;POINT (-38.618271 -3.635926)'))) / (select extract(epoch from '2026-07-22 17:08:16'::timestamp) - extract(epoch from '2026-07-22 17:08:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618234 -3.63593)'), GeomFromEWKT('SRID=4674;POINT (-38.618271 -3.635926)'))) / (select extract(epoch from '2026-07-22 17:08:16'::timestamp) - extract(epoch from '2026-07-22 17:08: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'), 47375, 'SRID=4674;POINT (-38.618286 -3.635923)', '2026-07-22 17:08:18', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618271 -3.635926)'), GeomFromEWKT('SRID=4674;POINT (-38.618286 -3.635923)'))) / (select extract(epoch from '2026-07-22 17:08:18'::timestamp) - extract(epoch from '2026-07-22 17:08:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618271 -3.635926)'), GeomFromEWKT('SRID=4674;POINT (-38.618286 -3.635923)'))) / (select extract(epoch from '2026-07-22 17:08:18'::timestamp) - extract(epoch from '2026-07-22 17:08:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.618294 -3.635922)', '2026-07-22 17:08:20', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618286 -3.635923)'), GeomFromEWKT('SRID=4674;POINT (-38.618294 -3.635922)'))) / (select extract(epoch from '2026-07-22 17:08:20'::timestamp) - extract(epoch from '2026-07-22 17:08:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618286 -3.635923)'), GeomFromEWKT('SRID=4674;POINT (-38.618294 -3.635922)'))) / (select extract(epoch from '2026-07-22 17:08:20'::timestamp) - extract(epoch from '2026-07-22 17:08: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'), 47375, 'SRID=4674;POINT (-38.618327 -3.635908)', '2026-07-22 17:08:26', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618294 -3.635922)'), GeomFromEWKT('SRID=4674;POINT (-38.618327 -3.635908)'))) / (select extract(epoch from '2026-07-22 17:08:26'::timestamp) - extract(epoch from '2026-07-22 17:08:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618294 -3.635922)'), GeomFromEWKT('SRID=4674;POINT (-38.618327 -3.635908)'))) / (select extract(epoch from '2026-07-22 17:08:26'::timestamp) - extract(epoch from '2026-07-22 17:08: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'), 47375, 'SRID=4674;POINT (-38.61836 -3.63589)', '2026-07-22 17:08:32', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618327 -3.635908)'), GeomFromEWKT('SRID=4674;POINT (-38.61836 -3.63589)'))) / (select extract(epoch from '2026-07-22 17:08:32'::timestamp) - extract(epoch from '2026-07-22 17:08:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618327 -3.635908)'), GeomFromEWKT('SRID=4674;POINT (-38.61836 -3.63589)'))) / (select extract(epoch from '2026-07-22 17:08:32'::timestamp) - extract(epoch from '2026-07-22 17:08:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.618398 -3.635865)', '2026-07-22 17:08:41', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61836 -3.63589)'), GeomFromEWKT('SRID=4674;POINT (-38.618398 -3.635865)'))) / (select extract(epoch from '2026-07-22 17:08:41'::timestamp) - extract(epoch from '2026-07-22 17:08:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61836 -3.63589)'), GeomFromEWKT('SRID=4674;POINT (-38.618398 -3.635865)'))) / (select extract(epoch from '2026-07-22 17:08:41'::timestamp) - extract(epoch from '2026-07-22 17:08: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'), 47375, 'SRID=4674;POINT (-38.618444 -3.635852)', '2026-07-22 17:08:50', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618398 -3.635865)'), GeomFromEWKT('SRID=4674;POINT (-38.618444 -3.635852)'))) / (select extract(epoch from '2026-07-22 17:08:50'::timestamp) - extract(epoch from '2026-07-22 17:08:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618398 -3.635865)'), GeomFromEWKT('SRID=4674;POINT (-38.618444 -3.635852)'))) / (select extract(epoch from '2026-07-22 17:08:50'::timestamp) - extract(epoch from '2026-07-22 17:08: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'), 47375, 'SRID=4674;POINT (-38.618481 -3.635843)', '2026-07-22 17:08:57', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618444 -3.635852)'), GeomFromEWKT('SRID=4674;POINT (-38.618481 -3.635843)'))) / (select extract(epoch from '2026-07-22 17:08:57'::timestamp) - extract(epoch from '2026-07-22 17:08:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618444 -3.635852)'), GeomFromEWKT('SRID=4674;POINT (-38.618481 -3.635843)'))) / (select extract(epoch from '2026-07-22 17:08:57'::timestamp) - extract(epoch from '2026-07-22 17:08: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'), 47375, 'SRID=4674;POINT (-38.618507 -3.635844)', '2026-07-22 17:09:03', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618481 -3.635843)'), GeomFromEWKT('SRID=4674;POINT (-38.618507 -3.635844)'))) / (select extract(epoch from '2026-07-22 17:09:03'::timestamp) - extract(epoch from '2026-07-22 17:08:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618481 -3.635843)'), GeomFromEWKT('SRID=4674;POINT (-38.618507 -3.635844)'))) / (select extract(epoch from '2026-07-22 17:09:03'::timestamp) - extract(epoch from '2026-07-22 17:08:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.618543 -3.635845)', '2026-07-22 17:09:11', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618507 -3.635844)'), GeomFromEWKT('SRID=4674;POINT (-38.618543 -3.635845)'))) / (select extract(epoch from '2026-07-22 17:09:11'::timestamp) - extract(epoch from '2026-07-22 17:09:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618507 -3.635844)'), GeomFromEWKT('SRID=4674;POINT (-38.618543 -3.635845)'))) / (select extract(epoch from '2026-07-22 17:09:11'::timestamp) - extract(epoch from '2026-07-22 17:09:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.618568 -3.63584)', '2026-07-22 17:09:18', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618543 -3.635845)'), GeomFromEWKT('SRID=4674;POINT (-38.618568 -3.63584)'))) / (select extract(epoch from '2026-07-22 17:09:18'::timestamp) - extract(epoch from '2026-07-22 17:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618543 -3.635845)'), GeomFromEWKT('SRID=4674;POINT (-38.618568 -3.63584)'))) / (select extract(epoch from '2026-07-22 17:09:18'::timestamp) - extract(epoch from '2026-07-22 17:09: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'), 47375, 'SRID=4674;POINT (-38.618608 -3.63583)', '2026-07-22 17:09:28', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618568 -3.63584)'), GeomFromEWKT('SRID=4674;POINT (-38.618608 -3.63583)'))) / (select extract(epoch from '2026-07-22 17:09:28'::timestamp) - extract(epoch from '2026-07-22 17:09:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618568 -3.63584)'), GeomFromEWKT('SRID=4674;POINT (-38.618608 -3.63583)'))) / (select extract(epoch from '2026-07-22 17:09:28'::timestamp) - extract(epoch from '2026-07-22 17:09: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'), 47375, 'SRID=4674;POINT (-38.618635 -3.635825)', '2026-07-22 17:09:35', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618608 -3.63583)'), GeomFromEWKT('SRID=4674;POINT (-38.618635 -3.635825)'))) / (select extract(epoch from '2026-07-22 17:09:35'::timestamp) - extract(epoch from '2026-07-22 17:09:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618608 -3.63583)'), GeomFromEWKT('SRID=4674;POINT (-38.618635 -3.635825)'))) / (select extract(epoch from '2026-07-22 17:09:35'::timestamp) - extract(epoch from '2026-07-22 17:09:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.618667 -3.635809)', '2026-07-22 17:09:43', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618635 -3.635825)'), GeomFromEWKT('SRID=4674;POINT (-38.618667 -3.635809)'))) / (select extract(epoch from '2026-07-22 17:09:43'::timestamp) - extract(epoch from '2026-07-22 17:09:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618635 -3.635825)'), GeomFromEWKT('SRID=4674;POINT (-38.618667 -3.635809)'))) / (select extract(epoch from '2026-07-22 17:09:43'::timestamp) - extract(epoch from '2026-07-22 17:09: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'), 47375, 'SRID=4674;POINT (-38.618712 -3.635792)', '2026-07-22 17:09:51', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618667 -3.635809)'), GeomFromEWKT('SRID=4674;POINT (-38.618712 -3.635792)'))) / (select extract(epoch from '2026-07-22 17:09:51'::timestamp) - extract(epoch from '2026-07-22 17:09:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618667 -3.635809)'), GeomFromEWKT('SRID=4674;POINT (-38.618712 -3.635792)'))) / (select extract(epoch from '2026-07-22 17:09:51'::timestamp) - extract(epoch from '2026-07-22 17:09: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'), 47375, 'SRID=4674;POINT (-38.618717 -3.635788)', '2026-07-22 17:09:52', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618712 -3.635792)'), GeomFromEWKT('SRID=4674;POINT (-38.618717 -3.635788)'))) / (select extract(epoch from '2026-07-22 17:09:52'::timestamp) - extract(epoch from '2026-07-22 17:09:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618712 -3.635792)'), GeomFromEWKT('SRID=4674;POINT (-38.618717 -3.635788)'))) / (select extract(epoch from '2026-07-22 17:09:52'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47375, 'SRID=4674;POINT (-38.618742 -3.635773)', '2026-07-22 17:09:58', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618717 -3.635788)'), GeomFromEWKT('SRID=4674;POINT (-38.618742 -3.635773)'))) / (select extract(epoch from '2026-07-22 17:09:58'::timestamp) - extract(epoch from '2026-07-22 17:09:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618717 -3.635788)'), GeomFromEWKT('SRID=4674;POINT (-38.618742 -3.635773)'))) / (select extract(epoch from '2026-07-22 17:09:58'::timestamp) - extract(epoch from '2026-07-22 17:09:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.618788 -3.635759)', '2026-07-22 17:10:06', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618742 -3.635773)'), GeomFromEWKT('SRID=4674;POINT (-38.618788 -3.635759)'))) / (select extract(epoch from '2026-07-22 17:10:06'::timestamp) - extract(epoch from '2026-07-22 17:09:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618742 -3.635773)'), GeomFromEWKT('SRID=4674;POINT (-38.618788 -3.635759)'))) / (select extract(epoch from '2026-07-22 17:10:06'::timestamp) - extract(epoch from '2026-07-22 17:09:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.618815 -3.635756)', '2026-07-22 17:10:12', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618788 -3.635759)'), GeomFromEWKT('SRID=4674;POINT (-38.618815 -3.635756)'))) / (select extract(epoch from '2026-07-22 17:10:12'::timestamp) - extract(epoch from '2026-07-22 17:10:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618788 -3.635759)'), GeomFromEWKT('SRID=4674;POINT (-38.618815 -3.635756)'))) / (select extract(epoch from '2026-07-22 17:10:12'::timestamp) - extract(epoch from '2026-07-22 17:10:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.618848 -3.635749)', '2026-07-22 17:10:20', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618815 -3.635756)'), GeomFromEWKT('SRID=4674;POINT (-38.618848 -3.635749)'))) / (select extract(epoch from '2026-07-22 17:10:20'::timestamp) - extract(epoch from '2026-07-22 17:10:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618815 -3.635756)'), GeomFromEWKT('SRID=4674;POINT (-38.618848 -3.635749)'))) / (select extract(epoch from '2026-07-22 17:10:20'::timestamp) - extract(epoch from '2026-07-22 17:10:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.618889 -3.635743)', '2026-07-22 17:10:28', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618848 -3.635749)'), GeomFromEWKT('SRID=4674;POINT (-38.618889 -3.635743)'))) / (select extract(epoch from '2026-07-22 17:10:28'::timestamp) - extract(epoch from '2026-07-22 17:10:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618848 -3.635749)'), GeomFromEWKT('SRID=4674;POINT (-38.618889 -3.635743)'))) / (select extract(epoch from '2026-07-22 17:10:28'::timestamp) - extract(epoch from '2026-07-22 17:10: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'), 47375, 'SRID=4674;POINT (-38.618935 -3.635743)', '2026-07-22 17:10:35', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618889 -3.635743)'), GeomFromEWKT('SRID=4674;POINT (-38.618935 -3.635743)'))) / (select extract(epoch from '2026-07-22 17:10:35'::timestamp) - extract(epoch from '2026-07-22 17:10:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618889 -3.635743)'), GeomFromEWKT('SRID=4674;POINT (-38.618935 -3.635743)'))) / (select extract(epoch from '2026-07-22 17:10:35'::timestamp) - extract(epoch from '2026-07-22 17:10:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.618954 -3.635734)', '2026-07-22 17:10:40', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618935 -3.635743)'), GeomFromEWKT('SRID=4674;POINT (-38.618954 -3.635734)'))) / (select extract(epoch from '2026-07-22 17:10:40'::timestamp) - extract(epoch from '2026-07-22 17:10:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618935 -3.635743)'), GeomFromEWKT('SRID=4674;POINT (-38.618954 -3.635734)'))) / (select extract(epoch from '2026-07-22 17:10:40'::timestamp) - extract(epoch from '2026-07-22 17:10: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'), 47375, 'SRID=4674;POINT (-38.618989 -3.635713)', '2026-07-22 17:10:47', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618954 -3.635734)'), GeomFromEWKT('SRID=4674;POINT (-38.618989 -3.635713)'))) / (select extract(epoch from '2026-07-22 17:10:47'::timestamp) - extract(epoch from '2026-07-22 17:10:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618954 -3.635734)'), GeomFromEWKT('SRID=4674;POINT (-38.618989 -3.635713)'))) / (select extract(epoch from '2026-07-22 17:10:47'::timestamp) - extract(epoch from '2026-07-22 17:10:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.619016 -3.635704)', '2026-07-22 17:10:52', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618989 -3.635713)'), GeomFromEWKT('SRID=4674;POINT (-38.619016 -3.635704)'))) / (select extract(epoch from '2026-07-22 17:10:52'::timestamp) - extract(epoch from '2026-07-22 17:10:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618989 -3.635713)'), GeomFromEWKT('SRID=4674;POINT (-38.619016 -3.635704)'))) / (select extract(epoch from '2026-07-22 17:10:52'::timestamp) - extract(epoch from '2026-07-22 17:10:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.619021 -3.635704)', '2026-07-22 17:10:53', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619016 -3.635704)'), GeomFromEWKT('SRID=4674;POINT (-38.619021 -3.635704)'))) / (select extract(epoch from '2026-07-22 17:10:53'::timestamp) - extract(epoch from '2026-07-22 17:10:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619016 -3.635704)'), GeomFromEWKT('SRID=4674;POINT (-38.619021 -3.635704)'))) / (select extract(epoch from '2026-07-22 17:10:53'::timestamp) - extract(epoch from '2026-07-22 17:10: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'), 47375, 'SRID=4674;POINT (-38.619063 -3.635692)', '2026-07-22 17:11:02', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619021 -3.635704)'), GeomFromEWKT('SRID=4674;POINT (-38.619063 -3.635692)'))) / (select extract(epoch from '2026-07-22 17:11:02'::timestamp) - extract(epoch from '2026-07-22 17:10:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619021 -3.635704)'), GeomFromEWKT('SRID=4674;POINT (-38.619063 -3.635692)'))) / (select extract(epoch from '2026-07-22 17:11:02'::timestamp) - extract(epoch from '2026-07-22 17:10:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.61909 -3.635678)', '2026-07-22 17:11:08', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619063 -3.635692)'), GeomFromEWKT('SRID=4674;POINT (-38.61909 -3.635678)'))) / (select extract(epoch from '2026-07-22 17:11:08'::timestamp) - extract(epoch from '2026-07-22 17:11:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619063 -3.635692)'), GeomFromEWKT('SRID=4674;POINT (-38.61909 -3.635678)'))) / (select extract(epoch from '2026-07-22 17:11:08'::timestamp) - extract(epoch from '2026-07-22 17:11: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'), 47375, 'SRID=4674;POINT (-38.619127 -3.635646)', '2026-07-22 17:11:18', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61909 -3.635678)'), GeomFromEWKT('SRID=4674;POINT (-38.619127 -3.635646)'))) / (select extract(epoch from '2026-07-22 17:11:18'::timestamp) - extract(epoch from '2026-07-22 17:11:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61909 -3.635678)'), GeomFromEWKT('SRID=4674;POINT (-38.619127 -3.635646)'))) / (select extract(epoch from '2026-07-22 17:11:18'::timestamp) - extract(epoch from '2026-07-22 17:11: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'), 47375, 'SRID=4674;POINT (-38.619144 -3.635623)', '2026-07-22 17:11:24', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619127 -3.635646)'), GeomFromEWKT('SRID=4674;POINT (-38.619144 -3.635623)'))) / (select extract(epoch from '2026-07-22 17:11:24'::timestamp) - extract(epoch from '2026-07-22 17:11:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619127 -3.635646)'), GeomFromEWKT('SRID=4674;POINT (-38.619144 -3.635623)'))) / (select extract(epoch from '2026-07-22 17:11:24'::timestamp) - extract(epoch from '2026-07-22 17:11: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'), 47375, 'SRID=4674;POINT (-38.61917 -3.635592)', '2026-07-22 17:11:33', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619144 -3.635623)'), GeomFromEWKT('SRID=4674;POINT (-38.61917 -3.635592)'))) / (select extract(epoch from '2026-07-22 17:11:33'::timestamp) - extract(epoch from '2026-07-22 17:11:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619144 -3.635623)'), GeomFromEWKT('SRID=4674;POINT (-38.61917 -3.635592)'))) / (select extract(epoch from '2026-07-22 17:11:33'::timestamp) - extract(epoch from '2026-07-22 17:11: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'), 47375, 'SRID=4674;POINT (-38.619196 -3.635567)', '2026-07-22 17:11:40', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61917 -3.635592)'), GeomFromEWKT('SRID=4674;POINT (-38.619196 -3.635567)'))) / (select extract(epoch from '2026-07-22 17:11:40'::timestamp) - extract(epoch from '2026-07-22 17:11:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61917 -3.635592)'), GeomFromEWKT('SRID=4674;POINT (-38.619196 -3.635567)'))) / (select extract(epoch from '2026-07-22 17:11:40'::timestamp) - extract(epoch from '2026-07-22 17:11:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.61922 -3.635555)', '2026-07-22 17:11:46', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619196 -3.635567)'), GeomFromEWKT('SRID=4674;POINT (-38.61922 -3.635555)'))) / (select extract(epoch from '2026-07-22 17:11:46'::timestamp) - extract(epoch from '2026-07-22 17:11:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619196 -3.635567)'), GeomFromEWKT('SRID=4674;POINT (-38.61922 -3.635555)'))) / (select extract(epoch from '2026-07-22 17:11:46'::timestamp) - extract(epoch from '2026-07-22 17:11:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.619228 -3.635535)', '2026-07-22 17:11:51', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61922 -3.635555)'), GeomFromEWKT('SRID=4674;POINT (-38.619228 -3.635535)'))) / (select extract(epoch from '2026-07-22 17:11:51'::timestamp) - extract(epoch from '2026-07-22 17:11:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61922 -3.635555)'), GeomFromEWKT('SRID=4674;POINT (-38.619228 -3.635535)'))) / (select extract(epoch from '2026-07-22 17:11:51'::timestamp) - extract(epoch from '2026-07-22 17:11: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'), 47375, 'SRID=4674;POINT (-38.619263 -3.635509)', '2026-07-22 17:12:00', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619228 -3.635535)'), GeomFromEWKT('SRID=4674;POINT (-38.619263 -3.635509)'))) / (select extract(epoch from '2026-07-22 17:12:00'::timestamp) - extract(epoch from '2026-07-22 17:11:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619228 -3.635535)'), GeomFromEWKT('SRID=4674;POINT (-38.619263 -3.635509)'))) / (select extract(epoch from '2026-07-22 17:12:00'::timestamp) - extract(epoch from '2026-07-22 17:11:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.619285 -3.635494)', '2026-07-22 17:12:05', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619263 -3.635509)'), GeomFromEWKT('SRID=4674;POINT (-38.619285 -3.635494)'))) / (select extract(epoch from '2026-07-22 17:12:05'::timestamp) - extract(epoch from '2026-07-22 17:12:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619263 -3.635509)'), GeomFromEWKT('SRID=4674;POINT (-38.619285 -3.635494)'))) / (select extract(epoch from '2026-07-22 17:12:05'::timestamp) - extract(epoch from '2026-07-22 17:12: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'), 47375, 'SRID=4674;POINT (-38.619292 -3.635493)', '2026-07-22 17:12:06', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619285 -3.635494)'), GeomFromEWKT('SRID=4674;POINT (-38.619292 -3.635493)'))) / (select extract(epoch from '2026-07-22 17:12:06'::timestamp) - extract(epoch from '2026-07-22 17:12:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619285 -3.635494)'), GeomFromEWKT('SRID=4674;POINT (-38.619292 -3.635493)'))) / (select extract(epoch from '2026-07-22 17:12:06'::timestamp) - extract(epoch from '2026-07-22 17:12: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'), 47375, 'SRID=4674;POINT (-38.619323 -3.635474)', '2026-07-22 17:12:14', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619292 -3.635493)'), GeomFromEWKT('SRID=4674;POINT (-38.619323 -3.635474)'))) / (select extract(epoch from '2026-07-22 17:12:14'::timestamp) - extract(epoch from '2026-07-22 17:12:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619292 -3.635493)'), GeomFromEWKT('SRID=4674;POINT (-38.619323 -3.635474)'))) / (select extract(epoch from '2026-07-22 17:12:14'::timestamp) - extract(epoch from '2026-07-22 17:12:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.619353 -3.635446)', '2026-07-22 17:12:23', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619323 -3.635474)'), GeomFromEWKT('SRID=4674;POINT (-38.619353 -3.635446)'))) / (select extract(epoch from '2026-07-22 17:12:23'::timestamp) - extract(epoch from '2026-07-22 17:12:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619323 -3.635474)'), GeomFromEWKT('SRID=4674;POINT (-38.619353 -3.635446)'))) / (select extract(epoch from '2026-07-22 17:12:23'::timestamp) - extract(epoch from '2026-07-22 17:12:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.619382 -3.635427)', '2026-07-22 17:12:30', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619353 -3.635446)'), GeomFromEWKT('SRID=4674;POINT (-38.619382 -3.635427)'))) / (select extract(epoch from '2026-07-22 17:12:30'::timestamp) - extract(epoch from '2026-07-22 17:12:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619353 -3.635446)'), GeomFromEWKT('SRID=4674;POINT (-38.619382 -3.635427)'))) / (select extract(epoch from '2026-07-22 17:12:30'::timestamp) - extract(epoch from '2026-07-22 17:12: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'), 47375, 'SRID=4674;POINT (-38.619408 -3.635411)', '2026-07-22 17:12:37', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619382 -3.635427)'), GeomFromEWKT('SRID=4674;POINT (-38.619408 -3.635411)'))) / (select extract(epoch from '2026-07-22 17:12:37'::timestamp) - extract(epoch from '2026-07-22 17:12:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619382 -3.635427)'), GeomFromEWKT('SRID=4674;POINT (-38.619408 -3.635411)'))) / (select extract(epoch from '2026-07-22 17:12:37'::timestamp) - extract(epoch from '2026-07-22 17:12: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'), 47375, 'SRID=4674;POINT (-38.619432 -3.635394)', '2026-07-22 17:12:44', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619408 -3.635411)'), GeomFromEWKT('SRID=4674;POINT (-38.619432 -3.635394)'))) / (select extract(epoch from '2026-07-22 17:12:44'::timestamp) - extract(epoch from '2026-07-22 17:12:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619408 -3.635411)'), GeomFromEWKT('SRID=4674;POINT (-38.619432 -3.635394)'))) / (select extract(epoch from '2026-07-22 17:12:44'::timestamp) - extract(epoch from '2026-07-22 17:12:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.61945 -3.635367)', '2026-07-22 17:12:51', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619432 -3.635394)'), GeomFromEWKT('SRID=4674;POINT (-38.61945 -3.635367)'))) / (select extract(epoch from '2026-07-22 17:12:51'::timestamp) - extract(epoch from '2026-07-22 17:12:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619432 -3.635394)'), GeomFromEWKT('SRID=4674;POINT (-38.61945 -3.635367)'))) / (select extract(epoch from '2026-07-22 17:12:51'::timestamp) - extract(epoch from '2026-07-22 17:12: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'), 47375, 'SRID=4674;POINT (-38.619467 -3.635343)', '2026-07-22 17:12:57', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61945 -3.635367)'), GeomFromEWKT('SRID=4674;POINT (-38.619467 -3.635343)'))) / (select extract(epoch from '2026-07-22 17:12:57'::timestamp) - extract(epoch from '2026-07-22 17:12:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61945 -3.635367)'), GeomFromEWKT('SRID=4674;POINT (-38.619467 -3.635343)'))) / (select extract(epoch from '2026-07-22 17:12:57'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47375, 'SRID=4674;POINT (-38.619492 -3.635326)', '2026-07-22 17:13:04', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619467 -3.635343)'), GeomFromEWKT('SRID=4674;POINT (-38.619492 -3.635326)'))) / (select extract(epoch from '2026-07-22 17:13:04'::timestamp) - extract(epoch from '2026-07-22 17:12:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619467 -3.635343)'), GeomFromEWKT('SRID=4674;POINT (-38.619492 -3.635326)'))) / (select extract(epoch from '2026-07-22 17:13:04'::timestamp) - extract(epoch from '2026-07-22 17:12: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'), 47375, 'SRID=4674;POINT (-38.619517 -3.635307)', '2026-07-22 17:13:11', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619492 -3.635326)'), GeomFromEWKT('SRID=4674;POINT (-38.619517 -3.635307)'))) / (select extract(epoch from '2026-07-22 17:13:11'::timestamp) - extract(epoch from '2026-07-22 17:13:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619492 -3.635326)'), GeomFromEWKT('SRID=4674;POINT (-38.619517 -3.635307)'))) / (select extract(epoch from '2026-07-22 17:13:11'::timestamp) - extract(epoch from '2026-07-22 17:13:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.619541 -3.635302)', '2026-07-22 17:13:15', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619517 -3.635307)'), GeomFromEWKT('SRID=4674;POINT (-38.619541 -3.635302)'))) / (select extract(epoch from '2026-07-22 17:13:15'::timestamp) - extract(epoch from '2026-07-22 17:13:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619517 -3.635307)'), GeomFromEWKT('SRID=4674;POINT (-38.619541 -3.635302)'))) / (select extract(epoch from '2026-07-22 17:13:15'::timestamp) - extract(epoch from '2026-07-22 17:13: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'), 47375, 'SRID=4674;POINT (-38.619561 -3.635297)', '2026-07-22 17:13:19', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619541 -3.635302)'), GeomFromEWKT('SRID=4674;POINT (-38.619561 -3.635297)'))) / (select extract(epoch from '2026-07-22 17:13:19'::timestamp) - extract(epoch from '2026-07-22 17:13:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619541 -3.635302)'), GeomFromEWKT('SRID=4674;POINT (-38.619561 -3.635297)'))) / (select extract(epoch from '2026-07-22 17:13:19'::timestamp) - extract(epoch from '2026-07-22 17:13: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'), 47375, 'SRID=4674;POINT (-38.619582 -3.635278)', '2026-07-22 17:13:26', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619561 -3.635297)'), GeomFromEWKT('SRID=4674;POINT (-38.619582 -3.635278)'))) / (select extract(epoch from '2026-07-22 17:13:26'::timestamp) - extract(epoch from '2026-07-22 17:13:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619561 -3.635297)'), GeomFromEWKT('SRID=4674;POINT (-38.619582 -3.635278)'))) / (select extract(epoch from '2026-07-22 17:13:26'::timestamp) - extract(epoch from '2026-07-22 17:13: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'), 47375, 'SRID=4674;POINT (-38.619608 -3.635254)', '2026-07-22 17:13:35', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619582 -3.635278)'), GeomFromEWKT('SRID=4674;POINT (-38.619608 -3.635254)'))) / (select extract(epoch from '2026-07-22 17:13:35'::timestamp) - extract(epoch from '2026-07-22 17:13:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619582 -3.635278)'), GeomFromEWKT('SRID=4674;POINT (-38.619608 -3.635254)'))) / (select extract(epoch from '2026-07-22 17:13:35'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47375, 'SRID=4674;POINT (-38.619638 -3.635242)', '2026-07-22 17:13:42', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619608 -3.635254)'), GeomFromEWKT('SRID=4674;POINT (-38.619638 -3.635242)'))) / (select extract(epoch from '2026-07-22 17:13:42'::timestamp) - extract(epoch from '2026-07-22 17:13:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619608 -3.635254)'), GeomFromEWKT('SRID=4674;POINT (-38.619638 -3.635242)'))) / (select extract(epoch from '2026-07-22 17:13:42'::timestamp) - extract(epoch from '2026-07-22 17:13: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'), 47375, 'SRID=4674;POINT (-38.619662 -3.635233)', '2026-07-22 17:13:48', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619638 -3.635242)'), GeomFromEWKT('SRID=4674;POINT (-38.619662 -3.635233)'))) / (select extract(epoch from '2026-07-22 17:13:48'::timestamp) - extract(epoch from '2026-07-22 17:13:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619638 -3.635242)'), GeomFromEWKT('SRID=4674;POINT (-38.619662 -3.635233)'))) / (select extract(epoch from '2026-07-22 17:13:48'::timestamp) - extract(epoch from '2026-07-22 17:13: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'), 47375, 'SRID=4674;POINT (-38.619687 -3.635217)', '2026-07-22 17:13:55', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619662 -3.635233)'), GeomFromEWKT('SRID=4674;POINT (-38.619687 -3.635217)'))) / (select extract(epoch from '2026-07-22 17:13:55'::timestamp) - extract(epoch from '2026-07-22 17:13:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619662 -3.635233)'), GeomFromEWKT('SRID=4674;POINT (-38.619687 -3.635217)'))) / (select extract(epoch from '2026-07-22 17:13:55'::timestamp) - extract(epoch from '2026-07-22 17:13: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'), 47375, 'SRID=4674;POINT (-38.619713 -3.635198)', '2026-07-22 17:14:03', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619687 -3.635217)'), GeomFromEWKT('SRID=4674;POINT (-38.619713 -3.635198)'))) / (select extract(epoch from '2026-07-22 17:14:03'::timestamp) - extract(epoch from '2026-07-22 17:13:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619687 -3.635217)'), GeomFromEWKT('SRID=4674;POINT (-38.619713 -3.635198)'))) / (select extract(epoch from '2026-07-22 17:14:03'::timestamp) - extract(epoch from '2026-07-22 17:13: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'), 47375, 'SRID=4674;POINT (-38.619729 -3.635169)', '2026-07-22 17:14:11', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619713 -3.635198)'), GeomFromEWKT('SRID=4674;POINT (-38.619729 -3.635169)'))) / (select extract(epoch from '2026-07-22 17:14:11'::timestamp) - extract(epoch from '2026-07-22 17:14:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619713 -3.635198)'), GeomFromEWKT('SRID=4674;POINT (-38.619729 -3.635169)'))) / (select extract(epoch from '2026-07-22 17:14:11'::timestamp) - extract(epoch from '2026-07-22 17:14: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'), 47375, 'SRID=4674;POINT (-38.619751 -3.635144)', '2026-07-22 17:14:17', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619729 -3.635169)'), GeomFromEWKT('SRID=4674;POINT (-38.619751 -3.635144)'))) / (select extract(epoch from '2026-07-22 17:14:17'::timestamp) - extract(epoch from '2026-07-22 17:14:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619729 -3.635169)'), GeomFromEWKT('SRID=4674;POINT (-38.619751 -3.635144)'))) / (select extract(epoch from '2026-07-22 17:14:17'::timestamp) - extract(epoch from '2026-07-22 17:14:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.619772 -3.63513)', '2026-07-22 17:14:23', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619751 -3.635144)'), GeomFromEWKT('SRID=4674;POINT (-38.619772 -3.63513)'))) / (select extract(epoch from '2026-07-22 17:14:23'::timestamp) - extract(epoch from '2026-07-22 17:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619751 -3.635144)'), GeomFromEWKT('SRID=4674;POINT (-38.619772 -3.63513)'))) / (select extract(epoch from '2026-07-22 17:14:23'::timestamp) - extract(epoch from '2026-07-22 17:14:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.619799 -3.635117)', '2026-07-22 17:14:30', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619772 -3.63513)'), GeomFromEWKT('SRID=4674;POINT (-38.619799 -3.635117)'))) / (select extract(epoch from '2026-07-22 17:14:30'::timestamp) - extract(epoch from '2026-07-22 17:14:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619772 -3.63513)'), GeomFromEWKT('SRID=4674;POINT (-38.619799 -3.635117)'))) / (select extract(epoch from '2026-07-22 17:14:30'::timestamp) - extract(epoch from '2026-07-22 17:14: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'), 47375, 'SRID=4674;POINT (-38.619828 -3.635106)', '2026-07-22 17:14:37', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619799 -3.635117)'), GeomFromEWKT('SRID=4674;POINT (-38.619828 -3.635106)'))) / (select extract(epoch from '2026-07-22 17:14:37'::timestamp) - extract(epoch from '2026-07-22 17:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619799 -3.635117)'), GeomFromEWKT('SRID=4674;POINT (-38.619828 -3.635106)'))) / (select extract(epoch from '2026-07-22 17:14:37'::timestamp) - extract(epoch from '2026-07-22 17:14: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'), 47375, 'SRID=4674;POINT (-38.619861 -3.635097)', '2026-07-22 17:14:43', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619828 -3.635106)'), GeomFromEWKT('SRID=4674;POINT (-38.619861 -3.635097)'))) / (select extract(epoch from '2026-07-22 17:14:43'::timestamp) - extract(epoch from '2026-07-22 17:14:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619828 -3.635106)'), GeomFromEWKT('SRID=4674;POINT (-38.619861 -3.635097)'))) / (select extract(epoch from '2026-07-22 17:14:43'::timestamp) - extract(epoch from '2026-07-22 17:14: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'), 47375, 'SRID=4674;POINT (-38.619872 -3.635078)', '2026-07-22 17:14:49', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619861 -3.635097)'), GeomFromEWKT('SRID=4674;POINT (-38.619872 -3.635078)'))) / (select extract(epoch from '2026-07-22 17:14:49'::timestamp) - extract(epoch from '2026-07-22 17:14:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619861 -3.635097)'), GeomFromEWKT('SRID=4674;POINT (-38.619872 -3.635078)'))) / (select extract(epoch from '2026-07-22 17:14:49'::timestamp) - extract(epoch from '2026-07-22 17:14: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'), 47375, 'SRID=4674;POINT (-38.619896 -3.635063)', '2026-07-22 17:14:56', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619872 -3.635078)'), GeomFromEWKT('SRID=4674;POINT (-38.619896 -3.635063)'))) / (select extract(epoch from '2026-07-22 17:14:56'::timestamp) - extract(epoch from '2026-07-22 17:14:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619872 -3.635078)'), GeomFromEWKT('SRID=4674;POINT (-38.619896 -3.635063)'))) / (select extract(epoch from '2026-07-22 17:14:56'::timestamp) - extract(epoch from '2026-07-22 17:14: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'), 47375, 'SRID=4674;POINT (-38.61996 -3.635051)', '2026-07-22 17:15:12', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619896 -3.635063)'), GeomFromEWKT('SRID=4674;POINT (-38.61996 -3.635051)'))) / (select extract(epoch from '2026-07-22 17:15:12'::timestamp) - extract(epoch from '2026-07-22 17:14:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619896 -3.635063)'), GeomFromEWKT('SRID=4674;POINT (-38.61996 -3.635051)'))) / (select extract(epoch from '2026-07-22 17:15:12'::timestamp) - extract(epoch from '2026-07-22 17:14: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'), 47375, 'SRID=4674;POINT (-38.619988 -3.63504)', '2026-07-22 17:15:18', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61996 -3.635051)'), GeomFromEWKT('SRID=4674;POINT (-38.619988 -3.63504)'))) / (select extract(epoch from '2026-07-22 17:15:18'::timestamp) - extract(epoch from '2026-07-22 17:15:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61996 -3.635051)'), GeomFromEWKT('SRID=4674;POINT (-38.619988 -3.63504)'))) / (select extract(epoch from '2026-07-22 17:15:18'::timestamp) - extract(epoch from '2026-07-22 17:15: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'), 47375, 'SRID=4674;POINT (-38.620021 -3.635013)', '2026-07-22 17:15:28', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619988 -3.63504)'), GeomFromEWKT('SRID=4674;POINT (-38.620021 -3.635013)'))) / (select extract(epoch from '2026-07-22 17:15:28'::timestamp) - extract(epoch from '2026-07-22 17:15:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619988 -3.63504)'), GeomFromEWKT('SRID=4674;POINT (-38.620021 -3.635013)'))) / (select extract(epoch from '2026-07-22 17:15:28'::timestamp) - extract(epoch from '2026-07-22 17:15: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'), 47375, 'SRID=4674;POINT (-38.620038 -3.634994)', '2026-07-22 17:15:34', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620021 -3.635013)'), GeomFromEWKT('SRID=4674;POINT (-38.620038 -3.634994)'))) / (select extract(epoch from '2026-07-22 17:15:34'::timestamp) - extract(epoch from '2026-07-22 17:15:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620021 -3.635013)'), GeomFromEWKT('SRID=4674;POINT (-38.620038 -3.634994)'))) / (select extract(epoch from '2026-07-22 17:15:34'::timestamp) - extract(epoch from '2026-07-22 17:15: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'), 47375, 'SRID=4674;POINT (-38.620067 -3.634983)', '2026-07-22 17:15:41', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620038 -3.634994)'), GeomFromEWKT('SRID=4674;POINT (-38.620067 -3.634983)'))) / (select extract(epoch from '2026-07-22 17:15:41'::timestamp) - extract(epoch from '2026-07-22 17:15:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620038 -3.634994)'), GeomFromEWKT('SRID=4674;POINT (-38.620067 -3.634983)'))) / (select extract(epoch from '2026-07-22 17:15:41'::timestamp) - extract(epoch from '2026-07-22 17:15:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.620093 -3.634978)', '2026-07-22 17:15:47', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620067 -3.634983)'), GeomFromEWKT('SRID=4674;POINT (-38.620093 -3.634978)'))) / (select extract(epoch from '2026-07-22 17:15:47'::timestamp) - extract(epoch from '2026-07-22 17:15:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620067 -3.634983)'), GeomFromEWKT('SRID=4674;POINT (-38.620093 -3.634978)'))) / (select extract(epoch from '2026-07-22 17:15:47'::timestamp) - extract(epoch from '2026-07-22 17:15:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.620123 -3.634967)', '2026-07-22 17:15:54', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620093 -3.634978)'), GeomFromEWKT('SRID=4674;POINT (-38.620123 -3.634967)'))) / (select extract(epoch from '2026-07-22 17:15:54'::timestamp) - extract(epoch from '2026-07-22 17:15:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620093 -3.634978)'), GeomFromEWKT('SRID=4674;POINT (-38.620123 -3.634967)'))) / (select extract(epoch from '2026-07-22 17:15:54'::timestamp) - extract(epoch from '2026-07-22 17:15: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'), 47375, 'SRID=4674;POINT (-38.620149 -3.634963)', '2026-07-22 17:16:01', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620123 -3.634967)'), GeomFromEWKT('SRID=4674;POINT (-38.620149 -3.634963)'))) / (select extract(epoch from '2026-07-22 17:16:01'::timestamp) - extract(epoch from '2026-07-22 17:15:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620123 -3.634967)'), GeomFromEWKT('SRID=4674;POINT (-38.620149 -3.634963)'))) / (select extract(epoch from '2026-07-22 17:16:01'::timestamp) - extract(epoch from '2026-07-22 17:15: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'), 47375, 'SRID=4674;POINT (-38.620177 -3.634959)', '2026-07-22 17:16:07', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620149 -3.634963)'), GeomFromEWKT('SRID=4674;POINT (-38.620177 -3.634959)'))) / (select extract(epoch from '2026-07-22 17:16:07'::timestamp) - extract(epoch from '2026-07-22 17:16:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620149 -3.634963)'), GeomFromEWKT('SRID=4674;POINT (-38.620177 -3.634959)'))) / (select extract(epoch from '2026-07-22 17:16:07'::timestamp) - extract(epoch from '2026-07-22 17:16: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'), 47375, 'SRID=4674;POINT (-38.620212 -3.634961)', '2026-07-22 17:16:14', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620177 -3.634959)'), GeomFromEWKT('SRID=4674;POINT (-38.620212 -3.634961)'))) / (select extract(epoch from '2026-07-22 17:16:14'::timestamp) - extract(epoch from '2026-07-22 17:16:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620177 -3.634959)'), GeomFromEWKT('SRID=4674;POINT (-38.620212 -3.634961)'))) / (select extract(epoch from '2026-07-22 17:16:14'::timestamp) - extract(epoch from '2026-07-22 17:16: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'), 47375, 'SRID=4674;POINT (-38.620251 -3.634957)', '2026-07-22 17:16:24', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620212 -3.634961)'), GeomFromEWKT('SRID=4674;POINT (-38.620251 -3.634957)'))) / (select extract(epoch from '2026-07-22 17:16:24'::timestamp) - extract(epoch from '2026-07-22 17:16:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620212 -3.634961)'), GeomFromEWKT('SRID=4674;POINT (-38.620251 -3.634957)'))) / (select extract(epoch from '2026-07-22 17:16:24'::timestamp) - extract(epoch from '2026-07-22 17:16: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'), 47375, 'SRID=4674;POINT (-38.620284 -3.634946)', '2026-07-22 17:16:32', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620251 -3.634957)'), GeomFromEWKT('SRID=4674;POINT (-38.620284 -3.634946)'))) / (select extract(epoch from '2026-07-22 17:16:32'::timestamp) - extract(epoch from '2026-07-22 17:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620251 -3.634957)'), GeomFromEWKT('SRID=4674;POINT (-38.620284 -3.634946)'))) / (select extract(epoch from '2026-07-22 17:16:32'::timestamp) - extract(epoch from '2026-07-22 17:16: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'), 47375, 'SRID=4674;POINT (-38.620317 -3.634937)', '2026-07-22 17:16:39', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620284 -3.634946)'), GeomFromEWKT('SRID=4674;POINT (-38.620317 -3.634937)'))) / (select extract(epoch from '2026-07-22 17:16:39'::timestamp) - extract(epoch from '2026-07-22 17:16:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620284 -3.634946)'), GeomFromEWKT('SRID=4674;POINT (-38.620317 -3.634937)'))) / (select extract(epoch from '2026-07-22 17:16:39'::timestamp) - extract(epoch from '2026-07-22 17:16: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'), 47375, 'SRID=4674;POINT (-38.620352 -3.634942)', '2026-07-22 17:16:47', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620317 -3.634937)'), GeomFromEWKT('SRID=4674;POINT (-38.620352 -3.634942)'))) / (select extract(epoch from '2026-07-22 17:16:47'::timestamp) - extract(epoch from '2026-07-22 17:16:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620317 -3.634937)'), GeomFromEWKT('SRID=4674;POINT (-38.620352 -3.634942)'))) / (select extract(epoch from '2026-07-22 17:16:47'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47375, 'SRID=4674;POINT (-38.620392 -3.634941)', '2026-07-22 17:16:57', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620352 -3.634942)'), GeomFromEWKT('SRID=4674;POINT (-38.620392 -3.634941)'))) / (select extract(epoch from '2026-07-22 17:16:57'::timestamp) - extract(epoch from '2026-07-22 17:16:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620352 -3.634942)'), GeomFromEWKT('SRID=4674;POINT (-38.620392 -3.634941)'))) / (select extract(epoch from '2026-07-22 17:16:57'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47375, 'SRID=4674;POINT (-38.620441 -3.634929)', '2026-07-22 17:17:07', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620392 -3.634941)'), GeomFromEWKT('SRID=4674;POINT (-38.620441 -3.634929)'))) / (select extract(epoch from '2026-07-22 17:17:07'::timestamp) - extract(epoch from '2026-07-22 17:16:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620392 -3.634941)'), GeomFromEWKT('SRID=4674;POINT (-38.620441 -3.634929)'))) / (select extract(epoch from '2026-07-22 17:17:07'::timestamp) - extract(epoch from '2026-07-22 17:16: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'), 47375, 'SRID=4674;POINT (-38.620498 -3.634926)', '2026-07-22 17:17:17', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620441 -3.634929)'), GeomFromEWKT('SRID=4674;POINT (-38.620498 -3.634926)'))) / (select extract(epoch from '2026-07-22 17:17:17'::timestamp) - extract(epoch from '2026-07-22 17:17:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620441 -3.634929)'), GeomFromEWKT('SRID=4674;POINT (-38.620498 -3.634926)'))) / (select extract(epoch from '2026-07-22 17:17:17'::timestamp) - extract(epoch from '2026-07-22 17:17: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'), 47375, 'SRID=4674;POINT (-38.620522 -3.634919)', '2026-07-22 17:17:24', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620498 -3.634926)'), GeomFromEWKT('SRID=4674;POINT (-38.620522 -3.634919)'))) / (select extract(epoch from '2026-07-22 17:17:24'::timestamp) - extract(epoch from '2026-07-22 17:17:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620498 -3.634926)'), GeomFromEWKT('SRID=4674;POINT (-38.620522 -3.634919)'))) / (select extract(epoch from '2026-07-22 17:17:24'::timestamp) - extract(epoch from '2026-07-22 17:17:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.62055 -3.634912)', '2026-07-22 17:17:31', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620522 -3.634919)'), GeomFromEWKT('SRID=4674;POINT (-38.62055 -3.634912)'))) / (select extract(epoch from '2026-07-22 17:17:31'::timestamp) - extract(epoch from '2026-07-22 17:17:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620522 -3.634919)'), GeomFromEWKT('SRID=4674;POINT (-38.62055 -3.634912)'))) / (select extract(epoch from '2026-07-22 17:17:31'::timestamp) - extract(epoch from '2026-07-22 17:17: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'), 47375, 'SRID=4674;POINT (-38.620577 -3.634909)', '2026-07-22 17:17:38', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62055 -3.634912)'), GeomFromEWKT('SRID=4674;POINT (-38.620577 -3.634909)'))) / (select extract(epoch from '2026-07-22 17:17:38'::timestamp) - extract(epoch from '2026-07-22 17:17:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62055 -3.634912)'), GeomFromEWKT('SRID=4674;POINT (-38.620577 -3.634909)'))) / (select extract(epoch from '2026-07-22 17:17:38'::timestamp) - extract(epoch from '2026-07-22 17:17: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'), 47375, 'SRID=4674;POINT (-38.620611 -3.634924)', '2026-07-22 17:17:46', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620577 -3.634909)'), GeomFromEWKT('SRID=4674;POINT (-38.620611 -3.634924)'))) / (select extract(epoch from '2026-07-22 17:17:46'::timestamp) - extract(epoch from '2026-07-22 17:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620577 -3.634909)'), GeomFromEWKT('SRID=4674;POINT (-38.620611 -3.634924)'))) / (select extract(epoch from '2026-07-22 17:17:46'::timestamp) - extract(epoch from '2026-07-22 17:17:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.620659 -3.634923)', '2026-07-22 17:17:58', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620611 -3.634924)'), GeomFromEWKT('SRID=4674;POINT (-38.620659 -3.634923)'))) / (select extract(epoch from '2026-07-22 17:17:58'::timestamp) - extract(epoch from '2026-07-22 17:17:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620611 -3.634924)'), GeomFromEWKT('SRID=4674;POINT (-38.620659 -3.634923)'))) / (select extract(epoch from '2026-07-22 17:17:58'::timestamp) - extract(epoch from '2026-07-22 17:17:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.620696 -3.634932)', '2026-07-22 17:18:08', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620659 -3.634923)'), GeomFromEWKT('SRID=4674;POINT (-38.620696 -3.634932)'))) / (select extract(epoch from '2026-07-22 17:18:08'::timestamp) - extract(epoch from '2026-07-22 17:17:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620659 -3.634923)'), GeomFromEWKT('SRID=4674;POINT (-38.620696 -3.634932)'))) / (select extract(epoch from '2026-07-22 17:18:08'::timestamp) - extract(epoch from '2026-07-22 17:17: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'), 47375, 'SRID=4674;POINT (-38.62072 -3.634933)', '2026-07-22 17:18:14', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620696 -3.634932)'), GeomFromEWKT('SRID=4674;POINT (-38.62072 -3.634933)'))) / (select extract(epoch from '2026-07-22 17:18:14'::timestamp) - extract(epoch from '2026-07-22 17:18:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620696 -3.634932)'), GeomFromEWKT('SRID=4674;POINT (-38.62072 -3.634933)'))) / (select extract(epoch from '2026-07-22 17:18:14'::timestamp) - extract(epoch from '2026-07-22 17:18: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'), 47375, 'SRID=4674;POINT (-38.620759 -3.634929)', '2026-07-22 17:18:22', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62072 -3.634933)'), GeomFromEWKT('SRID=4674;POINT (-38.620759 -3.634929)'))) / (select extract(epoch from '2026-07-22 17:18:22'::timestamp) - extract(epoch from '2026-07-22 17:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62072 -3.634933)'), GeomFromEWKT('SRID=4674;POINT (-38.620759 -3.634929)'))) / (select extract(epoch from '2026-07-22 17:18:22'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47375, 'SRID=4674;POINT (-38.620788 -3.634921)', '2026-07-22 17:18:28', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620759 -3.634929)'), GeomFromEWKT('SRID=4674;POINT (-38.620788 -3.634921)'))) / (select extract(epoch from '2026-07-22 17:18:28'::timestamp) - extract(epoch from '2026-07-22 17:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620759 -3.634929)'), GeomFromEWKT('SRID=4674;POINT (-38.620788 -3.634921)'))) / (select extract(epoch from '2026-07-22 17:18:28'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47375, 'SRID=4674;POINT (-38.620822 -3.634913)', '2026-07-22 17:18:35', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620788 -3.634921)'), GeomFromEWKT('SRID=4674;POINT (-38.620822 -3.634913)'))) / (select extract(epoch from '2026-07-22 17:18:35'::timestamp) - extract(epoch from '2026-07-22 17:18:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620788 -3.634921)'), GeomFromEWKT('SRID=4674;POINT (-38.620822 -3.634913)'))) / (select extract(epoch from '2026-07-22 17:18:35'::timestamp) - extract(epoch from '2026-07-22 17:18:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.620861 -3.634901)', '2026-07-22 17:18:45', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620822 -3.634913)'), GeomFromEWKT('SRID=4674;POINT (-38.620861 -3.634901)'))) / (select extract(epoch from '2026-07-22 17:18:45'::timestamp) - extract(epoch from '2026-07-22 17:18:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620822 -3.634913)'), GeomFromEWKT('SRID=4674;POINT (-38.620861 -3.634901)'))) / (select extract(epoch from '2026-07-22 17:18:45'::timestamp) - extract(epoch from '2026-07-22 17:18:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.620908 -3.634888)', '2026-07-22 17:18:55', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620861 -3.634901)'), GeomFromEWKT('SRID=4674;POINT (-38.620908 -3.634888)'))) / (select extract(epoch from '2026-07-22 17:18:55'::timestamp) - extract(epoch from '2026-07-22 17:18:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620861 -3.634901)'), GeomFromEWKT('SRID=4674;POINT (-38.620908 -3.634888)'))) / (select extract(epoch from '2026-07-22 17:18:55'::timestamp) - extract(epoch from '2026-07-22 17:18: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'), 47375, 'SRID=4674;POINT (-38.620941 -3.634895)', '2026-07-22 17:19:01', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620908 -3.634888)'), GeomFromEWKT('SRID=4674;POINT (-38.620941 -3.634895)'))) / (select extract(epoch from '2026-07-22 17:19:01'::timestamp) - extract(epoch from '2026-07-22 17:18:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620908 -3.634888)'), GeomFromEWKT('SRID=4674;POINT (-38.620941 -3.634895)'))) / (select extract(epoch from '2026-07-22 17:19:01'::timestamp) - extract(epoch from '2026-07-22 17:18: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'), 47375, 'SRID=4674;POINT (-38.620977 -3.634871)', '2026-07-22 17:19:12', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620941 -3.634895)'), GeomFromEWKT('SRID=4674;POINT (-38.620977 -3.634871)'))) / (select extract(epoch from '2026-07-22 17:19:12'::timestamp) - extract(epoch from '2026-07-22 17:19:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620941 -3.634895)'), GeomFromEWKT('SRID=4674;POINT (-38.620977 -3.634871)'))) / (select extract(epoch from '2026-07-22 17:19:12'::timestamp) - extract(epoch from '2026-07-22 17:19: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'), 47375, 'SRID=4674;POINT (-38.620984 -3.634857)', '2026-07-22 17:19:21', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620977 -3.634871)'), GeomFromEWKT('SRID=4674;POINT (-38.620984 -3.634857)'))) / (select extract(epoch from '2026-07-22 17:19:21'::timestamp) - extract(epoch from '2026-07-22 17:19:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620977 -3.634871)'), GeomFromEWKT('SRID=4674;POINT (-38.620984 -3.634857)'))) / (select extract(epoch from '2026-07-22 17:19:21'::timestamp) - extract(epoch from '2026-07-22 17:19: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'), 47375, 'SRID=4674;POINT (-38.621013 -3.634845)', '2026-07-22 17:19:32', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620984 -3.634857)'), GeomFromEWKT('SRID=4674;POINT (-38.621013 -3.634845)'))) / (select extract(epoch from '2026-07-22 17:19:32'::timestamp) - extract(epoch from '2026-07-22 17:19:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620984 -3.634857)'), GeomFromEWKT('SRID=4674;POINT (-38.621013 -3.634845)'))) / (select extract(epoch from '2026-07-22 17:19:32'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47375, 'SRID=4674;POINT (-38.621049 -3.634834)', '2026-07-22 17:19:39', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621013 -3.634845)'), GeomFromEWKT('SRID=4674;POINT (-38.621049 -3.634834)'))) / (select extract(epoch from '2026-07-22 17:19:39'::timestamp) - extract(epoch from '2026-07-22 17:19:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621013 -3.634845)'), GeomFromEWKT('SRID=4674;POINT (-38.621049 -3.634834)'))) / (select extract(epoch from '2026-07-22 17:19:39'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47375, 'SRID=4674;POINT (-38.621077 -3.634828)', '2026-07-22 17:19:46', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621049 -3.634834)'), GeomFromEWKT('SRID=4674;POINT (-38.621077 -3.634828)'))) / (select extract(epoch from '2026-07-22 17:19:46'::timestamp) - extract(epoch from '2026-07-22 17:19:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621049 -3.634834)'), GeomFromEWKT('SRID=4674;POINT (-38.621077 -3.634828)'))) / (select extract(epoch from '2026-07-22 17:19:46'::timestamp) - extract(epoch from '2026-07-22 17:19:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.621119 -3.634828)', '2026-07-22 17:19:55', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621077 -3.634828)'), GeomFromEWKT('SRID=4674;POINT (-38.621119 -3.634828)'))) / (select extract(epoch from '2026-07-22 17:19:55'::timestamp) - extract(epoch from '2026-07-22 17:19:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621077 -3.634828)'), GeomFromEWKT('SRID=4674;POINT (-38.621119 -3.634828)'))) / (select extract(epoch from '2026-07-22 17:19:55'::timestamp) - extract(epoch from '2026-07-22 17:19:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.621146 -3.634823)', '2026-07-22 17:20:02', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621119 -3.634828)'), GeomFromEWKT('SRID=4674;POINT (-38.621146 -3.634823)'))) / (select extract(epoch from '2026-07-22 17:20:02'::timestamp) - extract(epoch from '2026-07-22 17:19:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621119 -3.634828)'), GeomFromEWKT('SRID=4674;POINT (-38.621146 -3.634823)'))) / (select extract(epoch from '2026-07-22 17:20:02'::timestamp) - extract(epoch from '2026-07-22 17:19:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.621176 -3.634813)', '2026-07-22 17:20:09', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621146 -3.634823)'), GeomFromEWKT('SRID=4674;POINT (-38.621176 -3.634813)'))) / (select extract(epoch from '2026-07-22 17:20:09'::timestamp) - extract(epoch from '2026-07-22 17:20:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621146 -3.634823)'), GeomFromEWKT('SRID=4674;POINT (-38.621176 -3.634813)'))) / (select extract(epoch from '2026-07-22 17:20:09'::timestamp) - extract(epoch from '2026-07-22 17:20:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.621218 -3.634813)', '2026-07-22 17:20:19', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621176 -3.634813)'), GeomFromEWKT('SRID=4674;POINT (-38.621218 -3.634813)'))) / (select extract(epoch from '2026-07-22 17:20:19'::timestamp) - extract(epoch from '2026-07-22 17:20:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621176 -3.634813)'), GeomFromEWKT('SRID=4674;POINT (-38.621218 -3.634813)'))) / (select extract(epoch from '2026-07-22 17:20:19'::timestamp) - extract(epoch from '2026-07-22 17:20: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'), 47375, 'SRID=4674;POINT (-38.621253 -3.634812)', '2026-07-22 17:20:26', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621218 -3.634813)'), GeomFromEWKT('SRID=4674;POINT (-38.621253 -3.634812)'))) / (select extract(epoch from '2026-07-22 17:20:26'::timestamp) - extract(epoch from '2026-07-22 17:20:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621218 -3.634813)'), GeomFromEWKT('SRID=4674;POINT (-38.621253 -3.634812)'))) / (select extract(epoch from '2026-07-22 17:20:26'::timestamp) - extract(epoch from '2026-07-22 17:20:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.621276 -3.634808)', '2026-07-22 17:20:31', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621253 -3.634812)'), GeomFromEWKT('SRID=4674;POINT (-38.621276 -3.634808)'))) / (select extract(epoch from '2026-07-22 17:20:31'::timestamp) - extract(epoch from '2026-07-22 17:20:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621253 -3.634812)'), GeomFromEWKT('SRID=4674;POINT (-38.621276 -3.634808)'))) / (select extract(epoch from '2026-07-22 17:20:31'::timestamp) - extract(epoch from '2026-07-22 17:20:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.621313 -3.634813)', '2026-07-22 17:20:38', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621276 -3.634808)'), GeomFromEWKT('SRID=4674;POINT (-38.621313 -3.634813)'))) / (select extract(epoch from '2026-07-22 17:20:38'::timestamp) - extract(epoch from '2026-07-22 17:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621276 -3.634808)'), GeomFromEWKT('SRID=4674;POINT (-38.621313 -3.634813)'))) / (select extract(epoch from '2026-07-22 17:20:38'::timestamp) - extract(epoch from '2026-07-22 17:20: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'), 47375, 'SRID=4674;POINT (-38.621335 -3.634814)', '2026-07-22 17:20:43', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621313 -3.634813)'), GeomFromEWKT('SRID=4674;POINT (-38.621335 -3.634814)'))) / (select extract(epoch from '2026-07-22 17:20:43'::timestamp) - extract(epoch from '2026-07-22 17:20:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621313 -3.634813)'), GeomFromEWKT('SRID=4674;POINT (-38.621335 -3.634814)'))) / (select extract(epoch from '2026-07-22 17:20:43'::timestamp) - extract(epoch from '2026-07-22 17:20:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.621346 -3.634813)', '2026-07-22 17:20:45', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621335 -3.634814)'), GeomFromEWKT('SRID=4674;POINT (-38.621346 -3.634813)'))) / (select extract(epoch from '2026-07-22 17:20:45'::timestamp) - extract(epoch from '2026-07-22 17:20:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621335 -3.634814)'), GeomFromEWKT('SRID=4674;POINT (-38.621346 -3.634813)'))) / (select extract(epoch from '2026-07-22 17:20:45'::timestamp) - extract(epoch from '2026-07-22 17:20: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'), 47375, 'SRID=4674;POINT (-38.621379 -3.634804)', '2026-07-22 17:20:51', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621346 -3.634813)'), GeomFromEWKT('SRID=4674;POINT (-38.621379 -3.634804)'))) / (select extract(epoch from '2026-07-22 17:20:51'::timestamp) - extract(epoch from '2026-07-22 17:20:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621346 -3.634813)'), GeomFromEWKT('SRID=4674;POINT (-38.621379 -3.634804)'))) / (select extract(epoch from '2026-07-22 17:20:51'::timestamp) - extract(epoch from '2026-07-22 17:20:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.621414 -3.634795)', '2026-07-22 17:20:59', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621379 -3.634804)'), GeomFromEWKT('SRID=4674;POINT (-38.621414 -3.634795)'))) / (select extract(epoch from '2026-07-22 17:20:59'::timestamp) - extract(epoch from '2026-07-22 17:20:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621379 -3.634804)'), GeomFromEWKT('SRID=4674;POINT (-38.621414 -3.634795)'))) / (select extract(epoch from '2026-07-22 17:20:59'::timestamp) - extract(epoch from '2026-07-22 17:20:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.621431 -3.634785)', '2026-07-22 17:21:07', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621414 -3.634795)'), GeomFromEWKT('SRID=4674;POINT (-38.621431 -3.634785)'))) / (select extract(epoch from '2026-07-22 17:21:07'::timestamp) - extract(epoch from '2026-07-22 17:20:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621414 -3.634795)'), GeomFromEWKT('SRID=4674;POINT (-38.621431 -3.634785)'))) / (select extract(epoch from '2026-07-22 17:21:07'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47375, 'SRID=4674;POINT (-38.621463 -3.634766)', '2026-07-22 17:21:15', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621431 -3.634785)'), GeomFromEWKT('SRID=4674;POINT (-38.621463 -3.634766)'))) / (select extract(epoch from '2026-07-22 17:21:15'::timestamp) - extract(epoch from '2026-07-22 17:21:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621431 -3.634785)'), GeomFromEWKT('SRID=4674;POINT (-38.621463 -3.634766)'))) / (select extract(epoch from '2026-07-22 17:21:15'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47375, 'SRID=4674;POINT (-38.621495 -3.634754)', '2026-07-22 17:21:22', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621463 -3.634766)'), GeomFromEWKT('SRID=4674;POINT (-38.621495 -3.634754)'))) / (select extract(epoch from '2026-07-22 17:21:22'::timestamp) - extract(epoch from '2026-07-22 17:21:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621463 -3.634766)'), GeomFromEWKT('SRID=4674;POINT (-38.621495 -3.634754)'))) / (select extract(epoch from '2026-07-22 17:21:22'::timestamp) - extract(epoch from '2026-07-22 17:21: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'), 47375, 'SRID=4674;POINT (-38.621523 -3.634743)', '2026-07-22 17:21:30', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621495 -3.634754)'), GeomFromEWKT('SRID=4674;POINT (-38.621523 -3.634743)'))) / (select extract(epoch from '2026-07-22 17:21:30'::timestamp) - extract(epoch from '2026-07-22 17:21:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621495 -3.634754)'), GeomFromEWKT('SRID=4674;POINT (-38.621523 -3.634743)'))) / (select extract(epoch from '2026-07-22 17:21:30'::timestamp) - extract(epoch from '2026-07-22 17:21: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'), 47375, 'SRID=4674;POINT (-38.621549 -3.634733)', '2026-07-22 17:21:36', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621523 -3.634743)'), GeomFromEWKT('SRID=4674;POINT (-38.621549 -3.634733)'))) / (select extract(epoch from '2026-07-22 17:21:36'::timestamp) - extract(epoch from '2026-07-22 17:21:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621523 -3.634743)'), GeomFromEWKT('SRID=4674;POINT (-38.621549 -3.634733)'))) / (select extract(epoch from '2026-07-22 17:21:36'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47375, 'SRID=4674;POINT (-38.62157 -3.634723)', '2026-07-22 17:21:44', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621549 -3.634733)'), GeomFromEWKT('SRID=4674;POINT (-38.62157 -3.634723)'))) / (select extract(epoch from '2026-07-22 17:21:44'::timestamp) - extract(epoch from '2026-07-22 17:21:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621549 -3.634733)'), GeomFromEWKT('SRID=4674;POINT (-38.62157 -3.634723)'))) / (select extract(epoch from '2026-07-22 17:21:44'::timestamp) - extract(epoch from '2026-07-22 17:21: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'), 47375, 'SRID=4674;POINT (-38.621594 -3.634691)', '2026-07-22 17:21:53', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62157 -3.634723)'), GeomFromEWKT('SRID=4674;POINT (-38.621594 -3.634691)'))) / (select extract(epoch from '2026-07-22 17:21:53'::timestamp) - extract(epoch from '2026-07-22 17:21:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62157 -3.634723)'), GeomFromEWKT('SRID=4674;POINT (-38.621594 -3.634691)'))) / (select extract(epoch from '2026-07-22 17:21:53'::timestamp) - extract(epoch from '2026-07-22 17:21:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.621617 -3.634663)', '2026-07-22 17:22:03', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621594 -3.634691)'), GeomFromEWKT('SRID=4674;POINT (-38.621617 -3.634663)'))) / (select extract(epoch from '2026-07-22 17:22:03'::timestamp) - extract(epoch from '2026-07-22 17:21:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621594 -3.634691)'), GeomFromEWKT('SRID=4674;POINT (-38.621617 -3.634663)'))) / (select extract(epoch from '2026-07-22 17:22:03'::timestamp) - extract(epoch from '2026-07-22 17:21:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.621635 -3.634637)', '2026-07-22 17:22:11', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621617 -3.634663)'), GeomFromEWKT('SRID=4674;POINT (-38.621635 -3.634637)'))) / (select extract(epoch from '2026-07-22 17:22:11'::timestamp) - extract(epoch from '2026-07-22 17:22:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621617 -3.634663)'), GeomFromEWKT('SRID=4674;POINT (-38.621635 -3.634637)'))) / (select extract(epoch from '2026-07-22 17:22:11'::timestamp) - extract(epoch from '2026-07-22 17:22:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.621668 -3.634636)', '2026-07-22 17:22:19', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621635 -3.634637)'), GeomFromEWKT('SRID=4674;POINT (-38.621668 -3.634636)'))) / (select extract(epoch from '2026-07-22 17:22:19'::timestamp) - extract(epoch from '2026-07-22 17:22:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621635 -3.634637)'), GeomFromEWKT('SRID=4674;POINT (-38.621668 -3.634636)'))) / (select extract(epoch from '2026-07-22 17:22:19'::timestamp) - extract(epoch from '2026-07-22 17:22:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.621702 -3.634623)', '2026-07-22 17:22:27', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621668 -3.634636)'), GeomFromEWKT('SRID=4674;POINT (-38.621702 -3.634623)'))) / (select extract(epoch from '2026-07-22 17:22:27'::timestamp) - extract(epoch from '2026-07-22 17:22:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621668 -3.634636)'), GeomFromEWKT('SRID=4674;POINT (-38.621702 -3.634623)'))) / (select extract(epoch from '2026-07-22 17:22:27'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47375, 'SRID=4674;POINT (-38.621726 -3.634612)', '2026-07-22 17:22:34', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621702 -3.634623)'), GeomFromEWKT('SRID=4674;POINT (-38.621726 -3.634612)'))) / (select extract(epoch from '2026-07-22 17:22:34'::timestamp) - extract(epoch from '2026-07-22 17:22:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621702 -3.634623)'), GeomFromEWKT('SRID=4674;POINT (-38.621726 -3.634612)'))) / (select extract(epoch from '2026-07-22 17:22:34'::timestamp) - extract(epoch from '2026-07-22 17:22:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.621759 -3.634585)', '2026-07-22 17:22:42', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621726 -3.634612)'), GeomFromEWKT('SRID=4674;POINT (-38.621759 -3.634585)'))) / (select extract(epoch from '2026-07-22 17:22:42'::timestamp) - extract(epoch from '2026-07-22 17:22:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621726 -3.634612)'), GeomFromEWKT('SRID=4674;POINT (-38.621759 -3.634585)'))) / (select extract(epoch from '2026-07-22 17:22:42'::timestamp) - extract(epoch from '2026-07-22 17:22:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.62179 -3.634571)', '2026-07-22 17:22:51', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621759 -3.634585)'), GeomFromEWKT('SRID=4674;POINT (-38.62179 -3.634571)'))) / (select extract(epoch from '2026-07-22 17:22:51'::timestamp) - extract(epoch from '2026-07-22 17:22:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621759 -3.634585)'), GeomFromEWKT('SRID=4674;POINT (-38.62179 -3.634571)'))) / (select extract(epoch from '2026-07-22 17:22:51'::timestamp) - extract(epoch from '2026-07-22 17:22: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'), 47375, 'SRID=4674;POINT (-38.621816 -3.634555)', '2026-07-22 17:22:57', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62179 -3.634571)'), GeomFromEWKT('SRID=4674;POINT (-38.621816 -3.634555)'))) / (select extract(epoch from '2026-07-22 17:22:57'::timestamp) - extract(epoch from '2026-07-22 17:22:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62179 -3.634571)'), GeomFromEWKT('SRID=4674;POINT (-38.621816 -3.634555)'))) / (select extract(epoch from '2026-07-22 17:22:57'::timestamp) - extract(epoch from '2026-07-22 17:22: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'), 47375, 'SRID=4674;POINT (-38.621855 -3.634526)', '2026-07-22 17:23:07', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621816 -3.634555)'), GeomFromEWKT('SRID=4674;POINT (-38.621855 -3.634526)'))) / (select extract(epoch from '2026-07-22 17:23:07'::timestamp) - extract(epoch from '2026-07-22 17:22:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621816 -3.634555)'), GeomFromEWKT('SRID=4674;POINT (-38.621855 -3.634526)'))) / (select extract(epoch from '2026-07-22 17:23:07'::timestamp) - extract(epoch from '2026-07-22 17:22:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.621894 -3.634504)', '2026-07-22 17:23:18', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621855 -3.634526)'), GeomFromEWKT('SRID=4674;POINT (-38.621894 -3.634504)'))) / (select extract(epoch from '2026-07-22 17:23:18'::timestamp) - extract(epoch from '2026-07-22 17:23:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621855 -3.634526)'), GeomFromEWKT('SRID=4674;POINT (-38.621894 -3.634504)'))) / (select extract(epoch from '2026-07-22 17:23:18'::timestamp) - extract(epoch from '2026-07-22 17:23:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.621913 -3.634493)', '2026-07-22 17:23:24', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621894 -3.634504)'), GeomFromEWKT('SRID=4674;POINT (-38.621913 -3.634493)'))) / (select extract(epoch from '2026-07-22 17:23:24'::timestamp) - extract(epoch from '2026-07-22 17:23:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621894 -3.634504)'), GeomFromEWKT('SRID=4674;POINT (-38.621913 -3.634493)'))) / (select extract(epoch from '2026-07-22 17:23:24'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47375, 'SRID=4674;POINT (-38.621939 -3.63449)', '2026-07-22 17:23:31', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621913 -3.634493)'), GeomFromEWKT('SRID=4674;POINT (-38.621939 -3.63449)'))) / (select extract(epoch from '2026-07-22 17:23:31'::timestamp) - extract(epoch from '2026-07-22 17:23:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621913 -3.634493)'), GeomFromEWKT('SRID=4674;POINT (-38.621939 -3.63449)'))) / (select extract(epoch from '2026-07-22 17:23:31'::timestamp) - extract(epoch from '2026-07-22 17:23:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.621973 -3.634487)', '2026-07-22 17:23:39', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621939 -3.63449)'), GeomFromEWKT('SRID=4674;POINT (-38.621973 -3.634487)'))) / (select extract(epoch from '2026-07-22 17:23:39'::timestamp) - extract(epoch from '2026-07-22 17:23:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621939 -3.63449)'), GeomFromEWKT('SRID=4674;POINT (-38.621973 -3.634487)'))) / (select extract(epoch from '2026-07-22 17:23:39'::timestamp) - extract(epoch from '2026-07-22 17:23:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.622004 -3.634486)', '2026-07-22 17:23:46', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621973 -3.634487)'), GeomFromEWKT('SRID=4674;POINT (-38.622004 -3.634486)'))) / (select extract(epoch from '2026-07-22 17:23:46'::timestamp) - extract(epoch from '2026-07-22 17:23:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621973 -3.634487)'), GeomFromEWKT('SRID=4674;POINT (-38.622004 -3.634486)'))) / (select extract(epoch from '2026-07-22 17:23:46'::timestamp) - extract(epoch from '2026-07-22 17:23:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.622035 -3.63449)', '2026-07-22 17:23:53', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622004 -3.634486)'), GeomFromEWKT('SRID=4674;POINT (-38.622035 -3.63449)'))) / (select extract(epoch from '2026-07-22 17:23:53'::timestamp) - extract(epoch from '2026-07-22 17:23:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622004 -3.634486)'), GeomFromEWKT('SRID=4674;POINT (-38.622035 -3.63449)'))) / (select extract(epoch from '2026-07-22 17:23:53'::timestamp) - extract(epoch from '2026-07-22 17:23:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.622065 -3.63449)', '2026-07-22 17:24:00', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622035 -3.63449)'), GeomFromEWKT('SRID=4674;POINT (-38.622065 -3.63449)'))) / (select extract(epoch from '2026-07-22 17:24:00'::timestamp) - extract(epoch from '2026-07-22 17:23:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622035 -3.63449)'), GeomFromEWKT('SRID=4674;POINT (-38.622065 -3.63449)'))) / (select extract(epoch from '2026-07-22 17:24:00'::timestamp) - extract(epoch from '2026-07-22 17:23:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.622099 -3.634483)', '2026-07-22 17:24:07', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622065 -3.63449)'), GeomFromEWKT('SRID=4674;POINT (-38.622099 -3.634483)'))) / (select extract(epoch from '2026-07-22 17:24:07'::timestamp) - extract(epoch from '2026-07-22 17:24:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622065 -3.63449)'), GeomFromEWKT('SRID=4674;POINT (-38.622099 -3.634483)'))) / (select extract(epoch from '2026-07-22 17:24:07'::timestamp) - extract(epoch from '2026-07-22 17:24: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'), 47375, 'SRID=4674;POINT (-38.62212 -3.63446)', '2026-07-22 17:24:14', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622099 -3.634483)'), GeomFromEWKT('SRID=4674;POINT (-38.62212 -3.63446)'))) / (select extract(epoch from '2026-07-22 17:24:14'::timestamp) - extract(epoch from '2026-07-22 17:24:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622099 -3.634483)'), GeomFromEWKT('SRID=4674;POINT (-38.62212 -3.63446)'))) / (select extract(epoch from '2026-07-22 17:24:14'::timestamp) - extract(epoch from '2026-07-22 17:24: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'), 47375, 'SRID=4674;POINT (-38.622139 -3.634447)', '2026-07-22 17:24:20', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62212 -3.63446)'), GeomFromEWKT('SRID=4674;POINT (-38.622139 -3.634447)'))) / (select extract(epoch from '2026-07-22 17:24:20'::timestamp) - extract(epoch from '2026-07-22 17:24:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62212 -3.63446)'), GeomFromEWKT('SRID=4674;POINT (-38.622139 -3.634447)'))) / (select extract(epoch from '2026-07-22 17:24:20'::timestamp) - extract(epoch from '2026-07-22 17:24: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'), 47375, 'SRID=4674;POINT (-38.622167 -3.634421)', '2026-07-22 17:24:29', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622139 -3.634447)'), GeomFromEWKT('SRID=4674;POINT (-38.622167 -3.634421)'))) / (select extract(epoch from '2026-07-22 17:24:29'::timestamp) - extract(epoch from '2026-07-22 17:24:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622139 -3.634447)'), GeomFromEWKT('SRID=4674;POINT (-38.622167 -3.634421)'))) / (select extract(epoch from '2026-07-22 17:24:29'::timestamp) - extract(epoch from '2026-07-22 17:24:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.622192 -3.634404)', '2026-07-22 17:24:36', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622167 -3.634421)'), GeomFromEWKT('SRID=4674;POINT (-38.622192 -3.634404)'))) / (select extract(epoch from '2026-07-22 17:24:36'::timestamp) - extract(epoch from '2026-07-22 17:24:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622167 -3.634421)'), GeomFromEWKT('SRID=4674;POINT (-38.622192 -3.634404)'))) / (select extract(epoch from '2026-07-22 17:24:36'::timestamp) - extract(epoch from '2026-07-22 17:24: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'), 47375, 'SRID=4674;POINT (-38.622213 -3.634386)', '2026-07-22 17:24:43', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622192 -3.634404)'), GeomFromEWKT('SRID=4674;POINT (-38.622213 -3.634386)'))) / (select extract(epoch from '2026-07-22 17:24:43'::timestamp) - extract(epoch from '2026-07-22 17:24:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622192 -3.634404)'), GeomFromEWKT('SRID=4674;POINT (-38.622213 -3.634386)'))) / (select extract(epoch from '2026-07-22 17:24:43'::timestamp) - extract(epoch from '2026-07-22 17:24: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'), 47375, 'SRID=4674;POINT (-38.62224 -3.634373)', '2026-07-22 17:24:48', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622213 -3.634386)'), GeomFromEWKT('SRID=4674;POINT (-38.62224 -3.634373)'))) / (select extract(epoch from '2026-07-22 17:24:48'::timestamp) - extract(epoch from '2026-07-22 17:24:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622213 -3.634386)'), GeomFromEWKT('SRID=4674;POINT (-38.62224 -3.634373)'))) / (select extract(epoch from '2026-07-22 17:24:48'::timestamp) - extract(epoch from '2026-07-22 17:24:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.622264 -3.634362)', '2026-07-22 17:24:54', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62224 -3.634373)'), GeomFromEWKT('SRID=4674;POINT (-38.622264 -3.634362)'))) / (select extract(epoch from '2026-07-22 17:24:54'::timestamp) - extract(epoch from '2026-07-22 17:24:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62224 -3.634373)'), GeomFromEWKT('SRID=4674;POINT (-38.622264 -3.634362)'))) / (select extract(epoch from '2026-07-22 17:24:54'::timestamp) - extract(epoch from '2026-07-22 17:24:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.622286 -3.634357)', '2026-07-22 17:24:59', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622264 -3.634362)'), GeomFromEWKT('SRID=4674;POINT (-38.622286 -3.634357)'))) / (select extract(epoch from '2026-07-22 17:24:59'::timestamp) - extract(epoch from '2026-07-22 17:24:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622264 -3.634362)'), GeomFromEWKT('SRID=4674;POINT (-38.622286 -3.634357)'))) / (select extract(epoch from '2026-07-22 17:24:59'::timestamp) - extract(epoch from '2026-07-22 17:24: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'), 47375, 'SRID=4674;POINT (-38.622304 -3.634346)', '2026-07-22 17:25:05', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622286 -3.634357)'), GeomFromEWKT('SRID=4674;POINT (-38.622304 -3.634346)'))) / (select extract(epoch from '2026-07-22 17:25:05'::timestamp) - extract(epoch from '2026-07-22 17:24:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622286 -3.634357)'), GeomFromEWKT('SRID=4674;POINT (-38.622304 -3.634346)'))) / (select extract(epoch from '2026-07-22 17:25:05'::timestamp) - extract(epoch from '2026-07-22 17:24: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'), 47375, 'SRID=4674;POINT (-38.622336 -3.634332)', '2026-07-22 17:25:13', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622304 -3.634346)'), GeomFromEWKT('SRID=4674;POINT (-38.622336 -3.634332)'))) / (select extract(epoch from '2026-07-22 17:25:13'::timestamp) - extract(epoch from '2026-07-22 17:25:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622304 -3.634346)'), GeomFromEWKT('SRID=4674;POINT (-38.622336 -3.634332)'))) / (select extract(epoch from '2026-07-22 17:25:13'::timestamp) - extract(epoch from '2026-07-22 17:25:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.622348 -3.634334)', '2026-07-22 17:25:14', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622336 -3.634332)'), GeomFromEWKT('SRID=4674;POINT (-38.622348 -3.634334)'))) / (select extract(epoch from '2026-07-22 17:25:14'::timestamp) - extract(epoch from '2026-07-22 17:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622336 -3.634332)'), GeomFromEWKT('SRID=4674;POINT (-38.622348 -3.634334)'))) / (select extract(epoch from '2026-07-22 17:25:14'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47375, 'SRID=4674;POINT (-38.622365 -3.634328)', '2026-07-22 17:25:18', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622348 -3.634334)'), GeomFromEWKT('SRID=4674;POINT (-38.622365 -3.634328)'))) / (select extract(epoch from '2026-07-22 17:25:18'::timestamp) - extract(epoch from '2026-07-22 17:25:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622348 -3.634334)'), GeomFromEWKT('SRID=4674;POINT (-38.622365 -3.634328)'))) / (select extract(epoch from '2026-07-22 17:25:18'::timestamp) - extract(epoch from '2026-07-22 17:25:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.622391 -3.634318)', '2026-07-22 17:25:24', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622365 -3.634328)'), GeomFromEWKT('SRID=4674;POINT (-38.622391 -3.634318)'))) / (select extract(epoch from '2026-07-22 17:25:24'::timestamp) - extract(epoch from '2026-07-22 17:25:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622365 -3.634328)'), GeomFromEWKT('SRID=4674;POINT (-38.622391 -3.634318)'))) / (select extract(epoch from '2026-07-22 17:25:24'::timestamp) - extract(epoch from '2026-07-22 17:25: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'), 47375, 'SRID=4674;POINT (-38.622418 -3.63431)', '2026-07-22 17:25:30', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622391 -3.634318)'), GeomFromEWKT('SRID=4674;POINT (-38.622418 -3.63431)'))) / (select extract(epoch from '2026-07-22 17:25:30'::timestamp) - extract(epoch from '2026-07-22 17:25:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622391 -3.634318)'), GeomFromEWKT('SRID=4674;POINT (-38.622418 -3.63431)'))) / (select extract(epoch from '2026-07-22 17:25:30'::timestamp) - extract(epoch from '2026-07-22 17:25: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'), 47375, 'SRID=4674;POINT (-38.622437 -3.634307)', '2026-07-22 17:25:35', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622418 -3.63431)'), GeomFromEWKT('SRID=4674;POINT (-38.622437 -3.634307)'))) / (select extract(epoch from '2026-07-22 17:25:35'::timestamp) - extract(epoch from '2026-07-22 17:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622418 -3.63431)'), GeomFromEWKT('SRID=4674;POINT (-38.622437 -3.634307)'))) / (select extract(epoch from '2026-07-22 17:25:35'::timestamp) - extract(epoch from '2026-07-22 17:25:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.622462 -3.634301)', '2026-07-22 17:25:41', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622437 -3.634307)'), GeomFromEWKT('SRID=4674;POINT (-38.622462 -3.634301)'))) / (select extract(epoch from '2026-07-22 17:25:41'::timestamp) - extract(epoch from '2026-07-22 17:25:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622437 -3.634307)'), GeomFromEWKT('SRID=4674;POINT (-38.622462 -3.634301)'))) / (select extract(epoch from '2026-07-22 17:25:41'::timestamp) - extract(epoch from '2026-07-22 17:25: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'), 47375, 'SRID=4674;POINT (-38.622488 -3.634295)', '2026-07-22 17:25:48', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622462 -3.634301)'), GeomFromEWKT('SRID=4674;POINT (-38.622488 -3.634295)'))) / (select extract(epoch from '2026-07-22 17:25:48'::timestamp) - extract(epoch from '2026-07-22 17:25:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622462 -3.634301)'), GeomFromEWKT('SRID=4674;POINT (-38.622488 -3.634295)'))) / (select extract(epoch from '2026-07-22 17:25:48'::timestamp) - extract(epoch from '2026-07-22 17:25:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.622529 -3.634276)', '2026-07-22 17:25:58', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622488 -3.634295)'), GeomFromEWKT('SRID=4674;POINT (-38.622529 -3.634276)'))) / (select extract(epoch from '2026-07-22 17:25:58'::timestamp) - extract(epoch from '2026-07-22 17:25:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622488 -3.634295)'), GeomFromEWKT('SRID=4674;POINT (-38.622529 -3.634276)'))) / (select extract(epoch from '2026-07-22 17:25:58'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47375, 'SRID=4674;POINT (-38.622559 -3.63427)', '2026-07-22 17:26:05', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622529 -3.634276)'), GeomFromEWKT('SRID=4674;POINT (-38.622559 -3.63427)'))) / (select extract(epoch from '2026-07-22 17:26:05'::timestamp) - extract(epoch from '2026-07-22 17:25:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622529 -3.634276)'), GeomFromEWKT('SRID=4674;POINT (-38.622559 -3.63427)'))) / (select extract(epoch from '2026-07-22 17:26:05'::timestamp) - extract(epoch from '2026-07-22 17:25: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'), 47375, 'SRID=4674;POINT (-38.622589 -3.634267)', '2026-07-22 17:26:11', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622559 -3.63427)'), GeomFromEWKT('SRID=4674;POINT (-38.622589 -3.634267)'))) / (select extract(epoch from '2026-07-22 17:26:11'::timestamp) - extract(epoch from '2026-07-22 17:26:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622559 -3.63427)'), GeomFromEWKT('SRID=4674;POINT (-38.622589 -3.634267)'))) / (select extract(epoch from '2026-07-22 17:26:11'::timestamp) - extract(epoch from '2026-07-22 17:26:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.62262 -3.634257)', '2026-07-22 17:26:18', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622589 -3.634267)'), GeomFromEWKT('SRID=4674;POINT (-38.62262 -3.634257)'))) / (select extract(epoch from '2026-07-22 17:26:18'::timestamp) - extract(epoch from '2026-07-22 17:26:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622589 -3.634267)'), GeomFromEWKT('SRID=4674;POINT (-38.62262 -3.634257)'))) / (select extract(epoch from '2026-07-22 17:26:18'::timestamp) - extract(epoch from '2026-07-22 17:26: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'), 47375, 'SRID=4674;POINT (-38.622647 -3.634243)', '2026-07-22 17:26:25', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62262 -3.634257)'), GeomFromEWKT('SRID=4674;POINT (-38.622647 -3.634243)'))) / (select extract(epoch from '2026-07-22 17:26:25'::timestamp) - extract(epoch from '2026-07-22 17:26:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62262 -3.634257)'), GeomFromEWKT('SRID=4674;POINT (-38.622647 -3.634243)'))) / (select extract(epoch from '2026-07-22 17:26:25'::timestamp) - extract(epoch from '2026-07-22 17:26:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.622675 -3.634222)', '2026-07-22 17:26:33', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622647 -3.634243)'), GeomFromEWKT('SRID=4674;POINT (-38.622675 -3.634222)'))) / (select extract(epoch from '2026-07-22 17:26:33'::timestamp) - extract(epoch from '2026-07-22 17:26:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622647 -3.634243)'), GeomFromEWKT('SRID=4674;POINT (-38.622675 -3.634222)'))) / (select extract(epoch from '2026-07-22 17:26:33'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47375, 'SRID=4674;POINT (-38.622696 -3.63421)', '2026-07-22 17:26:40', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622675 -3.634222)'), GeomFromEWKT('SRID=4674;POINT (-38.622696 -3.63421)'))) / (select extract(epoch from '2026-07-22 17:26:40'::timestamp) - extract(epoch from '2026-07-22 17:26:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622675 -3.634222)'), GeomFromEWKT('SRID=4674;POINT (-38.622696 -3.63421)'))) / (select extract(epoch from '2026-07-22 17:26:40'::timestamp) - extract(epoch from '2026-07-22 17:26: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'), 47375, 'SRID=4674;POINT (-38.62272 -3.634196)', '2026-07-22 17:26:48', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622696 -3.63421)'), GeomFromEWKT('SRID=4674;POINT (-38.62272 -3.634196)'))) / (select extract(epoch from '2026-07-22 17:26:48'::timestamp) - extract(epoch from '2026-07-22 17:26:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622696 -3.63421)'), GeomFromEWKT('SRID=4674;POINT (-38.62272 -3.634196)'))) / (select extract(epoch from '2026-07-22 17:26:48'::timestamp) - extract(epoch from '2026-07-22 17:26:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.622746 -3.634188)', '2026-07-22 17:26:54', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62272 -3.634196)'), GeomFromEWKT('SRID=4674;POINT (-38.622746 -3.634188)'))) / (select extract(epoch from '2026-07-22 17:26:54'::timestamp) - extract(epoch from '2026-07-22 17:26:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62272 -3.634196)'), GeomFromEWKT('SRID=4674;POINT (-38.622746 -3.634188)'))) / (select extract(epoch from '2026-07-22 17:26:54'::timestamp) - extract(epoch from '2026-07-22 17:26: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'), 47375, 'SRID=4674;POINT (-38.622783 -3.634176)', '2026-07-22 17:27:00', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622746 -3.634188)'), GeomFromEWKT('SRID=4674;POINT (-38.622783 -3.634176)'))) / (select extract(epoch from '2026-07-22 17:27:00'::timestamp) - extract(epoch from '2026-07-22 17:26:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622746 -3.634188)'), GeomFromEWKT('SRID=4674;POINT (-38.622783 -3.634176)'))) / (select extract(epoch from '2026-07-22 17:27:00'::timestamp) - extract(epoch from '2026-07-22 17:26: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'), 47375, 'SRID=4674;POINT (-38.622819 -3.63416)', '2026-07-22 17:27:09', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622783 -3.634176)'), GeomFromEWKT('SRID=4674;POINT (-38.622819 -3.63416)'))) / (select extract(epoch from '2026-07-22 17:27:09'::timestamp) - extract(epoch from '2026-07-22 17:27:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622783 -3.634176)'), GeomFromEWKT('SRID=4674;POINT (-38.622819 -3.63416)'))) / (select extract(epoch from '2026-07-22 17:27:09'::timestamp) - extract(epoch from '2026-07-22 17:27: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'), 47375, 'SRID=4674;POINT (-38.622855 -3.634145)', '2026-07-22 17:27:18', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622819 -3.63416)'), GeomFromEWKT('SRID=4674;POINT (-38.622855 -3.634145)'))) / (select extract(epoch from '2026-07-22 17:27:18'::timestamp) - extract(epoch from '2026-07-22 17:27:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622819 -3.63416)'), GeomFromEWKT('SRID=4674;POINT (-38.622855 -3.634145)'))) / (select extract(epoch from '2026-07-22 17:27:18'::timestamp) - extract(epoch from '2026-07-22 17:27:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.622882 -3.634129)', '2026-07-22 17:27:24', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622855 -3.634145)'), GeomFromEWKT('SRID=4674;POINT (-38.622882 -3.634129)'))) / (select extract(epoch from '2026-07-22 17:27:24'::timestamp) - extract(epoch from '2026-07-22 17:27:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622855 -3.634145)'), GeomFromEWKT('SRID=4674;POINT (-38.622882 -3.634129)'))) / (select extract(epoch from '2026-07-22 17:27:24'::timestamp) - extract(epoch from '2026-07-22 17:27: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'), 47375, 'SRID=4674;POINT (-38.622922 -3.63411)', '2026-07-22 17:27:33', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622882 -3.634129)'), GeomFromEWKT('SRID=4674;POINT (-38.622922 -3.63411)'))) / (select extract(epoch from '2026-07-22 17:27:33'::timestamp) - extract(epoch from '2026-07-22 17:27:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622882 -3.634129)'), GeomFromEWKT('SRID=4674;POINT (-38.622922 -3.63411)'))) / (select extract(epoch from '2026-07-22 17:27:33'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47375, 'SRID=4674;POINT (-38.62295 -3.634102)', '2026-07-22 17:27:38', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622922 -3.63411)'), GeomFromEWKT('SRID=4674;POINT (-38.62295 -3.634102)'))) / (select extract(epoch from '2026-07-22 17:27:38'::timestamp) - extract(epoch from '2026-07-22 17:27:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622922 -3.63411)'), GeomFromEWKT('SRID=4674;POINT (-38.62295 -3.634102)'))) / (select extract(epoch from '2026-07-22 17:27:38'::timestamp) - extract(epoch from '2026-07-22 17:27: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'), 47375, 'SRID=4674;POINT (-38.622979 -3.634092)', '2026-07-22 17:27:46', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62295 -3.634102)'), GeomFromEWKT('SRID=4674;POINT (-38.622979 -3.634092)'))) / (select extract(epoch from '2026-07-22 17:27:46'::timestamp) - extract(epoch from '2026-07-22 17:27:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62295 -3.634102)'), GeomFromEWKT('SRID=4674;POINT (-38.622979 -3.634092)'))) / (select extract(epoch from '2026-07-22 17:27:46'::timestamp) - extract(epoch from '2026-07-22 17:27: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'), 47375, 'SRID=4674;POINT (-38.623001 -3.634073)', '2026-07-22 17:27:54', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622979 -3.634092)'), GeomFromEWKT('SRID=4674;POINT (-38.623001 -3.634073)'))) / (select extract(epoch from '2026-07-22 17:27:54'::timestamp) - extract(epoch from '2026-07-22 17:27:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622979 -3.634092)'), GeomFromEWKT('SRID=4674;POINT (-38.623001 -3.634073)'))) / (select extract(epoch from '2026-07-22 17:27:54'::timestamp) - extract(epoch from '2026-07-22 17:27: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'), 47375, 'SRID=4674;POINT (-38.623022 -3.634055)', '2026-07-22 17:28:02', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623001 -3.634073)'), GeomFromEWKT('SRID=4674;POINT (-38.623022 -3.634055)'))) / (select extract(epoch from '2026-07-22 17:28:02'::timestamp) - extract(epoch from '2026-07-22 17:27:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623001 -3.634073)'), GeomFromEWKT('SRID=4674;POINT (-38.623022 -3.634055)'))) / (select extract(epoch from '2026-07-22 17:28:02'::timestamp) - extract(epoch from '2026-07-22 17:27: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'), 47375, 'SRID=4674;POINT (-38.623054 -3.63404)', '2026-07-22 17:28:09', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623022 -3.634055)'), GeomFromEWKT('SRID=4674;POINT (-38.623054 -3.63404)'))) / (select extract(epoch from '2026-07-22 17:28:09'::timestamp) - extract(epoch from '2026-07-22 17:28:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623022 -3.634055)'), GeomFromEWKT('SRID=4674;POINT (-38.623054 -3.63404)'))) / (select extract(epoch from '2026-07-22 17:28:09'::timestamp) - extract(epoch from '2026-07-22 17:28:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.623077 -3.634027)', '2026-07-22 17:28:15', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623054 -3.63404)'), GeomFromEWKT('SRID=4674;POINT (-38.623077 -3.634027)'))) / (select extract(epoch from '2026-07-22 17:28:15'::timestamp) - extract(epoch from '2026-07-22 17:28:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623054 -3.63404)'), GeomFromEWKT('SRID=4674;POINT (-38.623077 -3.634027)'))) / (select extract(epoch from '2026-07-22 17:28:15'::timestamp) - extract(epoch from '2026-07-22 17:28:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.623104 -3.634015)', '2026-07-22 17:28:23', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623077 -3.634027)'), GeomFromEWKT('SRID=4674;POINT (-38.623104 -3.634015)'))) / (select extract(epoch from '2026-07-22 17:28:23'::timestamp) - extract(epoch from '2026-07-22 17:28:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623077 -3.634027)'), GeomFromEWKT('SRID=4674;POINT (-38.623104 -3.634015)'))) / (select extract(epoch from '2026-07-22 17:28:23'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47375, 'SRID=4674;POINT (-38.623138 -3.634)', '2026-07-22 17:28:29', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623104 -3.634015)'), GeomFromEWKT('SRID=4674;POINT (-38.623138 -3.634)'))) / (select extract(epoch from '2026-07-22 17:28:29'::timestamp) - extract(epoch from '2026-07-22 17:28:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623104 -3.634015)'), GeomFromEWKT('SRID=4674;POINT (-38.623138 -3.634)'))) / (select extract(epoch from '2026-07-22 17:28:29'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47375, 'SRID=4674;POINT (-38.623167 -3.633984)', '2026-07-22 17:28:37', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623138 -3.634)'), GeomFromEWKT('SRID=4674;POINT (-38.623167 -3.633984)'))) / (select extract(epoch from '2026-07-22 17:28:37'::timestamp) - extract(epoch from '2026-07-22 17:28:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623138 -3.634)'), GeomFromEWKT('SRID=4674;POINT (-38.623167 -3.633984)'))) / (select extract(epoch from '2026-07-22 17:28:37'::timestamp) - extract(epoch from '2026-07-22 17:28:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.623198 -3.633975)', '2026-07-22 17:28:44', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623167 -3.633984)'), GeomFromEWKT('SRID=4674;POINT (-38.623198 -3.633975)'))) / (select extract(epoch from '2026-07-22 17:28:44'::timestamp) - extract(epoch from '2026-07-22 17:28:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623167 -3.633984)'), GeomFromEWKT('SRID=4674;POINT (-38.623198 -3.633975)'))) / (select extract(epoch from '2026-07-22 17:28:44'::timestamp) - extract(epoch from '2026-07-22 17:28:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.623227 -3.633958)', '2026-07-22 17:28:51', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623198 -3.633975)'), GeomFromEWKT('SRID=4674;POINT (-38.623227 -3.633958)'))) / (select extract(epoch from '2026-07-22 17:28:51'::timestamp) - extract(epoch from '2026-07-22 17:28:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623198 -3.633975)'), GeomFromEWKT('SRID=4674;POINT (-38.623227 -3.633958)'))) / (select extract(epoch from '2026-07-22 17:28:51'::timestamp) - extract(epoch from '2026-07-22 17:28:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.62325 -3.633936)', '2026-07-22 17:28:59', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623227 -3.633958)'), GeomFromEWKT('SRID=4674;POINT (-38.62325 -3.633936)'))) / (select extract(epoch from '2026-07-22 17:28:59'::timestamp) - extract(epoch from '2026-07-22 17:28:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623227 -3.633958)'), GeomFromEWKT('SRID=4674;POINT (-38.62325 -3.633936)'))) / (select extract(epoch from '2026-07-22 17:28:59'::timestamp) - extract(epoch from '2026-07-22 17:28: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'), 47375, 'SRID=4674;POINT (-38.62328 -3.633928)', '2026-07-22 17:29:07', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62325 -3.633936)'), GeomFromEWKT('SRID=4674;POINT (-38.62328 -3.633928)'))) / (select extract(epoch from '2026-07-22 17:29:07'::timestamp) - extract(epoch from '2026-07-22 17:28:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62325 -3.633936)'), GeomFromEWKT('SRID=4674;POINT (-38.62328 -3.633928)'))) / (select extract(epoch from '2026-07-22 17:29:07'::timestamp) - extract(epoch from '2026-07-22 17:28:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.62331 -3.633917)', '2026-07-22 17:29:14', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62328 -3.633928)'), GeomFromEWKT('SRID=4674;POINT (-38.62331 -3.633917)'))) / (select extract(epoch from '2026-07-22 17:29:14'::timestamp) - extract(epoch from '2026-07-22 17:29:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62328 -3.633928)'), GeomFromEWKT('SRID=4674;POINT (-38.62331 -3.633917)'))) / (select extract(epoch from '2026-07-22 17:29:14'::timestamp) - extract(epoch from '2026-07-22 17:29:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.623328 -3.633907)', '2026-07-22 17:29:20', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62331 -3.633917)'), GeomFromEWKT('SRID=4674;POINT (-38.623328 -3.633907)'))) / (select extract(epoch from '2026-07-22 17:29:20'::timestamp) - extract(epoch from '2026-07-22 17:29:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62331 -3.633917)'), GeomFromEWKT('SRID=4674;POINT (-38.623328 -3.633907)'))) / (select extract(epoch from '2026-07-22 17:29:20'::timestamp) - extract(epoch from '2026-07-22 17:29: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'), 47375, 'SRID=4674;POINT (-38.623355 -3.6339)', '2026-07-22 17:29:27', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623328 -3.633907)'), GeomFromEWKT('SRID=4674;POINT (-38.623355 -3.6339)'))) / (select extract(epoch from '2026-07-22 17:29:27'::timestamp) - extract(epoch from '2026-07-22 17:29:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623328 -3.633907)'), GeomFromEWKT('SRID=4674;POINT (-38.623355 -3.6339)'))) / (select extract(epoch from '2026-07-22 17:29:27'::timestamp) - extract(epoch from '2026-07-22 17:29: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'), 47375, 'SRID=4674;POINT (-38.623398 -3.633898)', '2026-07-22 17:29:36', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623355 -3.6339)'), GeomFromEWKT('SRID=4674;POINT (-38.623398 -3.633898)'))) / (select extract(epoch from '2026-07-22 17:29:36'::timestamp) - extract(epoch from '2026-07-22 17:29:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623355 -3.6339)'), GeomFromEWKT('SRID=4674;POINT (-38.623398 -3.633898)'))) / (select extract(epoch from '2026-07-22 17:29:36'::timestamp) - extract(epoch from '2026-07-22 17:29:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.623423 -3.633887)', '2026-07-22 17:29:42', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623398 -3.633898)'), GeomFromEWKT('SRID=4674;POINT (-38.623423 -3.633887)'))) / (select extract(epoch from '2026-07-22 17:29:42'::timestamp) - extract(epoch from '2026-07-22 17:29:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623398 -3.633898)'), GeomFromEWKT('SRID=4674;POINT (-38.623423 -3.633887)'))) / (select extract(epoch from '2026-07-22 17:29:42'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47375, 'SRID=4674;POINT (-38.623449 -3.633881)', '2026-07-22 17:29:48', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623423 -3.633887)'), GeomFromEWKT('SRID=4674;POINT (-38.623449 -3.633881)'))) / (select extract(epoch from '2026-07-22 17:29:48'::timestamp) - extract(epoch from '2026-07-22 17:29:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623423 -3.633887)'), GeomFromEWKT('SRID=4674;POINT (-38.623449 -3.633881)'))) / (select extract(epoch from '2026-07-22 17:29:48'::timestamp) - extract(epoch from '2026-07-22 17:29: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'), 47375, 'SRID=4674;POINT (-38.623473 -3.633874)', '2026-07-22 17:29:54', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623449 -3.633881)'), GeomFromEWKT('SRID=4674;POINT (-38.623473 -3.633874)'))) / (select extract(epoch from '2026-07-22 17:29:54'::timestamp) - extract(epoch from '2026-07-22 17:29:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623449 -3.633881)'), GeomFromEWKT('SRID=4674;POINT (-38.623473 -3.633874)'))) / (select extract(epoch from '2026-07-22 17:29:54'::timestamp) - extract(epoch from '2026-07-22 17:29: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'), 47375, 'SRID=4674;POINT (-38.623495 -3.633865)', '2026-07-22 17:30:00', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623473 -3.633874)'), GeomFromEWKT('SRID=4674;POINT (-38.623495 -3.633865)'))) / (select extract(epoch from '2026-07-22 17:30:00'::timestamp) - extract(epoch from '2026-07-22 17:29:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623473 -3.633874)'), GeomFromEWKT('SRID=4674;POINT (-38.623495 -3.633865)'))) / (select extract(epoch from '2026-07-22 17:30:00'::timestamp) - extract(epoch from '2026-07-22 17:29: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'), 47375, 'SRID=4674;POINT (-38.623521 -3.633855)', '2026-07-22 17:30:06', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623495 -3.633865)'), GeomFromEWKT('SRID=4674;POINT (-38.623521 -3.633855)'))) / (select extract(epoch from '2026-07-22 17:30:06'::timestamp) - extract(epoch from '2026-07-22 17:30:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623495 -3.633865)'), GeomFromEWKT('SRID=4674;POINT (-38.623521 -3.633855)'))) / (select extract(epoch from '2026-07-22 17:30:06'::timestamp) - extract(epoch from '2026-07-22 17:30: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'), 47375, 'SRID=4674;POINT (-38.623539 -3.633842)', '2026-07-22 17:30:12', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623521 -3.633855)'), GeomFromEWKT('SRID=4674;POINT (-38.623539 -3.633842)'))) / (select extract(epoch from '2026-07-22 17:30:12'::timestamp) - extract(epoch from '2026-07-22 17:30:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623521 -3.633855)'), GeomFromEWKT('SRID=4674;POINT (-38.623539 -3.633842)'))) / (select extract(epoch from '2026-07-22 17:30:12'::timestamp) - extract(epoch from '2026-07-22 17:30: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'), 47375, 'SRID=4674;POINT (-38.62357 -3.633822)', '2026-07-22 17:30:19', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623539 -3.633842)'), GeomFromEWKT('SRID=4674;POINT (-38.62357 -3.633822)'))) / (select extract(epoch from '2026-07-22 17:30:19'::timestamp) - extract(epoch from '2026-07-22 17:30:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623539 -3.633842)'), GeomFromEWKT('SRID=4674;POINT (-38.62357 -3.633822)'))) / (select extract(epoch from '2026-07-22 17:30:19'::timestamp) - extract(epoch from '2026-07-22 17:30: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'), 47375, 'SRID=4674;POINT (-38.623589 -3.633813)', '2026-07-22 17:30:25', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62357 -3.633822)'), GeomFromEWKT('SRID=4674;POINT (-38.623589 -3.633813)'))) / (select extract(epoch from '2026-07-22 17:30:25'::timestamp) - extract(epoch from '2026-07-22 17:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62357 -3.633822)'), GeomFromEWKT('SRID=4674;POINT (-38.623589 -3.633813)'))) / (select extract(epoch from '2026-07-22 17:30:25'::timestamp) - extract(epoch from '2026-07-22 17:30: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'), 47375, 'SRID=4674;POINT (-38.623623 -3.633801)', '2026-07-22 17:30:32', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623589 -3.633813)'), GeomFromEWKT('SRID=4674;POINT (-38.623623 -3.633801)'))) / (select extract(epoch from '2026-07-22 17:30:32'::timestamp) - extract(epoch from '2026-07-22 17:30:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623589 -3.633813)'), GeomFromEWKT('SRID=4674;POINT (-38.623623 -3.633801)'))) / (select extract(epoch from '2026-07-22 17:30:32'::timestamp) - extract(epoch from '2026-07-22 17:30:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.623652 -3.63379)', '2026-07-22 17:30:37', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623623 -3.633801)'), GeomFromEWKT('SRID=4674;POINT (-38.623652 -3.63379)'))) / (select extract(epoch from '2026-07-22 17:30:37'::timestamp) - extract(epoch from '2026-07-22 17:30:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623623 -3.633801)'), GeomFromEWKT('SRID=4674;POINT (-38.623652 -3.63379)'))) / (select extract(epoch from '2026-07-22 17:30:37'::timestamp) - extract(epoch from '2026-07-22 17:30:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.623678 -3.633776)', '2026-07-22 17:30:44', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623652 -3.63379)'), GeomFromEWKT('SRID=4674;POINT (-38.623678 -3.633776)'))) / (select extract(epoch from '2026-07-22 17:30:44'::timestamp) - extract(epoch from '2026-07-22 17:30:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623652 -3.63379)'), GeomFromEWKT('SRID=4674;POINT (-38.623678 -3.633776)'))) / (select extract(epoch from '2026-07-22 17:30:44'::timestamp) - extract(epoch from '2026-07-22 17:30:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.623704 -3.633758)', '2026-07-22 17:30:51', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623678 -3.633776)'), GeomFromEWKT('SRID=4674;POINT (-38.623704 -3.633758)'))) / (select extract(epoch from '2026-07-22 17:30:51'::timestamp) - extract(epoch from '2026-07-22 17:30:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623678 -3.633776)'), GeomFromEWKT('SRID=4674;POINT (-38.623704 -3.633758)'))) / (select extract(epoch from '2026-07-22 17:30:51'::timestamp) - extract(epoch from '2026-07-22 17:30: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'), 47375, 'SRID=4674;POINT (-38.623725 -3.633746)', '2026-07-22 17:30:59', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623704 -3.633758)'), GeomFromEWKT('SRID=4674;POINT (-38.623725 -3.633746)'))) / (select extract(epoch from '2026-07-22 17:30:59'::timestamp) - extract(epoch from '2026-07-22 17:30:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623704 -3.633758)'), GeomFromEWKT('SRID=4674;POINT (-38.623725 -3.633746)'))) / (select extract(epoch from '2026-07-22 17:30:59'::timestamp) - extract(epoch from '2026-07-22 17:30: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'), 47375, 'SRID=4674;POINT (-38.623757 -3.633727)', '2026-07-22 17:31:06', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623725 -3.633746)'), GeomFromEWKT('SRID=4674;POINT (-38.623757 -3.633727)'))) / (select extract(epoch from '2026-07-22 17:31:06'::timestamp) - extract(epoch from '2026-07-22 17:30:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623725 -3.633746)'), GeomFromEWKT('SRID=4674;POINT (-38.623757 -3.633727)'))) / (select extract(epoch from '2026-07-22 17:31:06'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47375, 'SRID=4674;POINT (-38.623782 -3.633721)', '2026-07-22 17:31:11', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623757 -3.633727)'), GeomFromEWKT('SRID=4674;POINT (-38.623782 -3.633721)'))) / (select extract(epoch from '2026-07-22 17:31:11'::timestamp) - extract(epoch from '2026-07-22 17:31:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623757 -3.633727)'), GeomFromEWKT('SRID=4674;POINT (-38.623782 -3.633721)'))) / (select extract(epoch from '2026-07-22 17:31:11'::timestamp) - extract(epoch from '2026-07-22 17:31: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'), 47375, 'SRID=4674;POINT (-38.623817 -3.633717)', '2026-07-22 17:31:18', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623782 -3.633721)'), GeomFromEWKT('SRID=4674;POINT (-38.623817 -3.633717)'))) / (select extract(epoch from '2026-07-22 17:31:18'::timestamp) - extract(epoch from '2026-07-22 17:31:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623782 -3.633721)'), GeomFromEWKT('SRID=4674;POINT (-38.623817 -3.633717)'))) / (select extract(epoch from '2026-07-22 17:31:18'::timestamp) - extract(epoch from '2026-07-22 17:31: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'), 47375, 'SRID=4674;POINT (-38.623836 -3.633713)', '2026-07-22 17:31:24', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623817 -3.633717)'), GeomFromEWKT('SRID=4674;POINT (-38.623836 -3.633713)'))) / (select extract(epoch from '2026-07-22 17:31:24'::timestamp) - extract(epoch from '2026-07-22 17:31:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623817 -3.633717)'), GeomFromEWKT('SRID=4674;POINT (-38.623836 -3.633713)'))) / (select extract(epoch from '2026-07-22 17:31:24'::timestamp) - extract(epoch from '2026-07-22 17:31: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'), 47375, 'SRID=4674;POINT (-38.623875 -3.633686)', '2026-07-22 17:31:33', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623836 -3.633713)'), GeomFromEWKT('SRID=4674;POINT (-38.623875 -3.633686)'))) / (select extract(epoch from '2026-07-22 17:31:33'::timestamp) - extract(epoch from '2026-07-22 17:31:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623836 -3.633713)'), GeomFromEWKT('SRID=4674;POINT (-38.623875 -3.633686)'))) / (select extract(epoch from '2026-07-22 17:31:33'::timestamp) - extract(epoch from '2026-07-22 17:31: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'), 47375, 'SRID=4674;POINT (-38.623916 -3.633659)', '2026-07-22 17:31:41', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623875 -3.633686)'), GeomFromEWKT('SRID=4674;POINT (-38.623916 -3.633659)'))) / (select extract(epoch from '2026-07-22 17:31:41'::timestamp) - extract(epoch from '2026-07-22 17:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623875 -3.633686)'), GeomFromEWKT('SRID=4674;POINT (-38.623916 -3.633659)'))) / (select extract(epoch from '2026-07-22 17:31:41'::timestamp) - extract(epoch from '2026-07-22 17:31:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.623937 -3.633649)', '2026-07-22 17:31:46', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623916 -3.633659)'), GeomFromEWKT('SRID=4674;POINT (-38.623937 -3.633649)'))) / (select extract(epoch from '2026-07-22 17:31:46'::timestamp) - extract(epoch from '2026-07-22 17:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623916 -3.633659)'), GeomFromEWKT('SRID=4674;POINT (-38.623937 -3.633649)'))) / (select extract(epoch from '2026-07-22 17:31:46'::timestamp) - extract(epoch from '2026-07-22 17:31: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'), 47375, 'SRID=4674;POINT (-38.623952 -3.633644)', '2026-07-22 17:31:52', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623937 -3.633649)'), GeomFromEWKT('SRID=4674;POINT (-38.623952 -3.633644)'))) / (select extract(epoch from '2026-07-22 17:31:52'::timestamp) - extract(epoch from '2026-07-22 17:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623937 -3.633649)'), GeomFromEWKT('SRID=4674;POINT (-38.623952 -3.633644)'))) / (select extract(epoch from '2026-07-22 17:31:52'::timestamp) - extract(epoch from '2026-07-22 17:31: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'), 47375, 'SRID=4674;POINT (-38.623971 -3.63363)', '2026-07-22 17:31:58', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623952 -3.633644)'), GeomFromEWKT('SRID=4674;POINT (-38.623971 -3.63363)'))) / (select extract(epoch from '2026-07-22 17:31:58'::timestamp) - extract(epoch from '2026-07-22 17:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623952 -3.633644)'), GeomFromEWKT('SRID=4674;POINT (-38.623971 -3.63363)'))) / (select extract(epoch from '2026-07-22 17:31:58'::timestamp) - extract(epoch from '2026-07-22 17:31: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'), 47375, 'SRID=4674;POINT (-38.624009 -3.633598)', '2026-07-22 17:32:07', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623971 -3.63363)'), GeomFromEWKT('SRID=4674;POINT (-38.624009 -3.633598)'))) / (select extract(epoch from '2026-07-22 17:32:07'::timestamp) - extract(epoch from '2026-07-22 17:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623971 -3.63363)'), GeomFromEWKT('SRID=4674;POINT (-38.624009 -3.633598)'))) / (select extract(epoch from '2026-07-22 17:32:07'::timestamp) - extract(epoch from '2026-07-22 17:31:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.624034 -3.633591)', '2026-07-22 17:32:14', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624009 -3.633598)'), GeomFromEWKT('SRID=4674;POINT (-38.624034 -3.633591)'))) / (select extract(epoch from '2026-07-22 17:32:14'::timestamp) - extract(epoch from '2026-07-22 17:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624009 -3.633598)'), GeomFromEWKT('SRID=4674;POINT (-38.624034 -3.633591)'))) / (select extract(epoch from '2026-07-22 17:32:14'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47375, 'SRID=4674;POINT (-38.624074 -3.633585)', '2026-07-22 17:32:22', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624034 -3.633591)'), GeomFromEWKT('SRID=4674;POINT (-38.624074 -3.633585)'))) / (select extract(epoch from '2026-07-22 17:32:22'::timestamp) - extract(epoch from '2026-07-22 17:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624034 -3.633591)'), GeomFromEWKT('SRID=4674;POINT (-38.624074 -3.633585)'))) / (select extract(epoch from '2026-07-22 17:32:22'::timestamp) - extract(epoch from '2026-07-22 17:32:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.624124 -3.633577)', '2026-07-22 17:32:32', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624074 -3.633585)'), GeomFromEWKT('SRID=4674;POINT (-38.624124 -3.633577)'))) / (select extract(epoch from '2026-07-22 17:32:32'::timestamp) - extract(epoch from '2026-07-22 17:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624074 -3.633585)'), GeomFromEWKT('SRID=4674;POINT (-38.624124 -3.633577)'))) / (select extract(epoch from '2026-07-22 17:32:32'::timestamp) - extract(epoch from '2026-07-22 17:32: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'), 47375, 'SRID=4674;POINT (-38.62418 -3.633576)', '2026-07-22 17:32:43', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624124 -3.633577)'), GeomFromEWKT('SRID=4674;POINT (-38.62418 -3.633576)'))) / (select extract(epoch from '2026-07-22 17:32:43'::timestamp) - extract(epoch from '2026-07-22 17:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624124 -3.633577)'), GeomFromEWKT('SRID=4674;POINT (-38.62418 -3.633576)'))) / (select extract(epoch from '2026-07-22 17:32:43'::timestamp) - extract(epoch from '2026-07-22 17:32:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.62421 -3.633575)', '2026-07-22 17:32:50', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62418 -3.633576)'), GeomFromEWKT('SRID=4674;POINT (-38.62421 -3.633575)'))) / (select extract(epoch from '2026-07-22 17:32:50'::timestamp) - extract(epoch from '2026-07-22 17:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62418 -3.633576)'), GeomFromEWKT('SRID=4674;POINT (-38.62421 -3.633575)'))) / (select extract(epoch from '2026-07-22 17:32:50'::timestamp) - extract(epoch from '2026-07-22 17:32:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.624239 -3.633574)', '2026-07-22 17:32:57', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62421 -3.633575)'), GeomFromEWKT('SRID=4674;POINT (-38.624239 -3.633574)'))) / (select extract(epoch from '2026-07-22 17:32:57'::timestamp) - extract(epoch from '2026-07-22 17:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62421 -3.633575)'), GeomFromEWKT('SRID=4674;POINT (-38.624239 -3.633574)'))) / (select extract(epoch from '2026-07-22 17:32:57'::timestamp) - extract(epoch from '2026-07-22 17:32: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'), 47375, 'SRID=4674;POINT (-38.624277 -3.633568)', '2026-07-22 17:33:05', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624239 -3.633574)'), GeomFromEWKT('SRID=4674;POINT (-38.624277 -3.633568)'))) / (select extract(epoch from '2026-07-22 17:33:05'::timestamp) - extract(epoch from '2026-07-22 17:32:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624239 -3.633574)'), GeomFromEWKT('SRID=4674;POINT (-38.624277 -3.633568)'))) / (select extract(epoch from '2026-07-22 17:33:05'::timestamp) - extract(epoch from '2026-07-22 17:32: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'), 47375, 'SRID=4674;POINT (-38.624317 -3.633566)', '2026-07-22 17:33:12', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624277 -3.633568)'), GeomFromEWKT('SRID=4674;POINT (-38.624317 -3.633566)'))) / (select extract(epoch from '2026-07-22 17:33:12'::timestamp) - extract(epoch from '2026-07-22 17:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624277 -3.633568)'), GeomFromEWKT('SRID=4674;POINT (-38.624317 -3.633566)'))) / (select extract(epoch from '2026-07-22 17:33:12'::timestamp) - extract(epoch from '2026-07-22 17:33: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'), 47375, 'SRID=4674;POINT (-38.624344 -3.63356)', '2026-07-22 17:33:19', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624317 -3.633566)'), GeomFromEWKT('SRID=4674;POINT (-38.624344 -3.63356)'))) / (select extract(epoch from '2026-07-22 17:33:19'::timestamp) - extract(epoch from '2026-07-22 17:33:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624317 -3.633566)'), GeomFromEWKT('SRID=4674;POINT (-38.624344 -3.63356)'))) / (select extract(epoch from '2026-07-22 17:33:19'::timestamp) - extract(epoch from '2026-07-22 17:33: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'), 47375, 'SRID=4674;POINT (-38.624376 -3.633553)', '2026-07-22 17:33:25', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624344 -3.63356)'), GeomFromEWKT('SRID=4674;POINT (-38.624376 -3.633553)'))) / (select extract(epoch from '2026-07-22 17:33:25'::timestamp) - extract(epoch from '2026-07-22 17:33:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624344 -3.63356)'), GeomFromEWKT('SRID=4674;POINT (-38.624376 -3.633553)'))) / (select extract(epoch from '2026-07-22 17:33:25'::timestamp) - extract(epoch from '2026-07-22 17:33: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'), 47375, 'SRID=4674;POINT (-38.624402 -3.633549)', '2026-07-22 17:33:31', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624376 -3.633553)'), GeomFromEWKT('SRID=4674;POINT (-38.624402 -3.633549)'))) / (select extract(epoch from '2026-07-22 17:33:31'::timestamp) - extract(epoch from '2026-07-22 17:33:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624376 -3.633553)'), GeomFromEWKT('SRID=4674;POINT (-38.624402 -3.633549)'))) / (select extract(epoch from '2026-07-22 17:33:31'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47375, 'SRID=4674;POINT (-38.624427 -3.633543)', '2026-07-22 17:33:37', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624402 -3.633549)'), GeomFromEWKT('SRID=4674;POINT (-38.624427 -3.633543)'))) / (select extract(epoch from '2026-07-22 17:33:37'::timestamp) - extract(epoch from '2026-07-22 17:33:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624402 -3.633549)'), GeomFromEWKT('SRID=4674;POINT (-38.624427 -3.633543)'))) / (select extract(epoch from '2026-07-22 17:33:37'::timestamp) - extract(epoch from '2026-07-22 17:33: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'), 47375, 'SRID=4674;POINT (-38.624458 -3.633535)', '2026-07-22 17:33:43', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624427 -3.633543)'), GeomFromEWKT('SRID=4674;POINT (-38.624458 -3.633535)'))) / (select extract(epoch from '2026-07-22 17:33:43'::timestamp) - extract(epoch from '2026-07-22 17:33:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624427 -3.633543)'), GeomFromEWKT('SRID=4674;POINT (-38.624458 -3.633535)'))) / (select extract(epoch from '2026-07-22 17:33:43'::timestamp) - extract(epoch from '2026-07-22 17:33:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.624492 -3.633532)', '2026-07-22 17:33:49', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624458 -3.633535)'), GeomFromEWKT('SRID=4674;POINT (-38.624492 -3.633532)'))) / (select extract(epoch from '2026-07-22 17:33:49'::timestamp) - extract(epoch from '2026-07-22 17:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624458 -3.633535)'), GeomFromEWKT('SRID=4674;POINT (-38.624492 -3.633532)'))) / (select extract(epoch from '2026-07-22 17:33:49'::timestamp) - extract(epoch from '2026-07-22 17:33: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'), 47375, 'SRID=4674;POINT (-38.624519 -3.633527)', '2026-07-22 17:33:55', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624492 -3.633532)'), GeomFromEWKT('SRID=4674;POINT (-38.624519 -3.633527)'))) / (select extract(epoch from '2026-07-22 17:33:55'::timestamp) - extract(epoch from '2026-07-22 17:33:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624492 -3.633532)'), GeomFromEWKT('SRID=4674;POINT (-38.624519 -3.633527)'))) / (select extract(epoch from '2026-07-22 17:33:55'::timestamp) - extract(epoch from '2026-07-22 17:33: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'), 47375, 'SRID=4674;POINT (-38.624558 -3.633519)', '2026-07-22 17:34:04', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624519 -3.633527)'), GeomFromEWKT('SRID=4674;POINT (-38.624558 -3.633519)'))) / (select extract(epoch from '2026-07-22 17:34:04'::timestamp) - extract(epoch from '2026-07-22 17:33:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624519 -3.633527)'), GeomFromEWKT('SRID=4674;POINT (-38.624558 -3.633519)'))) / (select extract(epoch from '2026-07-22 17:34:04'::timestamp) - extract(epoch from '2026-07-22 17:33: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'), 47375, 'SRID=4674;POINT (-38.624591 -3.633497)', '2026-07-22 17:34:10', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624558 -3.633519)'), GeomFromEWKT('SRID=4674;POINT (-38.624591 -3.633497)'))) / (select extract(epoch from '2026-07-22 17:34:10'::timestamp) - extract(epoch from '2026-07-22 17:34:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624558 -3.633519)'), GeomFromEWKT('SRID=4674;POINT (-38.624591 -3.633497)'))) / (select extract(epoch from '2026-07-22 17:34:10'::timestamp) - extract(epoch from '2026-07-22 17:34: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'), 47375, 'SRID=4674;POINT (-38.624599 -3.633446)', '2026-07-22 17:34:17', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624591 -3.633497)'), GeomFromEWKT('SRID=4674;POINT (-38.624599 -3.633446)'))) / (select extract(epoch from '2026-07-22 17:34:17'::timestamp) - extract(epoch from '2026-07-22 17:34:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624591 -3.633497)'), GeomFromEWKT('SRID=4674;POINT (-38.624599 -3.633446)'))) / (select extract(epoch from '2026-07-22 17:34:17'::timestamp) - extract(epoch from '2026-07-22 17:34: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'), 47375, 'SRID=4674;POINT (-38.624568 -3.633452)', '2026-07-22 17:34:23', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624599 -3.633446)'), GeomFromEWKT('SRID=4674;POINT (-38.624568 -3.633452)'))) / (select extract(epoch from '2026-07-22 17:34:23'::timestamp) - extract(epoch from '2026-07-22 17:34:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624599 -3.633446)'), GeomFromEWKT('SRID=4674;POINT (-38.624568 -3.633452)'))) / (select extract(epoch from '2026-07-22 17:34:23'::timestamp) - extract(epoch from '2026-07-22 17:34: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'), 47375, 'SRID=4674;POINT (-38.624562 -3.63347)', '2026-07-22 17:34:25', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624568 -3.633452)'), GeomFromEWKT('SRID=4674;POINT (-38.624562 -3.63347)'))) / (select extract(epoch from '2026-07-22 17:34:25'::timestamp) - extract(epoch from '2026-07-22 17:34:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624568 -3.633452)'), GeomFromEWKT('SRID=4674;POINT (-38.624562 -3.63347)'))) / (select extract(epoch from '2026-07-22 17:34:25'::timestamp) - extract(epoch from '2026-07-22 17:34: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'), 47375, 'SRID=4674;POINT (-38.624556 -3.633536)', '2026-07-22 17:34:29', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624562 -3.63347)'), GeomFromEWKT('SRID=4674;POINT (-38.624556 -3.633536)'))) / (select extract(epoch from '2026-07-22 17:34:29'::timestamp) - extract(epoch from '2026-07-22 17:34:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624562 -3.63347)'), GeomFromEWKT('SRID=4674;POINT (-38.624556 -3.633536)'))) / (select extract(epoch from '2026-07-22 17:34:29'::timestamp) - extract(epoch from '2026-07-22 17:34: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'), 47375, 'SRID=4674;POINT (-38.624512 -3.633613)', '2026-07-22 17:34:34', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624556 -3.633536)'), GeomFromEWKT('SRID=4674;POINT (-38.624512 -3.633613)'))) / (select extract(epoch from '2026-07-22 17:34:34'::timestamp) - extract(epoch from '2026-07-22 17:34:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624556 -3.633536)'), GeomFromEWKT('SRID=4674;POINT (-38.624512 -3.633613)'))) / (select extract(epoch from '2026-07-22 17:34:34'::timestamp) - extract(epoch from '2026-07-22 17:34: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'), 47375, 'SRID=4674;POINT (-38.624466 -3.633749)', '2026-07-22 17:34:41', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624512 -3.633613)'), GeomFromEWKT('SRID=4674;POINT (-38.624466 -3.633749)'))) / (select extract(epoch from '2026-07-22 17:34:41'::timestamp) - extract(epoch from '2026-07-22 17:34:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624512 -3.633613)'), GeomFromEWKT('SRID=4674;POINT (-38.624466 -3.633749)'))) / (select extract(epoch from '2026-07-22 17:34:41'::timestamp) - extract(epoch from '2026-07-22 17:34: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'), 47375, 'SRID=4674;POINT (-38.624428 -3.63387)', '2026-07-22 17:34:47', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624466 -3.633749)'), GeomFromEWKT('SRID=4674;POINT (-38.624428 -3.63387)'))) / (select extract(epoch from '2026-07-22 17:34:47'::timestamp) - extract(epoch from '2026-07-22 17:34:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624466 -3.633749)'), GeomFromEWKT('SRID=4674;POINT (-38.624428 -3.63387)'))) / (select extract(epoch from '2026-07-22 17:34:47'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47375, 'SRID=4674;POINT (-38.624371 -3.634008)', '2026-07-22 17:34:54', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624428 -3.63387)'), GeomFromEWKT('SRID=4674;POINT (-38.624371 -3.634008)'))) / (select extract(epoch from '2026-07-22 17:34:54'::timestamp) - extract(epoch from '2026-07-22 17:34:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624428 -3.63387)'), GeomFromEWKT('SRID=4674;POINT (-38.624371 -3.634008)'))) / (select extract(epoch from '2026-07-22 17:34:54'::timestamp) - extract(epoch from '2026-07-22 17:34: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'), 47375, 'SRID=4674;POINT (-38.624352 -3.63411)', '2026-07-22 17:34:59', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624371 -3.634008)'), GeomFromEWKT('SRID=4674;POINT (-38.624352 -3.63411)'))) / (select extract(epoch from '2026-07-22 17:34:59'::timestamp) - extract(epoch from '2026-07-22 17:34:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624371 -3.634008)'), GeomFromEWKT('SRID=4674;POINT (-38.624352 -3.63411)'))) / (select extract(epoch from '2026-07-22 17:34:59'::timestamp) - extract(epoch from '2026-07-22 17:34: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'), 47375, 'SRID=4674;POINT (-38.624314 -3.634191)', '2026-07-22 17:35:03', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624352 -3.63411)'), GeomFromEWKT('SRID=4674;POINT (-38.624314 -3.634191)'))) / (select extract(epoch from '2026-07-22 17:35:03'::timestamp) - extract(epoch from '2026-07-22 17:34:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624352 -3.63411)'), GeomFromEWKT('SRID=4674;POINT (-38.624314 -3.634191)'))) / (select extract(epoch from '2026-07-22 17:35:03'::timestamp) - extract(epoch from '2026-07-22 17:34: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'), 47375, 'SRID=4674;POINT (-38.624273 -3.634312)', '2026-07-22 17:35:09', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624314 -3.634191)'), GeomFromEWKT('SRID=4674;POINT (-38.624273 -3.634312)'))) / (select extract(epoch from '2026-07-22 17:35:09'::timestamp) - extract(epoch from '2026-07-22 17:35:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624314 -3.634191)'), GeomFromEWKT('SRID=4674;POINT (-38.624273 -3.634312)'))) / (select extract(epoch from '2026-07-22 17:35:09'::timestamp) - extract(epoch from '2026-07-22 17:35: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'), 47375, 'SRID=4674;POINT (-38.624223 -3.634466)', '2026-07-22 17:35:16', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624273 -3.634312)'), GeomFromEWKT('SRID=4674;POINT (-38.624223 -3.634466)'))) / (select extract(epoch from '2026-07-22 17:35:16'::timestamp) - extract(epoch from '2026-07-22 17:35:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624273 -3.634312)'), GeomFromEWKT('SRID=4674;POINT (-38.624223 -3.634466)'))) / (select extract(epoch from '2026-07-22 17:35:16'::timestamp) - extract(epoch from '2026-07-22 17:35:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.624112 -3.634553)', '2026-07-22 17:35:23', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624223 -3.634466)'), GeomFromEWKT('SRID=4674;POINT (-38.624112 -3.634553)'))) / (select extract(epoch from '2026-07-22 17:35:23'::timestamp) - extract(epoch from '2026-07-22 17:35:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624223 -3.634466)'), GeomFromEWKT('SRID=4674;POINT (-38.624112 -3.634553)'))) / (select extract(epoch from '2026-07-22 17:35:23'::timestamp) - extract(epoch from '2026-07-22 17:35: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'), 47375, 'SRID=4674;POINT (-38.6241 -3.634566)', '2026-07-22 17:35:24', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624112 -3.634553)'), GeomFromEWKT('SRID=4674;POINT (-38.6241 -3.634566)'))) / (select extract(epoch from '2026-07-22 17:35:24'::timestamp) - extract(epoch from '2026-07-22 17:35:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624112 -3.634553)'), GeomFromEWKT('SRID=4674;POINT (-38.6241 -3.634566)'))) / (select extract(epoch from '2026-07-22 17:35:24'::timestamp) - extract(epoch from '2026-07-22 17:35: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'), 47375, 'SRID=4674;POINT (-38.624066 -3.634627)', '2026-07-22 17:35:27', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6241 -3.634566)'), GeomFromEWKT('SRID=4674;POINT (-38.624066 -3.634627)'))) / (select extract(epoch from '2026-07-22 17:35:27'::timestamp) - extract(epoch from '2026-07-22 17:35:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6241 -3.634566)'), GeomFromEWKT('SRID=4674;POINT (-38.624066 -3.634627)'))) / (select extract(epoch from '2026-07-22 17:35:27'::timestamp) - extract(epoch from '2026-07-22 17:35: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'), 47375, 'SRID=4674;POINT (-38.624064 -3.634651)', '2026-07-22 17:35:28', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624066 -3.634627)'), GeomFromEWKT('SRID=4674;POINT (-38.624064 -3.634651)'))) / (select extract(epoch from '2026-07-22 17:35:28'::timestamp) - extract(epoch from '2026-07-22 17:35:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624066 -3.634627)'), GeomFromEWKT('SRID=4674;POINT (-38.624064 -3.634651)'))) / (select extract(epoch from '2026-07-22 17:35:28'::timestamp) - extract(epoch from '2026-07-22 17:35:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.624051 -3.634807)', '2026-07-22 17:35:35', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624064 -3.634651)'), GeomFromEWKT('SRID=4674;POINT (-38.624051 -3.634807)'))) / (select extract(epoch from '2026-07-22 17:35:35'::timestamp) - extract(epoch from '2026-07-22 17:35:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624064 -3.634651)'), GeomFromEWKT('SRID=4674;POINT (-38.624051 -3.634807)'))) / (select extract(epoch from '2026-07-22 17:35:35'::timestamp) - extract(epoch from '2026-07-22 17:35: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'), 47375, 'SRID=4674;POINT (-38.624046 -3.634854)', '2026-07-22 17:35:37', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624051 -3.634807)'), GeomFromEWKT('SRID=4674;POINT (-38.624046 -3.634854)'))) / (select extract(epoch from '2026-07-22 17:35:37'::timestamp) - extract(epoch from '2026-07-22 17:35:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624051 -3.634807)'), GeomFromEWKT('SRID=4674;POINT (-38.624046 -3.634854)'))) / (select extract(epoch from '2026-07-22 17:35:37'::timestamp) - extract(epoch from '2026-07-22 17:35:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.624042 -3.634899)', '2026-07-22 17:35:39', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624046 -3.634854)'), GeomFromEWKT('SRID=4674;POINT (-38.624042 -3.634899)'))) / (select extract(epoch from '2026-07-22 17:35:39'::timestamp) - extract(epoch from '2026-07-22 17:35:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624046 -3.634854)'), GeomFromEWKT('SRID=4674;POINT (-38.624042 -3.634899)'))) / (select extract(epoch from '2026-07-22 17:35:39'::timestamp) - extract(epoch from '2026-07-22 17:35: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'), 47375, 'SRID=4674;POINT (-38.624046 -3.634949)', '2026-07-22 17:35:41', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624042 -3.634899)'), GeomFromEWKT('SRID=4674;POINT (-38.624046 -3.634949)'))) / (select extract(epoch from '2026-07-22 17:35:41'::timestamp) - extract(epoch from '2026-07-22 17:35:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624042 -3.634899)'), GeomFromEWKT('SRID=4674;POINT (-38.624046 -3.634949)'))) / (select extract(epoch from '2026-07-22 17:35:41'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47375, 'SRID=4674;POINT (-38.624049 -3.635017)', '2026-07-22 17:35:44', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624046 -3.634949)'), GeomFromEWKT('SRID=4674;POINT (-38.624049 -3.635017)'))) / (select extract(epoch from '2026-07-22 17:35:44'::timestamp) - extract(epoch from '2026-07-22 17:35:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624046 -3.634949)'), GeomFromEWKT('SRID=4674;POINT (-38.624049 -3.635017)'))) / (select extract(epoch from '2026-07-22 17:35:44'::timestamp) - extract(epoch from '2026-07-22 17:35:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.624064 -3.635145)', '2026-07-22 17:35:50', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624049 -3.635017)'), GeomFromEWKT('SRID=4674;POINT (-38.624064 -3.635145)'))) / (select extract(epoch from '2026-07-22 17:35:50'::timestamp) - extract(epoch from '2026-07-22 17:35:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624049 -3.635017)'), GeomFromEWKT('SRID=4674;POINT (-38.624064 -3.635145)'))) / (select extract(epoch from '2026-07-22 17:35:50'::timestamp) - extract(epoch from '2026-07-22 17:35: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'), 47375, 'SRID=4674;POINT (-38.624044 -3.635276)', '2026-07-22 17:35:56', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624064 -3.635145)'), GeomFromEWKT('SRID=4674;POINT (-38.624044 -3.635276)'))) / (select extract(epoch from '2026-07-22 17:35:56'::timestamp) - extract(epoch from '2026-07-22 17:35:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624064 -3.635145)'), GeomFromEWKT('SRID=4674;POINT (-38.624044 -3.635276)'))) / (select extract(epoch from '2026-07-22 17:35:56'::timestamp) - extract(epoch from '2026-07-22 17:35: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'), 47375, 'SRID=4674;POINT (-38.624008 -3.635354)', '2026-07-22 17:36:01', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624044 -3.635276)'), GeomFromEWKT('SRID=4674;POINT (-38.624008 -3.635354)'))) / (select extract(epoch from '2026-07-22 17:36:01'::timestamp) - extract(epoch from '2026-07-22 17:35:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624044 -3.635276)'), GeomFromEWKT('SRID=4674;POINT (-38.624008 -3.635354)'))) / (select extract(epoch from '2026-07-22 17:36:01'::timestamp) - extract(epoch from '2026-07-22 17:35: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'), 47375, 'SRID=4674;POINT (-38.623999 -3.635366)', '2026-07-22 17:36:02', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624008 -3.635354)'), GeomFromEWKT('SRID=4674;POINT (-38.623999 -3.635366)'))) / (select extract(epoch from '2026-07-22 17:36:02'::timestamp) - extract(epoch from '2026-07-22 17:36:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624008 -3.635354)'), GeomFromEWKT('SRID=4674;POINT (-38.623999 -3.635366)'))) / (select extract(epoch from '2026-07-22 17:36:02'::timestamp) - extract(epoch from '2026-07-22 17:36:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.623977 -3.635388)', '2026-07-22 17:36:08', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623999 -3.635366)'), GeomFromEWKT('SRID=4674;POINT (-38.623977 -3.635388)'))) / (select extract(epoch from '2026-07-22 17:36:08'::timestamp) - extract(epoch from '2026-07-22 17:36:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623999 -3.635366)'), GeomFromEWKT('SRID=4674;POINT (-38.623977 -3.635388)'))) / (select extract(epoch from '2026-07-22 17:36:08'::timestamp) - extract(epoch from '2026-07-22 17:36: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'), 47375, 'SRID=4674;POINT (-38.624004 -3.635376)', '2026-07-22 17:36:15', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623977 -3.635388)'), GeomFromEWKT('SRID=4674;POINT (-38.624004 -3.635376)'))) / (select extract(epoch from '2026-07-22 17:36:15'::timestamp) - extract(epoch from '2026-07-22 17:36:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623977 -3.635388)'), GeomFromEWKT('SRID=4674;POINT (-38.624004 -3.635376)'))) / (select extract(epoch from '2026-07-22 17:36:15'::timestamp) - extract(epoch from '2026-07-22 17:36:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.624022 -3.635366)', '2026-07-22 17:36:23', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624004 -3.635376)'), GeomFromEWKT('SRID=4674;POINT (-38.624022 -3.635366)'))) / (select extract(epoch from '2026-07-22 17:36:23'::timestamp) - extract(epoch from '2026-07-22 17:36:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624004 -3.635376)'), GeomFromEWKT('SRID=4674;POINT (-38.624022 -3.635366)'))) / (select extract(epoch from '2026-07-22 17:36:23'::timestamp) - extract(epoch from '2026-07-22 17:36:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.624057 -3.635354)', '2026-07-22 17:36:35', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624022 -3.635366)'), GeomFromEWKT('SRID=4674;POINT (-38.624057 -3.635354)'))) / (select extract(epoch from '2026-07-22 17:36:35'::timestamp) - extract(epoch from '2026-07-22 17:36:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624022 -3.635366)'), GeomFromEWKT('SRID=4674;POINT (-38.624057 -3.635354)'))) / (select extract(epoch from '2026-07-22 17:36:35'::timestamp) - extract(epoch from '2026-07-22 17:36: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'), 47375, 'SRID=4674;POINT (-38.624088 -3.63535)', '2026-07-22 17:36:43', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624057 -3.635354)'), GeomFromEWKT('SRID=4674;POINT (-38.624088 -3.63535)'))) / (select extract(epoch from '2026-07-22 17:36:43'::timestamp) - extract(epoch from '2026-07-22 17:36:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624057 -3.635354)'), GeomFromEWKT('SRID=4674;POINT (-38.624088 -3.63535)'))) / (select extract(epoch from '2026-07-22 17:36:43'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47375, 'SRID=4674;POINT (-38.624123 -3.635344)', '2026-07-22 17:36:52', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624088 -3.63535)'), GeomFromEWKT('SRID=4674;POINT (-38.624123 -3.635344)'))) / (select extract(epoch from '2026-07-22 17:36:52'::timestamp) - extract(epoch from '2026-07-22 17:36:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624088 -3.63535)'), GeomFromEWKT('SRID=4674;POINT (-38.624123 -3.635344)'))) / (select extract(epoch from '2026-07-22 17:36:52'::timestamp) - extract(epoch from '2026-07-22 17:36: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'), 47375, 'SRID=4674;POINT (-38.624155 -3.635326)', '2026-07-22 17:37:01', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624123 -3.635344)'), GeomFromEWKT('SRID=4674;POINT (-38.624155 -3.635326)'))) / (select extract(epoch from '2026-07-22 17:37:01'::timestamp) - extract(epoch from '2026-07-22 17:36:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624123 -3.635344)'), GeomFromEWKT('SRID=4674;POINT (-38.624155 -3.635326)'))) / (select extract(epoch from '2026-07-22 17:37:01'::timestamp) - extract(epoch from '2026-07-22 17:36: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'), 47375, 'SRID=4674;POINT (-38.624189 -3.635319)', '2026-07-22 17:37:07', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624155 -3.635326)'), GeomFromEWKT('SRID=4674;POINT (-38.624189 -3.635319)'))) / (select extract(epoch from '2026-07-22 17:37:07'::timestamp) - extract(epoch from '2026-07-22 17:37:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624155 -3.635326)'), GeomFromEWKT('SRID=4674;POINT (-38.624189 -3.635319)'))) / (select extract(epoch from '2026-07-22 17:37:07'::timestamp) - extract(epoch from '2026-07-22 17:37: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'), 47375, 'SRID=4674;POINT (-38.624215 -3.635312)', '2026-07-22 17:37:12', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624189 -3.635319)'), GeomFromEWKT('SRID=4674;POINT (-38.624215 -3.635312)'))) / (select extract(epoch from '2026-07-22 17:37:12'::timestamp) - extract(epoch from '2026-07-22 17:37:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624189 -3.635319)'), GeomFromEWKT('SRID=4674;POINT (-38.624215 -3.635312)'))) / (select extract(epoch from '2026-07-22 17:37:12'::timestamp) - extract(epoch from '2026-07-22 17:37:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.624252 -3.635285)', '2026-07-22 17:37:19', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624215 -3.635312)'), GeomFromEWKT('SRID=4674;POINT (-38.624252 -3.635285)'))) / (select extract(epoch from '2026-07-22 17:37:19'::timestamp) - extract(epoch from '2026-07-22 17:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624215 -3.635312)'), GeomFromEWKT('SRID=4674;POINT (-38.624252 -3.635285)'))) / (select extract(epoch from '2026-07-22 17:37:19'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47375, 'SRID=4674;POINT (-38.624274 -3.635214)', '2026-07-22 17:37:28', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624252 -3.635285)'), GeomFromEWKT('SRID=4674;POINT (-38.624274 -3.635214)'))) / (select extract(epoch from '2026-07-22 17:37:28'::timestamp) - extract(epoch from '2026-07-22 17:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624252 -3.635285)'), GeomFromEWKT('SRID=4674;POINT (-38.624274 -3.635214)'))) / (select extract(epoch from '2026-07-22 17:37:28'::timestamp) - extract(epoch from '2026-07-22 17:37:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.624293 -3.635199)', '2026-07-22 17:37:35', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624274 -3.635214)'), GeomFromEWKT('SRID=4674;POINT (-38.624293 -3.635199)'))) / (select extract(epoch from '2026-07-22 17:37:35'::timestamp) - extract(epoch from '2026-07-22 17:37:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624274 -3.635214)'), GeomFromEWKT('SRID=4674;POINT (-38.624293 -3.635199)'))) / (select extract(epoch from '2026-07-22 17:37:35'::timestamp) - extract(epoch from '2026-07-22 17:37:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47375, 'SRID=4674;POINT (-38.624356 -3.635192)', '2026-07-22 17:37:43', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624293 -3.635199)'), GeomFromEWKT('SRID=4674;POINT (-38.624356 -3.635192)'))) / (select extract(epoch from '2026-07-22 17:37:43'::timestamp) - extract(epoch from '2026-07-22 17:37:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624293 -3.635199)'), GeomFromEWKT('SRID=4674;POINT (-38.624356 -3.635192)'))) / (select extract(epoch from '2026-07-22 17:37:43'::timestamp) - extract(epoch from '2026-07-22 17:37: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'), 47375, 'SRID=4674;POINT (-38.62439 -3.63519)', '2026-07-22 17:37:46', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624356 -3.635192)'), GeomFromEWKT('SRID=4674;POINT (-38.62439 -3.63519)'))) / (select extract(epoch from '2026-07-22 17:37:46'::timestamp) - extract(epoch from '2026-07-22 17:37:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624356 -3.635192)'), GeomFromEWKT('SRID=4674;POINT (-38.62439 -3.63519)'))) / (select extract(epoch from '2026-07-22 17:37:46'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47375, 'SRID=4674;POINT (-38.62442 -3.635178)', '2026-07-22 17:37:49', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62439 -3.63519)'), GeomFromEWKT('SRID=4674;POINT (-38.62442 -3.635178)'))) / (select extract(epoch from '2026-07-22 17:37:49'::timestamp) - extract(epoch from '2026-07-22 17:37:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62439 -3.63519)'), GeomFromEWKT('SRID=4674;POINT (-38.62442 -3.635178)'))) / (select extract(epoch from '2026-07-22 17:37:49'::timestamp) - extract(epoch from '2026-07-22 17:37: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'), 47375, 'SRID=4674;POINT (-38.624475 -3.635162)', '2026-07-22 17:37:54', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62442 -3.635178)'), GeomFromEWKT('SRID=4674;POINT (-38.624475 -3.635162)'))) / (select extract(epoch from '2026-07-22 17:37:54'::timestamp) - extract(epoch from '2026-07-22 17:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62442 -3.635178)'), GeomFromEWKT('SRID=4674;POINT (-38.624475 -3.635162)'))) / (select extract(epoch from '2026-07-22 17:37:54'::timestamp) - extract(epoch from '2026-07-22 17:37: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'), 47375, 'SRID=4674;POINT (-38.624485 -3.635157)', '2026-07-22 17:37:55', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624475 -3.635162)'), GeomFromEWKT('SRID=4674;POINT (-38.624485 -3.635157)'))) / (select extract(epoch from '2026-07-22 17:37:55'::timestamp) - extract(epoch from '2026-07-22 17:37:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624475 -3.635162)'), GeomFromEWKT('SRID=4674;POINT (-38.624485 -3.635157)'))) / (select extract(epoch from '2026-07-22 17:37:55'::timestamp) - extract(epoch from '2026-07-22 17:37: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'), 47375, 'SRID=4674;POINT (-38.624525 -3.635134)', '2026-07-22 17:38:00', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624485 -3.635157)'), GeomFromEWKT('SRID=4674;POINT (-38.624525 -3.635134)'))) / (select extract(epoch from '2026-07-22 17:38:00'::timestamp) - extract(epoch from '2026-07-22 17:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624485 -3.635157)'), GeomFromEWKT('SRID=4674;POINT (-38.624525 -3.635134)'))) / (select extract(epoch from '2026-07-22 17:38:00'::timestamp) - extract(epoch from '2026-07-22 17:37:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
