 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765475 -2.647851)', '2026-07-22 19:05:46', 29, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765482 -2.647859)'), GeomFromEWKT('SRID=4674;POINT (-39.765475 -2.647851)'))) / (select extract(epoch from '2026-07-22 19:05:46'::timestamp) - extract(epoch from '2026-07-22 19:04:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765482 -2.647859)'), GeomFromEWKT('SRID=4674;POINT (-39.765475 -2.647851)'))) / (select extract(epoch from '2026-07-22 19:05:46'::timestamp) - extract(epoch from '2026-07-22 19:04:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765461 -2.647855)', '2026-07-22 19:07:00', 29.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765475 -2.647851)'), GeomFromEWKT('SRID=4674;POINT (-39.765461 -2.647855)'))) / (select extract(epoch from '2026-07-22 19:07:00'::timestamp) - extract(epoch from '2026-07-22 19:05:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765475 -2.647851)'), GeomFromEWKT('SRID=4674;POINT (-39.765461 -2.647855)'))) / (select extract(epoch from '2026-07-22 19:07:00'::timestamp) - extract(epoch from '2026-07-22 19:05: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'), 47870, 'SRID=4674;POINT (-39.765453 -2.647851)', '2026-07-22 19:07:13', 29.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765461 -2.647855)'), GeomFromEWKT('SRID=4674;POINT (-39.765453 -2.647851)'))) / (select extract(epoch from '2026-07-22 19:07:13'::timestamp) - extract(epoch from '2026-07-22 19:07:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765461 -2.647855)'), GeomFromEWKT('SRID=4674;POINT (-39.765453 -2.647851)'))) / (select extract(epoch from '2026-07-22 19:07:13'::timestamp) - extract(epoch from '2026-07-22 19:07: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'), 47870, 'SRID=4674;POINT (-39.765472 -2.647829)', '2026-07-22 19:07:21', 29.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765453 -2.647851)'), GeomFromEWKT('SRID=4674;POINT (-39.765472 -2.647829)'))) / (select extract(epoch from '2026-07-22 19:07:21'::timestamp) - extract(epoch from '2026-07-22 19:07:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765453 -2.647851)'), GeomFromEWKT('SRID=4674;POINT (-39.765472 -2.647829)'))) / (select extract(epoch from '2026-07-22 19:07:21'::timestamp) - extract(epoch from '2026-07-22 19:07:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765466 -2.647822)', '2026-07-22 19:08:45', 29.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765472 -2.647829)'), GeomFromEWKT('SRID=4674;POINT (-39.765466 -2.647822)'))) / (select extract(epoch from '2026-07-22 19:08:45'::timestamp) - extract(epoch from '2026-07-22 19:07:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765472 -2.647829)'), GeomFromEWKT('SRID=4674;POINT (-39.765466 -2.647822)'))) / (select extract(epoch from '2026-07-22 19:08:45'::timestamp) - extract(epoch from '2026-07-22 19:07: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'), 47870, 'SRID=4674;POINT (-39.765472 -2.64782)', '2026-07-22 19:08:56', 29.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765466 -2.647822)'), GeomFromEWKT('SRID=4674;POINT (-39.765472 -2.64782)'))) / (select extract(epoch from '2026-07-22 19:08:56'::timestamp) - extract(epoch from '2026-07-22 19:08:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765466 -2.647822)'), GeomFromEWKT('SRID=4674;POINT (-39.765472 -2.64782)'))) / (select extract(epoch from '2026-07-22 19:08:56'::timestamp) - extract(epoch from '2026-07-22 19:08:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765471 -2.647824)', '2026-07-22 19:09:33', 29.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765472 -2.64782)'), GeomFromEWKT('SRID=4674;POINT (-39.765471 -2.647824)'))) / (select extract(epoch from '2026-07-22 19:09:33'::timestamp) - extract(epoch from '2026-07-22 19:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765472 -2.64782)'), GeomFromEWKT('SRID=4674;POINT (-39.765471 -2.647824)'))) / (select extract(epoch from '2026-07-22 19:09:33'::timestamp) - extract(epoch from '2026-07-22 19:08:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.76548 -2.647828)', '2026-07-22 19:10:36', 29.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765471 -2.647824)'), GeomFromEWKT('SRID=4674;POINT (-39.76548 -2.647828)'))) / (select extract(epoch from '2026-07-22 19:10:36'::timestamp) - extract(epoch from '2026-07-22 19:09:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765471 -2.647824)'), GeomFromEWKT('SRID=4674;POINT (-39.76548 -2.647828)'))) / (select extract(epoch from '2026-07-22 19:10:36'::timestamp) - extract(epoch from '2026-07-22 19:09: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'), 47870, 'SRID=4674;POINT (-39.765483 -2.647838)', '2026-07-22 19:10:46', 30, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76548 -2.647828)'), GeomFromEWKT('SRID=4674;POINT (-39.765483 -2.647838)'))) / (select extract(epoch from '2026-07-22 19:10:46'::timestamp) - extract(epoch from '2026-07-22 19:10:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76548 -2.647828)'), GeomFromEWKT('SRID=4674;POINT (-39.765483 -2.647838)'))) / (select extract(epoch from '2026-07-22 19:10:46'::timestamp) - extract(epoch from '2026-07-22 19:10: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'), 47870, 'SRID=4674;POINT (-39.765469 -2.647863)', '2026-07-22 19:11:24', 30.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765483 -2.647838)'), GeomFromEWKT('SRID=4674;POINT (-39.765469 -2.647863)'))) / (select extract(epoch from '2026-07-22 19:11:24'::timestamp) - extract(epoch from '2026-07-22 19:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765483 -2.647838)'), GeomFromEWKT('SRID=4674;POINT (-39.765469 -2.647863)'))) / (select extract(epoch from '2026-07-22 19:11:24'::timestamp) - extract(epoch from '2026-07-22 19:10: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'), 47870, 'SRID=4674;POINT (-39.765472 -2.647856)', '2026-07-22 19:12:15', 30.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765469 -2.647863)'), GeomFromEWKT('SRID=4674;POINT (-39.765472 -2.647856)'))) / (select extract(epoch from '2026-07-22 19:12:15'::timestamp) - extract(epoch from '2026-07-22 19:11:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765469 -2.647863)'), GeomFromEWKT('SRID=4674;POINT (-39.765472 -2.647856)'))) / (select extract(epoch from '2026-07-22 19:12:15'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47870, 'SRID=4674;POINT (-39.765482 -2.647857)', '2026-07-22 19:13:24', 30, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765472 -2.647856)'), GeomFromEWKT('SRID=4674;POINT (-39.765482 -2.647857)'))) / (select extract(epoch from '2026-07-22 19:13:24'::timestamp) - extract(epoch from '2026-07-22 19:12:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765472 -2.647856)'), GeomFromEWKT('SRID=4674;POINT (-39.765482 -2.647857)'))) / (select extract(epoch from '2026-07-22 19:13:24'::timestamp) - extract(epoch from '2026-07-22 19:12:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765458 -2.64787)', '2026-07-22 19:13:52', 29.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765482 -2.647857)'), GeomFromEWKT('SRID=4674;POINT (-39.765458 -2.64787)'))) / (select extract(epoch from '2026-07-22 19:13:52'::timestamp) - extract(epoch from '2026-07-22 19:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765482 -2.647857)'), GeomFromEWKT('SRID=4674;POINT (-39.765458 -2.64787)'))) / (select extract(epoch from '2026-07-22 19:13:52'::timestamp) - extract(epoch from '2026-07-22 19:13:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765457 -2.647882)', '2026-07-22 19:14:29', 29.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765458 -2.64787)'), GeomFromEWKT('SRID=4674;POINT (-39.765457 -2.647882)'))) / (select extract(epoch from '2026-07-22 19:14:29'::timestamp) - extract(epoch from '2026-07-22 19:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765458 -2.64787)'), GeomFromEWKT('SRID=4674;POINT (-39.765457 -2.647882)'))) / (select extract(epoch from '2026-07-22 19:14:29'::timestamp) - extract(epoch from '2026-07-22 19:13: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'), 47870, 'SRID=4674;POINT (-39.76546 -2.647886)', '2026-07-22 19:14:37', 29.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765457 -2.647882)'), GeomFromEWKT('SRID=4674;POINT (-39.76546 -2.647886)'))) / (select extract(epoch from '2026-07-22 19:14:37'::timestamp) - extract(epoch from '2026-07-22 19:14:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765457 -2.647882)'), GeomFromEWKT('SRID=4674;POINT (-39.76546 -2.647886)'))) / (select extract(epoch from '2026-07-22 19:14:37'::timestamp) - extract(epoch from '2026-07-22 19:14: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'), 47870, 'SRID=4674;POINT (-39.765456 -2.647891)', '2026-07-22 19:15:08', 29.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76546 -2.647886)'), GeomFromEWKT('SRID=4674;POINT (-39.765456 -2.647891)'))) / (select extract(epoch from '2026-07-22 19:15:08'::timestamp) - extract(epoch from '2026-07-22 19:14:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76546 -2.647886)'), GeomFromEWKT('SRID=4674;POINT (-39.765456 -2.647891)'))) / (select extract(epoch from '2026-07-22 19:15:08'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47870, 'SRID=4674;POINT (-39.765452 -2.647883)', '2026-07-22 19:15:47', 29, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765456 -2.647891)'), GeomFromEWKT('SRID=4674;POINT (-39.765452 -2.647883)'))) / (select extract(epoch from '2026-07-22 19:15:47'::timestamp) - extract(epoch from '2026-07-22 19:15:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765456 -2.647891)'), GeomFromEWKT('SRID=4674;POINT (-39.765452 -2.647883)'))) / (select extract(epoch from '2026-07-22 19:15:47'::timestamp) - extract(epoch from '2026-07-22 19:15: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'), 47870, 'SRID=4674;POINT (-39.765451 -2.64788)', '2026-07-22 19:15:53', 28.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765452 -2.647883)'), GeomFromEWKT('SRID=4674;POINT (-39.765451 -2.64788)'))) / (select extract(epoch from '2026-07-22 19:15:53'::timestamp) - extract(epoch from '2026-07-22 19:15:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765452 -2.647883)'), GeomFromEWKT('SRID=4674;POINT (-39.765451 -2.64788)'))) / (select extract(epoch from '2026-07-22 19:15:53'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47870, 'SRID=4674;POINT (-39.76548 -2.647874)', '2026-07-22 19:16:01', 28.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765451 -2.64788)'), GeomFromEWKT('SRID=4674;POINT (-39.76548 -2.647874)'))) / (select extract(epoch from '2026-07-22 19:16:01'::timestamp) - extract(epoch from '2026-07-22 19:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765451 -2.64788)'), GeomFromEWKT('SRID=4674;POINT (-39.76548 -2.647874)'))) / (select extract(epoch from '2026-07-22 19:16:01'::timestamp) - extract(epoch from '2026-07-22 19:15:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765479 -2.647873)', '2026-07-22 19:16:32', 27.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76548 -2.647874)'), GeomFromEWKT('SRID=4674;POINT (-39.765479 -2.647873)'))) / (select extract(epoch from '2026-07-22 19:16:32'::timestamp) - extract(epoch from '2026-07-22 19:16:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76548 -2.647874)'), GeomFromEWKT('SRID=4674;POINT (-39.765479 -2.647873)'))) / (select extract(epoch from '2026-07-22 19:16:32'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47870, 'SRID=4674;POINT (-39.765475 -2.647869)', '2026-07-22 19:16:59', 27.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765479 -2.647873)'), GeomFromEWKT('SRID=4674;POINT (-39.765475 -2.647869)'))) / (select extract(epoch from '2026-07-22 19:16:59'::timestamp) - extract(epoch from '2026-07-22 19:16:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765479 -2.647873)'), GeomFromEWKT('SRID=4674;POINT (-39.765475 -2.647869)'))) / (select extract(epoch from '2026-07-22 19:16:59'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47870, 'SRID=4674;POINT (-39.765475 -2.647872)', '2026-07-22 19:17:10', 28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765475 -2.647869)'), GeomFromEWKT('SRID=4674;POINT (-39.765475 -2.647872)'))) / (select extract(epoch from '2026-07-22 19:17:10'::timestamp) - extract(epoch from '2026-07-22 19:16:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765475 -2.647869)'), GeomFromEWKT('SRID=4674;POINT (-39.765475 -2.647872)'))) / (select extract(epoch from '2026-07-22 19:17:10'::timestamp) - extract(epoch from '2026-07-22 19:16: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'), 47870, 'SRID=4674;POINT (-39.765455 -2.64787)', '2026-07-22 19:17:31', 29, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765475 -2.647872)'), GeomFromEWKT('SRID=4674;POINT (-39.765455 -2.64787)'))) / (select extract(epoch from '2026-07-22 19:17:31'::timestamp) - extract(epoch from '2026-07-22 19:17:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765475 -2.647872)'), GeomFromEWKT('SRID=4674;POINT (-39.765455 -2.64787)'))) / (select extract(epoch from '2026-07-22 19:17:31'::timestamp) - extract(epoch from '2026-07-22 19:17:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765453 -2.647867)', '2026-07-22 19:19:00', 28.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765455 -2.64787)'), GeomFromEWKT('SRID=4674;POINT (-39.765453 -2.647867)'))) / (select extract(epoch from '2026-07-22 19:19:00'::timestamp) - extract(epoch from '2026-07-22 19:17:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765455 -2.64787)'), GeomFromEWKT('SRID=4674;POINT (-39.765453 -2.647867)'))) / (select extract(epoch from '2026-07-22 19:19:00'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47870, 'SRID=4674;POINT (-39.765466 -2.647873)', '2026-07-22 19:19:28', 29, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765453 -2.647867)'), GeomFromEWKT('SRID=4674;POINT (-39.765466 -2.647873)'))) / (select extract(epoch from '2026-07-22 19:19:28'::timestamp) - extract(epoch from '2026-07-22 19:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765453 -2.647867)'), GeomFromEWKT('SRID=4674;POINT (-39.765466 -2.647873)'))) / (select extract(epoch from '2026-07-22 19:19:28'::timestamp) - extract(epoch from '2026-07-22 19:19:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765457 -2.64787)', '2026-07-22 19:19:48', 29.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765466 -2.647873)'), GeomFromEWKT('SRID=4674;POINT (-39.765457 -2.64787)'))) / (select extract(epoch from '2026-07-22 19:19:48'::timestamp) - extract(epoch from '2026-07-22 19:19:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765466 -2.647873)'), GeomFromEWKT('SRID=4674;POINT (-39.765457 -2.64787)'))) / (select extract(epoch from '2026-07-22 19:19:48'::timestamp) - extract(epoch from '2026-07-22 19:19: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'), 47870, 'SRID=4674;POINT (-39.765455 -2.647881)', '2026-07-22 19:20:11', 28.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765457 -2.64787)'), GeomFromEWKT('SRID=4674;POINT (-39.765455 -2.647881)'))) / (select extract(epoch from '2026-07-22 19:20:11'::timestamp) - extract(epoch from '2026-07-22 19:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765457 -2.64787)'), GeomFromEWKT('SRID=4674;POINT (-39.765455 -2.647881)'))) / (select extract(epoch from '2026-07-22 19:20:11'::timestamp) - extract(epoch from '2026-07-22 19:19: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'), 47870, 'SRID=4674;POINT (-39.76546 -2.647875)', '2026-07-22 19:20:23', 28.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765455 -2.647881)'), GeomFromEWKT('SRID=4674;POINT (-39.76546 -2.647875)'))) / (select extract(epoch from '2026-07-22 19:20:23'::timestamp) - extract(epoch from '2026-07-22 19:20:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765455 -2.647881)'), GeomFromEWKT('SRID=4674;POINT (-39.76546 -2.647875)'))) / (select extract(epoch from '2026-07-22 19:20:23'::timestamp) - extract(epoch from '2026-07-22 19:20: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'), 47870, 'SRID=4674;POINT (-39.76546 -2.647872)', '2026-07-22 19:20:44', 28.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76546 -2.647875)'), GeomFromEWKT('SRID=4674;POINT (-39.76546 -2.647872)'))) / (select extract(epoch from '2026-07-22 19:20:44'::timestamp) - extract(epoch from '2026-07-22 19:20:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76546 -2.647875)'), GeomFromEWKT('SRID=4674;POINT (-39.76546 -2.647872)'))) / (select extract(epoch from '2026-07-22 19:20:44'::timestamp) - extract(epoch from '2026-07-22 19:20:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765458 -2.647878)', '2026-07-22 19:21:01', 27.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76546 -2.647872)'), GeomFromEWKT('SRID=4674;POINT (-39.765458 -2.647878)'))) / (select extract(epoch from '2026-07-22 19:21:01'::timestamp) - extract(epoch from '2026-07-22 19:20:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76546 -2.647872)'), GeomFromEWKT('SRID=4674;POINT (-39.765458 -2.647878)'))) / (select extract(epoch from '2026-07-22 19:21:01'::timestamp) - extract(epoch from '2026-07-22 19:20:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765459 -2.647859)', '2026-07-22 19:22:04', 27.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765458 -2.647878)'), GeomFromEWKT('SRID=4674;POINT (-39.765459 -2.647859)'))) / (select extract(epoch from '2026-07-22 19:22:04'::timestamp) - extract(epoch from '2026-07-22 19:21:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765458 -2.647878)'), GeomFromEWKT('SRID=4674;POINT (-39.765459 -2.647859)'))) / (select extract(epoch from '2026-07-22 19:22:04'::timestamp) - extract(epoch from '2026-07-22 19:21: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'), 47870, 'SRID=4674;POINT (-39.765438 -2.64785)', '2026-07-22 19:22:29', 27.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765459 -2.647859)'), GeomFromEWKT('SRID=4674;POINT (-39.765438 -2.64785)'))) / (select extract(epoch from '2026-07-22 19:22:29'::timestamp) - extract(epoch from '2026-07-22 19:22:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765459 -2.647859)'), GeomFromEWKT('SRID=4674;POINT (-39.765438 -2.64785)'))) / (select extract(epoch from '2026-07-22 19:22:29'::timestamp) - extract(epoch from '2026-07-22 19:22: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'), 47870, 'SRID=4674;POINT (-39.765448 -2.647846)', '2026-07-22 19:22:56', 28.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765438 -2.64785)'), GeomFromEWKT('SRID=4674;POINT (-39.765448 -2.647846)'))) / (select extract(epoch from '2026-07-22 19:22:56'::timestamp) - extract(epoch from '2026-07-22 19:22:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765438 -2.64785)'), GeomFromEWKT('SRID=4674;POINT (-39.765448 -2.647846)'))) / (select extract(epoch from '2026-07-22 19:22:56'::timestamp) - extract(epoch from '2026-07-22 19:22: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'), 47870, 'SRID=4674;POINT (-39.765448 -2.64785)', '2026-07-22 19:23:09', 28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765448 -2.647846)'), GeomFromEWKT('SRID=4674;POINT (-39.765448 -2.64785)'))) / (select extract(epoch from '2026-07-22 19:23:09'::timestamp) - extract(epoch from '2026-07-22 19:22:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765448 -2.647846)'), GeomFromEWKT('SRID=4674;POINT (-39.765448 -2.64785)'))) / (select extract(epoch from '2026-07-22 19:23:09'::timestamp) - extract(epoch from '2026-07-22 19:22:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765461 -2.647865)', '2026-07-22 19:24:55', 28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765448 -2.64785)'), GeomFromEWKT('SRID=4674;POINT (-39.765461 -2.647865)'))) / (select extract(epoch from '2026-07-22 19:24:55'::timestamp) - extract(epoch from '2026-07-22 19:23:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765448 -2.64785)'), GeomFromEWKT('SRID=4674;POINT (-39.765461 -2.647865)'))) / (select extract(epoch from '2026-07-22 19:24:55'::timestamp) - extract(epoch from '2026-07-22 19:23:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765457 -2.647867)', '2026-07-22 19:26:10', 28.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765461 -2.647865)'), GeomFromEWKT('SRID=4674;POINT (-39.765457 -2.647867)'))) / (select extract(epoch from '2026-07-22 19:26:10'::timestamp) - extract(epoch from '2026-07-22 19:24:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765461 -2.647865)'), GeomFromEWKT('SRID=4674;POINT (-39.765457 -2.647867)'))) / (select extract(epoch from '2026-07-22 19:26:10'::timestamp) - extract(epoch from '2026-07-22 19:24:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765459 -2.647858)', '2026-07-22 19:26:12', 28.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765457 -2.647867)'), GeomFromEWKT('SRID=4674;POINT (-39.765459 -2.647858)'))) / (select extract(epoch from '2026-07-22 19:26:12'::timestamp) - extract(epoch from '2026-07-22 19:26:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765457 -2.647867)'), GeomFromEWKT('SRID=4674;POINT (-39.765459 -2.647858)'))) / (select extract(epoch from '2026-07-22 19:26:12'::timestamp) - extract(epoch from '2026-07-22 19:26: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'), 47870, 'SRID=4674;POINT (-39.765461 -2.647857)', '2026-07-22 19:26:18', 28.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765459 -2.647858)'), GeomFromEWKT('SRID=4674;POINT (-39.765461 -2.647857)'))) / (select extract(epoch from '2026-07-22 19:26:18'::timestamp) - extract(epoch from '2026-07-22 19:26:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765459 -2.647858)'), GeomFromEWKT('SRID=4674;POINT (-39.765461 -2.647857)'))) / (select extract(epoch from '2026-07-22 19:26:18'::timestamp) - extract(epoch from '2026-07-22 19:26: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'), 47870, 'SRID=4674;POINT (-39.765461 -2.647866)', '2026-07-22 19:26:32', 28.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765461 -2.647857)'), GeomFromEWKT('SRID=4674;POINT (-39.765461 -2.647866)'))) / (select extract(epoch from '2026-07-22 19:26:32'::timestamp) - extract(epoch from '2026-07-22 19:26:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765461 -2.647857)'), GeomFromEWKT('SRID=4674;POINT (-39.765461 -2.647866)'))) / (select extract(epoch from '2026-07-22 19:26:32'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47870, 'SRID=4674;POINT (-39.76545 -2.647868)', '2026-07-22 19:26:40', 29.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765461 -2.647866)'), GeomFromEWKT('SRID=4674;POINT (-39.76545 -2.647868)'))) / (select extract(epoch from '2026-07-22 19:26:40'::timestamp) - extract(epoch from '2026-07-22 19:26:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765461 -2.647866)'), GeomFromEWKT('SRID=4674;POINT (-39.76545 -2.647868)'))) / (select extract(epoch from '2026-07-22 19:26:40'::timestamp) - extract(epoch from '2026-07-22 19:26: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'), 47870, 'SRID=4674;POINT (-39.765451 -2.647875)', '2026-07-22 19:26:53', 29.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76545 -2.647868)'), GeomFromEWKT('SRID=4674;POINT (-39.765451 -2.647875)'))) / (select extract(epoch from '2026-07-22 19:26:53'::timestamp) - extract(epoch from '2026-07-22 19:26:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76545 -2.647868)'), GeomFromEWKT('SRID=4674;POINT (-39.765451 -2.647875)'))) / (select extract(epoch from '2026-07-22 19:26:53'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47870, 'SRID=4674;POINT (-39.765431 -2.647879)', '2026-07-22 19:27:48', 30, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765451 -2.647875)'), GeomFromEWKT('SRID=4674;POINT (-39.765431 -2.647879)'))) / (select extract(epoch from '2026-07-22 19:27:48'::timestamp) - extract(epoch from '2026-07-22 19:26:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765451 -2.647875)'), GeomFromEWKT('SRID=4674;POINT (-39.765431 -2.647879)'))) / (select extract(epoch from '2026-07-22 19:27:48'::timestamp) - extract(epoch from '2026-07-22 19:26: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'), 47870, 'SRID=4674;POINT (-39.765426 -2.647871)', '2026-07-22 19:28:14', 30, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765431 -2.647879)'), GeomFromEWKT('SRID=4674;POINT (-39.765426 -2.647871)'))) / (select extract(epoch from '2026-07-22 19:28:14'::timestamp) - extract(epoch from '2026-07-22 19:27:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765431 -2.647879)'), GeomFromEWKT('SRID=4674;POINT (-39.765426 -2.647871)'))) / (select extract(epoch from '2026-07-22 19:28:14'::timestamp) - extract(epoch from '2026-07-22 19:27:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765423 -2.647864)', '2026-07-22 19:28:37', 30.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765426 -2.647871)'), GeomFromEWKT('SRID=4674;POINT (-39.765423 -2.647864)'))) / (select extract(epoch from '2026-07-22 19:28:37'::timestamp) - extract(epoch from '2026-07-22 19:28:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765426 -2.647871)'), GeomFromEWKT('SRID=4674;POINT (-39.765423 -2.647864)'))) / (select extract(epoch from '2026-07-22 19:28:37'::timestamp) - extract(epoch from '2026-07-22 19:28: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'), 47870, 'SRID=4674;POINT (-39.76543 -2.647903)', '2026-07-22 19:30:24', 31.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765423 -2.647864)'), GeomFromEWKT('SRID=4674;POINT (-39.76543 -2.647903)'))) / (select extract(epoch from '2026-07-22 19:30:24'::timestamp) - extract(epoch from '2026-07-22 19:28:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765423 -2.647864)'), GeomFromEWKT('SRID=4674;POINT (-39.76543 -2.647903)'))) / (select extract(epoch from '2026-07-22 19:30:24'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47870, 'SRID=4674;POINT (-39.76543 -2.6479)', '2026-07-22 19:30:36', 31.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76543 -2.647903)'), GeomFromEWKT('SRID=4674;POINT (-39.76543 -2.6479)'))) / (select extract(epoch from '2026-07-22 19:30:36'::timestamp) - extract(epoch from '2026-07-22 19:30:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76543 -2.647903)'), GeomFromEWKT('SRID=4674;POINT (-39.76543 -2.6479)'))) / (select extract(epoch from '2026-07-22 19:30:36'::timestamp) - extract(epoch from '2026-07-22 19:30:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765445 -2.647896)', '2026-07-22 19:30:54', 31.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76543 -2.6479)'), GeomFromEWKT('SRID=4674;POINT (-39.765445 -2.647896)'))) / (select extract(epoch from '2026-07-22 19:30:54'::timestamp) - extract(epoch from '2026-07-22 19:30:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76543 -2.6479)'), GeomFromEWKT('SRID=4674;POINT (-39.765445 -2.647896)'))) / (select extract(epoch from '2026-07-22 19:30:54'::timestamp) - extract(epoch from '2026-07-22 19:30: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'), 47870, 'SRID=4674;POINT (-39.765462 -2.647894)', '2026-07-22 19:31:16', 31.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765445 -2.647896)'), GeomFromEWKT('SRID=4674;POINT (-39.765462 -2.647894)'))) / (select extract(epoch from '2026-07-22 19:31:16'::timestamp) - extract(epoch from '2026-07-22 19:30:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765445 -2.647896)'), GeomFromEWKT('SRID=4674;POINT (-39.765462 -2.647894)'))) / (select extract(epoch from '2026-07-22 19:31:16'::timestamp) - extract(epoch from '2026-07-22 19:30: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'), 47870, 'SRID=4674;POINT (-39.765473 -2.647902)', '2026-07-22 19:31:35', 32.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765462 -2.647894)'), GeomFromEWKT('SRID=4674;POINT (-39.765473 -2.647902)'))) / (select extract(epoch from '2026-07-22 19:31:35'::timestamp) - extract(epoch from '2026-07-22 19:31:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765462 -2.647894)'), GeomFromEWKT('SRID=4674;POINT (-39.765473 -2.647902)'))) / (select extract(epoch from '2026-07-22 19:31:35'::timestamp) - extract(epoch from '2026-07-22 19:31: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'), 47870, 'SRID=4674;POINT (-39.765483 -2.647905)', '2026-07-22 19:31:46', 32.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765473 -2.647902)'), GeomFromEWKT('SRID=4674;POINT (-39.765483 -2.647905)'))) / (select extract(epoch from '2026-07-22 19:31:46'::timestamp) - extract(epoch from '2026-07-22 19:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765473 -2.647902)'), GeomFromEWKT('SRID=4674;POINT (-39.765483 -2.647905)'))) / (select extract(epoch from '2026-07-22 19:31:46'::timestamp) - extract(epoch from '2026-07-22 19:31:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765483 -2.647906)', '2026-07-22 19:31:49', 32.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765483 -2.647905)'), GeomFromEWKT('SRID=4674;POINT (-39.765483 -2.647906)'))) / (select extract(epoch from '2026-07-22 19:31:49'::timestamp) - extract(epoch from '2026-07-22 19:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765483 -2.647905)'), GeomFromEWKT('SRID=4674;POINT (-39.765483 -2.647906)'))) / (select extract(epoch from '2026-07-22 19:31:49'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47870, 'SRID=4674;POINT (-39.765457 -2.647889)', '2026-07-22 19:33:01', 33.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765483 -2.647906)'), GeomFromEWKT('SRID=4674;POINT (-39.765457 -2.647889)'))) / (select extract(epoch from '2026-07-22 19:33:01'::timestamp) - extract(epoch from '2026-07-22 19:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765483 -2.647906)'), GeomFromEWKT('SRID=4674;POINT (-39.765457 -2.647889)'))) / (select extract(epoch from '2026-07-22 19:33:01'::timestamp) - extract(epoch from '2026-07-22 19:31: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'), 47870, 'SRID=4674;POINT (-39.765459 -2.647887)', '2026-07-22 19:33:08', 33.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765457 -2.647889)'), GeomFromEWKT('SRID=4674;POINT (-39.765459 -2.647887)'))) / (select extract(epoch from '2026-07-22 19:33:08'::timestamp) - extract(epoch from '2026-07-22 19:33:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765457 -2.647889)'), GeomFromEWKT('SRID=4674;POINT (-39.765459 -2.647887)'))) / (select extract(epoch from '2026-07-22 19:33:08'::timestamp) - extract(epoch from '2026-07-22 19:33:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765465 -2.647896)', '2026-07-22 19:33:29', 33.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765459 -2.647887)'), GeomFromEWKT('SRID=4674;POINT (-39.765465 -2.647896)'))) / (select extract(epoch from '2026-07-22 19:33:29'::timestamp) - extract(epoch from '2026-07-22 19:33:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765459 -2.647887)'), GeomFromEWKT('SRID=4674;POINT (-39.765465 -2.647896)'))) / (select extract(epoch from '2026-07-22 19:33:29'::timestamp) - extract(epoch from '2026-07-22 19:33:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765478 -2.647887)', '2026-07-22 19:33:35', 33.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765465 -2.647896)'), GeomFromEWKT('SRID=4674;POINT (-39.765478 -2.647887)'))) / (select extract(epoch from '2026-07-22 19:33:35'::timestamp) - extract(epoch from '2026-07-22 19:33:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765465 -2.647896)'), GeomFromEWKT('SRID=4674;POINT (-39.765478 -2.647887)'))) / (select extract(epoch from '2026-07-22 19:33:35'::timestamp) - extract(epoch from '2026-07-22 19:33: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'), 47870, 'SRID=4674;POINT (-39.765484 -2.64788)', '2026-07-22 19:34:13', 33.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765478 -2.647887)'), GeomFromEWKT('SRID=4674;POINT (-39.765484 -2.64788)'))) / (select extract(epoch from '2026-07-22 19:34:13'::timestamp) - extract(epoch from '2026-07-22 19:33:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765478 -2.647887)'), GeomFromEWKT('SRID=4674;POINT (-39.765484 -2.64788)'))) / (select extract(epoch from '2026-07-22 19:34:13'::timestamp) - extract(epoch from '2026-07-22 19:33: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'), 47870, 'SRID=4674;POINT (-39.765484 -2.647878)', '2026-07-22 19:34:19', 34, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765484 -2.64788)'), GeomFromEWKT('SRID=4674;POINT (-39.765484 -2.647878)'))) / (select extract(epoch from '2026-07-22 19:34:19'::timestamp) - extract(epoch from '2026-07-22 19:34:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765484 -2.64788)'), GeomFromEWKT('SRID=4674;POINT (-39.765484 -2.647878)'))) / (select extract(epoch from '2026-07-22 19:34:19'::timestamp) - extract(epoch from '2026-07-22 19:34:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765483 -2.647884)', '2026-07-22 19:34:33', 34, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765484 -2.647878)'), GeomFromEWKT('SRID=4674;POINT (-39.765483 -2.647884)'))) / (select extract(epoch from '2026-07-22 19:34:33'::timestamp) - extract(epoch from '2026-07-22 19:34:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765484 -2.647878)'), GeomFromEWKT('SRID=4674;POINT (-39.765483 -2.647884)'))) / (select extract(epoch from '2026-07-22 19:34:33'::timestamp) - extract(epoch from '2026-07-22 19:34: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'), 47870, 'SRID=4674;POINT (-39.765475 -2.647866)', '2026-07-22 19:35:18', 34.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765483 -2.647884)'), GeomFromEWKT('SRID=4674;POINT (-39.765475 -2.647866)'))) / (select extract(epoch from '2026-07-22 19:35:18'::timestamp) - extract(epoch from '2026-07-22 19:34:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765483 -2.647884)'), GeomFromEWKT('SRID=4674;POINT (-39.765475 -2.647866)'))) / (select extract(epoch from '2026-07-22 19:35:18'::timestamp) - extract(epoch from '2026-07-22 19:34: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'), 47870, 'SRID=4674;POINT (-39.765449 -2.647845)', '2026-07-22 19:35:38', 34.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765475 -2.647866)'), GeomFromEWKT('SRID=4674;POINT (-39.765449 -2.647845)'))) / (select extract(epoch from '2026-07-22 19:35:38'::timestamp) - extract(epoch from '2026-07-22 19:35:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765475 -2.647866)'), GeomFromEWKT('SRID=4674;POINT (-39.765449 -2.647845)'))) / (select extract(epoch from '2026-07-22 19:35:38'::timestamp) - extract(epoch from '2026-07-22 19:35: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'), 47870, 'SRID=4674;POINT (-39.765461 -2.647836)', '2026-07-22 19:35:43', 34.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765449 -2.647845)'), GeomFromEWKT('SRID=4674;POINT (-39.765461 -2.647836)'))) / (select extract(epoch from '2026-07-22 19:35:43'::timestamp) - extract(epoch from '2026-07-22 19:35:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765449 -2.647845)'), GeomFromEWKT('SRID=4674;POINT (-39.765461 -2.647836)'))) / (select extract(epoch from '2026-07-22 19:35:43'::timestamp) - extract(epoch from '2026-07-22 19:35: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'), 47870, 'SRID=4674;POINT (-39.765455 -2.647854)', '2026-07-22 19:36:09', 34.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765461 -2.647836)'), GeomFromEWKT('SRID=4674;POINT (-39.765455 -2.647854)'))) / (select extract(epoch from '2026-07-22 19:36:09'::timestamp) - extract(epoch from '2026-07-22 19:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765461 -2.647836)'), GeomFromEWKT('SRID=4674;POINT (-39.765455 -2.647854)'))) / (select extract(epoch from '2026-07-22 19:36:09'::timestamp) - extract(epoch from '2026-07-22 19:35:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765446 -2.647846)', '2026-07-22 19:36:29', 34.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765455 -2.647854)'), GeomFromEWKT('SRID=4674;POINT (-39.765446 -2.647846)'))) / (select extract(epoch from '2026-07-22 19:36:29'::timestamp) - extract(epoch from '2026-07-22 19:36:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765455 -2.647854)'), GeomFromEWKT('SRID=4674;POINT (-39.765446 -2.647846)'))) / (select extract(epoch from '2026-07-22 19:36:29'::timestamp) - extract(epoch from '2026-07-22 19:36: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'), 47870, 'SRID=4674;POINT (-39.765458 -2.647841)', '2026-07-22 19:36:33', 35.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765446 -2.647846)'), GeomFromEWKT('SRID=4674;POINT (-39.765458 -2.647841)'))) / (select extract(epoch from '2026-07-22 19:36:33'::timestamp) - extract(epoch from '2026-07-22 19:36:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765446 -2.647846)'), GeomFromEWKT('SRID=4674;POINT (-39.765458 -2.647841)'))) / (select extract(epoch from '2026-07-22 19:36:33'::timestamp) - extract(epoch from '2026-07-22 19:36: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'), 47870, 'SRID=4674;POINT (-39.765466 -2.647837)', '2026-07-22 19:36:39', 35.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765458 -2.647841)'), GeomFromEWKT('SRID=4674;POINT (-39.765466 -2.647837)'))) / (select extract(epoch from '2026-07-22 19:36:39'::timestamp) - extract(epoch from '2026-07-22 19:36:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765458 -2.647841)'), GeomFromEWKT('SRID=4674;POINT (-39.765466 -2.647837)'))) / (select extract(epoch from '2026-07-22 19:36:39'::timestamp) - extract(epoch from '2026-07-22 19:36:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765465 -2.647833)', '2026-07-22 19:36:48', 35.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765466 -2.647837)'), GeomFromEWKT('SRID=4674;POINT (-39.765465 -2.647833)'))) / (select extract(epoch from '2026-07-22 19:36:48'::timestamp) - extract(epoch from '2026-07-22 19:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765466 -2.647837)'), GeomFromEWKT('SRID=4674;POINT (-39.765465 -2.647833)'))) / (select extract(epoch from '2026-07-22 19:36:48'::timestamp) - extract(epoch from '2026-07-22 19:36: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'), 47870, 'SRID=4674;POINT (-39.765476 -2.647861)', '2026-07-22 19:37:14', 36, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765465 -2.647833)'), GeomFromEWKT('SRID=4674;POINT (-39.765476 -2.647861)'))) / (select extract(epoch from '2026-07-22 19:37:14'::timestamp) - extract(epoch from '2026-07-22 19:36:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765465 -2.647833)'), GeomFromEWKT('SRID=4674;POINT (-39.765476 -2.647861)'))) / (select extract(epoch from '2026-07-22 19:37:14'::timestamp) - extract(epoch from '2026-07-22 19:36:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765469 -2.647858)', '2026-07-22 19:37:36', 36.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765476 -2.647861)'), GeomFromEWKT('SRID=4674;POINT (-39.765469 -2.647858)'))) / (select extract(epoch from '2026-07-22 19:37:36'::timestamp) - extract(epoch from '2026-07-22 19:37:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765476 -2.647861)'), GeomFromEWKT('SRID=4674;POINT (-39.765469 -2.647858)'))) / (select extract(epoch from '2026-07-22 19:37:36'::timestamp) - extract(epoch from '2026-07-22 19:37: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'), 47870, 'SRID=4674;POINT (-39.765473 -2.647872)', '2026-07-22 19:37:52', 36.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765469 -2.647858)'), GeomFromEWKT('SRID=4674;POINT (-39.765473 -2.647872)'))) / (select extract(epoch from '2026-07-22 19:37:52'::timestamp) - extract(epoch from '2026-07-22 19:37:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765469 -2.647858)'), GeomFromEWKT('SRID=4674;POINT (-39.765473 -2.647872)'))) / (select extract(epoch from '2026-07-22 19:37:52'::timestamp) - extract(epoch from '2026-07-22 19:37: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'), 47870, 'SRID=4674;POINT (-39.765464 -2.647893)', '2026-07-22 19:38:10', 36.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765473 -2.647872)'), GeomFromEWKT('SRID=4674;POINT (-39.765464 -2.647893)'))) / (select extract(epoch from '2026-07-22 19:38:10'::timestamp) - extract(epoch from '2026-07-22 19:37:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765473 -2.647872)'), GeomFromEWKT('SRID=4674;POINT (-39.765464 -2.647893)'))) / (select extract(epoch from '2026-07-22 19:38:10'::timestamp) - extract(epoch from '2026-07-22 19:37: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'), 47870, 'SRID=4674;POINT (-39.765472 -2.647897)', '2026-07-22 19:38:39', 36.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765464 -2.647893)'), GeomFromEWKT('SRID=4674;POINT (-39.765472 -2.647897)'))) / (select extract(epoch from '2026-07-22 19:38:39'::timestamp) - extract(epoch from '2026-07-22 19:38:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765464 -2.647893)'), GeomFromEWKT('SRID=4674;POINT (-39.765472 -2.647897)'))) / (select extract(epoch from '2026-07-22 19:38:39'::timestamp) - extract(epoch from '2026-07-22 19:38: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'), 47870, 'SRID=4674;POINT (-39.765449 -2.647929)', '2026-07-22 19:39:26', 37, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765472 -2.647897)'), GeomFromEWKT('SRID=4674;POINT (-39.765449 -2.647929)'))) / (select extract(epoch from '2026-07-22 19:39:26'::timestamp) - extract(epoch from '2026-07-22 19:38:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765472 -2.647897)'), GeomFromEWKT('SRID=4674;POINT (-39.765449 -2.647929)'))) / (select extract(epoch from '2026-07-22 19:39:26'::timestamp) - extract(epoch from '2026-07-22 19:38: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'), 47870, 'SRID=4674;POINT (-39.765457 -2.647929)', '2026-07-22 19:41:35', 38.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765449 -2.647929)'), GeomFromEWKT('SRID=4674;POINT (-39.765457 -2.647929)'))) / (select extract(epoch from '2026-07-22 19:41:35'::timestamp) - extract(epoch from '2026-07-22 19:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765449 -2.647929)'), GeomFromEWKT('SRID=4674;POINT (-39.765457 -2.647929)'))) / (select extract(epoch from '2026-07-22 19:41:35'::timestamp) - extract(epoch from '2026-07-22 19:39: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'), 47870, 'SRID=4674;POINT (-39.76545 -2.647928)', '2026-07-22 19:41:45', 38.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765457 -2.647929)'), GeomFromEWKT('SRID=4674;POINT (-39.76545 -2.647928)'))) / (select extract(epoch from '2026-07-22 19:41:45'::timestamp) - extract(epoch from '2026-07-22 19:41:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765457 -2.647929)'), GeomFromEWKT('SRID=4674;POINT (-39.76545 -2.647928)'))) / (select extract(epoch from '2026-07-22 19:41:45'::timestamp) - extract(epoch from '2026-07-22 19:41:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765452 -2.647904)', '2026-07-22 19:42:23', 38.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76545 -2.647928)'), GeomFromEWKT('SRID=4674;POINT (-39.765452 -2.647904)'))) / (select extract(epoch from '2026-07-22 19:42:23'::timestamp) - extract(epoch from '2026-07-22 19:41:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76545 -2.647928)'), GeomFromEWKT('SRID=4674;POINT (-39.765452 -2.647904)'))) / (select extract(epoch from '2026-07-22 19:42:23'::timestamp) - extract(epoch from '2026-07-22 19:41: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'), 47870, 'SRID=4674;POINT (-39.765449 -2.647904)', '2026-07-22 19:42:29', 39, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765452 -2.647904)'), GeomFromEWKT('SRID=4674;POINT (-39.765449 -2.647904)'))) / (select extract(epoch from '2026-07-22 19:42:29'::timestamp) - extract(epoch from '2026-07-22 19:42:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765452 -2.647904)'), GeomFromEWKT('SRID=4674;POINT (-39.765449 -2.647904)'))) / (select extract(epoch from '2026-07-22 19:42:29'::timestamp) - extract(epoch from '2026-07-22 19:42:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765446 -2.647893)', '2026-07-22 19:42:58', 39.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765449 -2.647904)'), GeomFromEWKT('SRID=4674;POINT (-39.765446 -2.647893)'))) / (select extract(epoch from '2026-07-22 19:42:58'::timestamp) - extract(epoch from '2026-07-22 19:42:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765449 -2.647904)'), GeomFromEWKT('SRID=4674;POINT (-39.765446 -2.647893)'))) / (select extract(epoch from '2026-07-22 19:42:58'::timestamp) - extract(epoch from '2026-07-22 19:42:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765455 -2.647916)', '2026-07-22 19:43:41', 39.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765446 -2.647893)'), GeomFromEWKT('SRID=4674;POINT (-39.765455 -2.647916)'))) / (select extract(epoch from '2026-07-22 19:43:41'::timestamp) - extract(epoch from '2026-07-22 19:42:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765446 -2.647893)'), GeomFromEWKT('SRID=4674;POINT (-39.765455 -2.647916)'))) / (select extract(epoch from '2026-07-22 19:43:41'::timestamp) - extract(epoch from '2026-07-22 19:42: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'), 47870, 'SRID=4674;POINT (-39.765464 -2.647936)', '2026-07-22 19:43:59', 40, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765455 -2.647916)'), GeomFromEWKT('SRID=4674;POINT (-39.765464 -2.647936)'))) / (select extract(epoch from '2026-07-22 19:43:59'::timestamp) - extract(epoch from '2026-07-22 19:43:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765455 -2.647916)'), GeomFromEWKT('SRID=4674;POINT (-39.765464 -2.647936)'))) / (select extract(epoch from '2026-07-22 19:43:59'::timestamp) - extract(epoch from '2026-07-22 19:43:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765467 -2.647937)', '2026-07-22 19:44:45', 40.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765464 -2.647936)'), GeomFromEWKT('SRID=4674;POINT (-39.765467 -2.647937)'))) / (select extract(epoch from '2026-07-22 19:44:45'::timestamp) - extract(epoch from '2026-07-22 19:43:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765464 -2.647936)'), GeomFromEWKT('SRID=4674;POINT (-39.765467 -2.647937)'))) / (select extract(epoch from '2026-07-22 19:44:45'::timestamp) - extract(epoch from '2026-07-22 19:43:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765484 -2.647952)', '2026-07-22 19:45:02', 40.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765467 -2.647937)'), GeomFromEWKT('SRID=4674;POINT (-39.765484 -2.647952)'))) / (select extract(epoch from '2026-07-22 19:45:02'::timestamp) - extract(epoch from '2026-07-22 19:44:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765467 -2.647937)'), GeomFromEWKT('SRID=4674;POINT (-39.765484 -2.647952)'))) / (select extract(epoch from '2026-07-22 19:45:02'::timestamp) - extract(epoch from '2026-07-22 19:44: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'), 47870, 'SRID=4674;POINT (-39.765466 -2.647962)', '2026-07-22 19:46:45', 41, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765484 -2.647952)'), GeomFromEWKT('SRID=4674;POINT (-39.765466 -2.647962)'))) / (select extract(epoch from '2026-07-22 19:46:45'::timestamp) - extract(epoch from '2026-07-22 19:45:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765484 -2.647952)'), GeomFromEWKT('SRID=4674;POINT (-39.765466 -2.647962)'))) / (select extract(epoch from '2026-07-22 19:46:45'::timestamp) - extract(epoch from '2026-07-22 19:45: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'), 47870, 'SRID=4674;POINT (-39.76546 -2.647967)', '2026-07-22 19:47:08', 41, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765466 -2.647962)'), GeomFromEWKT('SRID=4674;POINT (-39.76546 -2.647967)'))) / (select extract(epoch from '2026-07-22 19:47:08'::timestamp) - extract(epoch from '2026-07-22 19:46:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765466 -2.647962)'), GeomFromEWKT('SRID=4674;POINT (-39.76546 -2.647967)'))) / (select extract(epoch from '2026-07-22 19:47:08'::timestamp) - extract(epoch from '2026-07-22 19:46:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765468 -2.647972)', '2026-07-22 19:47:21', 41.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76546 -2.647967)'), GeomFromEWKT('SRID=4674;POINT (-39.765468 -2.647972)'))) / (select extract(epoch from '2026-07-22 19:47:21'::timestamp) - extract(epoch from '2026-07-22 19:47:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76546 -2.647967)'), GeomFromEWKT('SRID=4674;POINT (-39.765468 -2.647972)'))) / (select extract(epoch from '2026-07-22 19:47:21'::timestamp) - extract(epoch from '2026-07-22 19:47: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'), 47870, 'SRID=4674;POINT (-39.765459 -2.647981)', '2026-07-22 19:48:57', 42.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765468 -2.647972)'), GeomFromEWKT('SRID=4674;POINT (-39.765459 -2.647981)'))) / (select extract(epoch from '2026-07-22 19:48:57'::timestamp) - extract(epoch from '2026-07-22 19:47:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765468 -2.647972)'), GeomFromEWKT('SRID=4674;POINT (-39.765459 -2.647981)'))) / (select extract(epoch from '2026-07-22 19:48:57'::timestamp) - extract(epoch from '2026-07-22 19:47: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'), 47870, 'SRID=4674;POINT (-39.765472 -2.647989)', '2026-07-22 19:49:03', 43, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765459 -2.647981)'), GeomFromEWKT('SRID=4674;POINT (-39.765472 -2.647989)'))) / (select extract(epoch from '2026-07-22 19:49:03'::timestamp) - extract(epoch from '2026-07-22 19:48:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765459 -2.647981)'), GeomFromEWKT('SRID=4674;POINT (-39.765472 -2.647989)'))) / (select extract(epoch from '2026-07-22 19:49:03'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47870, 'SRID=4674;POINT (-39.765503 -2.647958)', '2026-07-22 19:49:41', 42.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765472 -2.647989)'), GeomFromEWKT('SRID=4674;POINT (-39.765503 -2.647958)'))) / (select extract(epoch from '2026-07-22 19:49:41'::timestamp) - extract(epoch from '2026-07-22 19:49:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765472 -2.647989)'), GeomFromEWKT('SRID=4674;POINT (-39.765503 -2.647958)'))) / (select extract(epoch from '2026-07-22 19:49:41'::timestamp) - extract(epoch from '2026-07-22 19:49: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'), 47870, 'SRID=4674;POINT (-39.765503 -2.647986)', '2026-07-22 19:50:48', 43.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765503 -2.647958)'), GeomFromEWKT('SRID=4674;POINT (-39.765503 -2.647986)'))) / (select extract(epoch from '2026-07-22 19:50:48'::timestamp) - extract(epoch from '2026-07-22 19:49:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765503 -2.647958)'), GeomFromEWKT('SRID=4674;POINT (-39.765503 -2.647986)'))) / (select extract(epoch from '2026-07-22 19:50:48'::timestamp) - extract(epoch from '2026-07-22 19:49: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'), 47870, 'SRID=4674;POINT (-39.765515 -2.647933)', '2026-07-22 19:56:02', 44.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765503 -2.647986)'), GeomFromEWKT('SRID=4674;POINT (-39.765515 -2.647933)'))) / (select extract(epoch from '2026-07-22 19:56:02'::timestamp) - extract(epoch from '2026-07-22 19:50:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765503 -2.647986)'), GeomFromEWKT('SRID=4674;POINT (-39.765515 -2.647933)'))) / (select extract(epoch from '2026-07-22 19:56:02'::timestamp) - extract(epoch from '2026-07-22 19:50: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'), 47870, 'SRID=4674;POINT (-39.765515 -2.647937)', '2026-07-22 19:56:56', 44.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765515 -2.647933)'), GeomFromEWKT('SRID=4674;POINT (-39.765515 -2.647937)'))) / (select extract(epoch from '2026-07-22 19:56:56'::timestamp) - extract(epoch from '2026-07-22 19:56:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765515 -2.647933)'), GeomFromEWKT('SRID=4674;POINT (-39.765515 -2.647937)'))) / (select extract(epoch from '2026-07-22 19:56:56'::timestamp) - extract(epoch from '2026-07-22 19:56:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765523 -2.64794)', '2026-07-22 19:57:16', 44, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765515 -2.647937)'), GeomFromEWKT('SRID=4674;POINT (-39.765523 -2.64794)'))) / (select extract(epoch from '2026-07-22 19:57:16'::timestamp) - extract(epoch from '2026-07-22 19:56:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765515 -2.647937)'), GeomFromEWKT('SRID=4674;POINT (-39.765523 -2.64794)'))) / (select extract(epoch from '2026-07-22 19:57:16'::timestamp) - extract(epoch from '2026-07-22 19:56: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'), 47870, 'SRID=4674;POINT (-39.765535 -2.647939)', '2026-07-22 19:57:35', 43.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765523 -2.64794)'), GeomFromEWKT('SRID=4674;POINT (-39.765535 -2.647939)'))) / (select extract(epoch from '2026-07-22 19:57:35'::timestamp) - extract(epoch from '2026-07-22 19:57:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765523 -2.64794)'), GeomFromEWKT('SRID=4674;POINT (-39.765535 -2.647939)'))) / (select extract(epoch from '2026-07-22 19:57:35'::timestamp) - extract(epoch from '2026-07-22 19:57: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'), 47870, 'SRID=4674;POINT (-39.765543 -2.647949)', '2026-07-22 19:57:47', 43.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765535 -2.647939)'), GeomFromEWKT('SRID=4674;POINT (-39.765543 -2.647949)'))) / (select extract(epoch from '2026-07-22 19:57:47'::timestamp) - extract(epoch from '2026-07-22 19:57:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765535 -2.647939)'), GeomFromEWKT('SRID=4674;POINT (-39.765543 -2.647949)'))) / (select extract(epoch from '2026-07-22 19:57:47'::timestamp) - extract(epoch from '2026-07-22 19:57: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'), 47870, 'SRID=4674;POINT (-39.765532 -2.647932)', '2026-07-22 19:58:35', 43.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765543 -2.647949)'), GeomFromEWKT('SRID=4674;POINT (-39.765532 -2.647932)'))) / (select extract(epoch from '2026-07-22 19:58:35'::timestamp) - extract(epoch from '2026-07-22 19:57:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765543 -2.647949)'), GeomFromEWKT('SRID=4674;POINT (-39.765532 -2.647932)'))) / (select extract(epoch from '2026-07-22 19:58:35'::timestamp) - extract(epoch from '2026-07-22 19:57: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'), 47870, 'SRID=4674;POINT (-39.765536 -2.647942)', '2026-07-22 19:59:16', 43.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765532 -2.647932)'), GeomFromEWKT('SRID=4674;POINT (-39.765536 -2.647942)'))) / (select extract(epoch from '2026-07-22 19:59:16'::timestamp) - extract(epoch from '2026-07-22 19:58:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765532 -2.647932)'), GeomFromEWKT('SRID=4674;POINT (-39.765536 -2.647942)'))) / (select extract(epoch from '2026-07-22 19:59:16'::timestamp) - extract(epoch from '2026-07-22 19:58: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'), 47870, 'SRID=4674;POINT (-39.765507 -2.64794)', '2026-07-22 20:02:24', 43.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765536 -2.647942)'), GeomFromEWKT('SRID=4674;POINT (-39.765507 -2.64794)'))) / (select extract(epoch from '2026-07-22 20:02:24'::timestamp) - extract(epoch from '2026-07-22 19:59:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765536 -2.647942)'), GeomFromEWKT('SRID=4674;POINT (-39.765507 -2.64794)'))) / (select extract(epoch from '2026-07-22 20:02:24'::timestamp) - extract(epoch from '2026-07-22 19:59:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765513 -2.647938)', '2026-07-22 20:02:33', 43.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765507 -2.64794)'), GeomFromEWKT('SRID=4674;POINT (-39.765513 -2.647938)'))) / (select extract(epoch from '2026-07-22 20:02:33'::timestamp) - extract(epoch from '2026-07-22 20:02:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765507 -2.64794)'), GeomFromEWKT('SRID=4674;POINT (-39.765513 -2.647938)'))) / (select extract(epoch from '2026-07-22 20:02:33'::timestamp) - extract(epoch from '2026-07-22 20:02: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'), 47870, 'SRID=4674;POINT (-39.76551 -2.64795)', '2026-07-22 20:02:55', 43.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765513 -2.647938)'), GeomFromEWKT('SRID=4674;POINT (-39.76551 -2.64795)'))) / (select extract(epoch from '2026-07-22 20:02:55'::timestamp) - extract(epoch from '2026-07-22 20:02:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765513 -2.647938)'), GeomFromEWKT('SRID=4674;POINT (-39.76551 -2.64795)'))) / (select extract(epoch from '2026-07-22 20:02:55'::timestamp) - extract(epoch from '2026-07-22 20:02: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'), 47870, 'SRID=4674;POINT (-39.765523 -2.647961)', '2026-07-22 20:03:31', 43.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76551 -2.64795)'), GeomFromEWKT('SRID=4674;POINT (-39.765523 -2.647961)'))) / (select extract(epoch from '2026-07-22 20:03:31'::timestamp) - extract(epoch from '2026-07-22 20:02:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76551 -2.64795)'), GeomFromEWKT('SRID=4674;POINT (-39.765523 -2.647961)'))) / (select extract(epoch from '2026-07-22 20:03:31'::timestamp) - extract(epoch from '2026-07-22 20:02:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765524 -2.647968)', '2026-07-22 20:03:34', 43.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765523 -2.647961)'), GeomFromEWKT('SRID=4674;POINT (-39.765524 -2.647968)'))) / (select extract(epoch from '2026-07-22 20:03:34'::timestamp) - extract(epoch from '2026-07-22 20:03:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765523 -2.647961)'), GeomFromEWKT('SRID=4674;POINT (-39.765524 -2.647968)'))) / (select extract(epoch from '2026-07-22 20:03:34'::timestamp) - extract(epoch from '2026-07-22 20:03:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765511 -2.647977)', '2026-07-22 20:03:44', 43, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765524 -2.647968)'), GeomFromEWKT('SRID=4674;POINT (-39.765511 -2.647977)'))) / (select extract(epoch from '2026-07-22 20:03:44'::timestamp) - extract(epoch from '2026-07-22 20:03:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765524 -2.647968)'), GeomFromEWKT('SRID=4674;POINT (-39.765511 -2.647977)'))) / (select extract(epoch from '2026-07-22 20:03:44'::timestamp) - extract(epoch from '2026-07-22 20:03: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'), 47870, 'SRID=4674;POINT (-39.765505 -2.647981)', '2026-07-22 20:03:50', 43, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765511 -2.647977)'), GeomFromEWKT('SRID=4674;POINT (-39.765505 -2.647981)'))) / (select extract(epoch from '2026-07-22 20:03:50'::timestamp) - extract(epoch from '2026-07-22 20:03:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765511 -2.647977)'), GeomFromEWKT('SRID=4674;POINT (-39.765505 -2.647981)'))) / (select extract(epoch from '2026-07-22 20:03:50'::timestamp) - extract(epoch from '2026-07-22 20: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'), 47870, 'SRID=4674;POINT (-39.765505 -2.647981)', '2026-07-22 20:03:55', 43, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765505 -2.647981)'), GeomFromEWKT('SRID=4674;POINT (-39.765505 -2.647981)'))) / (select extract(epoch from '2026-07-22 20:03:55'::timestamp) - extract(epoch from '2026-07-22 20:03:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765505 -2.647981)'), GeomFromEWKT('SRID=4674;POINT (-39.765505 -2.647981)'))) / (select extract(epoch from '2026-07-22 20:03:55'::timestamp) - extract(epoch from '2026-07-22 20: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'), 47870, 'SRID=4674;POINT (-39.697751 -2.650975)', '2026-07-24 08:26:46', 102, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765505 -2.647981)'), GeomFromEWKT('SRID=4674;POINT (-39.697751 -2.650975)'))) / (select extract(epoch from '2026-07-24 08:26:46'::timestamp) - extract(epoch from '2026-07-22 20:03:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765505 -2.647981)'), GeomFromEWKT('SRID=4674;POINT (-39.697751 -2.650975)'))) / (select extract(epoch from '2026-07-24 08:26:46'::timestamp) - extract(epoch from '2026-07-22 20:03:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697705 -2.650986)', '2026-07-24 08:26:49', 57.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697751 -2.650975)'), GeomFromEWKT('SRID=4674;POINT (-39.697705 -2.650986)'))) / (select extract(epoch from '2026-07-24 08:26:49'::timestamp) - extract(epoch from '2026-07-24 08:26:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697751 -2.650975)'), GeomFromEWKT('SRID=4674;POINT (-39.697705 -2.650986)'))) / (select extract(epoch from '2026-07-24 08:26:49'::timestamp) - extract(epoch from '2026-07-24 08:26: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'), 47870, 'SRID=4674;POINT (-39.697726 -2.650928)', '2026-07-24 08:26:58', 25, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697705 -2.650986)'), GeomFromEWKT('SRID=4674;POINT (-39.697726 -2.650928)'))) / (select extract(epoch from '2026-07-24 08:26:58'::timestamp) - extract(epoch from '2026-07-24 08:26:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697705 -2.650986)'), GeomFromEWKT('SRID=4674;POINT (-39.697726 -2.650928)'))) / (select extract(epoch from '2026-07-24 08:26:58'::timestamp) - extract(epoch from '2026-07-24 08:26: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'), 47870, 'SRID=4674;POINT (-39.697935 -2.650792)', '2026-07-24 08:27:04', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697726 -2.650928)'), GeomFromEWKT('SRID=4674;POINT (-39.697935 -2.650792)'))) / (select extract(epoch from '2026-07-24 08:27:04'::timestamp) - extract(epoch from '2026-07-24 08:26:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697726 -2.650928)'), GeomFromEWKT('SRID=4674;POINT (-39.697935 -2.650792)'))) / (select extract(epoch from '2026-07-24 08:27:04'::timestamp) - extract(epoch from '2026-07-24 08:26: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'), 47870, 'SRID=4674;POINT (-39.69805 -2.650733)', '2026-07-24 08:27:11', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697935 -2.650792)'), GeomFromEWKT('SRID=4674;POINT (-39.69805 -2.650733)'))) / (select extract(epoch from '2026-07-24 08:27:11'::timestamp) - extract(epoch from '2026-07-24 08:27:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697935 -2.650792)'), GeomFromEWKT('SRID=4674;POINT (-39.69805 -2.650733)'))) / (select extract(epoch from '2026-07-24 08:27:11'::timestamp) - extract(epoch from '2026-07-24 08:27: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'), 47870, 'SRID=4674;POINT (-39.698081 -2.650703)', '2026-07-24 08:27:15', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69805 -2.650733)'), GeomFromEWKT('SRID=4674;POINT (-39.698081 -2.650703)'))) / (select extract(epoch from '2026-07-24 08:27:15'::timestamp) - extract(epoch from '2026-07-24 08:27:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69805 -2.650733)'), GeomFromEWKT('SRID=4674;POINT (-39.698081 -2.650703)'))) / (select extract(epoch from '2026-07-24 08:27:15'::timestamp) - extract(epoch from '2026-07-24 08:27: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'), 47870, 'SRID=4674;POINT (-39.698095 -2.650696)', '2026-07-24 08:27:16', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698081 -2.650703)'), GeomFromEWKT('SRID=4674;POINT (-39.698095 -2.650696)'))) / (select extract(epoch from '2026-07-24 08:27:16'::timestamp) - extract(epoch from '2026-07-24 08:27:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698081 -2.650703)'), GeomFromEWKT('SRID=4674;POINT (-39.698095 -2.650696)'))) / (select extract(epoch from '2026-07-24 08:27:16'::timestamp) - extract(epoch from '2026-07-24 08:27:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698139 -2.650672)', '2026-07-24 08:27:21', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698095 -2.650696)'), GeomFromEWKT('SRID=4674;POINT (-39.698139 -2.650672)'))) / (select extract(epoch from '2026-07-24 08:27:21'::timestamp) - extract(epoch from '2026-07-24 08:27:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698095 -2.650696)'), GeomFromEWKT('SRID=4674;POINT (-39.698139 -2.650672)'))) / (select extract(epoch from '2026-07-24 08:27:21'::timestamp) - extract(epoch from '2026-07-24 08:27: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'), 47870, 'SRID=4674;POINT (-39.698175 -2.650664)', '2026-07-24 08:27:27', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698139 -2.650672)'), GeomFromEWKT('SRID=4674;POINT (-39.698175 -2.650664)'))) / (select extract(epoch from '2026-07-24 08:27:27'::timestamp) - extract(epoch from '2026-07-24 08:27:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698139 -2.650672)'), GeomFromEWKT('SRID=4674;POINT (-39.698175 -2.650664)'))) / (select extract(epoch from '2026-07-24 08:27:27'::timestamp) - extract(epoch from '2026-07-24 08:27: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'), 47870, 'SRID=4674;POINT (-39.698219 -2.650643)', '2026-07-24 08:27:33', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698175 -2.650664)'), GeomFromEWKT('SRID=4674;POINT (-39.698219 -2.650643)'))) / (select extract(epoch from '2026-07-24 08:27:33'::timestamp) - extract(epoch from '2026-07-24 08:27:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698175 -2.650664)'), GeomFromEWKT('SRID=4674;POINT (-39.698219 -2.650643)'))) / (select extract(epoch from '2026-07-24 08:27:33'::timestamp) - extract(epoch from '2026-07-24 08:27: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'), 47870, 'SRID=4674;POINT (-39.698225 -2.650633)', '2026-07-24 08:27:37', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698219 -2.650643)'), GeomFromEWKT('SRID=4674;POINT (-39.698225 -2.650633)'))) / (select extract(epoch from '2026-07-24 08:27:37'::timestamp) - extract(epoch from '2026-07-24 08:27:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698219 -2.650643)'), GeomFromEWKT('SRID=4674;POINT (-39.698225 -2.650633)'))) / (select extract(epoch from '2026-07-24 08:27:37'::timestamp) - extract(epoch from '2026-07-24 08: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'), 47870, 'SRID=4674;POINT (-39.69826 -2.650615)', '2026-07-24 08:27:42', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698225 -2.650633)'), GeomFromEWKT('SRID=4674;POINT (-39.69826 -2.650615)'))) / (select extract(epoch from '2026-07-24 08:27:42'::timestamp) - extract(epoch from '2026-07-24 08:27:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698225 -2.650633)'), GeomFromEWKT('SRID=4674;POINT (-39.69826 -2.650615)'))) / (select extract(epoch from '2026-07-24 08:27:42'::timestamp) - extract(epoch from '2026-07-24 08:27:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698298 -2.650605)', '2026-07-24 08:27:47', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69826 -2.650615)'), GeomFromEWKT('SRID=4674;POINT (-39.698298 -2.650605)'))) / (select extract(epoch from '2026-07-24 08:27:47'::timestamp) - extract(epoch from '2026-07-24 08:27:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69826 -2.650615)'), GeomFromEWKT('SRID=4674;POINT (-39.698298 -2.650605)'))) / (select extract(epoch from '2026-07-24 08:27:47'::timestamp) - extract(epoch from '2026-07-24 08:27: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'), 47870, 'SRID=4674;POINT (-39.698338 -2.650589)', '2026-07-24 08:27:52', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698298 -2.650605)'), GeomFromEWKT('SRID=4674;POINT (-39.698338 -2.650589)'))) / (select extract(epoch from '2026-07-24 08:27:52'::timestamp) - extract(epoch from '2026-07-24 08:27:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698298 -2.650605)'), GeomFromEWKT('SRID=4674;POINT (-39.698338 -2.650589)'))) / (select extract(epoch from '2026-07-24 08:27:52'::timestamp) - extract(epoch from '2026-07-24 08:27: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'), 47870, 'SRID=4674;POINT (-39.69835 -2.65058)', '2026-07-24 08:27:54', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698338 -2.650589)'), GeomFromEWKT('SRID=4674;POINT (-39.69835 -2.65058)'))) / (select extract(epoch from '2026-07-24 08:27:54'::timestamp) - extract(epoch from '2026-07-24 08:27:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698338 -2.650589)'), GeomFromEWKT('SRID=4674;POINT (-39.69835 -2.65058)'))) / (select extract(epoch from '2026-07-24 08:27:54'::timestamp) - extract(epoch from '2026-07-24 08:27:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698409 -2.650556)', '2026-07-24 08:28:02', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69835 -2.65058)'), GeomFromEWKT('SRID=4674;POINT (-39.698409 -2.650556)'))) / (select extract(epoch from '2026-07-24 08:28:02'::timestamp) - extract(epoch from '2026-07-24 08:27:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69835 -2.65058)'), GeomFromEWKT('SRID=4674;POINT (-39.698409 -2.650556)'))) / (select extract(epoch from '2026-07-24 08:28:02'::timestamp) - extract(epoch from '2026-07-24 08: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'), 47870, 'SRID=4674;POINT (-39.69845 -2.650543)', '2026-07-24 08:28:09', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698409 -2.650556)'), GeomFromEWKT('SRID=4674;POINT (-39.69845 -2.650543)'))) / (select extract(epoch from '2026-07-24 08:28:09'::timestamp) - extract(epoch from '2026-07-24 08:28:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698409 -2.650556)'), GeomFromEWKT('SRID=4674;POINT (-39.69845 -2.650543)'))) / (select extract(epoch from '2026-07-24 08:28:09'::timestamp) - extract(epoch from '2026-07-24 08: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'), 47870, 'SRID=4674;POINT (-39.69849 -2.650527)', '2026-07-24 08:28:15', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69845 -2.650543)'), GeomFromEWKT('SRID=4674;POINT (-39.69849 -2.650527)'))) / (select extract(epoch from '2026-07-24 08:28:15'::timestamp) - extract(epoch from '2026-07-24 08:28:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69845 -2.650543)'), GeomFromEWKT('SRID=4674;POINT (-39.69849 -2.650527)'))) / (select extract(epoch from '2026-07-24 08:28:15'::timestamp) - extract(epoch from '2026-07-24 08: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'), 47870, 'SRID=4674;POINT (-39.69852 -2.65051)', '2026-07-24 08:28:20', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69849 -2.650527)'), GeomFromEWKT('SRID=4674;POINT (-39.69852 -2.65051)'))) / (select extract(epoch from '2026-07-24 08:28:20'::timestamp) - extract(epoch from '2026-07-24 08:28:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69849 -2.650527)'), GeomFromEWKT('SRID=4674;POINT (-39.69852 -2.65051)'))) / (select extract(epoch from '2026-07-24 08:28:20'::timestamp) - extract(epoch from '2026-07-24 08: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'), 47870, 'SRID=4674;POINT (-39.698546 -2.650494)', '2026-07-24 08:28:25', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69852 -2.65051)'), GeomFromEWKT('SRID=4674;POINT (-39.698546 -2.650494)'))) / (select extract(epoch from '2026-07-24 08:28:25'::timestamp) - extract(epoch from '2026-07-24 08:28:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69852 -2.65051)'), GeomFromEWKT('SRID=4674;POINT (-39.698546 -2.650494)'))) / (select extract(epoch from '2026-07-24 08:28:25'::timestamp) - extract(epoch from '2026-07-24 08:28: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'), 47870, 'SRID=4674;POINT (-39.698575 -2.650482)', '2026-07-24 08:28:30', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698546 -2.650494)'), GeomFromEWKT('SRID=4674;POINT (-39.698575 -2.650482)'))) / (select extract(epoch from '2026-07-24 08:28:30'::timestamp) - extract(epoch from '2026-07-24 08:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698546 -2.650494)'), GeomFromEWKT('SRID=4674;POINT (-39.698575 -2.650482)'))) / (select extract(epoch from '2026-07-24 08:28:30'::timestamp) - extract(epoch from '2026-07-24 08:28:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698617 -2.650462)', '2026-07-24 08:28:37', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698575 -2.650482)'), GeomFromEWKT('SRID=4674;POINT (-39.698617 -2.650462)'))) / (select extract(epoch from '2026-07-24 08:28:37'::timestamp) - extract(epoch from '2026-07-24 08:28:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698575 -2.650482)'), GeomFromEWKT('SRID=4674;POINT (-39.698617 -2.650462)'))) / (select extract(epoch from '2026-07-24 08:28:37'::timestamp) - extract(epoch from '2026-07-24 08:28:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698625 -2.650459)', '2026-07-24 08:28:38', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698617 -2.650462)'), GeomFromEWKT('SRID=4674;POINT (-39.698625 -2.650459)'))) / (select extract(epoch from '2026-07-24 08:28:38'::timestamp) - extract(epoch from '2026-07-24 08:28:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698617 -2.650462)'), GeomFromEWKT('SRID=4674;POINT (-39.698625 -2.650459)'))) / (select extract(epoch from '2026-07-24 08:28:38'::timestamp) - extract(epoch from '2026-07-24 08: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'), 47870, 'SRID=4674;POINT (-39.698646 -2.650449)', '2026-07-24 08:28:42', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698625 -2.650459)'), GeomFromEWKT('SRID=4674;POINT (-39.698646 -2.650449)'))) / (select extract(epoch from '2026-07-24 08:28:42'::timestamp) - extract(epoch from '2026-07-24 08:28:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698625 -2.650459)'), GeomFromEWKT('SRID=4674;POINT (-39.698646 -2.650449)'))) / (select extract(epoch from '2026-07-24 08:28:42'::timestamp) - extract(epoch from '2026-07-24 08:28: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'), 47870, 'SRID=4674;POINT (-39.698688 -2.650431)', '2026-07-24 08:28:49', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698646 -2.650449)'), GeomFromEWKT('SRID=4674;POINT (-39.698688 -2.650431)'))) / (select extract(epoch from '2026-07-24 08:28:49'::timestamp) - extract(epoch from '2026-07-24 08:28:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698646 -2.650449)'), GeomFromEWKT('SRID=4674;POINT (-39.698688 -2.650431)'))) / (select extract(epoch from '2026-07-24 08:28:49'::timestamp) - extract(epoch from '2026-07-24 08:28: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'), 47870, 'SRID=4674;POINT (-39.698719 -2.650417)', '2026-07-24 08:28:56', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698688 -2.650431)'), GeomFromEWKT('SRID=4674;POINT (-39.698719 -2.650417)'))) / (select extract(epoch from '2026-07-24 08:28:56'::timestamp) - extract(epoch from '2026-07-24 08:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698688 -2.650431)'), GeomFromEWKT('SRID=4674;POINT (-39.698719 -2.650417)'))) / (select extract(epoch from '2026-07-24 08:28:56'::timestamp) - extract(epoch from '2026-07-24 08:28:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698735 -2.650413)', '2026-07-24 08:28:58', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698719 -2.650417)'), GeomFromEWKT('SRID=4674;POINT (-39.698735 -2.650413)'))) / (select extract(epoch from '2026-07-24 08:28:58'::timestamp) - extract(epoch from '2026-07-24 08:28:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698719 -2.650417)'), GeomFromEWKT('SRID=4674;POINT (-39.698735 -2.650413)'))) / (select extract(epoch from '2026-07-24 08:28:58'::timestamp) - extract(epoch from '2026-07-24 08:28: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'), 47870, 'SRID=4674;POINT (-39.698765 -2.650406)', '2026-07-24 08:29:02', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698735 -2.650413)'), GeomFromEWKT('SRID=4674;POINT (-39.698765 -2.650406)'))) / (select extract(epoch from '2026-07-24 08:29:02'::timestamp) - extract(epoch from '2026-07-24 08:28:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698735 -2.650413)'), GeomFromEWKT('SRID=4674;POINT (-39.698765 -2.650406)'))) / (select extract(epoch from '2026-07-24 08:29:02'::timestamp) - extract(epoch from '2026-07-24 08:28: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'), 47870, 'SRID=4674;POINT (-39.698792 -2.6504)', '2026-07-24 08:29:06', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698765 -2.650406)'), GeomFromEWKT('SRID=4674;POINT (-39.698792 -2.6504)'))) / (select extract(epoch from '2026-07-24 08:29:06'::timestamp) - extract(epoch from '2026-07-24 08:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698765 -2.650406)'), GeomFromEWKT('SRID=4674;POINT (-39.698792 -2.6504)'))) / (select extract(epoch from '2026-07-24 08:29:06'::timestamp) - extract(epoch from '2026-07-24 08:29:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698835 -2.650387)', '2026-07-24 08:29:13', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698792 -2.6504)'), GeomFromEWKT('SRID=4674;POINT (-39.698835 -2.650387)'))) / (select extract(epoch from '2026-07-24 08:29:13'::timestamp) - extract(epoch from '2026-07-24 08:29:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698792 -2.6504)'), GeomFromEWKT('SRID=4674;POINT (-39.698835 -2.650387)'))) / (select extract(epoch from '2026-07-24 08:29:13'::timestamp) - extract(epoch from '2026-07-24 08:29: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'), 47870, 'SRID=4674;POINT (-39.698892 -2.650375)', '2026-07-24 08:29:21', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698835 -2.650387)'), GeomFromEWKT('SRID=4674;POINT (-39.698892 -2.650375)'))) / (select extract(epoch from '2026-07-24 08:29:21'::timestamp) - extract(epoch from '2026-07-24 08:29:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698835 -2.650387)'), GeomFromEWKT('SRID=4674;POINT (-39.698892 -2.650375)'))) / (select extract(epoch from '2026-07-24 08:29:21'::timestamp) - extract(epoch from '2026-07-24 08:29: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'), 47870, 'SRID=4674;POINT (-39.698932 -2.650352)', '2026-07-24 08:29:28', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698892 -2.650375)'), GeomFromEWKT('SRID=4674;POINT (-39.698932 -2.650352)'))) / (select extract(epoch from '2026-07-24 08:29:28'::timestamp) - extract(epoch from '2026-07-24 08:29:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698892 -2.650375)'), GeomFromEWKT('SRID=4674;POINT (-39.698932 -2.650352)'))) / (select extract(epoch from '2026-07-24 08:29:28'::timestamp) - extract(epoch from '2026-07-24 08:29: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'), 47870, 'SRID=4674;POINT (-39.698977 -2.650342)', '2026-07-24 08:29:35', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698932 -2.650352)'), GeomFromEWKT('SRID=4674;POINT (-39.698977 -2.650342)'))) / (select extract(epoch from '2026-07-24 08:29:35'::timestamp) - extract(epoch from '2026-07-24 08:29:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698932 -2.650352)'), GeomFromEWKT('SRID=4674;POINT (-39.698977 -2.650342)'))) / (select extract(epoch from '2026-07-24 08:29:35'::timestamp) - extract(epoch from '2026-07-24 08:29: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'), 47870, 'SRID=4674;POINT (-39.699009 -2.65033)', '2026-07-24 08:29:41', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698977 -2.650342)'), GeomFromEWKT('SRID=4674;POINT (-39.699009 -2.65033)'))) / (select extract(epoch from '2026-07-24 08:29:41'::timestamp) - extract(epoch from '2026-07-24 08:29:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698977 -2.650342)'), GeomFromEWKT('SRID=4674;POINT (-39.699009 -2.65033)'))) / (select extract(epoch from '2026-07-24 08:29:41'::timestamp) - extract(epoch from '2026-07-24 08:29: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'), 47870, 'SRID=4674;POINT (-39.699058 -2.650309)', '2026-07-24 08:29:49', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699009 -2.65033)'), GeomFromEWKT('SRID=4674;POINT (-39.699058 -2.650309)'))) / (select extract(epoch from '2026-07-24 08:29:49'::timestamp) - extract(epoch from '2026-07-24 08:29:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699009 -2.65033)'), GeomFromEWKT('SRID=4674;POINT (-39.699058 -2.650309)'))) / (select extract(epoch from '2026-07-24 08:29:49'::timestamp) - extract(epoch from '2026-07-24 08:29: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'), 47870, 'SRID=4674;POINT (-39.699118 -2.650281)', '2026-07-24 08:29:59', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699058 -2.650309)'), GeomFromEWKT('SRID=4674;POINT (-39.699118 -2.650281)'))) / (select extract(epoch from '2026-07-24 08:29:59'::timestamp) - extract(epoch from '2026-07-24 08:29:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699058 -2.650309)'), GeomFromEWKT('SRID=4674;POINT (-39.699118 -2.650281)'))) / (select extract(epoch from '2026-07-24 08:29:59'::timestamp) - extract(epoch from '2026-07-24 08:29: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'), 47870, 'SRID=4674;POINT (-39.699155 -2.650267)', '2026-07-24 08:30:04', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699118 -2.650281)'), GeomFromEWKT('SRID=4674;POINT (-39.699155 -2.650267)'))) / (select extract(epoch from '2026-07-24 08:30:04'::timestamp) - extract(epoch from '2026-07-24 08:29:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699118 -2.650281)'), GeomFromEWKT('SRID=4674;POINT (-39.699155 -2.650267)'))) / (select extract(epoch from '2026-07-24 08:30:04'::timestamp) - extract(epoch from '2026-07-24 08:29:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699174 -2.650258)', '2026-07-24 08:30:07', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699155 -2.650267)'), GeomFromEWKT('SRID=4674;POINT (-39.699174 -2.650258)'))) / (select extract(epoch from '2026-07-24 08:30:07'::timestamp) - extract(epoch from '2026-07-24 08:30:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699155 -2.650267)'), GeomFromEWKT('SRID=4674;POINT (-39.699174 -2.650258)'))) / (select extract(epoch from '2026-07-24 08:30:07'::timestamp) - extract(epoch from '2026-07-24 08:30: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'), 47870, 'SRID=4674;POINT (-39.699186 -2.650246)', '2026-07-24 08:30:09', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699174 -2.650258)'), GeomFromEWKT('SRID=4674;POINT (-39.699186 -2.650246)'))) / (select extract(epoch from '2026-07-24 08:30:09'::timestamp) - extract(epoch from '2026-07-24 08:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699174 -2.650258)'), GeomFromEWKT('SRID=4674;POINT (-39.699186 -2.650246)'))) / (select extract(epoch from '2026-07-24 08:30:09'::timestamp) - extract(epoch from '2026-07-24 08:30:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699203 -2.650239)', '2026-07-24 08:30:11', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699186 -2.650246)'), GeomFromEWKT('SRID=4674;POINT (-39.699203 -2.650239)'))) / (select extract(epoch from '2026-07-24 08:30:11'::timestamp) - extract(epoch from '2026-07-24 08:30:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699186 -2.650246)'), GeomFromEWKT('SRID=4674;POINT (-39.699203 -2.650239)'))) / (select extract(epoch from '2026-07-24 08:30:11'::timestamp) - extract(epoch from '2026-07-24 08:30:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699227 -2.650226)', '2026-07-24 08:30:15', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699203 -2.650239)'), GeomFromEWKT('SRID=4674;POINT (-39.699227 -2.650226)'))) / (select extract(epoch from '2026-07-24 08:30:15'::timestamp) - extract(epoch from '2026-07-24 08:30:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699203 -2.650239)'), GeomFromEWKT('SRID=4674;POINT (-39.699227 -2.650226)'))) / (select extract(epoch from '2026-07-24 08:30:15'::timestamp) - extract(epoch from '2026-07-24 08:30: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'), 47870, 'SRID=4674;POINT (-39.699234 -2.650223)', '2026-07-24 08:30:16', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699227 -2.650226)'), GeomFromEWKT('SRID=4674;POINT (-39.699234 -2.650223)'))) / (select extract(epoch from '2026-07-24 08:30:16'::timestamp) - extract(epoch from '2026-07-24 08:30:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699227 -2.650226)'), GeomFromEWKT('SRID=4674;POINT (-39.699234 -2.650223)'))) / (select extract(epoch from '2026-07-24 08:30:16'::timestamp) - extract(epoch from '2026-07-24 08:30: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'), 47870, 'SRID=4674;POINT (-39.699258 -2.65021)', '2026-07-24 08:30:20', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699234 -2.650223)'), GeomFromEWKT('SRID=4674;POINT (-39.699258 -2.65021)'))) / (select extract(epoch from '2026-07-24 08:30:20'::timestamp) - extract(epoch from '2026-07-24 08:30:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699234 -2.650223)'), GeomFromEWKT('SRID=4674;POINT (-39.699258 -2.65021)'))) / (select extract(epoch from '2026-07-24 08:30:20'::timestamp) - extract(epoch from '2026-07-24 08:30:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699302 -2.650184)', '2026-07-24 08:30:27', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699258 -2.65021)'), GeomFromEWKT('SRID=4674;POINT (-39.699302 -2.650184)'))) / (select extract(epoch from '2026-07-24 08:30:27'::timestamp) - extract(epoch from '2026-07-24 08:30:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699258 -2.65021)'), GeomFromEWKT('SRID=4674;POINT (-39.699302 -2.650184)'))) / (select extract(epoch from '2026-07-24 08:30:27'::timestamp) - extract(epoch from '2026-07-24 08:30: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'), 47870, 'SRID=4674;POINT (-39.699311 -2.650177)', '2026-07-24 08:30:29', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699302 -2.650184)'), GeomFromEWKT('SRID=4674;POINT (-39.699311 -2.650177)'))) / (select extract(epoch from '2026-07-24 08:30:29'::timestamp) - extract(epoch from '2026-07-24 08:30:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699302 -2.650184)'), GeomFromEWKT('SRID=4674;POINT (-39.699311 -2.650177)'))) / (select extract(epoch from '2026-07-24 08:30:29'::timestamp) - extract(epoch from '2026-07-24 08:30: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'), 47870, 'SRID=4674;POINT (-39.699352 -2.650156)', '2026-07-24 08:30:35', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699311 -2.650177)'), GeomFromEWKT('SRID=4674;POINT (-39.699352 -2.650156)'))) / (select extract(epoch from '2026-07-24 08:30:35'::timestamp) - extract(epoch from '2026-07-24 08:30:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699311 -2.650177)'), GeomFromEWKT('SRID=4674;POINT (-39.699352 -2.650156)'))) / (select extract(epoch from '2026-07-24 08:30:35'::timestamp) - extract(epoch from '2026-07-24 08:30: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'), 47870, 'SRID=4674;POINT (-39.699396 -2.650133)', '2026-07-24 08:30:42', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699352 -2.650156)'), GeomFromEWKT('SRID=4674;POINT (-39.699396 -2.650133)'))) / (select extract(epoch from '2026-07-24 08:30:42'::timestamp) - extract(epoch from '2026-07-24 08:30:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699352 -2.650156)'), GeomFromEWKT('SRID=4674;POINT (-39.699396 -2.650133)'))) / (select extract(epoch from '2026-07-24 08:30:42'::timestamp) - extract(epoch from '2026-07-24 08:30: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'), 47870, 'SRID=4674;POINT (-39.699432 -2.650107)', '2026-07-24 08:30:49', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699396 -2.650133)'), GeomFromEWKT('SRID=4674;POINT (-39.699432 -2.650107)'))) / (select extract(epoch from '2026-07-24 08:30:49'::timestamp) - extract(epoch from '2026-07-24 08:30:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699396 -2.650133)'), GeomFromEWKT('SRID=4674;POINT (-39.699432 -2.650107)'))) / (select extract(epoch from '2026-07-24 08:30:49'::timestamp) - extract(epoch from '2026-07-24 08:30: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'), 47870, 'SRID=4674;POINT (-39.69947 -2.650093)', '2026-07-24 08:30:55', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699432 -2.650107)'), GeomFromEWKT('SRID=4674;POINT (-39.69947 -2.650093)'))) / (select extract(epoch from '2026-07-24 08:30:55'::timestamp) - extract(epoch from '2026-07-24 08:30:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699432 -2.650107)'), GeomFromEWKT('SRID=4674;POINT (-39.69947 -2.650093)'))) / (select extract(epoch from '2026-07-24 08:30:55'::timestamp) - extract(epoch from '2026-07-24 08:30:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699506 -2.65007)', '2026-07-24 08:31:02', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69947 -2.650093)'), GeomFromEWKT('SRID=4674;POINT (-39.699506 -2.65007)'))) / (select extract(epoch from '2026-07-24 08:31:02'::timestamp) - extract(epoch from '2026-07-24 08:30:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69947 -2.650093)'), GeomFromEWKT('SRID=4674;POINT (-39.699506 -2.65007)'))) / (select extract(epoch from '2026-07-24 08:31:02'::timestamp) - extract(epoch from '2026-07-24 08:30: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'), 47870, 'SRID=4674;POINT (-39.699537 -2.650048)', '2026-07-24 08:31:08', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699506 -2.65007)'), GeomFromEWKT('SRID=4674;POINT (-39.699537 -2.650048)'))) / (select extract(epoch from '2026-07-24 08:31:08'::timestamp) - extract(epoch from '2026-07-24 08:31:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699506 -2.65007)'), GeomFromEWKT('SRID=4674;POINT (-39.699537 -2.650048)'))) / (select extract(epoch from '2026-07-24 08:31:08'::timestamp) - extract(epoch from '2026-07-24 08:31: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'), 47870, 'SRID=4674;POINT (-39.699549 -2.650047)', '2026-07-24 08:31:10', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699537 -2.650048)'), GeomFromEWKT('SRID=4674;POINT (-39.699549 -2.650047)'))) / (select extract(epoch from '2026-07-24 08:31:10'::timestamp) - extract(epoch from '2026-07-24 08:31:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699537 -2.650048)'), GeomFromEWKT('SRID=4674;POINT (-39.699549 -2.650047)'))) / (select extract(epoch from '2026-07-24 08:31:10'::timestamp) - extract(epoch from '2026-07-24 08:31: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'), 47870, 'SRID=4674;POINT (-39.699564 -2.650034)', '2026-07-24 08:31:13', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699549 -2.650047)'), GeomFromEWKT('SRID=4674;POINT (-39.699564 -2.650034)'))) / (select extract(epoch from '2026-07-24 08:31:13'::timestamp) - extract(epoch from '2026-07-24 08:31:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699549 -2.650047)'), GeomFromEWKT('SRID=4674;POINT (-39.699564 -2.650034)'))) / (select extract(epoch from '2026-07-24 08:31:13'::timestamp) - extract(epoch from '2026-07-24 08:31: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'), 47870, 'SRID=4674;POINT (-39.69958 -2.650034)', '2026-07-24 08:31:15', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699564 -2.650034)'), GeomFromEWKT('SRID=4674;POINT (-39.69958 -2.650034)'))) / (select extract(epoch from '2026-07-24 08:31:15'::timestamp) - extract(epoch from '2026-07-24 08:31:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699564 -2.650034)'), GeomFromEWKT('SRID=4674;POINT (-39.69958 -2.650034)'))) / (select extract(epoch from '2026-07-24 08:31:15'::timestamp) - extract(epoch from '2026-07-24 08:31:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699603 -2.650022)', '2026-07-24 08:31:20', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69958 -2.650034)'), GeomFromEWKT('SRID=4674;POINT (-39.699603 -2.650022)'))) / (select extract(epoch from '2026-07-24 08:31:20'::timestamp) - extract(epoch from '2026-07-24 08:31:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69958 -2.650034)'), GeomFromEWKT('SRID=4674;POINT (-39.699603 -2.650022)'))) / (select extract(epoch from '2026-07-24 08:31:20'::timestamp) - extract(epoch from '2026-07-24 08:31: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'), 47870, 'SRID=4674;POINT (-39.699651 -2.649997)', '2026-07-24 08:31:29', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699603 -2.650022)'), GeomFromEWKT('SRID=4674;POINT (-39.699651 -2.649997)'))) / (select extract(epoch from '2026-07-24 08:31:29'::timestamp) - extract(epoch from '2026-07-24 08:31:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699603 -2.650022)'), GeomFromEWKT('SRID=4674;POINT (-39.699651 -2.649997)'))) / (select extract(epoch from '2026-07-24 08:31:29'::timestamp) - extract(epoch from '2026-07-24 08:31:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699691 -2.649975)', '2026-07-24 08:31:35', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699651 -2.649997)'), GeomFromEWKT('SRID=4674;POINT (-39.699691 -2.649975)'))) / (select extract(epoch from '2026-07-24 08:31:35'::timestamp) - extract(epoch from '2026-07-24 08:31:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699651 -2.649997)'), GeomFromEWKT('SRID=4674;POINT (-39.699691 -2.649975)'))) / (select extract(epoch from '2026-07-24 08:31:35'::timestamp) - extract(epoch from '2026-07-24 08:31:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699731 -2.649964)', '2026-07-24 08:31:41', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699691 -2.649975)'), GeomFromEWKT('SRID=4674;POINT (-39.699731 -2.649964)'))) / (select extract(epoch from '2026-07-24 08:31:41'::timestamp) - extract(epoch from '2026-07-24 08:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699691 -2.649975)'), GeomFromEWKT('SRID=4674;POINT (-39.699731 -2.649964)'))) / (select extract(epoch from '2026-07-24 08:31:41'::timestamp) - extract(epoch from '2026-07-24 08:31:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699776 -2.649952)', '2026-07-24 08:31:49', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699731 -2.649964)'), GeomFromEWKT('SRID=4674;POINT (-39.699776 -2.649952)'))) / (select extract(epoch from '2026-07-24 08:31:49'::timestamp) - extract(epoch from '2026-07-24 08:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699731 -2.649964)'), GeomFromEWKT('SRID=4674;POINT (-39.699776 -2.649952)'))) / (select extract(epoch from '2026-07-24 08:31:49'::timestamp) - extract(epoch from '2026-07-24 08: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'), 47870, 'SRID=4674;POINT (-39.699787 -2.649943)', '2026-07-24 08:31:51', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699776 -2.649952)'), GeomFromEWKT('SRID=4674;POINT (-39.699787 -2.649943)'))) / (select extract(epoch from '2026-07-24 08:31:51'::timestamp) - extract(epoch from '2026-07-24 08:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699776 -2.649952)'), GeomFromEWKT('SRID=4674;POINT (-39.699787 -2.649943)'))) / (select extract(epoch from '2026-07-24 08:31:51'::timestamp) - extract(epoch from '2026-07-24 08:31: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'), 47870, 'SRID=4674;POINT (-39.699805 -2.649939)', '2026-07-24 08:31:54', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699787 -2.649943)'), GeomFromEWKT('SRID=4674;POINT (-39.699805 -2.649939)'))) / (select extract(epoch from '2026-07-24 08:31:54'::timestamp) - extract(epoch from '2026-07-24 08:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699787 -2.649943)'), GeomFromEWKT('SRID=4674;POINT (-39.699805 -2.649939)'))) / (select extract(epoch from '2026-07-24 08:31:54'::timestamp) - extract(epoch from '2026-07-24 08:31: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'), 47870, 'SRID=4674;POINT (-39.699851 -2.649914)', '2026-07-24 08:32:01', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699805 -2.649939)'), GeomFromEWKT('SRID=4674;POINT (-39.699851 -2.649914)'))) / (select extract(epoch from '2026-07-24 08:32:01'::timestamp) - extract(epoch from '2026-07-24 08:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699805 -2.649939)'), GeomFromEWKT('SRID=4674;POINT (-39.699851 -2.649914)'))) / (select extract(epoch from '2026-07-24 08:32:01'::timestamp) - extract(epoch from '2026-07-24 08:31:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699876 -2.6499)', '2026-07-24 08:32:06', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699851 -2.649914)'), GeomFromEWKT('SRID=4674;POINT (-39.699876 -2.6499)'))) / (select extract(epoch from '2026-07-24 08:32:06'::timestamp) - extract(epoch from '2026-07-24 08:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699851 -2.649914)'), GeomFromEWKT('SRID=4674;POINT (-39.699876 -2.6499)'))) / (select extract(epoch from '2026-07-24 08:32:06'::timestamp) - extract(epoch from '2026-07-24 08:32: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'), 47870, 'SRID=4674;POINT (-39.699922 -2.64987)', '2026-07-24 08:32:15', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699876 -2.6499)'), GeomFromEWKT('SRID=4674;POINT (-39.699922 -2.64987)'))) / (select extract(epoch from '2026-07-24 08:32:15'::timestamp) - extract(epoch from '2026-07-24 08:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699876 -2.6499)'), GeomFromEWKT('SRID=4674;POINT (-39.699922 -2.64987)'))) / (select extract(epoch from '2026-07-24 08:32:15'::timestamp) - extract(epoch from '2026-07-24 08:32:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699971 -2.649837)', '2026-07-24 08:32:24', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699922 -2.64987)'), GeomFromEWKT('SRID=4674;POINT (-39.699971 -2.649837)'))) / (select extract(epoch from '2026-07-24 08:32:24'::timestamp) - extract(epoch from '2026-07-24 08:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699922 -2.64987)'), GeomFromEWKT('SRID=4674;POINT (-39.699971 -2.649837)'))) / (select extract(epoch from '2026-07-24 08:32:24'::timestamp) - extract(epoch from '2026-07-24 08:32: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'), 47870, 'SRID=4674;POINT (-39.700002 -2.649814)', '2026-07-24 08:32:30', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699971 -2.649837)'), GeomFromEWKT('SRID=4674;POINT (-39.700002 -2.649814)'))) / (select extract(epoch from '2026-07-24 08:32:30'::timestamp) - extract(epoch from '2026-07-24 08:32:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699971 -2.649837)'), GeomFromEWKT('SRID=4674;POINT (-39.700002 -2.649814)'))) / (select extract(epoch from '2026-07-24 08:32:30'::timestamp) - extract(epoch from '2026-07-24 08:32: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'), 47870, 'SRID=4674;POINT (-39.70003 -2.649799)', '2026-07-24 08:32:35', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700002 -2.649814)'), GeomFromEWKT('SRID=4674;POINT (-39.70003 -2.649799)'))) / (select extract(epoch from '2026-07-24 08:32:35'::timestamp) - extract(epoch from '2026-07-24 08:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700002 -2.649814)'), GeomFromEWKT('SRID=4674;POINT (-39.70003 -2.649799)'))) / (select extract(epoch from '2026-07-24 08:32:35'::timestamp) - extract(epoch from '2026-07-24 08:32: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'), 47870, 'SRID=4674;POINT (-39.700059 -2.649775)', '2026-07-24 08:32:41', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70003 -2.649799)'), GeomFromEWKT('SRID=4674;POINT (-39.700059 -2.649775)'))) / (select extract(epoch from '2026-07-24 08:32:41'::timestamp) - extract(epoch from '2026-07-24 08:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70003 -2.649799)'), GeomFromEWKT('SRID=4674;POINT (-39.700059 -2.649775)'))) / (select extract(epoch from '2026-07-24 08:32:41'::timestamp) - extract(epoch from '2026-07-24 08:32: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'), 47870, 'SRID=4674;POINT (-39.700068 -2.649773)', '2026-07-24 08:32:42', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700059 -2.649775)'), GeomFromEWKT('SRID=4674;POINT (-39.700068 -2.649773)'))) / (select extract(epoch from '2026-07-24 08:32:42'::timestamp) - extract(epoch from '2026-07-24 08:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700059 -2.649775)'), GeomFromEWKT('SRID=4674;POINT (-39.700068 -2.649773)'))) / (select extract(epoch from '2026-07-24 08:32:42'::timestamp) - extract(epoch from '2026-07-24 08:32: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'), 47870, 'SRID=4674;POINT (-39.700079 -2.64977)', '2026-07-24 08:32:45', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700068 -2.649773)'), GeomFromEWKT('SRID=4674;POINT (-39.700079 -2.64977)'))) / (select extract(epoch from '2026-07-24 08:32:45'::timestamp) - extract(epoch from '2026-07-24 08:32:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700068 -2.649773)'), GeomFromEWKT('SRID=4674;POINT (-39.700079 -2.64977)'))) / (select extract(epoch from '2026-07-24 08:32:45'::timestamp) - extract(epoch from '2026-07-24 08:32: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'), 47870, 'SRID=4674;POINT (-39.700084 -2.649769)', '2026-07-24 08:32:46', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700079 -2.64977)'), GeomFromEWKT('SRID=4674;POINT (-39.700084 -2.649769)'))) / (select extract(epoch from '2026-07-24 08:32:46'::timestamp) - extract(epoch from '2026-07-24 08:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700079 -2.64977)'), GeomFromEWKT('SRID=4674;POINT (-39.700084 -2.649769)'))) / (select extract(epoch from '2026-07-24 08:32:46'::timestamp) - extract(epoch from '2026-07-24 08:32: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'), 47870, 'SRID=4674;POINT (-39.700105 -2.649761)', '2026-07-24 08:32:49', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700084 -2.649769)'), GeomFromEWKT('SRID=4674;POINT (-39.700105 -2.649761)'))) / (select extract(epoch from '2026-07-24 08:32:49'::timestamp) - extract(epoch from '2026-07-24 08:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700084 -2.649769)'), GeomFromEWKT('SRID=4674;POINT (-39.700105 -2.649761)'))) / (select extract(epoch from '2026-07-24 08:32:49'::timestamp) - extract(epoch from '2026-07-24 08:32: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'), 47870, 'SRID=4674;POINT (-39.700145 -2.649748)', '2026-07-24 08:32:55', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700105 -2.649761)'), GeomFromEWKT('SRID=4674;POINT (-39.700145 -2.649748)'))) / (select extract(epoch from '2026-07-24 08:32:55'::timestamp) - extract(epoch from '2026-07-24 08:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700105 -2.649761)'), GeomFromEWKT('SRID=4674;POINT (-39.700145 -2.649748)'))) / (select extract(epoch from '2026-07-24 08:32:55'::timestamp) - extract(epoch from '2026-07-24 08:32:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700218 -2.649715)', '2026-07-24 08:33:07', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700145 -2.649748)'), GeomFromEWKT('SRID=4674;POINT (-39.700218 -2.649715)'))) / (select extract(epoch from '2026-07-24 08:33:07'::timestamp) - extract(epoch from '2026-07-24 08:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700145 -2.649748)'), GeomFromEWKT('SRID=4674;POINT (-39.700218 -2.649715)'))) / (select extract(epoch from '2026-07-24 08:33:07'::timestamp) - extract(epoch from '2026-07-24 08:32:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700275 -2.649684)', '2026-07-24 08:33:17', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700218 -2.649715)'), GeomFromEWKT('SRID=4674;POINT (-39.700275 -2.649684)'))) / (select extract(epoch from '2026-07-24 08:33:17'::timestamp) - extract(epoch from '2026-07-24 08:33:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700218 -2.649715)'), GeomFromEWKT('SRID=4674;POINT (-39.700275 -2.649684)'))) / (select extract(epoch from '2026-07-24 08:33:17'::timestamp) - extract(epoch from '2026-07-24 08:33: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'), 47870, 'SRID=4674;POINT (-39.700308 -2.649672)', '2026-07-24 08:33:23', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700275 -2.649684)'), GeomFromEWKT('SRID=4674;POINT (-39.700308 -2.649672)'))) / (select extract(epoch from '2026-07-24 08:33:23'::timestamp) - extract(epoch from '2026-07-24 08:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700275 -2.649684)'), GeomFromEWKT('SRID=4674;POINT (-39.700308 -2.649672)'))) / (select extract(epoch from '2026-07-24 08:33:23'::timestamp) - extract(epoch from '2026-07-24 08:33: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'), 47870, 'SRID=4674;POINT (-39.700357 -2.649651)', '2026-07-24 08:33:31', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700308 -2.649672)'), GeomFromEWKT('SRID=4674;POINT (-39.700357 -2.649651)'))) / (select extract(epoch from '2026-07-24 08:33:31'::timestamp) - extract(epoch from '2026-07-24 08:33:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700308 -2.649672)'), GeomFromEWKT('SRID=4674;POINT (-39.700357 -2.649651)'))) / (select extract(epoch from '2026-07-24 08:33:31'::timestamp) - extract(epoch from '2026-07-24 08:33:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700418 -2.649624)', '2026-07-24 08:33:40', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700357 -2.649651)'), GeomFromEWKT('SRID=4674;POINT (-39.700418 -2.649624)'))) / (select extract(epoch from '2026-07-24 08:33:40'::timestamp) - extract(epoch from '2026-07-24 08:33:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700357 -2.649651)'), GeomFromEWKT('SRID=4674;POINT (-39.700418 -2.649624)'))) / (select extract(epoch from '2026-07-24 08:33:40'::timestamp) - extract(epoch from '2026-07-24 08: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'), 47870, 'SRID=4674;POINT (-39.700462 -2.649606)', '2026-07-24 08:33:46', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700418 -2.649624)'), GeomFromEWKT('SRID=4674;POINT (-39.700462 -2.649606)'))) / (select extract(epoch from '2026-07-24 08:33:46'::timestamp) - extract(epoch from '2026-07-24 08:33:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700418 -2.649624)'), GeomFromEWKT('SRID=4674;POINT (-39.700462 -2.649606)'))) / (select extract(epoch from '2026-07-24 08:33:46'::timestamp) - extract(epoch from '2026-07-24 08:33: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'), 47870, 'SRID=4674;POINT (-39.7005 -2.649591)', '2026-07-24 08:33:53', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700462 -2.649606)'), GeomFromEWKT('SRID=4674;POINT (-39.7005 -2.649591)'))) / (select extract(epoch from '2026-07-24 08:33:53'::timestamp) - extract(epoch from '2026-07-24 08:33:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700462 -2.649606)'), GeomFromEWKT('SRID=4674;POINT (-39.7005 -2.649591)'))) / (select extract(epoch from '2026-07-24 08:33:53'::timestamp) - extract(epoch from '2026-07-24 08:33: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'), 47870, 'SRID=4674;POINT (-39.700576 -2.649562)', '2026-07-24 08:34:03', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7005 -2.649591)'), GeomFromEWKT('SRID=4674;POINT (-39.700576 -2.649562)'))) / (select extract(epoch from '2026-07-24 08:34:03'::timestamp) - extract(epoch from '2026-07-24 08:33:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7005 -2.649591)'), GeomFromEWKT('SRID=4674;POINT (-39.700576 -2.649562)'))) / (select extract(epoch from '2026-07-24 08:34:03'::timestamp) - extract(epoch from '2026-07-24 08:33: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'), 47870, 'SRID=4674;POINT (-39.700581 -2.649558)', '2026-07-24 08:34:04', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700576 -2.649562)'), GeomFromEWKT('SRID=4674;POINT (-39.700581 -2.649558)'))) / (select extract(epoch from '2026-07-24 08:34:04'::timestamp) - extract(epoch from '2026-07-24 08:34:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700576 -2.649562)'), GeomFromEWKT('SRID=4674;POINT (-39.700581 -2.649558)'))) / (select extract(epoch from '2026-07-24 08:34:04'::timestamp) - extract(epoch from '2026-07-24 08:34: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'), 47870, 'SRID=4674;POINT (-39.700612 -2.649536)', '2026-07-24 08:34:09', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700581 -2.649558)'), GeomFromEWKT('SRID=4674;POINT (-39.700612 -2.649536)'))) / (select extract(epoch from '2026-07-24 08:34:09'::timestamp) - extract(epoch from '2026-07-24 08:34:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700581 -2.649558)'), GeomFromEWKT('SRID=4674;POINT (-39.700612 -2.649536)'))) / (select extract(epoch from '2026-07-24 08:34:09'::timestamp) - extract(epoch from '2026-07-24 08: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'), 47870, 'SRID=4674;POINT (-39.700643 -2.649518)', '2026-07-24 08:34:15', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700612 -2.649536)'), GeomFromEWKT('SRID=4674;POINT (-39.700643 -2.649518)'))) / (select extract(epoch from '2026-07-24 08:34:15'::timestamp) - extract(epoch from '2026-07-24 08:34:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700612 -2.649536)'), GeomFromEWKT('SRID=4674;POINT (-39.700643 -2.649518)'))) / (select extract(epoch from '2026-07-24 08:34:15'::timestamp) - extract(epoch from '2026-07-24 08:34: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'), 47870, 'SRID=4674;POINT (-39.700679 -2.64949)', '2026-07-24 08:34:21', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700643 -2.649518)'), GeomFromEWKT('SRID=4674;POINT (-39.700679 -2.64949)'))) / (select extract(epoch from '2026-07-24 08:34:21'::timestamp) - extract(epoch from '2026-07-24 08:34:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700643 -2.649518)'), GeomFromEWKT('SRID=4674;POINT (-39.700679 -2.64949)'))) / (select extract(epoch from '2026-07-24 08:34:21'::timestamp) - extract(epoch from '2026-07-24 08:34: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'), 47870, 'SRID=4674;POINT (-39.700706 -2.649476)', '2026-07-24 08:34:27', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700679 -2.64949)'), GeomFromEWKT('SRID=4674;POINT (-39.700706 -2.649476)'))) / (select extract(epoch from '2026-07-24 08:34:27'::timestamp) - extract(epoch from '2026-07-24 08:34:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700679 -2.64949)'), GeomFromEWKT('SRID=4674;POINT (-39.700706 -2.649476)'))) / (select extract(epoch from '2026-07-24 08:34:27'::timestamp) - extract(epoch from '2026-07-24 08:34:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700745 -2.64946)', '2026-07-24 08:34:33', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700706 -2.649476)'), GeomFromEWKT('SRID=4674;POINT (-39.700745 -2.64946)'))) / (select extract(epoch from '2026-07-24 08:34:33'::timestamp) - extract(epoch from '2026-07-24 08:34:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700706 -2.649476)'), GeomFromEWKT('SRID=4674;POINT (-39.700745 -2.64946)'))) / (select extract(epoch from '2026-07-24 08:34:33'::timestamp) - extract(epoch from '2026-07-24 08:34: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'), 47870, 'SRID=4674;POINT (-39.700796 -2.649436)', '2026-07-24 08:34:42', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700745 -2.64946)'), GeomFromEWKT('SRID=4674;POINT (-39.700796 -2.649436)'))) / (select extract(epoch from '2026-07-24 08:34:42'::timestamp) - extract(epoch from '2026-07-24 08:34:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700745 -2.64946)'), GeomFromEWKT('SRID=4674;POINT (-39.700796 -2.649436)'))) / (select extract(epoch from '2026-07-24 08:34:42'::timestamp) - extract(epoch from '2026-07-24 08:34: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'), 47870, 'SRID=4674;POINT (-39.700845 -2.649407)', '2026-07-24 08:34:50', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700796 -2.649436)'), GeomFromEWKT('SRID=4674;POINT (-39.700845 -2.649407)'))) / (select extract(epoch from '2026-07-24 08:34:50'::timestamp) - extract(epoch from '2026-07-24 08:34:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700796 -2.649436)'), GeomFromEWKT('SRID=4674;POINT (-39.700845 -2.649407)'))) / (select extract(epoch from '2026-07-24 08:34:50'::timestamp) - extract(epoch from '2026-07-24 08:34: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'), 47870, 'SRID=4674;POINT (-39.700889 -2.649386)', '2026-07-24 08:34:57', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700845 -2.649407)'), GeomFromEWKT('SRID=4674;POINT (-39.700889 -2.649386)'))) / (select extract(epoch from '2026-07-24 08:34:57'::timestamp) - extract(epoch from '2026-07-24 08:34:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700845 -2.649407)'), GeomFromEWKT('SRID=4674;POINT (-39.700889 -2.649386)'))) / (select extract(epoch from '2026-07-24 08:34:57'::timestamp) - extract(epoch from '2026-07-24 08:34: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'), 47870, 'SRID=4674;POINT (-39.700916 -2.649377)', '2026-07-24 08:35:02', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700889 -2.649386)'), GeomFromEWKT('SRID=4674;POINT (-39.700916 -2.649377)'))) / (select extract(epoch from '2026-07-24 08:35:02'::timestamp) - extract(epoch from '2026-07-24 08:34:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700889 -2.649386)'), GeomFromEWKT('SRID=4674;POINT (-39.700916 -2.649377)'))) / (select extract(epoch from '2026-07-24 08:35:02'::timestamp) - extract(epoch from '2026-07-24 08:34: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'), 47870, 'SRID=4674;POINT (-39.700964 -2.649352)', '2026-07-24 08:35:08', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700916 -2.649377)'), GeomFromEWKT('SRID=4674;POINT (-39.700964 -2.649352)'))) / (select extract(epoch from '2026-07-24 08:35:08'::timestamp) - extract(epoch from '2026-07-24 08:35:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700916 -2.649377)'), GeomFromEWKT('SRID=4674;POINT (-39.700964 -2.649352)'))) / (select extract(epoch from '2026-07-24 08:35:08'::timestamp) - extract(epoch from '2026-07-24 08:35: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'), 47870, 'SRID=4674;POINT (-39.701012 -2.649331)', '2026-07-24 08:35:16', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700964 -2.649352)'), GeomFromEWKT('SRID=4674;POINT (-39.701012 -2.649331)'))) / (select extract(epoch from '2026-07-24 08:35:16'::timestamp) - extract(epoch from '2026-07-24 08:35:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700964 -2.649352)'), GeomFromEWKT('SRID=4674;POINT (-39.701012 -2.649331)'))) / (select extract(epoch from '2026-07-24 08:35:16'::timestamp) - extract(epoch from '2026-07-24 08:35: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'), 47870, 'SRID=4674;POINT (-39.701056 -2.649308)', '2026-07-24 08:35:23', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701012 -2.649331)'), GeomFromEWKT('SRID=4674;POINT (-39.701056 -2.649308)'))) / (select extract(epoch from '2026-07-24 08:35:23'::timestamp) - extract(epoch from '2026-07-24 08:35:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701012 -2.649331)'), GeomFromEWKT('SRID=4674;POINT (-39.701056 -2.649308)'))) / (select extract(epoch from '2026-07-24 08:35:23'::timestamp) - extract(epoch from '2026-07-24 08: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'), 47870, 'SRID=4674;POINT (-39.70111 -2.649279)', '2026-07-24 08:35:33', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701056 -2.649308)'), GeomFromEWKT('SRID=4674;POINT (-39.70111 -2.649279)'))) / (select extract(epoch from '2026-07-24 08:35:33'::timestamp) - extract(epoch from '2026-07-24 08:35:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701056 -2.649308)'), GeomFromEWKT('SRID=4674;POINT (-39.70111 -2.649279)'))) / (select extract(epoch from '2026-07-24 08:35:33'::timestamp) - extract(epoch from '2026-07-24 08: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'), 47870, 'SRID=4674;POINT (-39.701139 -2.649271)', '2026-07-24 08:35:39', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70111 -2.649279)'), GeomFromEWKT('SRID=4674;POINT (-39.701139 -2.649271)'))) / (select extract(epoch from '2026-07-24 08:35:39'::timestamp) - extract(epoch from '2026-07-24 08:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70111 -2.649279)'), GeomFromEWKT('SRID=4674;POINT (-39.701139 -2.649271)'))) / (select extract(epoch from '2026-07-24 08:35:39'::timestamp) - extract(epoch from '2026-07-24 08:35: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'), 47870, 'SRID=4674;POINT (-39.701169 -2.649251)', '2026-07-24 08:35:45', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701139 -2.649271)'), GeomFromEWKT('SRID=4674;POINT (-39.701169 -2.649251)'))) / (select extract(epoch from '2026-07-24 08:35:45'::timestamp) - extract(epoch from '2026-07-24 08:35:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701139 -2.649271)'), GeomFromEWKT('SRID=4674;POINT (-39.701169 -2.649251)'))) / (select extract(epoch from '2026-07-24 08:35:45'::timestamp) - extract(epoch from '2026-07-24 08: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'), 47870, 'SRID=4674;POINT (-39.701225 -2.649235)', '2026-07-24 08:35:53', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701169 -2.649251)'), GeomFromEWKT('SRID=4674;POINT (-39.701225 -2.649235)'))) / (select extract(epoch from '2026-07-24 08:35:53'::timestamp) - extract(epoch from '2026-07-24 08:35:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701169 -2.649251)'), GeomFromEWKT('SRID=4674;POINT (-39.701225 -2.649235)'))) / (select extract(epoch from '2026-07-24 08:35:53'::timestamp) - extract(epoch from '2026-07-24 08:35:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701266 -2.649223)', '2026-07-24 08:36:00', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701225 -2.649235)'), GeomFromEWKT('SRID=4674;POINT (-39.701266 -2.649223)'))) / (select extract(epoch from '2026-07-24 08:36:00'::timestamp) - extract(epoch from '2026-07-24 08:35:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701225 -2.649235)'), GeomFromEWKT('SRID=4674;POINT (-39.701266 -2.649223)'))) / (select extract(epoch from '2026-07-24 08:36:00'::timestamp) - extract(epoch from '2026-07-24 08:35: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'), 47870, 'SRID=4674;POINT (-39.701302 -2.649206)', '2026-07-24 08:36:05', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701266 -2.649223)'), GeomFromEWKT('SRID=4674;POINT (-39.701302 -2.649206)'))) / (select extract(epoch from '2026-07-24 08:36:05'::timestamp) - extract(epoch from '2026-07-24 08:36:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701266 -2.649223)'), GeomFromEWKT('SRID=4674;POINT (-39.701302 -2.649206)'))) / (select extract(epoch from '2026-07-24 08:36:05'::timestamp) - extract(epoch from '2026-07-24 08:36: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'), 47870, 'SRID=4674;POINT (-39.701349 -2.649196)', '2026-07-24 08:36:12', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701302 -2.649206)'), GeomFromEWKT('SRID=4674;POINT (-39.701349 -2.649196)'))) / (select extract(epoch from '2026-07-24 08:36:12'::timestamp) - extract(epoch from '2026-07-24 08:36:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701302 -2.649206)'), GeomFromEWKT('SRID=4674;POINT (-39.701349 -2.649196)'))) / (select extract(epoch from '2026-07-24 08:36:12'::timestamp) - extract(epoch from '2026-07-24 08:36: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'), 47870, 'SRID=4674;POINT (-39.701383 -2.649182)', '2026-07-24 08:36:18', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701349 -2.649196)'), GeomFromEWKT('SRID=4674;POINT (-39.701383 -2.649182)'))) / (select extract(epoch from '2026-07-24 08:36:18'::timestamp) - extract(epoch from '2026-07-24 08:36:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701349 -2.649196)'), GeomFromEWKT('SRID=4674;POINT (-39.701383 -2.649182)'))) / (select extract(epoch from '2026-07-24 08:36:18'::timestamp) - extract(epoch from '2026-07-24 08:36: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'), 47870, 'SRID=4674;POINT (-39.701409 -2.649172)', '2026-07-24 08:36:23', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701383 -2.649182)'), GeomFromEWKT('SRID=4674;POINT (-39.701409 -2.649172)'))) / (select extract(epoch from '2026-07-24 08:36:23'::timestamp) - extract(epoch from '2026-07-24 08:36:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701383 -2.649182)'), GeomFromEWKT('SRID=4674;POINT (-39.701409 -2.649172)'))) / (select extract(epoch from '2026-07-24 08:36:23'::timestamp) - extract(epoch from '2026-07-24 08:36: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'), 47870, 'SRID=4674;POINT (-39.701461 -2.649151)', '2026-07-24 08:36:31', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701409 -2.649172)'), GeomFromEWKT('SRID=4674;POINT (-39.701461 -2.649151)'))) / (select extract(epoch from '2026-07-24 08:36:31'::timestamp) - extract(epoch from '2026-07-24 08:36:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701409 -2.649172)'), GeomFromEWKT('SRID=4674;POINT (-39.701461 -2.649151)'))) / (select extract(epoch from '2026-07-24 08:36:31'::timestamp) - extract(epoch from '2026-07-24 08: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'), 47870, 'SRID=4674;POINT (-39.701519 -2.649131)', '2026-07-24 08:36:40', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701461 -2.649151)'), GeomFromEWKT('SRID=4674;POINT (-39.701519 -2.649131)'))) / (select extract(epoch from '2026-07-24 08:36:40'::timestamp) - extract(epoch from '2026-07-24 08:36:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701461 -2.649151)'), GeomFromEWKT('SRID=4674;POINT (-39.701519 -2.649131)'))) / (select extract(epoch from '2026-07-24 08:36:40'::timestamp) - extract(epoch from '2026-07-24 08:36: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'), 47870, 'SRID=4674;POINT (-39.701529 -2.649128)', '2026-07-24 08:36:41', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701519 -2.649131)'), GeomFromEWKT('SRID=4674;POINT (-39.701529 -2.649128)'))) / (select extract(epoch from '2026-07-24 08:36:41'::timestamp) - extract(epoch from '2026-07-24 08:36:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701519 -2.649131)'), GeomFromEWKT('SRID=4674;POINT (-39.701529 -2.649128)'))) / (select extract(epoch from '2026-07-24 08:36:41'::timestamp) - extract(epoch from '2026-07-24 08:36: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'), 47870, 'SRID=4674;POINT (-39.701555 -2.649117)', '2026-07-24 08:36:45', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701529 -2.649128)'), GeomFromEWKT('SRID=4674;POINT (-39.701555 -2.649117)'))) / (select extract(epoch from '2026-07-24 08:36:45'::timestamp) - extract(epoch from '2026-07-24 08:36:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701529 -2.649128)'), GeomFromEWKT('SRID=4674;POINT (-39.701555 -2.649117)'))) / (select extract(epoch from '2026-07-24 08:36:45'::timestamp) - extract(epoch from '2026-07-24 08:36:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701583 -2.649122)', '2026-07-24 08:36:49', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701555 -2.649117)'), GeomFromEWKT('SRID=4674;POINT (-39.701583 -2.649122)'))) / (select extract(epoch from '2026-07-24 08:36:49'::timestamp) - extract(epoch from '2026-07-24 08:36:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701555 -2.649117)'), GeomFromEWKT('SRID=4674;POINT (-39.701583 -2.649122)'))) / (select extract(epoch from '2026-07-24 08:36:49'::timestamp) - extract(epoch from '2026-07-24 08:36: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'), 47870, 'SRID=4674;POINT (-39.701608 -2.649096)', '2026-07-24 08:36:54', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701583 -2.649122)'), GeomFromEWKT('SRID=4674;POINT (-39.701608 -2.649096)'))) / (select extract(epoch from '2026-07-24 08:36:54'::timestamp) - extract(epoch from '2026-07-24 08:36:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701583 -2.649122)'), GeomFromEWKT('SRID=4674;POINT (-39.701608 -2.649096)'))) / (select extract(epoch from '2026-07-24 08:36:54'::timestamp) - extract(epoch from '2026-07-24 08:36: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'), 47870, 'SRID=4674;POINT (-39.701595 -2.649049)', '2026-07-24 08:37:03', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701608 -2.649096)'), GeomFromEWKT('SRID=4674;POINT (-39.701595 -2.649049)'))) / (select extract(epoch from '2026-07-24 08:37:03'::timestamp) - extract(epoch from '2026-07-24 08:36:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701608 -2.649096)'), GeomFromEWKT('SRID=4674;POINT (-39.701595 -2.649049)'))) / (select extract(epoch from '2026-07-24 08:37:03'::timestamp) - extract(epoch from '2026-07-24 08:36: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'), 47870, 'SRID=4674;POINT (-39.701536 -2.649008)', '2026-07-24 08:37:11', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701595 -2.649049)'), GeomFromEWKT('SRID=4674;POINT (-39.701536 -2.649008)'))) / (select extract(epoch from '2026-07-24 08:37:11'::timestamp) - extract(epoch from '2026-07-24 08:37:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701595 -2.649049)'), GeomFromEWKT('SRID=4674;POINT (-39.701536 -2.649008)'))) / (select extract(epoch from '2026-07-24 08:37:11'::timestamp) - extract(epoch from '2026-07-24 08:37: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'), 47870, 'SRID=4674;POINT (-39.701492 -2.648995)', '2026-07-24 08:37:15', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701536 -2.649008)'), GeomFromEWKT('SRID=4674;POINT (-39.701492 -2.648995)'))) / (select extract(epoch from '2026-07-24 08:37:15'::timestamp) - extract(epoch from '2026-07-24 08:37:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701536 -2.649008)'), GeomFromEWKT('SRID=4674;POINT (-39.701492 -2.648995)'))) / (select extract(epoch from '2026-07-24 08:37:15'::timestamp) - extract(epoch from '2026-07-24 08:37: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'), 47870, 'SRID=4674;POINT (-39.701383 -2.648985)', '2026-07-24 08:37:21', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701492 -2.648995)'), GeomFromEWKT('SRID=4674;POINT (-39.701383 -2.648985)'))) / (select extract(epoch from '2026-07-24 08:37:21'::timestamp) - extract(epoch from '2026-07-24 08:37:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701492 -2.648995)'), GeomFromEWKT('SRID=4674;POINT (-39.701383 -2.648985)'))) / (select extract(epoch from '2026-07-24 08:37:21'::timestamp) - extract(epoch from '2026-07-24 08:37:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701306 -2.649001)', '2026-07-24 08:37:27', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701383 -2.648985)'), GeomFromEWKT('SRID=4674;POINT (-39.701306 -2.649001)'))) / (select extract(epoch from '2026-07-24 08:37:27'::timestamp) - extract(epoch from '2026-07-24 08:37:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701383 -2.648985)'), GeomFromEWKT('SRID=4674;POINT (-39.701306 -2.649001)'))) / (select extract(epoch from '2026-07-24 08:37:27'::timestamp) - extract(epoch from '2026-07-24 08:37: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'), 47870, 'SRID=4674;POINT (-39.701257 -2.649025)', '2026-07-24 08:37:33', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701306 -2.649001)'), GeomFromEWKT('SRID=4674;POINT (-39.701257 -2.649025)'))) / (select extract(epoch from '2026-07-24 08:37:33'::timestamp) - extract(epoch from '2026-07-24 08:37:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701306 -2.649001)'), GeomFromEWKT('SRID=4674;POINT (-39.701257 -2.649025)'))) / (select extract(epoch from '2026-07-24 08:37:33'::timestamp) - extract(epoch from '2026-07-24 08:37:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701225 -2.649054)', '2026-07-24 08:37:39', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701257 -2.649025)'), GeomFromEWKT('SRID=4674;POINT (-39.701225 -2.649054)'))) / (select extract(epoch from '2026-07-24 08:37:39'::timestamp) - extract(epoch from '2026-07-24 08:37:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701257 -2.649025)'), GeomFromEWKT('SRID=4674;POINT (-39.701225 -2.649054)'))) / (select extract(epoch from '2026-07-24 08:37:39'::timestamp) - extract(epoch from '2026-07-24 08:37: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'), 47870, 'SRID=4674;POINT (-39.701218 -2.649061)', '2026-07-24 08:37:41', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701225 -2.649054)'), GeomFromEWKT('SRID=4674;POINT (-39.701218 -2.649061)'))) / (select extract(epoch from '2026-07-24 08:37:41'::timestamp) - extract(epoch from '2026-07-24 08:37:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701225 -2.649054)'), GeomFromEWKT('SRID=4674;POINT (-39.701218 -2.649061)'))) / (select extract(epoch from '2026-07-24 08:37:41'::timestamp) - extract(epoch from '2026-07-24 08:37: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'), 47870, 'SRID=4674;POINT (-39.701224 -2.649079)', '2026-07-24 08:37:43', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701218 -2.649061)'), GeomFromEWKT('SRID=4674;POINT (-39.701224 -2.649079)'))) / (select extract(epoch from '2026-07-24 08:37:43'::timestamp) - extract(epoch from '2026-07-24 08:37:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701218 -2.649061)'), GeomFromEWKT('SRID=4674;POINT (-39.701224 -2.649079)'))) / (select extract(epoch from '2026-07-24 08:37:43'::timestamp) - extract(epoch from '2026-07-24 08:37: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'), 47870, 'SRID=4674;POINT (-39.701227 -2.649103)', '2026-07-24 08:37:47', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701224 -2.649079)'), GeomFromEWKT('SRID=4674;POINT (-39.701227 -2.649103)'))) / (select extract(epoch from '2026-07-24 08:37:47'::timestamp) - extract(epoch from '2026-07-24 08:37:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701224 -2.649079)'), GeomFromEWKT('SRID=4674;POINT (-39.701227 -2.649103)'))) / (select extract(epoch from '2026-07-24 08:37:47'::timestamp) - extract(epoch from '2026-07-24 08: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'), 47870, 'SRID=4674;POINT (-39.701233 -2.64911)', '2026-07-24 08:37:48', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701227 -2.649103)'), GeomFromEWKT('SRID=4674;POINT (-39.701233 -2.64911)'))) / (select extract(epoch from '2026-07-24 08:37:48'::timestamp) - extract(epoch from '2026-07-24 08:37:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701227 -2.649103)'), GeomFromEWKT('SRID=4674;POINT (-39.701233 -2.64911)'))) / (select extract(epoch from '2026-07-24 08:37:48'::timestamp) - extract(epoch from '2026-07-24 08:37: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'), 47870, 'SRID=4674;POINT (-39.701253 -2.64914)', '2026-07-24 08:37:56', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701233 -2.64911)'), GeomFromEWKT('SRID=4674;POINT (-39.701253 -2.64914)'))) / (select extract(epoch from '2026-07-24 08:37:56'::timestamp) - extract(epoch from '2026-07-24 08:37:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701233 -2.64911)'), GeomFromEWKT('SRID=4674;POINT (-39.701253 -2.64914)'))) / (select extract(epoch from '2026-07-24 08:37:56'::timestamp) - extract(epoch from '2026-07-24 08:37: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'), 47870, 'SRID=4674;POINT (-39.70125 -2.649213)', '2026-07-24 08:38:06', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701253 -2.64914)'), GeomFromEWKT('SRID=4674;POINT (-39.70125 -2.649213)'))) / (select extract(epoch from '2026-07-24 08:38:06'::timestamp) - extract(epoch from '2026-07-24 08:37:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701253 -2.64914)'), GeomFromEWKT('SRID=4674;POINT (-39.70125 -2.649213)'))) / (select extract(epoch from '2026-07-24 08:38:06'::timestamp) - extract(epoch from '2026-07-24 08:37: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'), 47870, 'SRID=4674;POINT (-39.701209 -2.649282)', '2026-07-24 08:38:12', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70125 -2.649213)'), GeomFromEWKT('SRID=4674;POINT (-39.701209 -2.649282)'))) / (select extract(epoch from '2026-07-24 08:38:12'::timestamp) - extract(epoch from '2026-07-24 08:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70125 -2.649213)'), GeomFromEWKT('SRID=4674;POINT (-39.701209 -2.649282)'))) / (select extract(epoch from '2026-07-24 08:38:12'::timestamp) - extract(epoch from '2026-07-24 08:38:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.70114 -2.649349)', '2026-07-24 08:38:19', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701209 -2.649282)'), GeomFromEWKT('SRID=4674;POINT (-39.70114 -2.649349)'))) / (select extract(epoch from '2026-07-24 08:38:19'::timestamp) - extract(epoch from '2026-07-24 08:38:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701209 -2.649282)'), GeomFromEWKT('SRID=4674;POINT (-39.70114 -2.649349)'))) / (select extract(epoch from '2026-07-24 08:38:19'::timestamp) - extract(epoch from '2026-07-24 08:38: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'), 47870, 'SRID=4674;POINT (-39.701059 -2.649391)', '2026-07-24 08:38:26', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70114 -2.649349)'), GeomFromEWKT('SRID=4674;POINT (-39.701059 -2.649391)'))) / (select extract(epoch from '2026-07-24 08:38:26'::timestamp) - extract(epoch from '2026-07-24 08:38:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70114 -2.649349)'), GeomFromEWKT('SRID=4674;POINT (-39.701059 -2.649391)'))) / (select extract(epoch from '2026-07-24 08:38:26'::timestamp) - extract(epoch from '2026-07-24 08:38: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'), 47870, 'SRID=4674;POINT (-39.700989 -2.649453)', '2026-07-24 08:38:33', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701059 -2.649391)'), GeomFromEWKT('SRID=4674;POINT (-39.700989 -2.649453)'))) / (select extract(epoch from '2026-07-24 08:38:33'::timestamp) - extract(epoch from '2026-07-24 08:38:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701059 -2.649391)'), GeomFromEWKT('SRID=4674;POINT (-39.700989 -2.649453)'))) / (select extract(epoch from '2026-07-24 08:38:33'::timestamp) - extract(epoch from '2026-07-24 08:38:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700941 -2.649521)', '2026-07-24 08:38:39', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700989 -2.649453)'), GeomFromEWKT('SRID=4674;POINT (-39.700941 -2.649521)'))) / (select extract(epoch from '2026-07-24 08:38:39'::timestamp) - extract(epoch from '2026-07-24 08:38:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700989 -2.649453)'), GeomFromEWKT('SRID=4674;POINT (-39.700941 -2.649521)'))) / (select extract(epoch from '2026-07-24 08:38:39'::timestamp) - extract(epoch from '2026-07-24 08:38:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.70092 -2.649539)', '2026-07-24 08:38:41', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700941 -2.649521)'), GeomFromEWKT('SRID=4674;POINT (-39.70092 -2.649539)'))) / (select extract(epoch from '2026-07-24 08:38:41'::timestamp) - extract(epoch from '2026-07-24 08:38:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700941 -2.649521)'), GeomFromEWKT('SRID=4674;POINT (-39.70092 -2.649539)'))) / (select extract(epoch from '2026-07-24 08:38:41'::timestamp) - extract(epoch from '2026-07-24 08:38: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'), 47870, 'SRID=4674;POINT (-39.700858 -2.649574)', '2026-07-24 08:38:46', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70092 -2.649539)'), GeomFromEWKT('SRID=4674;POINT (-39.700858 -2.649574)'))) / (select extract(epoch from '2026-07-24 08:38:46'::timestamp) - extract(epoch from '2026-07-24 08:38:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70092 -2.649539)'), GeomFromEWKT('SRID=4674;POINT (-39.700858 -2.649574)'))) / (select extract(epoch from '2026-07-24 08:38:46'::timestamp) - extract(epoch from '2026-07-24 08:38: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'), 47870, 'SRID=4674;POINT (-39.700817 -2.649594)', '2026-07-24 08:38:49', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700858 -2.649574)'), GeomFromEWKT('SRID=4674;POINT (-39.700817 -2.649594)'))) / (select extract(epoch from '2026-07-24 08:38:49'::timestamp) - extract(epoch from '2026-07-24 08:38:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700858 -2.649574)'), GeomFromEWKT('SRID=4674;POINT (-39.700817 -2.649594)'))) / (select extract(epoch from '2026-07-24 08:38:49'::timestamp) - extract(epoch from '2026-07-24 08:38: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'), 47870, 'SRID=4674;POINT (-39.700781 -2.649634)', '2026-07-24 08:38:52', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700817 -2.649594)'), GeomFromEWKT('SRID=4674;POINT (-39.700781 -2.649634)'))) / (select extract(epoch from '2026-07-24 08:38:52'::timestamp) - extract(epoch from '2026-07-24 08:38:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700817 -2.649594)'), GeomFromEWKT('SRID=4674;POINT (-39.700781 -2.649634)'))) / (select extract(epoch from '2026-07-24 08:38:52'::timestamp) - extract(epoch from '2026-07-24 08:38: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'), 47870, 'SRID=4674;POINT (-39.700694 -2.649709)', '2026-07-24 08:38:59', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700781 -2.649634)'), GeomFromEWKT('SRID=4674;POINT (-39.700694 -2.649709)'))) / (select extract(epoch from '2026-07-24 08:38:59'::timestamp) - extract(epoch from '2026-07-24 08:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700781 -2.649634)'), GeomFromEWKT('SRID=4674;POINT (-39.700694 -2.649709)'))) / (select extract(epoch from '2026-07-24 08:38:59'::timestamp) - extract(epoch from '2026-07-24 08:38:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700668 -2.649731)', '2026-07-24 08:39:02', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700694 -2.649709)'), GeomFromEWKT('SRID=4674;POINT (-39.700668 -2.649731)'))) / (select extract(epoch from '2026-07-24 08:39:02'::timestamp) - extract(epoch from '2026-07-24 08:38:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700694 -2.649709)'), GeomFromEWKT('SRID=4674;POINT (-39.700668 -2.649731)'))) / (select extract(epoch from '2026-07-24 08:39:02'::timestamp) - extract(epoch from '2026-07-24 08:38: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'), 47870, 'SRID=4674;POINT (-39.700643 -2.649736)', '2026-07-24 08:39:04', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700668 -2.649731)'), GeomFromEWKT('SRID=4674;POINT (-39.700643 -2.649736)'))) / (select extract(epoch from '2026-07-24 08:39:04'::timestamp) - extract(epoch from '2026-07-24 08:39:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700668 -2.649731)'), GeomFromEWKT('SRID=4674;POINT (-39.700643 -2.649736)'))) / (select extract(epoch from '2026-07-24 08:39:04'::timestamp) - extract(epoch from '2026-07-24 08:39: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'), 47870, 'SRID=4674;POINT (-39.700633 -2.649743)', '2026-07-24 08:39:05', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700643 -2.649736)'), GeomFromEWKT('SRID=4674;POINT (-39.700633 -2.649743)'))) / (select extract(epoch from '2026-07-24 08:39:05'::timestamp) - extract(epoch from '2026-07-24 08:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700643 -2.649736)'), GeomFromEWKT('SRID=4674;POINT (-39.700633 -2.649743)'))) / (select extract(epoch from '2026-07-24 08:39:05'::timestamp) - extract(epoch from '2026-07-24 08:39: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'), 47870, 'SRID=4674;POINT (-39.70056 -2.649781)', '2026-07-24 08:39:12', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700633 -2.649743)'), GeomFromEWKT('SRID=4674;POINT (-39.70056 -2.649781)'))) / (select extract(epoch from '2026-07-24 08:39:12'::timestamp) - extract(epoch from '2026-07-24 08:39:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700633 -2.649743)'), GeomFromEWKT('SRID=4674;POINT (-39.70056 -2.649781)'))) / (select extract(epoch from '2026-07-24 08:39:12'::timestamp) - extract(epoch from '2026-07-24 08:39:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700497 -2.64984)', '2026-07-24 08:39:18', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70056 -2.649781)'), GeomFromEWKT('SRID=4674;POINT (-39.700497 -2.64984)'))) / (select extract(epoch from '2026-07-24 08:39:18'::timestamp) - extract(epoch from '2026-07-24 08:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70056 -2.649781)'), GeomFromEWKT('SRID=4674;POINT (-39.700497 -2.64984)'))) / (select extract(epoch from '2026-07-24 08:39:18'::timestamp) - extract(epoch from '2026-07-24 08:39: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'), 47870, 'SRID=4674;POINT (-39.700432 -2.649904)', '2026-07-24 08:39:24', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700497 -2.64984)'), GeomFromEWKT('SRID=4674;POINT (-39.700432 -2.649904)'))) / (select extract(epoch from '2026-07-24 08:39:24'::timestamp) - extract(epoch from '2026-07-24 08:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700497 -2.64984)'), GeomFromEWKT('SRID=4674;POINT (-39.700432 -2.649904)'))) / (select extract(epoch from '2026-07-24 08:39:24'::timestamp) - extract(epoch from '2026-07-24 08:39: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'), 47870, 'SRID=4674;POINT (-39.700374 -2.649937)', '2026-07-24 08:39:29', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700432 -2.649904)'), GeomFromEWKT('SRID=4674;POINT (-39.700374 -2.649937)'))) / (select extract(epoch from '2026-07-24 08:39:29'::timestamp) - extract(epoch from '2026-07-24 08:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700432 -2.649904)'), GeomFromEWKT('SRID=4674;POINT (-39.700374 -2.649937)'))) / (select extract(epoch from '2026-07-24 08:39:29'::timestamp) - extract(epoch from '2026-07-24 08:39:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700352 -2.649955)', '2026-07-24 08:39:31', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700374 -2.649937)'), GeomFromEWKT('SRID=4674;POINT (-39.700352 -2.649955)'))) / (select extract(epoch from '2026-07-24 08:39:31'::timestamp) - extract(epoch from '2026-07-24 08:39:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700374 -2.649937)'), GeomFromEWKT('SRID=4674;POINT (-39.700352 -2.649955)'))) / (select extract(epoch from '2026-07-24 08:39:31'::timestamp) - extract(epoch from '2026-07-24 08:39: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'), 47870, 'SRID=4674;POINT (-39.700262 -2.650019)', '2026-07-24 08:39:38', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700352 -2.649955)'), GeomFromEWKT('SRID=4674;POINT (-39.700262 -2.650019)'))) / (select extract(epoch from '2026-07-24 08:39:38'::timestamp) - extract(epoch from '2026-07-24 08:39:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700352 -2.649955)'), GeomFromEWKT('SRID=4674;POINT (-39.700262 -2.650019)'))) / (select extract(epoch from '2026-07-24 08:39:38'::timestamp) - extract(epoch from '2026-07-24 08:39: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'), 47870, 'SRID=4674;POINT (-39.700159 -2.650067)', '2026-07-24 08:39:45', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700262 -2.650019)'), GeomFromEWKT('SRID=4674;POINT (-39.700159 -2.650067)'))) / (select extract(epoch from '2026-07-24 08:39:45'::timestamp) - extract(epoch from '2026-07-24 08:39:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700262 -2.650019)'), GeomFromEWKT('SRID=4674;POINT (-39.700159 -2.650067)'))) / (select extract(epoch from '2026-07-24 08:39:45'::timestamp) - extract(epoch from '2026-07-24 08:39:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700048 -2.650112)', '2026-07-24 08:39:52', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700159 -2.650067)'), GeomFromEWKT('SRID=4674;POINT (-39.700048 -2.650112)'))) / (select extract(epoch from '2026-07-24 08:39:52'::timestamp) - extract(epoch from '2026-07-24 08:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700159 -2.650067)'), GeomFromEWKT('SRID=4674;POINT (-39.700048 -2.650112)'))) / (select extract(epoch from '2026-07-24 08:39:52'::timestamp) - extract(epoch from '2026-07-24 08:39:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700014 -2.650124)', '2026-07-24 08:39:54', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700048 -2.650112)'), GeomFromEWKT('SRID=4674;POINT (-39.700014 -2.650124)'))) / (select extract(epoch from '2026-07-24 08:39:54'::timestamp) - extract(epoch from '2026-07-24 08:39:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700048 -2.650112)'), GeomFromEWKT('SRID=4674;POINT (-39.700014 -2.650124)'))) / (select extract(epoch from '2026-07-24 08:39:54'::timestamp) - extract(epoch from '2026-07-24 08:39: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'), 47870, 'SRID=4674;POINT (-39.69997 -2.650154)', '2026-07-24 08:39:57', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700014 -2.650124)'), GeomFromEWKT('SRID=4674;POINT (-39.69997 -2.650154)'))) / (select extract(epoch from '2026-07-24 08:39:57'::timestamp) - extract(epoch from '2026-07-24 08:39:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700014 -2.650124)'), GeomFromEWKT('SRID=4674;POINT (-39.69997 -2.650154)'))) / (select extract(epoch from '2026-07-24 08:39:57'::timestamp) - extract(epoch from '2026-07-24 08:39: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'), 47870, 'SRID=4674;POINT (-39.699919 -2.650218)', '2026-07-24 08:40:02', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69997 -2.650154)'), GeomFromEWKT('SRID=4674;POINT (-39.699919 -2.650218)'))) / (select extract(epoch from '2026-07-24 08:40:02'::timestamp) - extract(epoch from '2026-07-24 08:39:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69997 -2.650154)'), GeomFromEWKT('SRID=4674;POINT (-39.699919 -2.650218)'))) / (select extract(epoch from '2026-07-24 08:40:02'::timestamp) - extract(epoch from '2026-07-24 08:39:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699852 -2.6503)', '2026-07-24 08:40:09', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699919 -2.650218)'), GeomFromEWKT('SRID=4674;POINT (-39.699852 -2.6503)'))) / (select extract(epoch from '2026-07-24 08:40:09'::timestamp) - extract(epoch from '2026-07-24 08:40:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699919 -2.650218)'), GeomFromEWKT('SRID=4674;POINT (-39.699852 -2.6503)'))) / (select extract(epoch from '2026-07-24 08:40:09'::timestamp) - extract(epoch from '2026-07-24 08:40: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'), 47870, 'SRID=4674;POINT (-39.699783 -2.650348)', '2026-07-24 08:40:15', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699852 -2.6503)'), GeomFromEWKT('SRID=4674;POINT (-39.699783 -2.650348)'))) / (select extract(epoch from '2026-07-24 08:40:15'::timestamp) - extract(epoch from '2026-07-24 08:40:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699852 -2.6503)'), GeomFromEWKT('SRID=4674;POINT (-39.699783 -2.650348)'))) / (select extract(epoch from '2026-07-24 08:40:15'::timestamp) - extract(epoch from '2026-07-24 08:40: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'), 47870, 'SRID=4674;POINT (-39.699747 -2.650373)', '2026-07-24 08:40:18', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699783 -2.650348)'), GeomFromEWKT('SRID=4674;POINT (-39.699747 -2.650373)'))) / (select extract(epoch from '2026-07-24 08:40:18'::timestamp) - extract(epoch from '2026-07-24 08:40:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699783 -2.650348)'), GeomFromEWKT('SRID=4674;POINT (-39.699747 -2.650373)'))) / (select extract(epoch from '2026-07-24 08:40:18'::timestamp) - extract(epoch from '2026-07-24 08:40: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'), 47870, 'SRID=4674;POINT (-39.699712 -2.650398)', '2026-07-24 08:40:21', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699747 -2.650373)'), GeomFromEWKT('SRID=4674;POINT (-39.699712 -2.650398)'))) / (select extract(epoch from '2026-07-24 08:40:21'::timestamp) - extract(epoch from '2026-07-24 08:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699747 -2.650373)'), GeomFromEWKT('SRID=4674;POINT (-39.699712 -2.650398)'))) / (select extract(epoch from '2026-07-24 08:40:21'::timestamp) - extract(epoch from '2026-07-24 08:40:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699661 -2.650425)', '2026-07-24 08:40:25', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699712 -2.650398)'), GeomFromEWKT('SRID=4674;POINT (-39.699661 -2.650425)'))) / (select extract(epoch from '2026-07-24 08:40:25'::timestamp) - extract(epoch from '2026-07-24 08:40:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699712 -2.650398)'), GeomFromEWKT('SRID=4674;POINT (-39.699661 -2.650425)'))) / (select extract(epoch from '2026-07-24 08:40:25'::timestamp) - extract(epoch from '2026-07-24 08:40:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699604 -2.650438)', '2026-07-24 08:40:29', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699661 -2.650425)'), GeomFromEWKT('SRID=4674;POINT (-39.699604 -2.650438)'))) / (select extract(epoch from '2026-07-24 08:40:29'::timestamp) - extract(epoch from '2026-07-24 08:40:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699661 -2.650425)'), GeomFromEWKT('SRID=4674;POINT (-39.699604 -2.650438)'))) / (select extract(epoch from '2026-07-24 08:40:29'::timestamp) - extract(epoch from '2026-07-24 08:40: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'), 47870, 'SRID=4674;POINT (-39.699596 -2.650444)', '2026-07-24 08:40:30', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699604 -2.650438)'), GeomFromEWKT('SRID=4674;POINT (-39.699596 -2.650444)'))) / (select extract(epoch from '2026-07-24 08:40:30'::timestamp) - extract(epoch from '2026-07-24 08:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699604 -2.650438)'), GeomFromEWKT('SRID=4674;POINT (-39.699596 -2.650444)'))) / (select extract(epoch from '2026-07-24 08:40:30'::timestamp) - extract(epoch from '2026-07-24 08:40: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'), 47870, 'SRID=4674;POINT (-39.699499 -2.650464)', '2026-07-24 08:40:37', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699596 -2.650444)'), GeomFromEWKT('SRID=4674;POINT (-39.699499 -2.650464)'))) / (select extract(epoch from '2026-07-24 08:40:37'::timestamp) - extract(epoch from '2026-07-24 08:40:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699596 -2.650444)'), GeomFromEWKT('SRID=4674;POINT (-39.699499 -2.650464)'))) / (select extract(epoch from '2026-07-24 08:40:37'::timestamp) - extract(epoch from '2026-07-24 08:40: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'), 47870, 'SRID=4674;POINT (-39.699417 -2.650463)', '2026-07-24 08:40:43', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699499 -2.650464)'), GeomFromEWKT('SRID=4674;POINT (-39.699417 -2.650463)'))) / (select extract(epoch from '2026-07-24 08:40:43'::timestamp) - extract(epoch from '2026-07-24 08:40:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699499 -2.650464)'), GeomFromEWKT('SRID=4674;POINT (-39.699417 -2.650463)'))) / (select extract(epoch from '2026-07-24 08:40:43'::timestamp) - extract(epoch from '2026-07-24 08:40: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'), 47870, 'SRID=4674;POINT (-39.699371 -2.650456)', '2026-07-24 08:40:46', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699417 -2.650463)'), GeomFromEWKT('SRID=4674;POINT (-39.699371 -2.650456)'))) / (select extract(epoch from '2026-07-24 08:40:46'::timestamp) - extract(epoch from '2026-07-24 08:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699417 -2.650463)'), GeomFromEWKT('SRID=4674;POINT (-39.699371 -2.650456)'))) / (select extract(epoch from '2026-07-24 08:40:46'::timestamp) - extract(epoch from '2026-07-24 08:40: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'), 47870, 'SRID=4674;POINT (-39.699333 -2.650449)', '2026-07-24 08:40:49', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699371 -2.650456)'), GeomFromEWKT('SRID=4674;POINT (-39.699333 -2.650449)'))) / (select extract(epoch from '2026-07-24 08:40:49'::timestamp) - extract(epoch from '2026-07-24 08:40:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699371 -2.650456)'), GeomFromEWKT('SRID=4674;POINT (-39.699333 -2.650449)'))) / (select extract(epoch from '2026-07-24 08:40:49'::timestamp) - extract(epoch from '2026-07-24 08:40: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'), 47870, 'SRID=4674;POINT (-39.699298 -2.650442)', '2026-07-24 08:40:52', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699333 -2.650449)'), GeomFromEWKT('SRID=4674;POINT (-39.699298 -2.650442)'))) / (select extract(epoch from '2026-07-24 08:40:52'::timestamp) - extract(epoch from '2026-07-24 08:40:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699333 -2.650449)'), GeomFromEWKT('SRID=4674;POINT (-39.699298 -2.650442)'))) / (select extract(epoch from '2026-07-24 08:40:52'::timestamp) - extract(epoch from '2026-07-24 08:40: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'), 47870, 'SRID=4674;POINT (-39.699262 -2.650433)', '2026-07-24 08:40:55', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699298 -2.650442)'), GeomFromEWKT('SRID=4674;POINT (-39.699262 -2.650433)'))) / (select extract(epoch from '2026-07-24 08:40:55'::timestamp) - extract(epoch from '2026-07-24 08:40:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699298 -2.650442)'), GeomFromEWKT('SRID=4674;POINT (-39.699262 -2.650433)'))) / (select extract(epoch from '2026-07-24 08:40:55'::timestamp) - extract(epoch from '2026-07-24 08:40: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'), 47870, 'SRID=4674;POINT (-39.699182 -2.650458)', '2026-07-24 08:41:02', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699262 -2.650433)'), GeomFromEWKT('SRID=4674;POINT (-39.699182 -2.650458)'))) / (select extract(epoch from '2026-07-24 08:41:02'::timestamp) - extract(epoch from '2026-07-24 08:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699262 -2.650433)'), GeomFromEWKT('SRID=4674;POINT (-39.699182 -2.650458)'))) / (select extract(epoch from '2026-07-24 08:41:02'::timestamp) - extract(epoch from '2026-07-24 08:40: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'), 47870, 'SRID=4674;POINT (-39.699116 -2.650501)', '2026-07-24 08:41:09', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699182 -2.650458)'), GeomFromEWKT('SRID=4674;POINT (-39.699116 -2.650501)'))) / (select extract(epoch from '2026-07-24 08:41:09'::timestamp) - extract(epoch from '2026-07-24 08:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699182 -2.650458)'), GeomFromEWKT('SRID=4674;POINT (-39.699116 -2.650501)'))) / (select extract(epoch from '2026-07-24 08:41:09'::timestamp) - extract(epoch from '2026-07-24 08:41: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'), 47870, 'SRID=4674;POINT (-39.699041 -2.650523)', '2026-07-24 08:41:16', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699116 -2.650501)'), GeomFromEWKT('SRID=4674;POINT (-39.699041 -2.650523)'))) / (select extract(epoch from '2026-07-24 08:41:16'::timestamp) - extract(epoch from '2026-07-24 08:41:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699116 -2.650501)'), GeomFromEWKT('SRID=4674;POINT (-39.699041 -2.650523)'))) / (select extract(epoch from '2026-07-24 08:41:16'::timestamp) - extract(epoch from '2026-07-24 08:41: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'), 47870, 'SRID=4674;POINT (-39.698934 -2.650507)', '2026-07-24 08:41:23', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699041 -2.650523)'), GeomFromEWKT('SRID=4674;POINT (-39.698934 -2.650507)'))) / (select extract(epoch from '2026-07-24 08:41:23'::timestamp) - extract(epoch from '2026-07-24 08:41:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699041 -2.650523)'), GeomFromEWKT('SRID=4674;POINT (-39.698934 -2.650507)'))) / (select extract(epoch from '2026-07-24 08:41:23'::timestamp) - extract(epoch from '2026-07-24 08:41: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'), 47870, 'SRID=4674;POINT (-39.698908 -2.650505)', '2026-07-24 08:41:25', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698934 -2.650507)'), GeomFromEWKT('SRID=4674;POINT (-39.698908 -2.650505)'))) / (select extract(epoch from '2026-07-24 08:41:25'::timestamp) - extract(epoch from '2026-07-24 08:41:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698934 -2.650507)'), GeomFromEWKT('SRID=4674;POINT (-39.698908 -2.650505)'))) / (select extract(epoch from '2026-07-24 08:41:25'::timestamp) - extract(epoch from '2026-07-24 08:41: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'), 47870, 'SRID=4674;POINT (-39.69886 -2.650516)', '2026-07-24 08:41:29', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698908 -2.650505)'), GeomFromEWKT('SRID=4674;POINT (-39.69886 -2.650516)'))) / (select extract(epoch from '2026-07-24 08:41:29'::timestamp) - extract(epoch from '2026-07-24 08:41:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698908 -2.650505)'), GeomFromEWKT('SRID=4674;POINT (-39.69886 -2.650516)'))) / (select extract(epoch from '2026-07-24 08:41:29'::timestamp) - extract(epoch from '2026-07-24 08:41:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698741 -2.650562)', '2026-07-24 08:41:37', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69886 -2.650516)'), GeomFromEWKT('SRID=4674;POINT (-39.698741 -2.650562)'))) / (select extract(epoch from '2026-07-24 08:41:37'::timestamp) - extract(epoch from '2026-07-24 08:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69886 -2.650516)'), GeomFromEWKT('SRID=4674;POINT (-39.698741 -2.650562)'))) / (select extract(epoch from '2026-07-24 08:41:37'::timestamp) - extract(epoch from '2026-07-24 08:41: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'), 47870, 'SRID=4674;POINT (-39.698654 -2.650606)', '2026-07-24 08:41:43', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698741 -2.650562)'), GeomFromEWKT('SRID=4674;POINT (-39.698654 -2.650606)'))) / (select extract(epoch from '2026-07-24 08:41:43'::timestamp) - extract(epoch from '2026-07-24 08:41:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698741 -2.650562)'), GeomFromEWKT('SRID=4674;POINT (-39.698654 -2.650606)'))) / (select extract(epoch from '2026-07-24 08:41:43'::timestamp) - extract(epoch from '2026-07-24 08:41: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'), 47870, 'SRID=4674;POINT (-39.69857 -2.65064)', '2026-07-24 08:41:49', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698654 -2.650606)'), GeomFromEWKT('SRID=4674;POINT (-39.69857 -2.65064)'))) / (select extract(epoch from '2026-07-24 08:41:49'::timestamp) - extract(epoch from '2026-07-24 08:41:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698654 -2.650606)'), GeomFromEWKT('SRID=4674;POINT (-39.69857 -2.65064)'))) / (select extract(epoch from '2026-07-24 08:41:49'::timestamp) - extract(epoch from '2026-07-24 08:41: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'), 47870, 'SRID=4674;POINT (-39.698491 -2.650682)', '2026-07-24 08:41:56', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69857 -2.65064)'), GeomFromEWKT('SRID=4674;POINT (-39.698491 -2.650682)'))) / (select extract(epoch from '2026-07-24 08:41:56'::timestamp) - extract(epoch from '2026-07-24 08:41:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69857 -2.65064)'), GeomFromEWKT('SRID=4674;POINT (-39.698491 -2.650682)'))) / (select extract(epoch from '2026-07-24 08:41:56'::timestamp) - extract(epoch from '2026-07-24 08:41:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698383 -2.650729)', '2026-07-24 08:42:04', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698491 -2.650682)'), GeomFromEWKT('SRID=4674;POINT (-39.698383 -2.650729)'))) / (select extract(epoch from '2026-07-24 08:42:04'::timestamp) - extract(epoch from '2026-07-24 08:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698491 -2.650682)'), GeomFromEWKT('SRID=4674;POINT (-39.698383 -2.650729)'))) / (select extract(epoch from '2026-07-24 08:42:04'::timestamp) - extract(epoch from '2026-07-24 08:41: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'), 47870, 'SRID=4674;POINT (-39.698252 -2.65074)', '2026-07-24 08:42:12', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698383 -2.650729)'), GeomFromEWKT('SRID=4674;POINT (-39.698252 -2.65074)'))) / (select extract(epoch from '2026-07-24 08:42:12'::timestamp) - extract(epoch from '2026-07-24 08:42:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698383 -2.650729)'), GeomFromEWKT('SRID=4674;POINT (-39.698252 -2.65074)'))) / (select extract(epoch from '2026-07-24 08:42:12'::timestamp) - extract(epoch from '2026-07-24 08:42: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'), 47870, 'SRID=4674;POINT (-39.69815 -2.650764)', '2026-07-24 08:42:19', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698252 -2.65074)'), GeomFromEWKT('SRID=4674;POINT (-39.69815 -2.650764)'))) / (select extract(epoch from '2026-07-24 08:42:19'::timestamp) - extract(epoch from '2026-07-24 08:42:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698252 -2.65074)'), GeomFromEWKT('SRID=4674;POINT (-39.69815 -2.650764)'))) / (select extract(epoch from '2026-07-24 08:42:19'::timestamp) - extract(epoch from '2026-07-24 08:42:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698071 -2.65079)', '2026-07-24 08:42:25', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69815 -2.650764)'), GeomFromEWKT('SRID=4674;POINT (-39.698071 -2.65079)'))) / (select extract(epoch from '2026-07-24 08:42:25'::timestamp) - extract(epoch from '2026-07-24 08:42:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69815 -2.650764)'), GeomFromEWKT('SRID=4674;POINT (-39.698071 -2.65079)'))) / (select extract(epoch from '2026-07-24 08:42:25'::timestamp) - extract(epoch from '2026-07-24 08:42: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'), 47870, 'SRID=4674;POINT (-39.698058 -2.650792)', '2026-07-24 08:42:26', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698071 -2.65079)'), GeomFromEWKT('SRID=4674;POINT (-39.698058 -2.650792)'))) / (select extract(epoch from '2026-07-24 08:42:26'::timestamp) - extract(epoch from '2026-07-24 08:42:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698071 -2.65079)'), GeomFromEWKT('SRID=4674;POINT (-39.698058 -2.650792)'))) / (select extract(epoch from '2026-07-24 08:42:26'::timestamp) - extract(epoch from '2026-07-24 08:42: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'), 47870, 'SRID=4674;POINT (-39.698017 -2.650803)', '2026-07-24 08:42:30', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698058 -2.650792)'), GeomFromEWKT('SRID=4674;POINT (-39.698017 -2.650803)'))) / (select extract(epoch from '2026-07-24 08:42:30'::timestamp) - extract(epoch from '2026-07-24 08:42:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698058 -2.650792)'), GeomFromEWKT('SRID=4674;POINT (-39.698017 -2.650803)'))) / (select extract(epoch from '2026-07-24 08:42:30'::timestamp) - extract(epoch from '2026-07-24 08:42:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697917 -2.650814)', '2026-07-24 08:42:38', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698017 -2.650803)'), GeomFromEWKT('SRID=4674;POINT (-39.697917 -2.650814)'))) / (select extract(epoch from '2026-07-24 08:42:38'::timestamp) - extract(epoch from '2026-07-24 08:42:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698017 -2.650803)'), GeomFromEWKT('SRID=4674;POINT (-39.697917 -2.650814)'))) / (select extract(epoch from '2026-07-24 08:42:38'::timestamp) - extract(epoch from '2026-07-24 08:42: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'), 47870, 'SRID=4674;POINT (-39.697821 -2.650813)', '2026-07-24 08:42:45', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697917 -2.650814)'), GeomFromEWKT('SRID=4674;POINT (-39.697821 -2.650813)'))) / (select extract(epoch from '2026-07-24 08:42:45'::timestamp) - extract(epoch from '2026-07-24 08:42:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697917 -2.650814)'), GeomFromEWKT('SRID=4674;POINT (-39.697821 -2.650813)'))) / (select extract(epoch from '2026-07-24 08:42:45'::timestamp) - extract(epoch from '2026-07-24 08:42: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'), 47870, 'SRID=4674;POINT (-39.697729 -2.650795)', '2026-07-24 08:42:52', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697821 -2.650813)'), GeomFromEWKT('SRID=4674;POINT (-39.697729 -2.650795)'))) / (select extract(epoch from '2026-07-24 08:42:52'::timestamp) - extract(epoch from '2026-07-24 08:42:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697821 -2.650813)'), GeomFromEWKT('SRID=4674;POINT (-39.697729 -2.650795)'))) / (select extract(epoch from '2026-07-24 08:42:52'::timestamp) - extract(epoch from '2026-07-24 08:42: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'), 47870, 'SRID=4674;POINT (-39.69768 -2.650808)', '2026-07-24 08:42:59', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697729 -2.650795)'), GeomFromEWKT('SRID=4674;POINT (-39.69768 -2.650808)'))) / (select extract(epoch from '2026-07-24 08:42:59'::timestamp) - extract(epoch from '2026-07-24 08:42:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697729 -2.650795)'), GeomFromEWKT('SRID=4674;POINT (-39.69768 -2.650808)'))) / (select extract(epoch from '2026-07-24 08:42:59'::timestamp) - extract(epoch from '2026-07-24 08:42:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697668 -2.65082)', '2026-07-24 08:43:08', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69768 -2.650808)'), GeomFromEWKT('SRID=4674;POINT (-39.697668 -2.65082)'))) / (select extract(epoch from '2026-07-24 08:43:08'::timestamp) - extract(epoch from '2026-07-24 08:42:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69768 -2.650808)'), GeomFromEWKT('SRID=4674;POINT (-39.697668 -2.65082)'))) / (select extract(epoch from '2026-07-24 08:43:08'::timestamp) - extract(epoch from '2026-07-24 08:42: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'), 47870, 'SRID=4674;POINT (-39.697684 -2.650831)', '2026-07-24 08:43:12', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697668 -2.65082)'), GeomFromEWKT('SRID=4674;POINT (-39.697684 -2.650831)'))) / (select extract(epoch from '2026-07-24 08:43:12'::timestamp) - extract(epoch from '2026-07-24 08:43:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697668 -2.65082)'), GeomFromEWKT('SRID=4674;POINT (-39.697684 -2.650831)'))) / (select extract(epoch from '2026-07-24 08:43:12'::timestamp) - extract(epoch from '2026-07-24 08:43:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697717 -2.650848)', '2026-07-24 08:43:21', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697684 -2.650831)'), GeomFromEWKT('SRID=4674;POINT (-39.697717 -2.650848)'))) / (select extract(epoch from '2026-07-24 08:43:21'::timestamp) - extract(epoch from '2026-07-24 08:43:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697684 -2.650831)'), GeomFromEWKT('SRID=4674;POINT (-39.697717 -2.650848)'))) / (select extract(epoch from '2026-07-24 08:43:21'::timestamp) - extract(epoch from '2026-07-24 08:43: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'), 47870, 'SRID=4674;POINT (-39.697754 -2.650858)', '2026-07-24 08:43:30', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697717 -2.650848)'), GeomFromEWKT('SRID=4674;POINT (-39.697754 -2.650858)'))) / (select extract(epoch from '2026-07-24 08:43:30'::timestamp) - extract(epoch from '2026-07-24 08:43:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697717 -2.650848)'), GeomFromEWKT('SRID=4674;POINT (-39.697754 -2.650858)'))) / (select extract(epoch from '2026-07-24 08:43:30'::timestamp) - extract(epoch from '2026-07-24 08:43: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'), 47870, 'SRID=4674;POINT (-39.697794 -2.650875)', '2026-07-24 08:43:40', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697754 -2.650858)'), GeomFromEWKT('SRID=4674;POINT (-39.697794 -2.650875)'))) / (select extract(epoch from '2026-07-24 08:43:40'::timestamp) - extract(epoch from '2026-07-24 08:43:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697754 -2.650858)'), GeomFromEWKT('SRID=4674;POINT (-39.697794 -2.650875)'))) / (select extract(epoch from '2026-07-24 08:43:40'::timestamp) - extract(epoch from '2026-07-24 08:43: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'), 47870, 'SRID=4674;POINT (-39.697829 -2.650888)', '2026-07-24 08:43:48', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697794 -2.650875)'), GeomFromEWKT('SRID=4674;POINT (-39.697829 -2.650888)'))) / (select extract(epoch from '2026-07-24 08:43:48'::timestamp) - extract(epoch from '2026-07-24 08:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697794 -2.650875)'), GeomFromEWKT('SRID=4674;POINT (-39.697829 -2.650888)'))) / (select extract(epoch from '2026-07-24 08:43:48'::timestamp) - extract(epoch from '2026-07-24 08:43: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'), 47870, 'SRID=4674;POINT (-39.69788 -2.650892)', '2026-07-24 08:43:59', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697829 -2.650888)'), GeomFromEWKT('SRID=4674;POINT (-39.69788 -2.650892)'))) / (select extract(epoch from '2026-07-24 08:43:59'::timestamp) - extract(epoch from '2026-07-24 08:43:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697829 -2.650888)'), GeomFromEWKT('SRID=4674;POINT (-39.69788 -2.650892)'))) / (select extract(epoch from '2026-07-24 08:43:59'::timestamp) - extract(epoch from '2026-07-24 08:43: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'), 47870, 'SRID=4674;POINT (-39.697925 -2.650901)', '2026-07-24 08:44:08', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69788 -2.650892)'), GeomFromEWKT('SRID=4674;POINT (-39.697925 -2.650901)'))) / (select extract(epoch from '2026-07-24 08:44:08'::timestamp) - extract(epoch from '2026-07-24 08:43:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69788 -2.650892)'), GeomFromEWKT('SRID=4674;POINT (-39.697925 -2.650901)'))) / (select extract(epoch from '2026-07-24 08:44:08'::timestamp) - extract(epoch from '2026-07-24 08:43:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697929 -2.650907)', '2026-07-24 08:44:16', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697925 -2.650901)'), GeomFromEWKT('SRID=4674;POINT (-39.697929 -2.650907)'))) / (select extract(epoch from '2026-07-24 08:44:16'::timestamp) - extract(epoch from '2026-07-24 08:44:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697925 -2.650901)'), GeomFromEWKT('SRID=4674;POINT (-39.697929 -2.650907)'))) / (select extract(epoch from '2026-07-24 08:44:16'::timestamp) - extract(epoch from '2026-07-24 08:44:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697911 -2.650918)', '2026-07-24 08:44:24', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697929 -2.650907)'), GeomFromEWKT('SRID=4674;POINT (-39.697911 -2.650918)'))) / (select extract(epoch from '2026-07-24 08:44:24'::timestamp) - extract(epoch from '2026-07-24 08:44:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697929 -2.650907)'), GeomFromEWKT('SRID=4674;POINT (-39.697911 -2.650918)'))) / (select extract(epoch from '2026-07-24 08:44:24'::timestamp) - extract(epoch from '2026-07-24 08:44:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697871 -2.650935)', '2026-07-24 08:44:32', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697911 -2.650918)'), GeomFromEWKT('SRID=4674;POINT (-39.697871 -2.650935)'))) / (select extract(epoch from '2026-07-24 08:44:32'::timestamp) - extract(epoch from '2026-07-24 08:44:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697911 -2.650918)'), GeomFromEWKT('SRID=4674;POINT (-39.697871 -2.650935)'))) / (select extract(epoch from '2026-07-24 08:44:32'::timestamp) - extract(epoch from '2026-07-24 08:44: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'), 47870, 'SRID=4674;POINT (-39.69783 -2.650943)', '2026-07-24 08:44:37', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697871 -2.650935)'), GeomFromEWKT('SRID=4674;POINT (-39.69783 -2.650943)'))) / (select extract(epoch from '2026-07-24 08:44:37'::timestamp) - extract(epoch from '2026-07-24 08:44:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697871 -2.650935)'), GeomFromEWKT('SRID=4674;POINT (-39.69783 -2.650943)'))) / (select extract(epoch from '2026-07-24 08:44:37'::timestamp) - extract(epoch from '2026-07-24 08:44:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697771 -2.650987)', '2026-07-24 08:44:47', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69783 -2.650943)'), GeomFromEWKT('SRID=4674;POINT (-39.697771 -2.650987)'))) / (select extract(epoch from '2026-07-24 08:44:47'::timestamp) - extract(epoch from '2026-07-24 08:44:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69783 -2.650943)'), GeomFromEWKT('SRID=4674;POINT (-39.697771 -2.650987)'))) / (select extract(epoch from '2026-07-24 08:44:47'::timestamp) - extract(epoch from '2026-07-24 08:44: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'), 47870, 'SRID=4674;POINT (-39.697722 -2.651031)', '2026-07-24 08:44:53', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697771 -2.650987)'), GeomFromEWKT('SRID=4674;POINT (-39.697722 -2.651031)'))) / (select extract(epoch from '2026-07-24 08:44:53'::timestamp) - extract(epoch from '2026-07-24 08:44:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697771 -2.650987)'), GeomFromEWKT('SRID=4674;POINT (-39.697722 -2.651031)'))) / (select extract(epoch from '2026-07-24 08:44:53'::timestamp) - extract(epoch from '2026-07-24 08:44: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'), 47870, 'SRID=4674;POINT (-39.697663 -2.65105)', '2026-07-24 08:44:59', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697722 -2.651031)'), GeomFromEWKT('SRID=4674;POINT (-39.697663 -2.65105)'))) / (select extract(epoch from '2026-07-24 08:44:59'::timestamp) - extract(epoch from '2026-07-24 08:44:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697722 -2.651031)'), GeomFromEWKT('SRID=4674;POINT (-39.697663 -2.65105)'))) / (select extract(epoch from '2026-07-24 08:44:59'::timestamp) - extract(epoch from '2026-07-24 08:44: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'), 47870, 'SRID=4674;POINT (-39.69764 -2.65105)', '2026-07-24 08:45:01', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697663 -2.65105)'), GeomFromEWKT('SRID=4674;POINT (-39.69764 -2.65105)'))) / (select extract(epoch from '2026-07-24 08:45:01'::timestamp) - extract(epoch from '2026-07-24 08:44:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697663 -2.65105)'), GeomFromEWKT('SRID=4674;POINT (-39.69764 -2.65105)'))) / (select extract(epoch from '2026-07-24 08:45:01'::timestamp) - extract(epoch from '2026-07-24 08:44:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697597 -2.651041)', '2026-07-24 08:45:06', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69764 -2.65105)'), GeomFromEWKT('SRID=4674;POINT (-39.697597 -2.651041)'))) / (select extract(epoch from '2026-07-24 08:45:06'::timestamp) - extract(epoch from '2026-07-24 08:45:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69764 -2.65105)'), GeomFromEWKT('SRID=4674;POINT (-39.697597 -2.651041)'))) / (select extract(epoch from '2026-07-24 08:45:06'::timestamp) - extract(epoch from '2026-07-24 08:45:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697571 -2.65102)', '2026-07-24 08:45:14', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697597 -2.651041)'), GeomFromEWKT('SRID=4674;POINT (-39.697571 -2.65102)'))) / (select extract(epoch from '2026-07-24 08:45:14'::timestamp) - extract(epoch from '2026-07-24 08:45:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697597 -2.651041)'), GeomFromEWKT('SRID=4674;POINT (-39.697571 -2.65102)'))) / (select extract(epoch from '2026-07-24 08:45:14'::timestamp) - extract(epoch from '2026-07-24 08:45: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'), 47870, 'SRID=4674;POINT (-39.697574 -2.650998)', '2026-07-24 08:45:20', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697571 -2.65102)'), GeomFromEWKT('SRID=4674;POINT (-39.697574 -2.650998)'))) / (select extract(epoch from '2026-07-24 08:45:20'::timestamp) - extract(epoch from '2026-07-24 08:45:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697571 -2.65102)'), GeomFromEWKT('SRID=4674;POINT (-39.697574 -2.650998)'))) / (select extract(epoch from '2026-07-24 08:45:20'::timestamp) - extract(epoch from '2026-07-24 08:45:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697581 -2.650978)', '2026-07-24 08:45:28', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697574 -2.650998)'), GeomFromEWKT('SRID=4674;POINT (-39.697581 -2.650978)'))) / (select extract(epoch from '2026-07-24 08:45:28'::timestamp) - extract(epoch from '2026-07-24 08:45:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697574 -2.650998)'), GeomFromEWKT('SRID=4674;POINT (-39.697581 -2.650978)'))) / (select extract(epoch from '2026-07-24 08:45:28'::timestamp) - extract(epoch from '2026-07-24 08:45: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'), 47870, 'SRID=4674;POINT (-39.697619 -2.650963)', '2026-07-24 08:45:38', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697581 -2.650978)'), GeomFromEWKT('SRID=4674;POINT (-39.697619 -2.650963)'))) / (select extract(epoch from '2026-07-24 08:45:38'::timestamp) - extract(epoch from '2026-07-24 08:45:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697581 -2.650978)'), GeomFromEWKT('SRID=4674;POINT (-39.697619 -2.650963)'))) / (select extract(epoch from '2026-07-24 08:45:38'::timestamp) - extract(epoch from '2026-07-24 08:45: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'), 47870, 'SRID=4674;POINT (-39.697642 -2.650963)', '2026-07-24 08:45:47', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697619 -2.650963)'), GeomFromEWKT('SRID=4674;POINT (-39.697642 -2.650963)'))) / (select extract(epoch from '2026-07-24 08:45:47'::timestamp) - extract(epoch from '2026-07-24 08:45:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697619 -2.650963)'), GeomFromEWKT('SRID=4674;POINT (-39.697642 -2.650963)'))) / (select extract(epoch from '2026-07-24 08:45:47'::timestamp) - extract(epoch from '2026-07-24 08:45: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'), 47870, 'SRID=4674;POINT (-39.697684 -2.650969)', '2026-07-24 08:45:55', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697642 -2.650963)'), GeomFromEWKT('SRID=4674;POINT (-39.697684 -2.650969)'))) / (select extract(epoch from '2026-07-24 08:45:55'::timestamp) - extract(epoch from '2026-07-24 08:45:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697642 -2.650963)'), GeomFromEWKT('SRID=4674;POINT (-39.697684 -2.650969)'))) / (select extract(epoch from '2026-07-24 08:45:55'::timestamp) - extract(epoch from '2026-07-24 08:45:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697703 -2.650966)', '2026-07-24 08:45:59', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697684 -2.650969)'), GeomFromEWKT('SRID=4674;POINT (-39.697703 -2.650966)'))) / (select extract(epoch from '2026-07-24 08:45:59'::timestamp) - extract(epoch from '2026-07-24 08:45:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697684 -2.650969)'), GeomFromEWKT('SRID=4674;POINT (-39.697703 -2.650966)'))) / (select extract(epoch from '2026-07-24 08:45:59'::timestamp) - extract(epoch from '2026-07-24 08:45: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'), 47870, 'SRID=4674;POINT (-39.697712 -2.650971)', '2026-07-24 08:46:01', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697703 -2.650966)'), GeomFromEWKT('SRID=4674;POINT (-39.697712 -2.650971)'))) / (select extract(epoch from '2026-07-24 08:46:01'::timestamp) - extract(epoch from '2026-07-24 08:45:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697703 -2.650966)'), GeomFromEWKT('SRID=4674;POINT (-39.697712 -2.650971)'))) / (select extract(epoch from '2026-07-24 08:46:01'::timestamp) - extract(epoch from '2026-07-24 08:45: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'), 47870, 'SRID=4674;POINT (-39.697741 -2.650976)', '2026-07-24 08:46:08', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697712 -2.650971)'), GeomFromEWKT('SRID=4674;POINT (-39.697741 -2.650976)'))) / (select extract(epoch from '2026-07-24 08:46:08'::timestamp) - extract(epoch from '2026-07-24 08:46:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697712 -2.650971)'), GeomFromEWKT('SRID=4674;POINT (-39.697741 -2.650976)'))) / (select extract(epoch from '2026-07-24 08:46:08'::timestamp) - extract(epoch from '2026-07-24 08:46: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'), 47870, 'SRID=4674;POINT (-39.697819 -2.650964)', '2026-07-24 08:46:18', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697741 -2.650976)'), GeomFromEWKT('SRID=4674;POINT (-39.697819 -2.650964)'))) / (select extract(epoch from '2026-07-24 08:46:18'::timestamp) - extract(epoch from '2026-07-24 08:46:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697741 -2.650976)'), GeomFromEWKT('SRID=4674;POINT (-39.697819 -2.650964)'))) / (select extract(epoch from '2026-07-24 08:46:18'::timestamp) - extract(epoch from '2026-07-24 08:46: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'), 47870, 'SRID=4674;POINT (-39.69789 -2.650952)', '2026-07-24 08:46:28', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697819 -2.650964)'), GeomFromEWKT('SRID=4674;POINT (-39.69789 -2.650952)'))) / (select extract(epoch from '2026-07-24 08:46:28'::timestamp) - extract(epoch from '2026-07-24 08:46:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697819 -2.650964)'), GeomFromEWKT('SRID=4674;POINT (-39.69789 -2.650952)'))) / (select extract(epoch from '2026-07-24 08:46:28'::timestamp) - extract(epoch from '2026-07-24 08:46: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'), 47870, 'SRID=4674;POINT (-39.697941 -2.650923)', '2026-07-24 08:46:37', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69789 -2.650952)'), GeomFromEWKT('SRID=4674;POINT (-39.697941 -2.650923)'))) / (select extract(epoch from '2026-07-24 08:46:37'::timestamp) - extract(epoch from '2026-07-24 08:46:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69789 -2.650952)'), GeomFromEWKT('SRID=4674;POINT (-39.697941 -2.650923)'))) / (select extract(epoch from '2026-07-24 08:46:37'::timestamp) - extract(epoch from '2026-07-24 08:46:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697966 -2.650896)', '2026-07-24 08:46:43', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697941 -2.650923)'), GeomFromEWKT('SRID=4674;POINT (-39.697966 -2.650896)'))) / (select extract(epoch from '2026-07-24 08:46:43'::timestamp) - extract(epoch from '2026-07-24 08:46:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697941 -2.650923)'), GeomFromEWKT('SRID=4674;POINT (-39.697966 -2.650896)'))) / (select extract(epoch from '2026-07-24 08:46:43'::timestamp) - extract(epoch from '2026-07-24 08:46:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698003 -2.650878)', '2026-07-24 08:46:50', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697966 -2.650896)'), GeomFromEWKT('SRID=4674;POINT (-39.698003 -2.650878)'))) / (select extract(epoch from '2026-07-24 08:46:50'::timestamp) - extract(epoch from '2026-07-24 08:46:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697966 -2.650896)'), GeomFromEWKT('SRID=4674;POINT (-39.698003 -2.650878)'))) / (select extract(epoch from '2026-07-24 08:46:50'::timestamp) - extract(epoch from '2026-07-24 08:46: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'), 47870, 'SRID=4674;POINT (-39.698032 -2.65085)', '2026-07-24 08:46:57', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698003 -2.650878)'), GeomFromEWKT('SRID=4674;POINT (-39.698032 -2.65085)'))) / (select extract(epoch from '2026-07-24 08:46:57'::timestamp) - extract(epoch from '2026-07-24 08:46:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698003 -2.650878)'), GeomFromEWKT('SRID=4674;POINT (-39.698032 -2.65085)'))) / (select extract(epoch from '2026-07-24 08:46:57'::timestamp) - extract(epoch from '2026-07-24 08:46:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698049 -2.650835)', '2026-07-24 08:47:02', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698032 -2.65085)'), GeomFromEWKT('SRID=4674;POINT (-39.698049 -2.650835)'))) / (select extract(epoch from '2026-07-24 08:47:02'::timestamp) - extract(epoch from '2026-07-24 08:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698032 -2.65085)'), GeomFromEWKT('SRID=4674;POINT (-39.698049 -2.650835)'))) / (select extract(epoch from '2026-07-24 08:47:02'::timestamp) - extract(epoch from '2026-07-24 08:46: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'), 47870, 'SRID=4674;POINT (-39.698074 -2.650803)', '2026-07-24 08:47:09', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698049 -2.650835)'), GeomFromEWKT('SRID=4674;POINT (-39.698074 -2.650803)'))) / (select extract(epoch from '2026-07-24 08:47:09'::timestamp) - extract(epoch from '2026-07-24 08:47:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698049 -2.650835)'), GeomFromEWKT('SRID=4674;POINT (-39.698074 -2.650803)'))) / (select extract(epoch from '2026-07-24 08:47:09'::timestamp) - extract(epoch from '2026-07-24 08:47: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'), 47870, 'SRID=4674;POINT (-39.69809 -2.650782)', '2026-07-24 08:47:18', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698074 -2.650803)'), GeomFromEWKT('SRID=4674;POINT (-39.69809 -2.650782)'))) / (select extract(epoch from '2026-07-24 08:47:18'::timestamp) - extract(epoch from '2026-07-24 08:47:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698074 -2.650803)'), GeomFromEWKT('SRID=4674;POINT (-39.69809 -2.650782)'))) / (select extract(epoch from '2026-07-24 08:47:18'::timestamp) - extract(epoch from '2026-07-24 08:47: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'), 47870, 'SRID=4674;POINT (-39.698126 -2.650761)', '2026-07-24 08:47:28', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69809 -2.650782)'), GeomFromEWKT('SRID=4674;POINT (-39.698126 -2.650761)'))) / (select extract(epoch from '2026-07-24 08:47:28'::timestamp) - extract(epoch from '2026-07-24 08:47:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69809 -2.650782)'), GeomFromEWKT('SRID=4674;POINT (-39.698126 -2.650761)'))) / (select extract(epoch from '2026-07-24 08:47:28'::timestamp) - extract(epoch from '2026-07-24 08:47:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698156 -2.650764)', '2026-07-24 08:47:35', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698126 -2.650761)'), GeomFromEWKT('SRID=4674;POINT (-39.698156 -2.650764)'))) / (select extract(epoch from '2026-07-24 08:47:35'::timestamp) - extract(epoch from '2026-07-24 08:47:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698126 -2.650761)'), GeomFromEWKT('SRID=4674;POINT (-39.698156 -2.650764)'))) / (select extract(epoch from '2026-07-24 08:47:35'::timestamp) - extract(epoch from '2026-07-24 08:47:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69816 -2.650745)', '2026-07-24 08:47:44', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698156 -2.650764)'), GeomFromEWKT('SRID=4674;POINT (-39.69816 -2.650745)'))) / (select extract(epoch from '2026-07-24 08:47:44'::timestamp) - extract(epoch from '2026-07-24 08:47:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698156 -2.650764)'), GeomFromEWKT('SRID=4674;POINT (-39.69816 -2.650745)'))) / (select extract(epoch from '2026-07-24 08:47:44'::timestamp) - extract(epoch from '2026-07-24 08:47:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698174 -2.650731)', '2026-07-24 08:47:52', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69816 -2.650745)'), GeomFromEWKT('SRID=4674;POINT (-39.698174 -2.650731)'))) / (select extract(epoch from '2026-07-24 08:47:52'::timestamp) - extract(epoch from '2026-07-24 08:47:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69816 -2.650745)'), GeomFromEWKT('SRID=4674;POINT (-39.698174 -2.650731)'))) / (select extract(epoch from '2026-07-24 08:47:52'::timestamp) - extract(epoch from '2026-07-24 08:47:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698165 -2.650717)', '2026-07-24 08:48:00', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698174 -2.650731)'), GeomFromEWKT('SRID=4674;POINT (-39.698165 -2.650717)'))) / (select extract(epoch from '2026-07-24 08:48:00'::timestamp) - extract(epoch from '2026-07-24 08:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698174 -2.650731)'), GeomFromEWKT('SRID=4674;POINT (-39.698165 -2.650717)'))) / (select extract(epoch from '2026-07-24 08:48:00'::timestamp) - extract(epoch from '2026-07-24 08:47:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698164 -2.650697)', '2026-07-24 08:48:07', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698165 -2.650717)'), GeomFromEWKT('SRID=4674;POINT (-39.698164 -2.650697)'))) / (select extract(epoch from '2026-07-24 08:48:07'::timestamp) - extract(epoch from '2026-07-24 08:48:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698165 -2.650717)'), GeomFromEWKT('SRID=4674;POINT (-39.698164 -2.650697)'))) / (select extract(epoch from '2026-07-24 08:48:07'::timestamp) - extract(epoch from '2026-07-24 08:48: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'), 47870, 'SRID=4674;POINT (-39.698182 -2.650688)', '2026-07-24 08:48:16', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698164 -2.650697)'), GeomFromEWKT('SRID=4674;POINT (-39.698182 -2.650688)'))) / (select extract(epoch from '2026-07-24 08:48:16'::timestamp) - extract(epoch from '2026-07-24 08:48:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698164 -2.650697)'), GeomFromEWKT('SRID=4674;POINT (-39.698182 -2.650688)'))) / (select extract(epoch from '2026-07-24 08:48:16'::timestamp) - extract(epoch from '2026-07-24 08:48: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'), 47870, 'SRID=4674;POINT (-39.698203 -2.650686)', '2026-07-24 08:48:24', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698182 -2.650688)'), GeomFromEWKT('SRID=4674;POINT (-39.698203 -2.650686)'))) / (select extract(epoch from '2026-07-24 08:48:24'::timestamp) - extract(epoch from '2026-07-24 08:48:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698182 -2.650688)'), GeomFromEWKT('SRID=4674;POINT (-39.698203 -2.650686)'))) / (select extract(epoch from '2026-07-24 08:48:24'::timestamp) - extract(epoch from '2026-07-24 08:48: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'), 47870, 'SRID=4674;POINT (-39.698217 -2.650687)', '2026-07-24 08:48:29', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698203 -2.650686)'), GeomFromEWKT('SRID=4674;POINT (-39.698217 -2.650687)'))) / (select extract(epoch from '2026-07-24 08:48:29'::timestamp) - extract(epoch from '2026-07-24 08:48:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698203 -2.650686)'), GeomFromEWKT('SRID=4674;POINT (-39.698217 -2.650687)'))) / (select extract(epoch from '2026-07-24 08:48:29'::timestamp) - extract(epoch from '2026-07-24 08:48:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698221 -2.650687)', '2026-07-24 08:48:33', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698217 -2.650687)'), GeomFromEWKT('SRID=4674;POINT (-39.698221 -2.650687)'))) / (select extract(epoch from '2026-07-24 08:48:33'::timestamp) - extract(epoch from '2026-07-24 08:48:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698217 -2.650687)'), GeomFromEWKT('SRID=4674;POINT (-39.698221 -2.650687)'))) / (select extract(epoch from '2026-07-24 08:48:33'::timestamp) - extract(epoch from '2026-07-24 08:48: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'), 47870, 'SRID=4674;POINT (-39.698233 -2.650664)', '2026-07-24 08:48:39', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698221 -2.650687)'), GeomFromEWKT('SRID=4674;POINT (-39.698233 -2.650664)'))) / (select extract(epoch from '2026-07-24 08:48:39'::timestamp) - extract(epoch from '2026-07-24 08:48:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698221 -2.650687)'), GeomFromEWKT('SRID=4674;POINT (-39.698233 -2.650664)'))) / (select extract(epoch from '2026-07-24 08:48:39'::timestamp) - extract(epoch from '2026-07-24 08: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'), 47870, 'SRID=4674;POINT (-39.698244 -2.650645)', '2026-07-24 08:48:44', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698233 -2.650664)'), GeomFromEWKT('SRID=4674;POINT (-39.698244 -2.650645)'))) / (select extract(epoch from '2026-07-24 08:48:44'::timestamp) - extract(epoch from '2026-07-24 08:48:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698233 -2.650664)'), GeomFromEWKT('SRID=4674;POINT (-39.698244 -2.650645)'))) / (select extract(epoch from '2026-07-24 08:48:44'::timestamp) - extract(epoch from '2026-07-24 08:48: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'), 47870, 'SRID=4674;POINT (-39.698243 -2.650597)', '2026-07-24 08:48:52', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698244 -2.650645)'), GeomFromEWKT('SRID=4674;POINT (-39.698243 -2.650597)'))) / (select extract(epoch from '2026-07-24 08:48:52'::timestamp) - extract(epoch from '2026-07-24 08:48:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698244 -2.650645)'), GeomFromEWKT('SRID=4674;POINT (-39.698243 -2.650597)'))) / (select extract(epoch from '2026-07-24 08:48:52'::timestamp) - extract(epoch from '2026-07-24 08:48: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'), 47870, 'SRID=4674;POINT (-39.698216 -2.650566)', '2026-07-24 08:49:01', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698243 -2.650597)'), GeomFromEWKT('SRID=4674;POINT (-39.698216 -2.650566)'))) / (select extract(epoch from '2026-07-24 08:49:01'::timestamp) - extract(epoch from '2026-07-24 08:48:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698243 -2.650597)'), GeomFromEWKT('SRID=4674;POINT (-39.698216 -2.650566)'))) / (select extract(epoch from '2026-07-24 08:49:01'::timestamp) - extract(epoch from '2026-07-24 08: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'), 47870, 'SRID=4674;POINT (-39.698217 -2.650553)', '2026-07-24 08:49:10', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698216 -2.650566)'), GeomFromEWKT('SRID=4674;POINT (-39.698217 -2.650553)'))) / (select extract(epoch from '2026-07-24 08:49:10'::timestamp) - extract(epoch from '2026-07-24 08:49:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698216 -2.650566)'), GeomFromEWKT('SRID=4674;POINT (-39.698217 -2.650553)'))) / (select extract(epoch from '2026-07-24 08:49:10'::timestamp) - extract(epoch from '2026-07-24 08:49: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'), 47870, 'SRID=4674;POINT (-39.698239 -2.650534)', '2026-07-24 08:49:22', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698217 -2.650553)'), GeomFromEWKT('SRID=4674;POINT (-39.698239 -2.650534)'))) / (select extract(epoch from '2026-07-24 08:49:22'::timestamp) - extract(epoch from '2026-07-24 08:49:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698217 -2.650553)'), GeomFromEWKT('SRID=4674;POINT (-39.698239 -2.650534)'))) / (select extract(epoch from '2026-07-24 08:49:22'::timestamp) - extract(epoch from '2026-07-24 08:49: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'), 47870, 'SRID=4674;POINT (-39.698269 -2.650532)', '2026-07-24 08:49:29', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698239 -2.650534)'), GeomFromEWKT('SRID=4674;POINT (-39.698269 -2.650532)'))) / (select extract(epoch from '2026-07-24 08:49:29'::timestamp) - extract(epoch from '2026-07-24 08:49:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698239 -2.650534)'), GeomFromEWKT('SRID=4674;POINT (-39.698269 -2.650532)'))) / (select extract(epoch from '2026-07-24 08:49:29'::timestamp) - extract(epoch from '2026-07-24 08:49:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698297 -2.650505)', '2026-07-24 08:49:38', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698269 -2.650532)'), GeomFromEWKT('SRID=4674;POINT (-39.698297 -2.650505)'))) / (select extract(epoch from '2026-07-24 08:49:38'::timestamp) - extract(epoch from '2026-07-24 08:49:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698269 -2.650532)'), GeomFromEWKT('SRID=4674;POINT (-39.698297 -2.650505)'))) / (select extract(epoch from '2026-07-24 08:49:38'::timestamp) - extract(epoch from '2026-07-24 08:49:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698297 -2.650479)', '2026-07-24 08:49:46', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698297 -2.650505)'), GeomFromEWKT('SRID=4674;POINT (-39.698297 -2.650479)'))) / (select extract(epoch from '2026-07-24 08:49:46'::timestamp) - extract(epoch from '2026-07-24 08:49:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698297 -2.650505)'), GeomFromEWKT('SRID=4674;POINT (-39.698297 -2.650479)'))) / (select extract(epoch from '2026-07-24 08:49:46'::timestamp) - extract(epoch from '2026-07-24 08: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'), 47870, 'SRID=4674;POINT (-39.698311 -2.650466)', '2026-07-24 08:49:54', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698297 -2.650479)'), GeomFromEWKT('SRID=4674;POINT (-39.698311 -2.650466)'))) / (select extract(epoch from '2026-07-24 08:49:54'::timestamp) - extract(epoch from '2026-07-24 08:49:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698297 -2.650479)'), GeomFromEWKT('SRID=4674;POINT (-39.698311 -2.650466)'))) / (select extract(epoch from '2026-07-24 08:49:54'::timestamp) - extract(epoch from '2026-07-24 08:49:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698366 -2.65046)', '2026-07-24 08:50:04', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698311 -2.650466)'), GeomFromEWKT('SRID=4674;POINT (-39.698366 -2.65046)'))) / (select extract(epoch from '2026-07-24 08:50:04'::timestamp) - extract(epoch from '2026-07-24 08:49:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698311 -2.650466)'), GeomFromEWKT('SRID=4674;POINT (-39.698366 -2.65046)'))) / (select extract(epoch from '2026-07-24 08:50:04'::timestamp) - extract(epoch from '2026-07-24 08:49: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'), 47870, 'SRID=4674;POINT (-39.698394 -2.650463)', '2026-07-24 08:50:09', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698366 -2.65046)'), GeomFromEWKT('SRID=4674;POINT (-39.698394 -2.650463)'))) / (select extract(epoch from '2026-07-24 08:50:09'::timestamp) - extract(epoch from '2026-07-24 08:50:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698366 -2.65046)'), GeomFromEWKT('SRID=4674;POINT (-39.698394 -2.650463)'))) / (select extract(epoch from '2026-07-24 08:50:09'::timestamp) - extract(epoch from '2026-07-24 08:50: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'), 47870, 'SRID=4674;POINT (-39.698417 -2.650458)', '2026-07-24 08:50:19', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698394 -2.650463)'), GeomFromEWKT('SRID=4674;POINT (-39.698417 -2.650458)'))) / (select extract(epoch from '2026-07-24 08:50:19'::timestamp) - extract(epoch from '2026-07-24 08:50:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698394 -2.650463)'), GeomFromEWKT('SRID=4674;POINT (-39.698417 -2.650458)'))) / (select extract(epoch from '2026-07-24 08:50:19'::timestamp) - extract(epoch from '2026-07-24 08:50:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698428 -2.650462)', '2026-07-24 08:50:28', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698417 -2.650458)'), GeomFromEWKT('SRID=4674;POINT (-39.698428 -2.650462)'))) / (select extract(epoch from '2026-07-24 08:50:28'::timestamp) - extract(epoch from '2026-07-24 08:50:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698417 -2.650458)'), GeomFromEWKT('SRID=4674;POINT (-39.698428 -2.650462)'))) / (select extract(epoch from '2026-07-24 08:50:28'::timestamp) - extract(epoch from '2026-07-24 08:50: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'), 47870, 'SRID=4674;POINT (-39.698436 -2.650464)', '2026-07-24 08:50:29', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698428 -2.650462)'), GeomFromEWKT('SRID=4674;POINT (-39.698436 -2.650464)'))) / (select extract(epoch from '2026-07-24 08:50:29'::timestamp) - extract(epoch from '2026-07-24 08:50:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698428 -2.650462)'), GeomFromEWKT('SRID=4674;POINT (-39.698436 -2.650464)'))) / (select extract(epoch from '2026-07-24 08:50:29'::timestamp) - extract(epoch from '2026-07-24 08:50:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698462 -2.65047)', '2026-07-24 08:50:36', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698436 -2.650464)'), GeomFromEWKT('SRID=4674;POINT (-39.698462 -2.65047)'))) / (select extract(epoch from '2026-07-24 08:50:36'::timestamp) - extract(epoch from '2026-07-24 08:50:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698436 -2.650464)'), GeomFromEWKT('SRID=4674;POINT (-39.698462 -2.65047)'))) / (select extract(epoch from '2026-07-24 08:50:36'::timestamp) - extract(epoch from '2026-07-24 08:50: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'), 47870, 'SRID=4674;POINT (-39.698501 -2.650478)', '2026-07-24 08:50:43', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698462 -2.65047)'), GeomFromEWKT('SRID=4674;POINT (-39.698501 -2.650478)'))) / (select extract(epoch from '2026-07-24 08:50:43'::timestamp) - extract(epoch from '2026-07-24 08:50:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698462 -2.65047)'), GeomFromEWKT('SRID=4674;POINT (-39.698501 -2.650478)'))) / (select extract(epoch from '2026-07-24 08:50:43'::timestamp) - extract(epoch from '2026-07-24 08:50:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69854 -2.650475)', '2026-07-24 08:50:52', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698501 -2.650478)'), GeomFromEWKT('SRID=4674;POINT (-39.69854 -2.650475)'))) / (select extract(epoch from '2026-07-24 08:50:52'::timestamp) - extract(epoch from '2026-07-24 08:50:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698501 -2.650478)'), GeomFromEWKT('SRID=4674;POINT (-39.69854 -2.650475)'))) / (select extract(epoch from '2026-07-24 08:50:52'::timestamp) - extract(epoch from '2026-07-24 08:50:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698574 -2.65048)', '2026-07-24 08:51:00', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69854 -2.650475)'), GeomFromEWKT('SRID=4674;POINT (-39.698574 -2.65048)'))) / (select extract(epoch from '2026-07-24 08:51:00'::timestamp) - extract(epoch from '2026-07-24 08:50:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69854 -2.650475)'), GeomFromEWKT('SRID=4674;POINT (-39.698574 -2.65048)'))) / (select extract(epoch from '2026-07-24 08:51:00'::timestamp) - extract(epoch from '2026-07-24 08:50: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'), 47870, 'SRID=4674;POINT (-39.698615 -2.650486)', '2026-07-24 08:51:08', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698574 -2.65048)'), GeomFromEWKT('SRID=4674;POINT (-39.698615 -2.650486)'))) / (select extract(epoch from '2026-07-24 08:51:08'::timestamp) - extract(epoch from '2026-07-24 08:51:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698574 -2.65048)'), GeomFromEWKT('SRID=4674;POINT (-39.698615 -2.650486)'))) / (select extract(epoch from '2026-07-24 08:51:08'::timestamp) - extract(epoch from '2026-07-24 08:51:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698629 -2.650491)', '2026-07-24 08:51:11', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698615 -2.650486)'), GeomFromEWKT('SRID=4674;POINT (-39.698629 -2.650491)'))) / (select extract(epoch from '2026-07-24 08:51:11'::timestamp) - extract(epoch from '2026-07-24 08:51:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698615 -2.650486)'), GeomFromEWKT('SRID=4674;POINT (-39.698629 -2.650491)'))) / (select extract(epoch from '2026-07-24 08:51:11'::timestamp) - extract(epoch from '2026-07-24 08: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'), 47870, 'SRID=4674;POINT (-39.698647 -2.650489)', '2026-07-24 08:51:13', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698629 -2.650491)'), GeomFromEWKT('SRID=4674;POINT (-39.698647 -2.650489)'))) / (select extract(epoch from '2026-07-24 08:51:13'::timestamp) - extract(epoch from '2026-07-24 08:51:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698629 -2.650491)'), GeomFromEWKT('SRID=4674;POINT (-39.698647 -2.650489)'))) / (select extract(epoch from '2026-07-24 08:51:13'::timestamp) - extract(epoch from '2026-07-24 08:51:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698684 -2.650489)', '2026-07-24 08:51:19', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698647 -2.650489)'), GeomFromEWKT('SRID=4674;POINT (-39.698684 -2.650489)'))) / (select extract(epoch from '2026-07-24 08:51:19'::timestamp) - extract(epoch from '2026-07-24 08:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698647 -2.650489)'), GeomFromEWKT('SRID=4674;POINT (-39.698684 -2.650489)'))) / (select extract(epoch from '2026-07-24 08:51:19'::timestamp) - extract(epoch from '2026-07-24 08: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'), 47870, 'SRID=4674;POINT (-39.698694 -2.650492)', '2026-07-24 08:51:27', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698684 -2.650489)'), GeomFromEWKT('SRID=4674;POINT (-39.698694 -2.650492)'))) / (select extract(epoch from '2026-07-24 08:51:27'::timestamp) - extract(epoch from '2026-07-24 08:51:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698684 -2.650489)'), GeomFromEWKT('SRID=4674;POINT (-39.698694 -2.650492)'))) / (select extract(epoch from '2026-07-24 08:51:27'::timestamp) - extract(epoch from '2026-07-24 08:51:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698641 -2.650535)', '2026-07-24 08:51:35', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698694 -2.650492)'), GeomFromEWKT('SRID=4674;POINT (-39.698641 -2.650535)'))) / (select extract(epoch from '2026-07-24 08:51:35'::timestamp) - extract(epoch from '2026-07-24 08:51:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698694 -2.650492)'), GeomFromEWKT('SRID=4674;POINT (-39.698641 -2.650535)'))) / (select extract(epoch from '2026-07-24 08:51:35'::timestamp) - extract(epoch from '2026-07-24 08: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'), 47870, 'SRID=4674;POINT (-39.698587 -2.650595)', '2026-07-24 08:51:41', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698641 -2.650535)'), GeomFromEWKT('SRID=4674;POINT (-39.698587 -2.650595)'))) / (select extract(epoch from '2026-07-24 08:51:41'::timestamp) - extract(epoch from '2026-07-24 08:51:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698641 -2.650535)'), GeomFromEWKT('SRID=4674;POINT (-39.698587 -2.650595)'))) / (select extract(epoch from '2026-07-24 08:51:41'::timestamp) - extract(epoch from '2026-07-24 08:51:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698528 -2.650672)', '2026-07-24 08:51:47', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698587 -2.650595)'), GeomFromEWKT('SRID=4674;POINT (-39.698528 -2.650672)'))) / (select extract(epoch from '2026-07-24 08:51:47'::timestamp) - extract(epoch from '2026-07-24 08:51:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698587 -2.650595)'), GeomFromEWKT('SRID=4674;POINT (-39.698528 -2.650672)'))) / (select extract(epoch from '2026-07-24 08:51:47'::timestamp) - extract(epoch from '2026-07-24 08:51:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698508 -2.650779)', '2026-07-24 08:51:53', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698528 -2.650672)'), GeomFromEWKT('SRID=4674;POINT (-39.698508 -2.650779)'))) / (select extract(epoch from '2026-07-24 08:51:53'::timestamp) - extract(epoch from '2026-07-24 08:51:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698528 -2.650672)'), GeomFromEWKT('SRID=4674;POINT (-39.698508 -2.650779)'))) / (select extract(epoch from '2026-07-24 08:51:53'::timestamp) - extract(epoch from '2026-07-24 08:51:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698491 -2.650826)', '2026-07-24 08:51:56', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698508 -2.650779)'), GeomFromEWKT('SRID=4674;POINT (-39.698491 -2.650826)'))) / (select extract(epoch from '2026-07-24 08:51:56'::timestamp) - extract(epoch from '2026-07-24 08:51:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698508 -2.650779)'), GeomFromEWKT('SRID=4674;POINT (-39.698491 -2.650826)'))) / (select extract(epoch from '2026-07-24 08:51:56'::timestamp) - extract(epoch from '2026-07-24 08:51: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'), 47870, 'SRID=4674;POINT (-39.698482 -2.650858)', '2026-07-24 08:51:58', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698491 -2.650826)'), GeomFromEWKT('SRID=4674;POINT (-39.698482 -2.650858)'))) / (select extract(epoch from '2026-07-24 08:51:58'::timestamp) - extract(epoch from '2026-07-24 08:51:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698491 -2.650826)'), GeomFromEWKT('SRID=4674;POINT (-39.698482 -2.650858)'))) / (select extract(epoch from '2026-07-24 08:51:58'::timestamp) - extract(epoch from '2026-07-24 08:51: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'), 47870, 'SRID=4674;POINT (-39.698469 -2.650892)', '2026-07-24 08:52:00', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698482 -2.650858)'), GeomFromEWKT('SRID=4674;POINT (-39.698469 -2.650892)'))) / (select extract(epoch from '2026-07-24 08:52:00'::timestamp) - extract(epoch from '2026-07-24 08:51:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698482 -2.650858)'), GeomFromEWKT('SRID=4674;POINT (-39.698469 -2.650892)'))) / (select extract(epoch from '2026-07-24 08:52:00'::timestamp) - extract(epoch from '2026-07-24 08:51: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'), 47870, 'SRID=4674;POINT (-39.698448 -2.650938)', '2026-07-24 08:52:03', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698469 -2.650892)'), GeomFromEWKT('SRID=4674;POINT (-39.698448 -2.650938)'))) / (select extract(epoch from '2026-07-24 08:52:03'::timestamp) - extract(epoch from '2026-07-24 08:52:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698469 -2.650892)'), GeomFromEWKT('SRID=4674;POINT (-39.698448 -2.650938)'))) / (select extract(epoch from '2026-07-24 08:52:03'::timestamp) - extract(epoch from '2026-07-24 08:52:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698404 -2.651014)', '2026-07-24 08:52:08', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698448 -2.650938)'), GeomFromEWKT('SRID=4674;POINT (-39.698404 -2.651014)'))) / (select extract(epoch from '2026-07-24 08:52:08'::timestamp) - extract(epoch from '2026-07-24 08:52:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698448 -2.650938)'), GeomFromEWKT('SRID=4674;POINT (-39.698404 -2.651014)'))) / (select extract(epoch from '2026-07-24 08:52:08'::timestamp) - extract(epoch from '2026-07-24 08:52: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'), 47870, 'SRID=4674;POINT (-39.698391 -2.651031)', '2026-07-24 08:52:09', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698404 -2.651014)'), GeomFromEWKT('SRID=4674;POINT (-39.698391 -2.651031)'))) / (select extract(epoch from '2026-07-24 08:52:09'::timestamp) - extract(epoch from '2026-07-24 08:52:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698404 -2.651014)'), GeomFromEWKT('SRID=4674;POINT (-39.698391 -2.651031)'))) / (select extract(epoch from '2026-07-24 08:52:09'::timestamp) - extract(epoch from '2026-07-24 08:52: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'), 47870, 'SRID=4674;POINT (-39.69838 -2.651065)', '2026-07-24 08:52:11', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698391 -2.651031)'), GeomFromEWKT('SRID=4674;POINT (-39.69838 -2.651065)'))) / (select extract(epoch from '2026-07-24 08:52:11'::timestamp) - extract(epoch from '2026-07-24 08:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698391 -2.651031)'), GeomFromEWKT('SRID=4674;POINT (-39.69838 -2.651065)'))) / (select extract(epoch from '2026-07-24 08:52:11'::timestamp) - extract(epoch from '2026-07-24 08:52:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698374 -2.65108)', '2026-07-24 08:52:12', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69838 -2.651065)'), GeomFromEWKT('SRID=4674;POINT (-39.698374 -2.65108)'))) / (select extract(epoch from '2026-07-24 08:52:12'::timestamp) - extract(epoch from '2026-07-24 08:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69838 -2.651065)'), GeomFromEWKT('SRID=4674;POINT (-39.698374 -2.65108)'))) / (select extract(epoch from '2026-07-24 08:52:12'::timestamp) - extract(epoch from '2026-07-24 08: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'), 47870, 'SRID=4674;POINT (-39.698365 -2.651114)', '2026-07-24 08:52:14', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698374 -2.65108)'), GeomFromEWKT('SRID=4674;POINT (-39.698365 -2.651114)'))) / (select extract(epoch from '2026-07-24 08:52:14'::timestamp) - extract(epoch from '2026-07-24 08:52:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698374 -2.65108)'), GeomFromEWKT('SRID=4674;POINT (-39.698365 -2.651114)'))) / (select extract(epoch from '2026-07-24 08:52:14'::timestamp) - extract(epoch from '2026-07-24 08:52: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'), 47870, 'SRID=4674;POINT (-39.698337 -2.65116)', '2026-07-24 08:52:17', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698365 -2.651114)'), GeomFromEWKT('SRID=4674;POINT (-39.698337 -2.65116)'))) / (select extract(epoch from '2026-07-24 08:52:17'::timestamp) - extract(epoch from '2026-07-24 08:52:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698365 -2.651114)'), GeomFromEWKT('SRID=4674;POINT (-39.698337 -2.65116)'))) / (select extract(epoch from '2026-07-24 08:52:17'::timestamp) - extract(epoch from '2026-07-24 08:52:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698304 -2.651218)', '2026-07-24 08:52:21', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698337 -2.65116)'), GeomFromEWKT('SRID=4674;POINT (-39.698304 -2.651218)'))) / (select extract(epoch from '2026-07-24 08:52:21'::timestamp) - extract(epoch from '2026-07-24 08:52:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698337 -2.65116)'), GeomFromEWKT('SRID=4674;POINT (-39.698304 -2.651218)'))) / (select extract(epoch from '2026-07-24 08:52:21'::timestamp) - extract(epoch from '2026-07-24 08:52:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69829 -2.65123)', '2026-07-24 08:52:22', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698304 -2.651218)'), GeomFromEWKT('SRID=4674;POINT (-39.69829 -2.65123)'))) / (select extract(epoch from '2026-07-24 08:52:22'::timestamp) - extract(epoch from '2026-07-24 08:52:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698304 -2.651218)'), GeomFromEWKT('SRID=4674;POINT (-39.69829 -2.65123)'))) / (select extract(epoch from '2026-07-24 08:52:22'::timestamp) - extract(epoch from '2026-07-24 08:52:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698219 -2.651343)', '2026-07-24 08:52:29', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69829 -2.65123)'), GeomFromEWKT('SRID=4674;POINT (-39.698219 -2.651343)'))) / (select extract(epoch from '2026-07-24 08:52:29'::timestamp) - extract(epoch from '2026-07-24 08:52:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69829 -2.65123)'), GeomFromEWKT('SRID=4674;POINT (-39.698219 -2.651343)'))) / (select extract(epoch from '2026-07-24 08:52:29'::timestamp) - extract(epoch from '2026-07-24 08:52:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69818 -2.651461)', '2026-07-24 08:52:35', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698219 -2.651343)'), GeomFromEWKT('SRID=4674;POINT (-39.69818 -2.651461)'))) / (select extract(epoch from '2026-07-24 08:52:35'::timestamp) - extract(epoch from '2026-07-24 08:52:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698219 -2.651343)'), GeomFromEWKT('SRID=4674;POINT (-39.69818 -2.651461)'))) / (select extract(epoch from '2026-07-24 08:52:35'::timestamp) - extract(epoch from '2026-07-24 08: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'), 47870, 'SRID=4674;POINT (-39.698167 -2.651551)', '2026-07-24 08:52:40', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69818 -2.651461)'), GeomFromEWKT('SRID=4674;POINT (-39.698167 -2.651551)'))) / (select extract(epoch from '2026-07-24 08:52:40'::timestamp) - extract(epoch from '2026-07-24 08:52:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69818 -2.651461)'), GeomFromEWKT('SRID=4674;POINT (-39.698167 -2.651551)'))) / (select extract(epoch from '2026-07-24 08:52:40'::timestamp) - extract(epoch from '2026-07-24 08: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'), 47870, 'SRID=4674;POINT (-39.698154 -2.651664)', '2026-07-24 08:52:46', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698167 -2.651551)'), GeomFromEWKT('SRID=4674;POINT (-39.698154 -2.651664)'))) / (select extract(epoch from '2026-07-24 08:52:46'::timestamp) - extract(epoch from '2026-07-24 08:52:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698167 -2.651551)'), GeomFromEWKT('SRID=4674;POINT (-39.698154 -2.651664)'))) / (select extract(epoch from '2026-07-24 08:52:46'::timestamp) - extract(epoch from '2026-07-24 08:52:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698133 -2.651786)', '2026-07-24 08:52:52', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698154 -2.651664)'), GeomFromEWKT('SRID=4674;POINT (-39.698133 -2.651786)'))) / (select extract(epoch from '2026-07-24 08:52:52'::timestamp) - extract(epoch from '2026-07-24 08:52:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698154 -2.651664)'), GeomFromEWKT('SRID=4674;POINT (-39.698133 -2.651786)'))) / (select extract(epoch from '2026-07-24 08:52:52'::timestamp) - extract(epoch from '2026-07-24 08:52: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'), 47870, 'SRID=4674;POINT (-39.698101 -2.651926)', '2026-07-24 08:52:59', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698133 -2.651786)'), GeomFromEWKT('SRID=4674;POINT (-39.698101 -2.651926)'))) / (select extract(epoch from '2026-07-24 08:52:59'::timestamp) - extract(epoch from '2026-07-24 08:52:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698133 -2.651786)'), GeomFromEWKT('SRID=4674;POINT (-39.698101 -2.651926)'))) / (select extract(epoch from '2026-07-24 08:52:59'::timestamp) - extract(epoch from '2026-07-24 08:52: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'), 47870, 'SRID=4674;POINT (-39.698075 -2.651987)', '2026-07-24 08:53:03', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698101 -2.651926)'), GeomFromEWKT('SRID=4674;POINT (-39.698075 -2.651987)'))) / (select extract(epoch from '2026-07-24 08:53:03'::timestamp) - extract(epoch from '2026-07-24 08:52:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698101 -2.651926)'), GeomFromEWKT('SRID=4674;POINT (-39.698075 -2.651987)'))) / (select extract(epoch from '2026-07-24 08:53:03'::timestamp) - extract(epoch from '2026-07-24 08:52: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'), 47870, 'SRID=4674;POINT (-39.69805 -2.652017)', '2026-07-24 08:53:05', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698075 -2.651987)'), GeomFromEWKT('SRID=4674;POINT (-39.69805 -2.652017)'))) / (select extract(epoch from '2026-07-24 08:53:05'::timestamp) - extract(epoch from '2026-07-24 08:53:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698075 -2.651987)'), GeomFromEWKT('SRID=4674;POINT (-39.69805 -2.652017)'))) / (select extract(epoch from '2026-07-24 08:53:05'::timestamp) - extract(epoch from '2026-07-24 08:53:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697966 -2.65211)', '2026-07-24 08:53:12', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69805 -2.652017)'), GeomFromEWKT('SRID=4674;POINT (-39.697966 -2.65211)'))) / (select extract(epoch from '2026-07-24 08:53:12'::timestamp) - extract(epoch from '2026-07-24 08:53:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69805 -2.652017)'), GeomFromEWKT('SRID=4674;POINT (-39.697966 -2.65211)'))) / (select extract(epoch from '2026-07-24 08:53:12'::timestamp) - extract(epoch from '2026-07-24 08:53: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'), 47870, 'SRID=4674;POINT (-39.697884 -2.652175)', '2026-07-24 08:53:18', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697966 -2.65211)'), GeomFromEWKT('SRID=4674;POINT (-39.697884 -2.652175)'))) / (select extract(epoch from '2026-07-24 08:53:18'::timestamp) - extract(epoch from '2026-07-24 08:53:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697966 -2.65211)'), GeomFromEWKT('SRID=4674;POINT (-39.697884 -2.652175)'))) / (select extract(epoch from '2026-07-24 08:53:18'::timestamp) - extract(epoch from '2026-07-24 08:53:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697794 -2.652243)', '2026-07-24 08:53:24', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697884 -2.652175)'), GeomFromEWKT('SRID=4674;POINT (-39.697794 -2.652243)'))) / (select extract(epoch from '2026-07-24 08:53:24'::timestamp) - extract(epoch from '2026-07-24 08:53:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697884 -2.652175)'), GeomFromEWKT('SRID=4674;POINT (-39.697794 -2.652243)'))) / (select extract(epoch from '2026-07-24 08:53:24'::timestamp) - extract(epoch from '2026-07-24 08:53:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697725 -2.652291)', '2026-07-24 08:53:30', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697794 -2.652243)'), GeomFromEWKT('SRID=4674;POINT (-39.697725 -2.652291)'))) / (select extract(epoch from '2026-07-24 08:53:30'::timestamp) - extract(epoch from '2026-07-24 08:53:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697794 -2.652243)'), GeomFromEWKT('SRID=4674;POINT (-39.697725 -2.652291)'))) / (select extract(epoch from '2026-07-24 08:53:30'::timestamp) - extract(epoch from '2026-07-24 08:53: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'), 47870, 'SRID=4674;POINT (-39.697704 -2.652301)', '2026-07-24 08:53:32', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697725 -2.652291)'), GeomFromEWKT('SRID=4674;POINT (-39.697704 -2.652301)'))) / (select extract(epoch from '2026-07-24 08:53:32'::timestamp) - extract(epoch from '2026-07-24 08:53:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697725 -2.652291)'), GeomFromEWKT('SRID=4674;POINT (-39.697704 -2.652301)'))) / (select extract(epoch from '2026-07-24 08:53:32'::timestamp) - extract(epoch from '2026-07-24 08:53: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'), 47870, 'SRID=4674;POINT (-39.697678 -2.652303)', '2026-07-24 08:53:35', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697704 -2.652301)'), GeomFromEWKT('SRID=4674;POINT (-39.697678 -2.652303)'))) / (select extract(epoch from '2026-07-24 08:53:35'::timestamp) - extract(epoch from '2026-07-24 08:53:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697704 -2.652301)'), GeomFromEWKT('SRID=4674;POINT (-39.697678 -2.652303)'))) / (select extract(epoch from '2026-07-24 08:53:35'::timestamp) - extract(epoch from '2026-07-24 08:53: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'), 47870, 'SRID=4674;POINT (-39.697666 -2.652294)', '2026-07-24 08:53:37', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697678 -2.652303)'), GeomFromEWKT('SRID=4674;POINT (-39.697666 -2.652294)'))) / (select extract(epoch from '2026-07-24 08:53:37'::timestamp) - extract(epoch from '2026-07-24 08:53:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697678 -2.652303)'), GeomFromEWKT('SRID=4674;POINT (-39.697666 -2.652294)'))) / (select extract(epoch from '2026-07-24 08:53:37'::timestamp) - extract(epoch from '2026-07-24 08:53: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'), 47870, 'SRID=4674;POINT (-39.697662 -2.652287)', '2026-07-24 08:53:39', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697666 -2.652294)'), GeomFromEWKT('SRID=4674;POINT (-39.697662 -2.652287)'))) / (select extract(epoch from '2026-07-24 08:53:39'::timestamp) - extract(epoch from '2026-07-24 08:53:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697666 -2.652294)'), GeomFromEWKT('SRID=4674;POINT (-39.697662 -2.652287)'))) / (select extract(epoch from '2026-07-24 08:53:39'::timestamp) - extract(epoch from '2026-07-24 08:53: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'), 47870, 'SRID=4674;POINT (-39.697672 -2.652263)', '2026-07-24 08:53:48', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697662 -2.652287)'), GeomFromEWKT('SRID=4674;POINT (-39.697672 -2.652263)'))) / (select extract(epoch from '2026-07-24 08:53:48'::timestamp) - extract(epoch from '2026-07-24 08:53:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697662 -2.652287)'), GeomFromEWKT('SRID=4674;POINT (-39.697672 -2.652263)'))) / (select extract(epoch from '2026-07-24 08:53:48'::timestamp) - extract(epoch from '2026-07-24 08:53:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697711 -2.652237)', '2026-07-24 08:53:57', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697672 -2.652263)'), GeomFromEWKT('SRID=4674;POINT (-39.697711 -2.652237)'))) / (select extract(epoch from '2026-07-24 08:53:57'::timestamp) - extract(epoch from '2026-07-24 08:53:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697672 -2.652263)'), GeomFromEWKT('SRID=4674;POINT (-39.697711 -2.652237)'))) / (select extract(epoch from '2026-07-24 08:53:57'::timestamp) - extract(epoch from '2026-07-24 08:53: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'), 47870, 'SRID=4674;POINT (-39.697745 -2.652216)', '2026-07-24 08:54:05', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697711 -2.652237)'), GeomFromEWKT('SRID=4674;POINT (-39.697745 -2.652216)'))) / (select extract(epoch from '2026-07-24 08:54:05'::timestamp) - extract(epoch from '2026-07-24 08:53:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697711 -2.652237)'), GeomFromEWKT('SRID=4674;POINT (-39.697745 -2.652216)'))) / (select extract(epoch from '2026-07-24 08:54:05'::timestamp) - extract(epoch from '2026-07-24 08:53: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'), 47870, 'SRID=4674;POINT (-39.697798 -2.652198)', '2026-07-24 08:54:15', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697745 -2.652216)'), GeomFromEWKT('SRID=4674;POINT (-39.697798 -2.652198)'))) / (select extract(epoch from '2026-07-24 08:54:15'::timestamp) - extract(epoch from '2026-07-24 08:54:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697745 -2.652216)'), GeomFromEWKT('SRID=4674;POINT (-39.697798 -2.652198)'))) / (select extract(epoch from '2026-07-24 08:54:15'::timestamp) - extract(epoch from '2026-07-24 08: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'), 47870, 'SRID=4674;POINT (-39.697852 -2.65218)', '2026-07-24 08:54:25', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697798 -2.652198)'), GeomFromEWKT('SRID=4674;POINT (-39.697852 -2.65218)'))) / (select extract(epoch from '2026-07-24 08:54:25'::timestamp) - extract(epoch from '2026-07-24 08:54:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697798 -2.652198)'), GeomFromEWKT('SRID=4674;POINT (-39.697852 -2.65218)'))) / (select extract(epoch from '2026-07-24 08:54:25'::timestamp) - extract(epoch from '2026-07-24 08: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'), 47870, 'SRID=4674;POINT (-39.697889 -2.652175)', '2026-07-24 08:54:33', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697852 -2.65218)'), GeomFromEWKT('SRID=4674;POINT (-39.697889 -2.652175)'))) / (select extract(epoch from '2026-07-24 08:54:33'::timestamp) - extract(epoch from '2026-07-24 08:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697852 -2.65218)'), GeomFromEWKT('SRID=4674;POINT (-39.697889 -2.652175)'))) / (select extract(epoch from '2026-07-24 08:54:33'::timestamp) - extract(epoch from '2026-07-24 08:54: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'), 47870, 'SRID=4674;POINT (-39.697916 -2.652164)', '2026-07-24 08:54:42', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697889 -2.652175)'), GeomFromEWKT('SRID=4674;POINT (-39.697916 -2.652164)'))) / (select extract(epoch from '2026-07-24 08:54:42'::timestamp) - extract(epoch from '2026-07-24 08:54:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697889 -2.652175)'), GeomFromEWKT('SRID=4674;POINT (-39.697916 -2.652164)'))) / (select extract(epoch from '2026-07-24 08:54:42'::timestamp) - extract(epoch from '2026-07-24 08:54: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'), 47870, 'SRID=4674;POINT (-39.69796 -2.652141)', '2026-07-24 08:54:52', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697916 -2.652164)'), GeomFromEWKT('SRID=4674;POINT (-39.69796 -2.652141)'))) / (select extract(epoch from '2026-07-24 08:54:52'::timestamp) - extract(epoch from '2026-07-24 08:54:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697916 -2.652164)'), GeomFromEWKT('SRID=4674;POINT (-39.69796 -2.652141)'))) / (select extract(epoch from '2026-07-24 08:54:52'::timestamp) - extract(epoch from '2026-07-24 08: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'), 47870, 'SRID=4674;POINT (-39.698 -2.652121)', '2026-07-24 08:55:03', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69796 -2.652141)'), GeomFromEWKT('SRID=4674;POINT (-39.698 -2.652121)'))) / (select extract(epoch from '2026-07-24 08:55:03'::timestamp) - extract(epoch from '2026-07-24 08:54:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69796 -2.652141)'), GeomFromEWKT('SRID=4674;POINT (-39.698 -2.652121)'))) / (select extract(epoch from '2026-07-24 08:55:03'::timestamp) - extract(epoch from '2026-07-24 08:54: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'), 47870, 'SRID=4674;POINT (-39.698053 -2.652118)', '2026-07-24 08:55:15', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698 -2.652121)'), GeomFromEWKT('SRID=4674;POINT (-39.698053 -2.652118)'))) / (select extract(epoch from '2026-07-24 08:55:15'::timestamp) - extract(epoch from '2026-07-24 08:55:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698 -2.652121)'), GeomFromEWKT('SRID=4674;POINT (-39.698053 -2.652118)'))) / (select extract(epoch from '2026-07-24 08:55:15'::timestamp) - extract(epoch from '2026-07-24 08:55:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698101 -2.652113)', '2026-07-24 08:55:25', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698053 -2.652118)'), GeomFromEWKT('SRID=4674;POINT (-39.698101 -2.652113)'))) / (select extract(epoch from '2026-07-24 08:55:25'::timestamp) - extract(epoch from '2026-07-24 08:55:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698053 -2.652118)'), GeomFromEWKT('SRID=4674;POINT (-39.698101 -2.652113)'))) / (select extract(epoch from '2026-07-24 08:55:25'::timestamp) - extract(epoch from '2026-07-24 08:55:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698141 -2.652112)', '2026-07-24 08:55:31', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698101 -2.652113)'), GeomFromEWKT('SRID=4674;POINT (-39.698141 -2.652112)'))) / (select extract(epoch from '2026-07-24 08:55:31'::timestamp) - extract(epoch from '2026-07-24 08:55:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698101 -2.652113)'), GeomFromEWKT('SRID=4674;POINT (-39.698141 -2.652112)'))) / (select extract(epoch from '2026-07-24 08:55:31'::timestamp) - extract(epoch from '2026-07-24 08:55:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698178 -2.652093)', '2026-07-24 08:55:38', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698141 -2.652112)'), GeomFromEWKT('SRID=4674;POINT (-39.698178 -2.652093)'))) / (select extract(epoch from '2026-07-24 08:55:38'::timestamp) - extract(epoch from '2026-07-24 08:55:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698141 -2.652112)'), GeomFromEWKT('SRID=4674;POINT (-39.698178 -2.652093)'))) / (select extract(epoch from '2026-07-24 08:55:38'::timestamp) - extract(epoch from '2026-07-24 08:55:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698203 -2.652046)', '2026-07-24 08:55:47', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698178 -2.652093)'), GeomFromEWKT('SRID=4674;POINT (-39.698203 -2.652046)'))) / (select extract(epoch from '2026-07-24 08:55:47'::timestamp) - extract(epoch from '2026-07-24 08:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698178 -2.652093)'), GeomFromEWKT('SRID=4674;POINT (-39.698203 -2.652046)'))) / (select extract(epoch from '2026-07-24 08:55:47'::timestamp) - extract(epoch from '2026-07-24 08:55:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698215 -2.652028)', '2026-07-24 08:55:50', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698203 -2.652046)'), GeomFromEWKT('SRID=4674;POINT (-39.698215 -2.652028)'))) / (select extract(epoch from '2026-07-24 08:55:50'::timestamp) - extract(epoch from '2026-07-24 08:55:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698203 -2.652046)'), GeomFromEWKT('SRID=4674;POINT (-39.698215 -2.652028)'))) / (select extract(epoch from '2026-07-24 08:55:50'::timestamp) - extract(epoch from '2026-07-24 08:55: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'), 47870, 'SRID=4674;POINT (-39.698224 -2.652015)', '2026-07-24 08:55:53', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698215 -2.652028)'), GeomFromEWKT('SRID=4674;POINT (-39.698224 -2.652015)'))) / (select extract(epoch from '2026-07-24 08:55:53'::timestamp) - extract(epoch from '2026-07-24 08:55:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698215 -2.652028)'), GeomFromEWKT('SRID=4674;POINT (-39.698224 -2.652015)'))) / (select extract(epoch from '2026-07-24 08:55:53'::timestamp) - extract(epoch from '2026-07-24 08:55: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'), 47870, 'SRID=4674;POINT (-39.698238 -2.652001)', '2026-07-24 08:56:00', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698224 -2.652015)'), GeomFromEWKT('SRID=4674;POINT (-39.698238 -2.652001)'))) / (select extract(epoch from '2026-07-24 08:56:00'::timestamp) - extract(epoch from '2026-07-24 08:55:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698224 -2.652015)'), GeomFromEWKT('SRID=4674;POINT (-39.698238 -2.652001)'))) / (select extract(epoch from '2026-07-24 08:56:00'::timestamp) - extract(epoch from '2026-07-24 08: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'), 47870, 'SRID=4674;POINT (-39.698248 -2.652)', '2026-07-24 08:56:02', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698238 -2.652001)'), GeomFromEWKT('SRID=4674;POINT (-39.698248 -2.652)'))) / (select extract(epoch from '2026-07-24 08:56:02'::timestamp) - extract(epoch from '2026-07-24 08:56:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698238 -2.652001)'), GeomFromEWKT('SRID=4674;POINT (-39.698248 -2.652)'))) / (select extract(epoch from '2026-07-24 08:56:02'::timestamp) - extract(epoch from '2026-07-24 08: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'), 47870, 'SRID=4674;POINT (-39.69826 -2.651993)', '2026-07-24 08:56:05', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698248 -2.652)'), GeomFromEWKT('SRID=4674;POINT (-39.69826 -2.651993)'))) / (select extract(epoch from '2026-07-24 08:56:05'::timestamp) - extract(epoch from '2026-07-24 08:56:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698248 -2.652)'), GeomFromEWKT('SRID=4674;POINT (-39.69826 -2.651993)'))) / (select extract(epoch from '2026-07-24 08:56:05'::timestamp) - extract(epoch from '2026-07-24 08:56:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698294 -2.651973)', '2026-07-24 08:56:14', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69826 -2.651993)'), GeomFromEWKT('SRID=4674;POINT (-39.698294 -2.651973)'))) / (select extract(epoch from '2026-07-24 08:56:14'::timestamp) - extract(epoch from '2026-07-24 08:56:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69826 -2.651993)'), GeomFromEWKT('SRID=4674;POINT (-39.698294 -2.651973)'))) / (select extract(epoch from '2026-07-24 08:56:14'::timestamp) - extract(epoch from '2026-07-24 08:56:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.6983 -2.651963)', '2026-07-24 08:56:23', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698294 -2.651973)'), GeomFromEWKT('SRID=4674;POINT (-39.6983 -2.651963)'))) / (select extract(epoch from '2026-07-24 08:56:23'::timestamp) - extract(epoch from '2026-07-24 08:56:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698294 -2.651973)'), GeomFromEWKT('SRID=4674;POINT (-39.6983 -2.651963)'))) / (select extract(epoch from '2026-07-24 08:56:23'::timestamp) - extract(epoch from '2026-07-24 08:56: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'), 47870, 'SRID=4674;POINT (-39.698281 -2.651947)', '2026-07-24 08:56:33', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6983 -2.651963)'), GeomFromEWKT('SRID=4674;POINT (-39.698281 -2.651947)'))) / (select extract(epoch from '2026-07-24 08:56:33'::timestamp) - extract(epoch from '2026-07-24 08:56:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6983 -2.651963)'), GeomFromEWKT('SRID=4674;POINT (-39.698281 -2.651947)'))) / (select extract(epoch from '2026-07-24 08:56:33'::timestamp) - extract(epoch from '2026-07-24 08:56: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'), 47870, 'SRID=4674;POINT (-39.698294 -2.651945)', '2026-07-24 08:56:46', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698281 -2.651947)'), GeomFromEWKT('SRID=4674;POINT (-39.698294 -2.651945)'))) / (select extract(epoch from '2026-07-24 08:56:46'::timestamp) - extract(epoch from '2026-07-24 08:56:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698281 -2.651947)'), GeomFromEWKT('SRID=4674;POINT (-39.698294 -2.651945)'))) / (select extract(epoch from '2026-07-24 08:56:46'::timestamp) - extract(epoch from '2026-07-24 08: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'), 47870, 'SRID=4674;POINT (-39.698305 -2.65195)', '2026-07-24 08:56:55', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698294 -2.651945)'), GeomFromEWKT('SRID=4674;POINT (-39.698305 -2.65195)'))) / (select extract(epoch from '2026-07-24 08:56:55'::timestamp) - extract(epoch from '2026-07-24 08:56:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698294 -2.651945)'), GeomFromEWKT('SRID=4674;POINT (-39.698305 -2.65195)'))) / (select extract(epoch from '2026-07-24 08:56:55'::timestamp) - extract(epoch from '2026-07-24 08:56: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'), 47870, 'SRID=4674;POINT (-39.698246 -2.651949)', '2026-07-24 08:57:04', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698305 -2.65195)'), GeomFromEWKT('SRID=4674;POINT (-39.698246 -2.651949)'))) / (select extract(epoch from '2026-07-24 08:57:04'::timestamp) - extract(epoch from '2026-07-24 08:56:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698305 -2.65195)'), GeomFromEWKT('SRID=4674;POINT (-39.698246 -2.651949)'))) / (select extract(epoch from '2026-07-24 08:57:04'::timestamp) - extract(epoch from '2026-07-24 08: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'), 47870, 'SRID=4674;POINT (-39.698214 -2.651949)', '2026-07-24 08:57:13', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698246 -2.651949)'), GeomFromEWKT('SRID=4674;POINT (-39.698214 -2.651949)'))) / (select extract(epoch from '2026-07-24 08:57:13'::timestamp) - extract(epoch from '2026-07-24 08:57:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698246 -2.651949)'), GeomFromEWKT('SRID=4674;POINT (-39.698214 -2.651949)'))) / (select extract(epoch from '2026-07-24 08:57:13'::timestamp) - extract(epoch from '2026-07-24 08:57:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698191 -2.651954)', '2026-07-24 08:57:22', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698214 -2.651949)'), GeomFromEWKT('SRID=4674;POINT (-39.698191 -2.651954)'))) / (select extract(epoch from '2026-07-24 08:57:22'::timestamp) - extract(epoch from '2026-07-24 08:57:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698214 -2.651949)'), GeomFromEWKT('SRID=4674;POINT (-39.698191 -2.651954)'))) / (select extract(epoch from '2026-07-24 08:57:22'::timestamp) - extract(epoch from '2026-07-24 08:57: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'), 47870, 'SRID=4674;POINT (-39.698179 -2.651964)', '2026-07-24 08:57:29', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698191 -2.651954)'), GeomFromEWKT('SRID=4674;POINT (-39.698179 -2.651964)'))) / (select extract(epoch from '2026-07-24 08:57:29'::timestamp) - extract(epoch from '2026-07-24 08:57:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698191 -2.651954)'), GeomFromEWKT('SRID=4674;POINT (-39.698179 -2.651964)'))) / (select extract(epoch from '2026-07-24 08:57:29'::timestamp) - extract(epoch from '2026-07-24 08:57:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698178 -2.65197)', '2026-07-24 08:57:40', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698179 -2.651964)'), GeomFromEWKT('SRID=4674;POINT (-39.698178 -2.65197)'))) / (select extract(epoch from '2026-07-24 08:57:40'::timestamp) - extract(epoch from '2026-07-24 08:57:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698179 -2.651964)'), GeomFromEWKT('SRID=4674;POINT (-39.698178 -2.65197)'))) / (select extract(epoch from '2026-07-24 08:57:40'::timestamp) - extract(epoch from '2026-07-24 08:57:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69819 -2.651967)', '2026-07-24 08:57:46', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698178 -2.65197)'), GeomFromEWKT('SRID=4674;POINT (-39.69819 -2.651967)'))) / (select extract(epoch from '2026-07-24 08:57:46'::timestamp) - extract(epoch from '2026-07-24 08:57:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698178 -2.65197)'), GeomFromEWKT('SRID=4674;POINT (-39.69819 -2.651967)'))) / (select extract(epoch from '2026-07-24 08:57:46'::timestamp) - extract(epoch from '2026-07-24 08:57:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698209 -2.65197)', '2026-07-24 08:57:54', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69819 -2.651967)'), GeomFromEWKT('SRID=4674;POINT (-39.698209 -2.65197)'))) / (select extract(epoch from '2026-07-24 08:57:54'::timestamp) - extract(epoch from '2026-07-24 08:57:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69819 -2.651967)'), GeomFromEWKT('SRID=4674;POINT (-39.698209 -2.65197)'))) / (select extract(epoch from '2026-07-24 08:57:54'::timestamp) - extract(epoch from '2026-07-24 08: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'), 47870, 'SRID=4674;POINT (-39.698247 -2.651985)', '2026-07-24 08:58:02', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698209 -2.65197)'), GeomFromEWKT('SRID=4674;POINT (-39.698247 -2.651985)'))) / (select extract(epoch from '2026-07-24 08:58:02'::timestamp) - extract(epoch from '2026-07-24 08:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698209 -2.65197)'), GeomFromEWKT('SRID=4674;POINT (-39.698247 -2.651985)'))) / (select extract(epoch from '2026-07-24 08:58:02'::timestamp) - extract(epoch from '2026-07-24 08:57:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698306 -2.652007)', '2026-07-24 08:58:13', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698247 -2.651985)'), GeomFromEWKT('SRID=4674;POINT (-39.698306 -2.652007)'))) / (select extract(epoch from '2026-07-24 08:58:13'::timestamp) - extract(epoch from '2026-07-24 08:58:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698247 -2.651985)'), GeomFromEWKT('SRID=4674;POINT (-39.698306 -2.652007)'))) / (select extract(epoch from '2026-07-24 08:58:13'::timestamp) - extract(epoch from '2026-07-24 08:58:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698302 -2.652042)', '2026-07-24 08:58:20', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698306 -2.652007)'), GeomFromEWKT('SRID=4674;POINT (-39.698302 -2.652042)'))) / (select extract(epoch from '2026-07-24 08:58:20'::timestamp) - extract(epoch from '2026-07-24 08:58:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698306 -2.652007)'), GeomFromEWKT('SRID=4674;POINT (-39.698302 -2.652042)'))) / (select extract(epoch from '2026-07-24 08:58:20'::timestamp) - extract(epoch from '2026-07-24 08:58: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'), 47870, 'SRID=4674;POINT (-39.698238 -2.652097)', '2026-07-24 08:58:27', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698302 -2.652042)'), GeomFromEWKT('SRID=4674;POINT (-39.698238 -2.652097)'))) / (select extract(epoch from '2026-07-24 08:58:27'::timestamp) - extract(epoch from '2026-07-24 08:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698302 -2.652042)'), GeomFromEWKT('SRID=4674;POINT (-39.698238 -2.652097)'))) / (select extract(epoch from '2026-07-24 08:58:27'::timestamp) - extract(epoch from '2026-07-24 08: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'), 47870, 'SRID=4674;POINT (-39.698169 -2.652151)', '2026-07-24 08:58:33', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698238 -2.652097)'), GeomFromEWKT('SRID=4674;POINT (-39.698169 -2.652151)'))) / (select extract(epoch from '2026-07-24 08:58:33'::timestamp) - extract(epoch from '2026-07-24 08:58:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698238 -2.652097)'), GeomFromEWKT('SRID=4674;POINT (-39.698169 -2.652151)'))) / (select extract(epoch from '2026-07-24 08:58:33'::timestamp) - extract(epoch from '2026-07-24 08:58: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'), 47870, 'SRID=4674;POINT (-39.698093 -2.652239)', '2026-07-24 08:58:40', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698169 -2.652151)'), GeomFromEWKT('SRID=4674;POINT (-39.698093 -2.652239)'))) / (select extract(epoch from '2026-07-24 08:58:40'::timestamp) - extract(epoch from '2026-07-24 08:58:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698169 -2.652151)'), GeomFromEWKT('SRID=4674;POINT (-39.698093 -2.652239)'))) / (select extract(epoch from '2026-07-24 08:58:40'::timestamp) - extract(epoch from '2026-07-24 08:58: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'), 47870, 'SRID=4674;POINT (-39.698004 -2.652361)', '2026-07-24 08:58:48', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698093 -2.652239)'), GeomFromEWKT('SRID=4674;POINT (-39.698004 -2.652361)'))) / (select extract(epoch from '2026-07-24 08:58:48'::timestamp) - extract(epoch from '2026-07-24 08:58:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698093 -2.652239)'), GeomFromEWKT('SRID=4674;POINT (-39.698004 -2.652361)'))) / (select extract(epoch from '2026-07-24 08:58:48'::timestamp) - extract(epoch from '2026-07-24 08:58: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'), 47870, 'SRID=4674;POINT (-39.697934 -2.652486)', '2026-07-24 08:58:55', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698004 -2.652361)'), GeomFromEWKT('SRID=4674;POINT (-39.697934 -2.652486)'))) / (select extract(epoch from '2026-07-24 08:58:55'::timestamp) - extract(epoch from '2026-07-24 08:58:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698004 -2.652361)'), GeomFromEWKT('SRID=4674;POINT (-39.697934 -2.652486)'))) / (select extract(epoch from '2026-07-24 08:58:55'::timestamp) - extract(epoch from '2026-07-24 08: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'), 47870, 'SRID=4674;POINT (-39.697874 -2.652575)', '2026-07-24 08:59:01', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697934 -2.652486)'), GeomFromEWKT('SRID=4674;POINT (-39.697874 -2.652575)'))) / (select extract(epoch from '2026-07-24 08:59:01'::timestamp) - extract(epoch from '2026-07-24 08:58:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697934 -2.652486)'), GeomFromEWKT('SRID=4674;POINT (-39.697874 -2.652575)'))) / (select extract(epoch from '2026-07-24 08:59:01'::timestamp) - extract(epoch from '2026-07-24 08: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'), 47870, 'SRID=4674;POINT (-39.69784 -2.65265)', '2026-07-24 08:59:06', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697874 -2.652575)'), GeomFromEWKT('SRID=4674;POINT (-39.69784 -2.65265)'))) / (select extract(epoch from '2026-07-24 08:59:06'::timestamp) - extract(epoch from '2026-07-24 08:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697874 -2.652575)'), GeomFromEWKT('SRID=4674;POINT (-39.69784 -2.65265)'))) / (select extract(epoch from '2026-07-24 08:59:06'::timestamp) - extract(epoch from '2026-07-24 08: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'), 47870, 'SRID=4674;POINT (-39.697807 -2.65268)', '2026-07-24 08:59:09', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69784 -2.65265)'), GeomFromEWKT('SRID=4674;POINT (-39.697807 -2.65268)'))) / (select extract(epoch from '2026-07-24 08:59:09'::timestamp) - extract(epoch from '2026-07-24 08:59:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69784 -2.65265)'), GeomFromEWKT('SRID=4674;POINT (-39.697807 -2.65268)'))) / (select extract(epoch from '2026-07-24 08:59:09'::timestamp) - extract(epoch from '2026-07-24 08:59:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69779 -2.652709)', '2026-07-24 08:59:11', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697807 -2.65268)'), GeomFromEWKT('SRID=4674;POINT (-39.69779 -2.652709)'))) / (select extract(epoch from '2026-07-24 08:59:11'::timestamp) - extract(epoch from '2026-07-24 08:59:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697807 -2.65268)'), GeomFromEWKT('SRID=4674;POINT (-39.69779 -2.652709)'))) / (select extract(epoch from '2026-07-24 08:59:11'::timestamp) - extract(epoch from '2026-07-24 08:59: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'), 47870, 'SRID=4674;POINT (-39.697705 -2.652803)', '2026-07-24 08:59:18', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69779 -2.652709)'), GeomFromEWKT('SRID=4674;POINT (-39.697705 -2.652803)'))) / (select extract(epoch from '2026-07-24 08:59:18'::timestamp) - extract(epoch from '2026-07-24 08:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69779 -2.652709)'), GeomFromEWKT('SRID=4674;POINT (-39.697705 -2.652803)'))) / (select extract(epoch from '2026-07-24 08:59:18'::timestamp) - extract(epoch from '2026-07-24 08:59: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'), 47870, 'SRID=4674;POINT (-39.697642 -2.6529)', '2026-07-24 08:59:24', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697705 -2.652803)'), GeomFromEWKT('SRID=4674;POINT (-39.697642 -2.6529)'))) / (select extract(epoch from '2026-07-24 08:59:24'::timestamp) - extract(epoch from '2026-07-24 08:59:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697705 -2.652803)'), GeomFromEWKT('SRID=4674;POINT (-39.697642 -2.6529)'))) / (select extract(epoch from '2026-07-24 08:59:24'::timestamp) - extract(epoch from '2026-07-24 08:59:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697619 -2.653015)', '2026-07-24 08:59:30', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697642 -2.6529)'), GeomFromEWKT('SRID=4674;POINT (-39.697619 -2.653015)'))) / (select extract(epoch from '2026-07-24 08:59:30'::timestamp) - extract(epoch from '2026-07-24 08:59:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697642 -2.6529)'), GeomFromEWKT('SRID=4674;POINT (-39.697619 -2.653015)'))) / (select extract(epoch from '2026-07-24 08:59:30'::timestamp) - extract(epoch from '2026-07-24 08:59: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'), 47870, 'SRID=4674;POINT (-39.697614 -2.653054)', '2026-07-24 08:59:32', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697619 -2.653015)'), GeomFromEWKT('SRID=4674;POINT (-39.697614 -2.653054)'))) / (select extract(epoch from '2026-07-24 08:59:32'::timestamp) - extract(epoch from '2026-07-24 08:59:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697619 -2.653015)'), GeomFromEWKT('SRID=4674;POINT (-39.697614 -2.653054)'))) / (select extract(epoch from '2026-07-24 08:59:32'::timestamp) - extract(epoch from '2026-07-24 08:59: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'), 47870, 'SRID=4674;POINT (-39.697614 -2.653096)', '2026-07-24 08:59:34', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697614 -2.653054)'), GeomFromEWKT('SRID=4674;POINT (-39.697614 -2.653096)'))) / (select extract(epoch from '2026-07-24 08:59:34'::timestamp) - extract(epoch from '2026-07-24 08:59:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697614 -2.653054)'), GeomFromEWKT('SRID=4674;POINT (-39.697614 -2.653096)'))) / (select extract(epoch from '2026-07-24 08:59:34'::timestamp) - extract(epoch from '2026-07-24 08:59:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697626 -2.653231)', '2026-07-24 08:59:40', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697614 -2.653096)'), GeomFromEWKT('SRID=4674;POINT (-39.697626 -2.653231)'))) / (select extract(epoch from '2026-07-24 08:59:40'::timestamp) - extract(epoch from '2026-07-24 08:59:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697614 -2.653096)'), GeomFromEWKT('SRID=4674;POINT (-39.697626 -2.653231)'))) / (select extract(epoch from '2026-07-24 08:59:40'::timestamp) - extract(epoch from '2026-07-24 08:59: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'), 47870, 'SRID=4674;POINT (-39.697642 -2.653345)', '2026-07-24 08:59:45', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697626 -2.653231)'), GeomFromEWKT('SRID=4674;POINT (-39.697642 -2.653345)'))) / (select extract(epoch from '2026-07-24 08:59:45'::timestamp) - extract(epoch from '2026-07-24 08:59:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697626 -2.653231)'), GeomFromEWKT('SRID=4674;POINT (-39.697642 -2.653345)'))) / (select extract(epoch from '2026-07-24 08:59:45'::timestamp) - extract(epoch from '2026-07-24 08:59:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697664 -2.653506)', '2026-07-24 08:59:52', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697642 -2.653345)'), GeomFromEWKT('SRID=4674;POINT (-39.697664 -2.653506)'))) / (select extract(epoch from '2026-07-24 08:59:52'::timestamp) - extract(epoch from '2026-07-24 08:59:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697642 -2.653345)'), GeomFromEWKT('SRID=4674;POINT (-39.697664 -2.653506)'))) / (select extract(epoch from '2026-07-24 08:59:52'::timestamp) - extract(epoch from '2026-07-24 08:59:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697668 -2.653632)', '2026-07-24 08:59:58', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697664 -2.653506)'), GeomFromEWKT('SRID=4674;POINT (-39.697668 -2.653632)'))) / (select extract(epoch from '2026-07-24 08:59:58'::timestamp) - extract(epoch from '2026-07-24 08:59:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697664 -2.653506)'), GeomFromEWKT('SRID=4674;POINT (-39.697668 -2.653632)'))) / (select extract(epoch from '2026-07-24 08:59:58'::timestamp) - extract(epoch from '2026-07-24 08:59: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'), 47870, 'SRID=4674;POINT (-39.697669 -2.653793)', '2026-07-24 09:00:05', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697668 -2.653632)'), GeomFromEWKT('SRID=4674;POINT (-39.697669 -2.653793)'))) / (select extract(epoch from '2026-07-24 09:00:05'::timestamp) - extract(epoch from '2026-07-24 08:59:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697668 -2.653632)'), GeomFromEWKT('SRID=4674;POINT (-39.697669 -2.653793)'))) / (select extract(epoch from '2026-07-24 09:00:05'::timestamp) - extract(epoch from '2026-07-24 08:59:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697692 -2.653892)', '2026-07-24 09:00:10', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697669 -2.653793)'), GeomFromEWKT('SRID=4674;POINT (-39.697692 -2.653892)'))) / (select extract(epoch from '2026-07-24 09:00:10'::timestamp) - extract(epoch from '2026-07-24 09:00:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697669 -2.653793)'), GeomFromEWKT('SRID=4674;POINT (-39.697692 -2.653892)'))) / (select extract(epoch from '2026-07-24 09:00:10'::timestamp) - extract(epoch from '2026-07-24 09:00:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697726 -2.653978)', '2026-07-24 09:00:16', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697692 -2.653892)'), GeomFromEWKT('SRID=4674;POINT (-39.697726 -2.653978)'))) / (select extract(epoch from '2026-07-24 09:00:16'::timestamp) - extract(epoch from '2026-07-24 09:00:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697692 -2.653892)'), GeomFromEWKT('SRID=4674;POINT (-39.697726 -2.653978)'))) / (select extract(epoch from '2026-07-24 09:00:16'::timestamp) - extract(epoch from '2026-07-24 09:00: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'), 47870, 'SRID=4674;POINT (-39.697779 -2.654036)', '2026-07-24 09:00:22', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697726 -2.653978)'), GeomFromEWKT('SRID=4674;POINT (-39.697779 -2.654036)'))) / (select extract(epoch from '2026-07-24 09:00:22'::timestamp) - extract(epoch from '2026-07-24 09:00:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697726 -2.653978)'), GeomFromEWKT('SRID=4674;POINT (-39.697779 -2.654036)'))) / (select extract(epoch from '2026-07-24 09:00:22'::timestamp) - extract(epoch from '2026-07-24 09: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'), 47870, 'SRID=4674;POINT (-39.697884 -2.654052)', '2026-07-24 09:00:29', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697779 -2.654036)'), GeomFromEWKT('SRID=4674;POINT (-39.697884 -2.654052)'))) / (select extract(epoch from '2026-07-24 09:00:29'::timestamp) - extract(epoch from '2026-07-24 09:00:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697779 -2.654036)'), GeomFromEWKT('SRID=4674;POINT (-39.697884 -2.654052)'))) / (select extract(epoch from '2026-07-24 09:00:29'::timestamp) - extract(epoch from '2026-07-24 09:00: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'), 47870, 'SRID=4674;POINT (-39.697938 -2.654023)', '2026-07-24 09:00:34', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697884 -2.654052)'), GeomFromEWKT('SRID=4674;POINT (-39.697938 -2.654023)'))) / (select extract(epoch from '2026-07-24 09:00:34'::timestamp) - extract(epoch from '2026-07-24 09:00:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697884 -2.654052)'), GeomFromEWKT('SRID=4674;POINT (-39.697938 -2.654023)'))) / (select extract(epoch from '2026-07-24 09:00:34'::timestamp) - extract(epoch from '2026-07-24 09:00:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697986 -2.653985)', '2026-07-24 09:00:39', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697938 -2.654023)'), GeomFromEWKT('SRID=4674;POINT (-39.697986 -2.653985)'))) / (select extract(epoch from '2026-07-24 09:00:39'::timestamp) - extract(epoch from '2026-07-24 09:00:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697938 -2.654023)'), GeomFromEWKT('SRID=4674;POINT (-39.697986 -2.653985)'))) / (select extract(epoch from '2026-07-24 09:00:39'::timestamp) - extract(epoch from '2026-07-24 09:00:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698021 -2.653939)', '2026-07-24 09:00:44', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697986 -2.653985)'), GeomFromEWKT('SRID=4674;POINT (-39.698021 -2.653939)'))) / (select extract(epoch from '2026-07-24 09:00:44'::timestamp) - extract(epoch from '2026-07-24 09:00:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697986 -2.653985)'), GeomFromEWKT('SRID=4674;POINT (-39.698021 -2.653939)'))) / (select extract(epoch from '2026-07-24 09:00:44'::timestamp) - extract(epoch from '2026-07-24 09:00:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69802 -2.653891)', '2026-07-24 09:00:52', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698021 -2.653939)'), GeomFromEWKT('SRID=4674;POINT (-39.69802 -2.653891)'))) / (select extract(epoch from '2026-07-24 09:00:52'::timestamp) - extract(epoch from '2026-07-24 09:00:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698021 -2.653939)'), GeomFromEWKT('SRID=4674;POINT (-39.69802 -2.653891)'))) / (select extract(epoch from '2026-07-24 09:00:52'::timestamp) - extract(epoch from '2026-07-24 09:00: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'), 47870, 'SRID=4674;POINT (-39.698004 -2.653873)', '2026-07-24 09:00:59', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69802 -2.653891)'), GeomFromEWKT('SRID=4674;POINT (-39.698004 -2.653873)'))) / (select extract(epoch from '2026-07-24 09:00:59'::timestamp) - extract(epoch from '2026-07-24 09:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69802 -2.653891)'), GeomFromEWKT('SRID=4674;POINT (-39.698004 -2.653873)'))) / (select extract(epoch from '2026-07-24 09:00:59'::timestamp) - extract(epoch from '2026-07-24 09:00:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698016 -2.653863)', '2026-07-24 09:01:07', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698004 -2.653873)'), GeomFromEWKT('SRID=4674;POINT (-39.698016 -2.653863)'))) / (select extract(epoch from '2026-07-24 09:01:07'::timestamp) - extract(epoch from '2026-07-24 09:00:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698004 -2.653873)'), GeomFromEWKT('SRID=4674;POINT (-39.698016 -2.653863)'))) / (select extract(epoch from '2026-07-24 09:01:07'::timestamp) - extract(epoch from '2026-07-24 09:00:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698044 -2.65385)', '2026-07-24 09:01:19', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698016 -2.653863)'), GeomFromEWKT('SRID=4674;POINT (-39.698044 -2.65385)'))) / (select extract(epoch from '2026-07-24 09:01:19'::timestamp) - extract(epoch from '2026-07-24 09:01:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698016 -2.653863)'), GeomFromEWKT('SRID=4674;POINT (-39.698044 -2.65385)'))) / (select extract(epoch from '2026-07-24 09:01:19'::timestamp) - extract(epoch from '2026-07-24 09: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'), 47870, 'SRID=4674;POINT (-39.698055 -2.65381)', '2026-07-24 09:01:27', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698044 -2.65385)'), GeomFromEWKT('SRID=4674;POINT (-39.698055 -2.65381)'))) / (select extract(epoch from '2026-07-24 09:01:27'::timestamp) - extract(epoch from '2026-07-24 09:01:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698044 -2.65385)'), GeomFromEWKT('SRID=4674;POINT (-39.698055 -2.65381)'))) / (select extract(epoch from '2026-07-24 09:01:27'::timestamp) - extract(epoch from '2026-07-24 09: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'), 47870, 'SRID=4674;POINT (-39.698061 -2.653773)', '2026-07-24 09:01:39', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698055 -2.65381)'), GeomFromEWKT('SRID=4674;POINT (-39.698061 -2.653773)'))) / (select extract(epoch from '2026-07-24 09:01:39'::timestamp) - extract(epoch from '2026-07-24 09:01:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698055 -2.65381)'), GeomFromEWKT('SRID=4674;POINT (-39.698061 -2.653773)'))) / (select extract(epoch from '2026-07-24 09:01:39'::timestamp) - extract(epoch from '2026-07-24 09:01: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'), 47870, 'SRID=4674;POINT (-39.698079 -2.653736)', '2026-07-24 09:01:48', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698061 -2.653773)'), GeomFromEWKT('SRID=4674;POINT (-39.698079 -2.653736)'))) / (select extract(epoch from '2026-07-24 09:01:48'::timestamp) - extract(epoch from '2026-07-24 09:01:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698061 -2.653773)'), GeomFromEWKT('SRID=4674;POINT (-39.698079 -2.653736)'))) / (select extract(epoch from '2026-07-24 09:01:48'::timestamp) - extract(epoch from '2026-07-24 09: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'), 47870, 'SRID=4674;POINT (-39.698111 -2.653718)', '2026-07-24 09:01:55', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698079 -2.653736)'), GeomFromEWKT('SRID=4674;POINT (-39.698111 -2.653718)'))) / (select extract(epoch from '2026-07-24 09:01:55'::timestamp) - extract(epoch from '2026-07-24 09:01:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698079 -2.653736)'), GeomFromEWKT('SRID=4674;POINT (-39.698111 -2.653718)'))) / (select extract(epoch from '2026-07-24 09:01:55'::timestamp) - extract(epoch from '2026-07-24 09:01:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698127 -2.653681)', '2026-07-24 09:02:03', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698111 -2.653718)'), GeomFromEWKT('SRID=4674;POINT (-39.698127 -2.653681)'))) / (select extract(epoch from '2026-07-24 09:02:03'::timestamp) - extract(epoch from '2026-07-24 09:01:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698111 -2.653718)'), GeomFromEWKT('SRID=4674;POINT (-39.698127 -2.653681)'))) / (select extract(epoch from '2026-07-24 09:02:03'::timestamp) - extract(epoch from '2026-07-24 09:01: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'), 47870, 'SRID=4674;POINT (-39.698139 -2.653652)', '2026-07-24 09:02:10', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698127 -2.653681)'), GeomFromEWKT('SRID=4674;POINT (-39.698139 -2.653652)'))) / (select extract(epoch from '2026-07-24 09:02:10'::timestamp) - extract(epoch from '2026-07-24 09:02:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698127 -2.653681)'), GeomFromEWKT('SRID=4674;POINT (-39.698139 -2.653652)'))) / (select extract(epoch from '2026-07-24 09:02:10'::timestamp) - extract(epoch from '2026-07-24 09:02:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698131 -2.653644)', '2026-07-24 09:02:16', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698139 -2.653652)'), GeomFromEWKT('SRID=4674;POINT (-39.698131 -2.653644)'))) / (select extract(epoch from '2026-07-24 09:02:16'::timestamp) - extract(epoch from '2026-07-24 09:02:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698139 -2.653652)'), GeomFromEWKT('SRID=4674;POINT (-39.698131 -2.653644)'))) / (select extract(epoch from '2026-07-24 09:02:16'::timestamp) - extract(epoch from '2026-07-24 09:02:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698086 -2.653615)', '2026-07-24 09:02:25', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698131 -2.653644)'), GeomFromEWKT('SRID=4674;POINT (-39.698086 -2.653615)'))) / (select extract(epoch from '2026-07-24 09:02:25'::timestamp) - extract(epoch from '2026-07-24 09:02:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698131 -2.653644)'), GeomFromEWKT('SRID=4674;POINT (-39.698086 -2.653615)'))) / (select extract(epoch from '2026-07-24 09:02:25'::timestamp) - extract(epoch from '2026-07-24 09:02:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698058 -2.653587)', '2026-07-24 09:02:32', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698086 -2.653615)'), GeomFromEWKT('SRID=4674;POINT (-39.698058 -2.653587)'))) / (select extract(epoch from '2026-07-24 09:02:32'::timestamp) - extract(epoch from '2026-07-24 09:02:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698086 -2.653615)'), GeomFromEWKT('SRID=4674;POINT (-39.698058 -2.653587)'))) / (select extract(epoch from '2026-07-24 09:02:32'::timestamp) - extract(epoch from '2026-07-24 09:02:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698065 -2.653564)', '2026-07-24 09:02:40', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698058 -2.653587)'), GeomFromEWKT('SRID=4674;POINT (-39.698065 -2.653564)'))) / (select extract(epoch from '2026-07-24 09:02:40'::timestamp) - extract(epoch from '2026-07-24 09:02:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698058 -2.653587)'), GeomFromEWKT('SRID=4674;POINT (-39.698065 -2.653564)'))) / (select extract(epoch from '2026-07-24 09:02:40'::timestamp) - extract(epoch from '2026-07-24 09:02:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698078 -2.653556)', '2026-07-24 09:02:47', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698065 -2.653564)'), GeomFromEWKT('SRID=4674;POINT (-39.698078 -2.653556)'))) / (select extract(epoch from '2026-07-24 09:02:47'::timestamp) - extract(epoch from '2026-07-24 09:02:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698065 -2.653564)'), GeomFromEWKT('SRID=4674;POINT (-39.698078 -2.653556)'))) / (select extract(epoch from '2026-07-24 09:02:47'::timestamp) - extract(epoch from '2026-07-24 09:02: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'), 47870, 'SRID=4674;POINT (-39.698088 -2.653533)', '2026-07-24 09:02:57', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698078 -2.653556)'), GeomFromEWKT('SRID=4674;POINT (-39.698088 -2.653533)'))) / (select extract(epoch from '2026-07-24 09:02:57'::timestamp) - extract(epoch from '2026-07-24 09:02:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698078 -2.653556)'), GeomFromEWKT('SRID=4674;POINT (-39.698088 -2.653533)'))) / (select extract(epoch from '2026-07-24 09:02:57'::timestamp) - extract(epoch from '2026-07-24 09:02:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698099 -2.653516)', '2026-07-24 09:03:05', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698088 -2.653533)'), GeomFromEWKT('SRID=4674;POINT (-39.698099 -2.653516)'))) / (select extract(epoch from '2026-07-24 09:03:05'::timestamp) - extract(epoch from '2026-07-24 09:02:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698088 -2.653533)'), GeomFromEWKT('SRID=4674;POINT (-39.698099 -2.653516)'))) / (select extract(epoch from '2026-07-24 09:03:05'::timestamp) - extract(epoch from '2026-07-24 09:02: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'), 47870, 'SRID=4674;POINT (-39.698093 -2.653518)', '2026-07-24 09:03:12', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698099 -2.653516)'), GeomFromEWKT('SRID=4674;POINT (-39.698093 -2.653518)'))) / (select extract(epoch from '2026-07-24 09:03:12'::timestamp) - extract(epoch from '2026-07-24 09:03:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698099 -2.653516)'), GeomFromEWKT('SRID=4674;POINT (-39.698093 -2.653518)'))) / (select extract(epoch from '2026-07-24 09:03:12'::timestamp) - extract(epoch from '2026-07-24 09: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'), 47870, 'SRID=4674;POINT (-39.697994 -2.653589)', '2026-07-24 09:03:22', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698093 -2.653518)'), GeomFromEWKT('SRID=4674;POINT (-39.697994 -2.653589)'))) / (select extract(epoch from '2026-07-24 09:03:22'::timestamp) - extract(epoch from '2026-07-24 09:03:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698093 -2.653518)'), GeomFromEWKT('SRID=4674;POINT (-39.697994 -2.653589)'))) / (select extract(epoch from '2026-07-24 09:03:22'::timestamp) - extract(epoch from '2026-07-24 09:03: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'), 47870, 'SRID=4674;POINT (-39.697927 -2.653669)', '2026-07-24 09:03:28', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697994 -2.653589)'), GeomFromEWKT('SRID=4674;POINT (-39.697927 -2.653669)'))) / (select extract(epoch from '2026-07-24 09:03:28'::timestamp) - extract(epoch from '2026-07-24 09:03:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697994 -2.653589)'), GeomFromEWKT('SRID=4674;POINT (-39.697927 -2.653669)'))) / (select extract(epoch from '2026-07-24 09:03:28'::timestamp) - extract(epoch from '2026-07-24 09:03: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'), 47870, 'SRID=4674;POINT (-39.697917 -2.653682)', '2026-07-24 09:03:29', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697927 -2.653669)'), GeomFromEWKT('SRID=4674;POINT (-39.697917 -2.653682)'))) / (select extract(epoch from '2026-07-24 09:03:29'::timestamp) - extract(epoch from '2026-07-24 09:03:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697927 -2.653669)'), GeomFromEWKT('SRID=4674;POINT (-39.697917 -2.653682)'))) / (select extract(epoch from '2026-07-24 09:03:29'::timestamp) - extract(epoch from '2026-07-24 09:03:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69787 -2.653767)', '2026-07-24 09:03:34', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697917 -2.653682)'), GeomFromEWKT('SRID=4674;POINT (-39.69787 -2.653767)'))) / (select extract(epoch from '2026-07-24 09:03:34'::timestamp) - extract(epoch from '2026-07-24 09:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697917 -2.653682)'), GeomFromEWKT('SRID=4674;POINT (-39.69787 -2.653767)'))) / (select extract(epoch from '2026-07-24 09:03:34'::timestamp) - extract(epoch from '2026-07-24 09:03:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697822 -2.653854)', '2026-07-24 09:03:39', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69787 -2.653767)'), GeomFromEWKT('SRID=4674;POINT (-39.697822 -2.653854)'))) / (select extract(epoch from '2026-07-24 09:03:39'::timestamp) - extract(epoch from '2026-07-24 09:03:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69787 -2.653767)'), GeomFromEWKT('SRID=4674;POINT (-39.697822 -2.653854)'))) / (select extract(epoch from '2026-07-24 09:03:39'::timestamp) - extract(epoch from '2026-07-24 09:03: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'), 47870, 'SRID=4674;POINT (-39.697792 -2.653905)', '2026-07-24 09:03:42', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697822 -2.653854)'), GeomFromEWKT('SRID=4674;POINT (-39.697792 -2.653905)'))) / (select extract(epoch from '2026-07-24 09:03:42'::timestamp) - extract(epoch from '2026-07-24 09:03:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697822 -2.653854)'), GeomFromEWKT('SRID=4674;POINT (-39.697792 -2.653905)'))) / (select extract(epoch from '2026-07-24 09:03:42'::timestamp) - extract(epoch from '2026-07-24 09:03: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'), 47870, 'SRID=4674;POINT (-39.69777 -2.653939)', '2026-07-24 09:03:44', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697792 -2.653905)'), GeomFromEWKT('SRID=4674;POINT (-39.69777 -2.653939)'))) / (select extract(epoch from '2026-07-24 09:03:44'::timestamp) - extract(epoch from '2026-07-24 09:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697792 -2.653905)'), GeomFromEWKT('SRID=4674;POINT (-39.69777 -2.653939)'))) / (select extract(epoch from '2026-07-24 09:03:44'::timestamp) - extract(epoch from '2026-07-24 09:03:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697763 -2.653956)', '2026-07-24 09:03:45', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69777 -2.653939)'), GeomFromEWKT('SRID=4674;POINT (-39.697763 -2.653956)'))) / (select extract(epoch from '2026-07-24 09:03:45'::timestamp) - extract(epoch from '2026-07-24 09:03:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69777 -2.653939)'), GeomFromEWKT('SRID=4674;POINT (-39.697763 -2.653956)'))) / (select extract(epoch from '2026-07-24 09:03:45'::timestamp) - extract(epoch from '2026-07-24 09: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'), 47870, 'SRID=4674;POINT (-39.697746 -2.654046)', '2026-07-24 09:03:49', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697763 -2.653956)'), GeomFromEWKT('SRID=4674;POINT (-39.697746 -2.654046)'))) / (select extract(epoch from '2026-07-24 09:03:49'::timestamp) - extract(epoch from '2026-07-24 09:03:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697763 -2.653956)'), GeomFromEWKT('SRID=4674;POINT (-39.697746 -2.654046)'))) / (select extract(epoch from '2026-07-24 09:03:49'::timestamp) - extract(epoch from '2026-07-24 09:03:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697743 -2.654155)', '2026-07-24 09:03:54', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697746 -2.654046)'), GeomFromEWKT('SRID=4674;POINT (-39.697743 -2.654155)'))) / (select extract(epoch from '2026-07-24 09:03:54'::timestamp) - extract(epoch from '2026-07-24 09:03:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697746 -2.654046)'), GeomFromEWKT('SRID=4674;POINT (-39.697743 -2.654155)'))) / (select extract(epoch from '2026-07-24 09:03:54'::timestamp) - extract(epoch from '2026-07-24 09:03: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'), 47870, 'SRID=4674;POINT (-39.697738 -2.654325)', '2026-07-24 09:04:02', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697743 -2.654155)'), GeomFromEWKT('SRID=4674;POINT (-39.697738 -2.654325)'))) / (select extract(epoch from '2026-07-24 09:04:02'::timestamp) - extract(epoch from '2026-07-24 09:03:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697743 -2.654155)'), GeomFromEWKT('SRID=4674;POINT (-39.697738 -2.654325)'))) / (select extract(epoch from '2026-07-24 09:04:02'::timestamp) - extract(epoch from '2026-07-24 09:03:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
