 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.369188 -3.087724)', '2026-08-11 16:10:20', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369176 -3.087683)'), GeomFromEWKT('SRID=4674;POINT (-39.369188 -3.087724)'))) / (select extract(epoch from '2026-08-11 16:10:20'::timestamp) - extract(epoch from '2026-08-11 16:10:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369176 -3.087683)'), GeomFromEWKT('SRID=4674;POINT (-39.369188 -3.087724)'))) / (select extract(epoch from '2026-08-11 16:10:20'::timestamp) - extract(epoch from '2026-08-11 16:10:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.369192 -3.087773)', '2026-08-11 16:10:22', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369188 -3.087724)'), GeomFromEWKT('SRID=4674;POINT (-39.369192 -3.087773)'))) / (select extract(epoch from '2026-08-11 16:10:22'::timestamp) - extract(epoch from '2026-08-11 16:10:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369188 -3.087724)'), GeomFromEWKT('SRID=4674;POINT (-39.369192 -3.087773)'))) / (select extract(epoch from '2026-08-11 16:10:22'::timestamp) - extract(epoch from '2026-08-11 16:10:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.369211 -3.087913)', '2026-08-11 16:10:28', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369192 -3.087773)'), GeomFromEWKT('SRID=4674;POINT (-39.369211 -3.087913)'))) / (select extract(epoch from '2026-08-11 16:10:28'::timestamp) - extract(epoch from '2026-08-11 16:10:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369192 -3.087773)'), GeomFromEWKT('SRID=4674;POINT (-39.369211 -3.087913)'))) / (select extract(epoch from '2026-08-11 16:10:28'::timestamp) - extract(epoch from '2026-08-11 16:10:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.369231 -3.088026)', '2026-08-11 16:10:33', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369211 -3.087913)'), GeomFromEWKT('SRID=4674;POINT (-39.369231 -3.088026)'))) / (select extract(epoch from '2026-08-11 16:10:33'::timestamp) - extract(epoch from '2026-08-11 16:10:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369211 -3.087913)'), GeomFromEWKT('SRID=4674;POINT (-39.369231 -3.088026)'))) / (select extract(epoch from '2026-08-11 16:10:33'::timestamp) - extract(epoch from '2026-08-11 16:10:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.369256 -3.088161)', '2026-08-11 16:10:39', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369231 -3.088026)'), GeomFromEWKT('SRID=4674;POINT (-39.369256 -3.088161)'))) / (select extract(epoch from '2026-08-11 16:10:39'::timestamp) - extract(epoch from '2026-08-11 16:10:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369231 -3.088026)'), GeomFromEWKT('SRID=4674;POINT (-39.369256 -3.088161)'))) / (select extract(epoch from '2026-08-11 16:10:39'::timestamp) - extract(epoch from '2026-08-11 16:10:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.369266 -3.088246)', '2026-08-11 16:10:43', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369256 -3.088161)'), GeomFromEWKT('SRID=4674;POINT (-39.369266 -3.088246)'))) / (select extract(epoch from '2026-08-11 16:10:43'::timestamp) - extract(epoch from '2026-08-11 16:10:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369256 -3.088161)'), GeomFromEWKT('SRID=4674;POINT (-39.369266 -3.088246)'))) / (select extract(epoch from '2026-08-11 16:10:43'::timestamp) - extract(epoch from '2026-08-11 16:10: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'), 48165, 'SRID=4674;POINT (-39.369283 -3.088374)', '2026-08-11 16:10:49', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369266 -3.088246)'), GeomFromEWKT('SRID=4674;POINT (-39.369283 -3.088374)'))) / (select extract(epoch from '2026-08-11 16:10:49'::timestamp) - extract(epoch from '2026-08-11 16:10:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369266 -3.088246)'), GeomFromEWKT('SRID=4674;POINT (-39.369283 -3.088374)'))) / (select extract(epoch from '2026-08-11 16:10:49'::timestamp) - extract(epoch from '2026-08-11 16:10: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'), 48165, 'SRID=4674;POINT (-39.369312 -3.088553)', '2026-08-11 16:10:57', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369283 -3.088374)'), GeomFromEWKT('SRID=4674;POINT (-39.369312 -3.088553)'))) / (select extract(epoch from '2026-08-11 16:10:57'::timestamp) - extract(epoch from '2026-08-11 16:10:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369283 -3.088374)'), GeomFromEWKT('SRID=4674;POINT (-39.369312 -3.088553)'))) / (select extract(epoch from '2026-08-11 16:10:57'::timestamp) - extract(epoch from '2026-08-11 16:10:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.369326 -3.088656)', '2026-08-11 16:11:02', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369312 -3.088553)'), GeomFromEWKT('SRID=4674;POINT (-39.369326 -3.088656)'))) / (select extract(epoch from '2026-08-11 16:11:02'::timestamp) - extract(epoch from '2026-08-11 16:10:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369312 -3.088553)'), GeomFromEWKT('SRID=4674;POINT (-39.369326 -3.088656)'))) / (select extract(epoch from '2026-08-11 16:11:02'::timestamp) - extract(epoch from '2026-08-11 16:10: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'), 48165, 'SRID=4674;POINT (-39.369339 -3.088678)', '2026-08-11 16:11:03', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369326 -3.088656)'), GeomFromEWKT('SRID=4674;POINT (-39.369339 -3.088678)'))) / (select extract(epoch from '2026-08-11 16:11:03'::timestamp) - extract(epoch from '2026-08-11 16:11:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369326 -3.088656)'), GeomFromEWKT('SRID=4674;POINT (-39.369339 -3.088678)'))) / (select extract(epoch from '2026-08-11 16:11:03'::timestamp) - extract(epoch from '2026-08-11 16:11:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.36936 -3.088787)', '2026-08-11 16:11:08', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369339 -3.088678)'), GeomFromEWKT('SRID=4674;POINT (-39.36936 -3.088787)'))) / (select extract(epoch from '2026-08-11 16:11:08'::timestamp) - extract(epoch from '2026-08-11 16:11:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369339 -3.088678)'), GeomFromEWKT('SRID=4674;POINT (-39.36936 -3.088787)'))) / (select extract(epoch from '2026-08-11 16:11:08'::timestamp) - extract(epoch from '2026-08-11 16:11:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.369383 -3.088856)', '2026-08-11 16:11:11', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36936 -3.088787)'), GeomFromEWKT('SRID=4674;POINT (-39.369383 -3.088856)'))) / (select extract(epoch from '2026-08-11 16:11:11'::timestamp) - extract(epoch from '2026-08-11 16:11:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36936 -3.088787)'), GeomFromEWKT('SRID=4674;POINT (-39.369383 -3.088856)'))) / (select extract(epoch from '2026-08-11 16:11:11'::timestamp) - extract(epoch from '2026-08-11 16:11:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.369383 -3.088879)', '2026-08-11 16:11:12', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369383 -3.088856)'), GeomFromEWKT('SRID=4674;POINT (-39.369383 -3.088879)'))) / (select extract(epoch from '2026-08-11 16:11:12'::timestamp) - extract(epoch from '2026-08-11 16:11:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369383 -3.088856)'), GeomFromEWKT('SRID=4674;POINT (-39.369383 -3.088879)'))) / (select extract(epoch from '2026-08-11 16:11:12'::timestamp) - extract(epoch from '2026-08-11 16:11: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'), 48165, 'SRID=4674;POINT (-39.369402 -3.08897)', '2026-08-11 16:11:16', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369383 -3.088879)'), GeomFromEWKT('SRID=4674;POINT (-39.369402 -3.08897)'))) / (select extract(epoch from '2026-08-11 16:11:16'::timestamp) - extract(epoch from '2026-08-11 16:11:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369383 -3.088879)'), GeomFromEWKT('SRID=4674;POINT (-39.369402 -3.08897)'))) / (select extract(epoch from '2026-08-11 16:11:16'::timestamp) - extract(epoch from '2026-08-11 16:11: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'), 48165, 'SRID=4674;POINT (-39.369421 -3.089063)', '2026-08-11 16:11:20', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369402 -3.08897)'), GeomFromEWKT('SRID=4674;POINT (-39.369421 -3.089063)'))) / (select extract(epoch from '2026-08-11 16:11:20'::timestamp) - extract(epoch from '2026-08-11 16:11:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369402 -3.08897)'), GeomFromEWKT('SRID=4674;POINT (-39.369421 -3.089063)'))) / (select extract(epoch from '2026-08-11 16:11:20'::timestamp) - extract(epoch from '2026-08-11 16:11:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.369423 -3.089085)', '2026-08-11 16:11:21', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369421 -3.089063)'), GeomFromEWKT('SRID=4674;POINT (-39.369423 -3.089085)'))) / (select extract(epoch from '2026-08-11 16:11:21'::timestamp) - extract(epoch from '2026-08-11 16:11:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369421 -3.089063)'), GeomFromEWKT('SRID=4674;POINT (-39.369423 -3.089085)'))) / (select extract(epoch from '2026-08-11 16:11:21'::timestamp) - extract(epoch from '2026-08-11 16:11: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'), 48165, 'SRID=4674;POINT (-39.369434 -3.089131)', '2026-08-11 16:11:23', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369423 -3.089085)'), GeomFromEWKT('SRID=4674;POINT (-39.369434 -3.089131)'))) / (select extract(epoch from '2026-08-11 16:11:23'::timestamp) - extract(epoch from '2026-08-11 16:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369423 -3.089085)'), GeomFromEWKT('SRID=4674;POINT (-39.369434 -3.089131)'))) / (select extract(epoch from '2026-08-11 16:11:23'::timestamp) - extract(epoch from '2026-08-11 16:11:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.369433 -3.089157)', '2026-08-11 16:11:24', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369434 -3.089131)'), GeomFromEWKT('SRID=4674;POINT (-39.369433 -3.089157)'))) / (select extract(epoch from '2026-08-11 16:11:24'::timestamp) - extract(epoch from '2026-08-11 16:11:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369434 -3.089131)'), GeomFromEWKT('SRID=4674;POINT (-39.369433 -3.089157)'))) / (select extract(epoch from '2026-08-11 16:11:24'::timestamp) - extract(epoch from '2026-08-11 16:11: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'), 48165, 'SRID=4674;POINT (-39.369429 -3.089241)', '2026-08-11 16:11:28', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369433 -3.089157)'), GeomFromEWKT('SRID=4674;POINT (-39.369429 -3.089241)'))) / (select extract(epoch from '2026-08-11 16:11:28'::timestamp) - extract(epoch from '2026-08-11 16:11:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369433 -3.089157)'), GeomFromEWKT('SRID=4674;POINT (-39.369429 -3.089241)'))) / (select extract(epoch from '2026-08-11 16:11:28'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.369436 -3.089264)', '2026-08-11 16:11:29', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369429 -3.089241)'), GeomFromEWKT('SRID=4674;POINT (-39.369436 -3.089264)'))) / (select extract(epoch from '2026-08-11 16:11:29'::timestamp) - extract(epoch from '2026-08-11 16:11:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369429 -3.089241)'), GeomFromEWKT('SRID=4674;POINT (-39.369436 -3.089264)'))) / (select extract(epoch from '2026-08-11 16:11:29'::timestamp) - extract(epoch from '2026-08-11 16:11:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.369453 -3.089375)', '2026-08-11 16:11:34', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369436 -3.089264)'), GeomFromEWKT('SRID=4674;POINT (-39.369453 -3.089375)'))) / (select extract(epoch from '2026-08-11 16:11:34'::timestamp) - extract(epoch from '2026-08-11 16:11:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369436 -3.089264)'), GeomFromEWKT('SRID=4674;POINT (-39.369453 -3.089375)'))) / (select extract(epoch from '2026-08-11 16:11:34'::timestamp) - extract(epoch from '2026-08-11 16:11:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.369477 -3.08951)', '2026-08-11 16:11:40', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369453 -3.089375)'), GeomFromEWKT('SRID=4674;POINT (-39.369477 -3.08951)'))) / (select extract(epoch from '2026-08-11 16:11:40'::timestamp) - extract(epoch from '2026-08-11 16:11:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369453 -3.089375)'), GeomFromEWKT('SRID=4674;POINT (-39.369477 -3.08951)'))) / (select extract(epoch from '2026-08-11 16:11:40'::timestamp) - extract(epoch from '2026-08-11 16:11: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'), 48165, 'SRID=4674;POINT (-39.369504 -3.08965)', '2026-08-11 16:11:46', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369477 -3.08951)'), GeomFromEWKT('SRID=4674;POINT (-39.369504 -3.08965)'))) / (select extract(epoch from '2026-08-11 16:11:46'::timestamp) - extract(epoch from '2026-08-11 16:11:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369477 -3.08951)'), GeomFromEWKT('SRID=4674;POINT (-39.369504 -3.08965)'))) / (select extract(epoch from '2026-08-11 16:11:46'::timestamp) - extract(epoch from '2026-08-11 16:11:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.36952 -3.089755)', '2026-08-11 16:11:51', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369504 -3.08965)'), GeomFromEWKT('SRID=4674;POINT (-39.36952 -3.089755)'))) / (select extract(epoch from '2026-08-11 16:11:51'::timestamp) - extract(epoch from '2026-08-11 16:11:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369504 -3.08965)'), GeomFromEWKT('SRID=4674;POINT (-39.36952 -3.089755)'))) / (select extract(epoch from '2026-08-11 16:11:51'::timestamp) - extract(epoch from '2026-08-11 16:11:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.36955 -3.089902)', '2026-08-11 16:11:57', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36952 -3.089755)'), GeomFromEWKT('SRID=4674;POINT (-39.36955 -3.089902)'))) / (select extract(epoch from '2026-08-11 16:11:57'::timestamp) - extract(epoch from '2026-08-11 16:11:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36952 -3.089755)'), GeomFromEWKT('SRID=4674;POINT (-39.36955 -3.089902)'))) / (select extract(epoch from '2026-08-11 16:11:57'::timestamp) - extract(epoch from '2026-08-11 16:11:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.369596 -3.090046)', '2026-08-11 16:12:03', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36955 -3.089902)'), GeomFromEWKT('SRID=4674;POINT (-39.369596 -3.090046)'))) / (select extract(epoch from '2026-08-11 16:12:03'::timestamp) - extract(epoch from '2026-08-11 16:11:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36955 -3.089902)'), GeomFromEWKT('SRID=4674;POINT (-39.369596 -3.090046)'))) / (select extract(epoch from '2026-08-11 16:12:03'::timestamp) - extract(epoch from '2026-08-11 16:11:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.369641 -3.090182)', '2026-08-11 16:12:09', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369596 -3.090046)'), GeomFromEWKT('SRID=4674;POINT (-39.369641 -3.090182)'))) / (select extract(epoch from '2026-08-11 16:12:09'::timestamp) - extract(epoch from '2026-08-11 16:12:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369596 -3.090046)'), GeomFromEWKT('SRID=4674;POINT (-39.369641 -3.090182)'))) / (select extract(epoch from '2026-08-11 16:12:09'::timestamp) - extract(epoch from '2026-08-11 16:12:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.369677 -3.090286)', '2026-08-11 16:12:13', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369641 -3.090182)'), GeomFromEWKT('SRID=4674;POINT (-39.369677 -3.090286)'))) / (select extract(epoch from '2026-08-11 16:12:13'::timestamp) - extract(epoch from '2026-08-11 16:12:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369641 -3.090182)'), GeomFromEWKT('SRID=4674;POINT (-39.369677 -3.090286)'))) / (select extract(epoch from '2026-08-11 16:12:13'::timestamp) - extract(epoch from '2026-08-11 16:12: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'), 48165, 'SRID=4674;POINT (-39.369675 -3.090304)', '2026-08-11 16:12:14', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369677 -3.090286)'), GeomFromEWKT('SRID=4674;POINT (-39.369675 -3.090304)'))) / (select extract(epoch from '2026-08-11 16:12:14'::timestamp) - extract(epoch from '2026-08-11 16:12:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369677 -3.090286)'), GeomFromEWKT('SRID=4674;POINT (-39.369675 -3.090304)'))) / (select extract(epoch from '2026-08-11 16:12:14'::timestamp) - extract(epoch from '2026-08-11 16:12:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.36968 -3.090351)', '2026-08-11 16:12:16', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369675 -3.090304)'), GeomFromEWKT('SRID=4674;POINT (-39.36968 -3.090351)'))) / (select extract(epoch from '2026-08-11 16:12:16'::timestamp) - extract(epoch from '2026-08-11 16:12:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369675 -3.090304)'), GeomFromEWKT('SRID=4674;POINT (-39.36968 -3.090351)'))) / (select extract(epoch from '2026-08-11 16:12:16'::timestamp) - extract(epoch from '2026-08-11 16:12:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.369701 -3.090493)', '2026-08-11 16:12:22', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36968 -3.090351)'), GeomFromEWKT('SRID=4674;POINT (-39.369701 -3.090493)'))) / (select extract(epoch from '2026-08-11 16:12:22'::timestamp) - extract(epoch from '2026-08-11 16:12:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36968 -3.090351)'), GeomFromEWKT('SRID=4674;POINT (-39.369701 -3.090493)'))) / (select extract(epoch from '2026-08-11 16:12:22'::timestamp) - extract(epoch from '2026-08-11 16:12: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'), 48165, 'SRID=4674;POINT (-39.369713 -3.090609)', '2026-08-11 16:12:27', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369701 -3.090493)'), GeomFromEWKT('SRID=4674;POINT (-39.369713 -3.090609)'))) / (select extract(epoch from '2026-08-11 16:12:27'::timestamp) - extract(epoch from '2026-08-11 16:12:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369701 -3.090493)'), GeomFromEWKT('SRID=4674;POINT (-39.369713 -3.090609)'))) / (select extract(epoch from '2026-08-11 16:12:27'::timestamp) - extract(epoch from '2026-08-11 16:12:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.369734 -3.090727)', '2026-08-11 16:12:32', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369713 -3.090609)'), GeomFromEWKT('SRID=4674;POINT (-39.369734 -3.090727)'))) / (select extract(epoch from '2026-08-11 16:12:32'::timestamp) - extract(epoch from '2026-08-11 16:12:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369713 -3.090609)'), GeomFromEWKT('SRID=4674;POINT (-39.369734 -3.090727)'))) / (select extract(epoch from '2026-08-11 16:12:32'::timestamp) - extract(epoch from '2026-08-11 16:12:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.369749 -3.090859)', '2026-08-11 16:12:38', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369734 -3.090727)'), GeomFromEWKT('SRID=4674;POINT (-39.369749 -3.090859)'))) / (select extract(epoch from '2026-08-11 16:12:38'::timestamp) - extract(epoch from '2026-08-11 16:12:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369734 -3.090727)'), GeomFromEWKT('SRID=4674;POINT (-39.369749 -3.090859)'))) / (select extract(epoch from '2026-08-11 16:12:38'::timestamp) - extract(epoch from '2026-08-11 16:12: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'), 48165, 'SRID=4674;POINT (-39.369769 -3.090996)', '2026-08-11 16:12:44', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369749 -3.090859)'), GeomFromEWKT('SRID=4674;POINT (-39.369769 -3.090996)'))) / (select extract(epoch from '2026-08-11 16:12:44'::timestamp) - extract(epoch from '2026-08-11 16:12:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369749 -3.090859)'), GeomFromEWKT('SRID=4674;POINT (-39.369769 -3.090996)'))) / (select extract(epoch from '2026-08-11 16:12:44'::timestamp) - extract(epoch from '2026-08-11 16:12: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'), 48165, 'SRID=4674;POINT (-39.369782 -3.091142)', '2026-08-11 16:12:50', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369769 -3.090996)'), GeomFromEWKT('SRID=4674;POINT (-39.369782 -3.091142)'))) / (select extract(epoch from '2026-08-11 16:12:50'::timestamp) - extract(epoch from '2026-08-11 16:12:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369769 -3.090996)'), GeomFromEWKT('SRID=4674;POINT (-39.369782 -3.091142)'))) / (select extract(epoch from '2026-08-11 16:12:50'::timestamp) - extract(epoch from '2026-08-11 16:12:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.369795 -3.091249)', '2026-08-11 16:12:55', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369782 -3.091142)'), GeomFromEWKT('SRID=4674;POINT (-39.369795 -3.091249)'))) / (select extract(epoch from '2026-08-11 16:12:55'::timestamp) - extract(epoch from '2026-08-11 16:12:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369782 -3.091142)'), GeomFromEWKT('SRID=4674;POINT (-39.369795 -3.091249)'))) / (select extract(epoch from '2026-08-11 16:12:55'::timestamp) - extract(epoch from '2026-08-11 16:12: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'), 48165, 'SRID=4674;POINT (-39.36981 -3.0914)', '2026-08-11 16:13:02', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369795 -3.091249)'), GeomFromEWKT('SRID=4674;POINT (-39.36981 -3.0914)'))) / (select extract(epoch from '2026-08-11 16:13:02'::timestamp) - extract(epoch from '2026-08-11 16:12:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369795 -3.091249)'), GeomFromEWKT('SRID=4674;POINT (-39.36981 -3.0914)'))) / (select extract(epoch from '2026-08-11 16:13:02'::timestamp) - extract(epoch from '2026-08-11 16:12:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.369836 -3.091518)', '2026-08-11 16:13:07', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36981 -3.0914)'), GeomFromEWKT('SRID=4674;POINT (-39.369836 -3.091518)'))) / (select extract(epoch from '2026-08-11 16:13:07'::timestamp) - extract(epoch from '2026-08-11 16:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36981 -3.0914)'), GeomFromEWKT('SRID=4674;POINT (-39.369836 -3.091518)'))) / (select extract(epoch from '2026-08-11 16:13:07'::timestamp) - extract(epoch from '2026-08-11 16:13: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'), 48165, 'SRID=4674;POINT (-39.369855 -3.091616)', '2026-08-11 16:13:11', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369836 -3.091518)'), GeomFromEWKT('SRID=4674;POINT (-39.369855 -3.091616)'))) / (select extract(epoch from '2026-08-11 16:13:11'::timestamp) - extract(epoch from '2026-08-11 16:13:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369836 -3.091518)'), GeomFromEWKT('SRID=4674;POINT (-39.369855 -3.091616)'))) / (select extract(epoch from '2026-08-11 16:13:11'::timestamp) - extract(epoch from '2026-08-11 16:13: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'), 48165, 'SRID=4674;POINT (-39.369873 -3.091699)', '2026-08-11 16:13:15', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369855 -3.091616)'), GeomFromEWKT('SRID=4674;POINT (-39.369873 -3.091699)'))) / (select extract(epoch from '2026-08-11 16:13:15'::timestamp) - extract(epoch from '2026-08-11 16:13:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369855 -3.091616)'), GeomFromEWKT('SRID=4674;POINT (-39.369873 -3.091699)'))) / (select extract(epoch from '2026-08-11 16:13:15'::timestamp) - extract(epoch from '2026-08-11 16:13:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.369894 -3.091809)', '2026-08-11 16:13:20', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369873 -3.091699)'), GeomFromEWKT('SRID=4674;POINT (-39.369894 -3.091809)'))) / (select extract(epoch from '2026-08-11 16:13:20'::timestamp) - extract(epoch from '2026-08-11 16:13:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369873 -3.091699)'), GeomFromEWKT('SRID=4674;POINT (-39.369894 -3.091809)'))) / (select extract(epoch from '2026-08-11 16:13:20'::timestamp) - extract(epoch from '2026-08-11 16:13:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.369911 -3.091932)', '2026-08-11 16:13:25', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369894 -3.091809)'), GeomFromEWKT('SRID=4674;POINT (-39.369911 -3.091932)'))) / (select extract(epoch from '2026-08-11 16:13:25'::timestamp) - extract(epoch from '2026-08-11 16:13:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369894 -3.091809)'), GeomFromEWKT('SRID=4674;POINT (-39.369911 -3.091932)'))) / (select extract(epoch from '2026-08-11 16:13:25'::timestamp) - extract(epoch from '2026-08-11 16:13: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'), 48165, 'SRID=4674;POINT (-39.369922 -3.092051)', '2026-08-11 16:13:30', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369911 -3.091932)'), GeomFromEWKT('SRID=4674;POINT (-39.369922 -3.092051)'))) / (select extract(epoch from '2026-08-11 16:13:30'::timestamp) - extract(epoch from '2026-08-11 16:13:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369911 -3.091932)'), GeomFromEWKT('SRID=4674;POINT (-39.369922 -3.092051)'))) / (select extract(epoch from '2026-08-11 16:13:30'::timestamp) - extract(epoch from '2026-08-11 16:13: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'), 48165, 'SRID=4674;POINT (-39.369959 -3.092214)', '2026-08-11 16:13:37', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369922 -3.092051)'), GeomFromEWKT('SRID=4674;POINT (-39.369959 -3.092214)'))) / (select extract(epoch from '2026-08-11 16:13:37'::timestamp) - extract(epoch from '2026-08-11 16:13:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369922 -3.092051)'), GeomFromEWKT('SRID=4674;POINT (-39.369959 -3.092214)'))) / (select extract(epoch from '2026-08-11 16:13:37'::timestamp) - extract(epoch from '2026-08-11 16:13: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'), 48165, 'SRID=4674;POINT (-39.36999 -3.092334)', '2026-08-11 16:13:42', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369959 -3.092214)'), GeomFromEWKT('SRID=4674;POINT (-39.36999 -3.092334)'))) / (select extract(epoch from '2026-08-11 16:13:42'::timestamp) - extract(epoch from '2026-08-11 16:13:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369959 -3.092214)'), GeomFromEWKT('SRID=4674;POINT (-39.36999 -3.092334)'))) / (select extract(epoch from '2026-08-11 16:13:42'::timestamp) - extract(epoch from '2026-08-11 16:13:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.369995 -3.092439)', '2026-08-11 16:13:46', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36999 -3.092334)'), GeomFromEWKT('SRID=4674;POINT (-39.369995 -3.092439)'))) / (select extract(epoch from '2026-08-11 16:13:46'::timestamp) - extract(epoch from '2026-08-11 16:13:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36999 -3.092334)'), GeomFromEWKT('SRID=4674;POINT (-39.369995 -3.092439)'))) / (select extract(epoch from '2026-08-11 16:13:46'::timestamp) - extract(epoch from '2026-08-11 16:13:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.370019 -3.092556)', '2026-08-11 16:13:51', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369995 -3.092439)'), GeomFromEWKT('SRID=4674;POINT (-39.370019 -3.092556)'))) / (select extract(epoch from '2026-08-11 16:13:51'::timestamp) - extract(epoch from '2026-08-11 16:13:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369995 -3.092439)'), GeomFromEWKT('SRID=4674;POINT (-39.370019 -3.092556)'))) / (select extract(epoch from '2026-08-11 16:13:51'::timestamp) - extract(epoch from '2026-08-11 16:13:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.370059 -3.092731)', '2026-08-11 16:13:59', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370019 -3.092556)'), GeomFromEWKT('SRID=4674;POINT (-39.370059 -3.092731)'))) / (select extract(epoch from '2026-08-11 16:13:59'::timestamp) - extract(epoch from '2026-08-11 16:13:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370019 -3.092556)'), GeomFromEWKT('SRID=4674;POINT (-39.370059 -3.092731)'))) / (select extract(epoch from '2026-08-11 16:13:59'::timestamp) - extract(epoch from '2026-08-11 16:13: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'), 48165, 'SRID=4674;POINT (-39.370084 -3.092863)', '2026-08-11 16:14:05', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370059 -3.092731)'), GeomFromEWKT('SRID=4674;POINT (-39.370084 -3.092863)'))) / (select extract(epoch from '2026-08-11 16:14:05'::timestamp) - extract(epoch from '2026-08-11 16:13:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370059 -3.092731)'), GeomFromEWKT('SRID=4674;POINT (-39.370084 -3.092863)'))) / (select extract(epoch from '2026-08-11 16:14:05'::timestamp) - extract(epoch from '2026-08-11 16:13:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.370116 -3.09296)', '2026-08-11 16:14:09', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370084 -3.092863)'), GeomFromEWKT('SRID=4674;POINT (-39.370116 -3.09296)'))) / (select extract(epoch from '2026-08-11 16:14:09'::timestamp) - extract(epoch from '2026-08-11 16:14:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370084 -3.092863)'), GeomFromEWKT('SRID=4674;POINT (-39.370116 -3.09296)'))) / (select extract(epoch from '2026-08-11 16:14:09'::timestamp) - extract(epoch from '2026-08-11 16:14:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.370132 -3.093079)', '2026-08-11 16:14:14', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370116 -3.09296)'), GeomFromEWKT('SRID=4674;POINT (-39.370132 -3.093079)'))) / (select extract(epoch from '2026-08-11 16:14:14'::timestamp) - extract(epoch from '2026-08-11 16:14:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370116 -3.09296)'), GeomFromEWKT('SRID=4674;POINT (-39.370132 -3.093079)'))) / (select extract(epoch from '2026-08-11 16:14:14'::timestamp) - extract(epoch from '2026-08-11 16:14:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.37016 -3.093269)', '2026-08-11 16:14:22', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370132 -3.093079)'), GeomFromEWKT('SRID=4674;POINT (-39.37016 -3.093269)'))) / (select extract(epoch from '2026-08-11 16:14:22'::timestamp) - extract(epoch from '2026-08-11 16:14:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370132 -3.093079)'), GeomFromEWKT('SRID=4674;POINT (-39.37016 -3.093269)'))) / (select extract(epoch from '2026-08-11 16:14:22'::timestamp) - extract(epoch from '2026-08-11 16:14: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'), 48165, 'SRID=4674;POINT (-39.370173 -3.093399)', '2026-08-11 16:14:28', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37016 -3.093269)'), GeomFromEWKT('SRID=4674;POINT (-39.370173 -3.093399)'))) / (select extract(epoch from '2026-08-11 16:14:28'::timestamp) - extract(epoch from '2026-08-11 16:14:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37016 -3.093269)'), GeomFromEWKT('SRID=4674;POINT (-39.370173 -3.093399)'))) / (select extract(epoch from '2026-08-11 16:14:28'::timestamp) - extract(epoch from '2026-08-11 16:14:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.370181 -3.093464)', '2026-08-11 16:14:31', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370173 -3.093399)'), GeomFromEWKT('SRID=4674;POINT (-39.370181 -3.093464)'))) / (select extract(epoch from '2026-08-11 16:14:31'::timestamp) - extract(epoch from '2026-08-11 16:14:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370173 -3.093399)'), GeomFromEWKT('SRID=4674;POINT (-39.370181 -3.093464)'))) / (select extract(epoch from '2026-08-11 16:14:31'::timestamp) - extract(epoch from '2026-08-11 16:14: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'), 48165, 'SRID=4674;POINT (-39.370204 -3.093511)', '2026-08-11 16:14:33', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370181 -3.093464)'), GeomFromEWKT('SRID=4674;POINT (-39.370204 -3.093511)'))) / (select extract(epoch from '2026-08-11 16:14:33'::timestamp) - extract(epoch from '2026-08-11 16:14:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370181 -3.093464)'), GeomFromEWKT('SRID=4674;POINT (-39.370204 -3.093511)'))) / (select extract(epoch from '2026-08-11 16:14:33'::timestamp) - extract(epoch from '2026-08-11 16:14: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'), 48165, 'SRID=4674;POINT (-39.37022 -3.093599)', '2026-08-11 16:14:37', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370204 -3.093511)'), GeomFromEWKT('SRID=4674;POINT (-39.37022 -3.093599)'))) / (select extract(epoch from '2026-08-11 16:14:37'::timestamp) - extract(epoch from '2026-08-11 16:14:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370204 -3.093511)'), GeomFromEWKT('SRID=4674;POINT (-39.37022 -3.093599)'))) / (select extract(epoch from '2026-08-11 16:14:37'::timestamp) - extract(epoch from '2026-08-11 16:14:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.370269 -3.093798)', '2026-08-11 16:14:45', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37022 -3.093599)'), GeomFromEWKT('SRID=4674;POINT (-39.370269 -3.093798)'))) / (select extract(epoch from '2026-08-11 16:14:45'::timestamp) - extract(epoch from '2026-08-11 16:14:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37022 -3.093599)'), GeomFromEWKT('SRID=4674;POINT (-39.370269 -3.093798)'))) / (select extract(epoch from '2026-08-11 16:14:45'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.370297 -3.09391)', '2026-08-11 16:14:50', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370269 -3.093798)'), GeomFromEWKT('SRID=4674;POINT (-39.370297 -3.09391)'))) / (select extract(epoch from '2026-08-11 16:14:50'::timestamp) - extract(epoch from '2026-08-11 16:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370269 -3.093798)'), GeomFromEWKT('SRID=4674;POINT (-39.370297 -3.09391)'))) / (select extract(epoch from '2026-08-11 16:14:50'::timestamp) - extract(epoch from '2026-08-11 16:14:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.370314 -3.094005)', '2026-08-11 16:14:54', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370297 -3.09391)'), GeomFromEWKT('SRID=4674;POINT (-39.370314 -3.094005)'))) / (select extract(epoch from '2026-08-11 16:14:54'::timestamp) - extract(epoch from '2026-08-11 16:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370297 -3.09391)'), GeomFromEWKT('SRID=4674;POINT (-39.370314 -3.094005)'))) / (select extract(epoch from '2026-08-11 16:14:54'::timestamp) - extract(epoch from '2026-08-11 16:14: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'), 48165, 'SRID=4674;POINT (-39.370339 -3.094122)', '2026-08-11 16:14:59', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370314 -3.094005)'), GeomFromEWKT('SRID=4674;POINT (-39.370339 -3.094122)'))) / (select extract(epoch from '2026-08-11 16:14:59'::timestamp) - extract(epoch from '2026-08-11 16:14:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370314 -3.094005)'), GeomFromEWKT('SRID=4674;POINT (-39.370339 -3.094122)'))) / (select extract(epoch from '2026-08-11 16:14:59'::timestamp) - extract(epoch from '2026-08-11 16:14:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.370352 -3.094271)', '2026-08-11 16:15:05', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370339 -3.094122)'), GeomFromEWKT('SRID=4674;POINT (-39.370352 -3.094271)'))) / (select extract(epoch from '2026-08-11 16:15:05'::timestamp) - extract(epoch from '2026-08-11 16:14:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370339 -3.094122)'), GeomFromEWKT('SRID=4674;POINT (-39.370352 -3.094271)'))) / (select extract(epoch from '2026-08-11 16:15:05'::timestamp) - extract(epoch from '2026-08-11 16:14: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'), 48165, 'SRID=4674;POINT (-39.370358 -3.094293)', '2026-08-11 16:15:06', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370352 -3.094271)'), GeomFromEWKT('SRID=4674;POINT (-39.370358 -3.094293)'))) / (select extract(epoch from '2026-08-11 16:15:06'::timestamp) - extract(epoch from '2026-08-11 16:15:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370352 -3.094271)'), GeomFromEWKT('SRID=4674;POINT (-39.370358 -3.094293)'))) / (select extract(epoch from '2026-08-11 16:15:06'::timestamp) - extract(epoch from '2026-08-11 16:15: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'), 48165, 'SRID=4674;POINT (-39.37038 -3.094386)', '2026-08-11 16:15:10', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370358 -3.094293)'), GeomFromEWKT('SRID=4674;POINT (-39.37038 -3.094386)'))) / (select extract(epoch from '2026-08-11 16:15:10'::timestamp) - extract(epoch from '2026-08-11 16:15:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370358 -3.094293)'), GeomFromEWKT('SRID=4674;POINT (-39.37038 -3.094386)'))) / (select extract(epoch from '2026-08-11 16:15:10'::timestamp) - extract(epoch from '2026-08-11 16:15: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'), 48165, 'SRID=4674;POINT (-39.370408 -3.094505)', '2026-08-11 16:15:15', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37038 -3.094386)'), GeomFromEWKT('SRID=4674;POINT (-39.370408 -3.094505)'))) / (select extract(epoch from '2026-08-11 16:15:15'::timestamp) - extract(epoch from '2026-08-11 16:15:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37038 -3.094386)'), GeomFromEWKT('SRID=4674;POINT (-39.370408 -3.094505)'))) / (select extract(epoch from '2026-08-11 16:15:15'::timestamp) - extract(epoch from '2026-08-11 16:15: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'), 48165, 'SRID=4674;POINT (-39.370432 -3.09462)', '2026-08-11 16:15:20', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370408 -3.094505)'), GeomFromEWKT('SRID=4674;POINT (-39.370432 -3.09462)'))) / (select extract(epoch from '2026-08-11 16:15:20'::timestamp) - extract(epoch from '2026-08-11 16:15:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370408 -3.094505)'), GeomFromEWKT('SRID=4674;POINT (-39.370432 -3.09462)'))) / (select extract(epoch from '2026-08-11 16:15:20'::timestamp) - extract(epoch from '2026-08-11 16:15:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.37045 -3.094737)', '2026-08-11 16:15:25', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370432 -3.09462)'), GeomFromEWKT('SRID=4674;POINT (-39.37045 -3.094737)'))) / (select extract(epoch from '2026-08-11 16:15:25'::timestamp) - extract(epoch from '2026-08-11 16:15:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370432 -3.09462)'), GeomFromEWKT('SRID=4674;POINT (-39.37045 -3.094737)'))) / (select extract(epoch from '2026-08-11 16:15:25'::timestamp) - extract(epoch from '2026-08-11 16:15: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'), 48165, 'SRID=4674;POINT (-39.370452 -3.094802)', '2026-08-11 16:15:28', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37045 -3.094737)'), GeomFromEWKT('SRID=4674;POINT (-39.370452 -3.094802)'))) / (select extract(epoch from '2026-08-11 16:15:28'::timestamp) - extract(epoch from '2026-08-11 16:15:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37045 -3.094737)'), GeomFromEWKT('SRID=4674;POINT (-39.370452 -3.094802)'))) / (select extract(epoch from '2026-08-11 16:15:28'::timestamp) - extract(epoch from '2026-08-11 16:15:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.370461 -3.094825)', '2026-08-11 16:15:29', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370452 -3.094802)'), GeomFromEWKT('SRID=4674;POINT (-39.370461 -3.094825)'))) / (select extract(epoch from '2026-08-11 16:15:29'::timestamp) - extract(epoch from '2026-08-11 16:15:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370452 -3.094802)'), GeomFromEWKT('SRID=4674;POINT (-39.370461 -3.094825)'))) / (select extract(epoch from '2026-08-11 16:15:29'::timestamp) - extract(epoch from '2026-08-11 16:15:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.370465 -3.094892)', '2026-08-11 16:15:32', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370461 -3.094825)'), GeomFromEWKT('SRID=4674;POINT (-39.370465 -3.094892)'))) / (select extract(epoch from '2026-08-11 16:15:32'::timestamp) - extract(epoch from '2026-08-11 16:15:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370461 -3.094825)'), GeomFromEWKT('SRID=4674;POINT (-39.370465 -3.094892)'))) / (select extract(epoch from '2026-08-11 16:15:32'::timestamp) - extract(epoch from '2026-08-11 16:15:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.370472 -3.094916)', '2026-08-11 16:15:33', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370465 -3.094892)'), GeomFromEWKT('SRID=4674;POINT (-39.370472 -3.094916)'))) / (select extract(epoch from '2026-08-11 16:15:33'::timestamp) - extract(epoch from '2026-08-11 16:15:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370465 -3.094892)'), GeomFromEWKT('SRID=4674;POINT (-39.370472 -3.094916)'))) / (select extract(epoch from '2026-08-11 16:15:33'::timestamp) - extract(epoch from '2026-08-11 16:15:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.370483 -3.094959)', '2026-08-11 16:15:35', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370472 -3.094916)'), GeomFromEWKT('SRID=4674;POINT (-39.370483 -3.094959)'))) / (select extract(epoch from '2026-08-11 16:15:35'::timestamp) - extract(epoch from '2026-08-11 16:15:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370472 -3.094916)'), GeomFromEWKT('SRID=4674;POINT (-39.370483 -3.094959)'))) / (select extract(epoch from '2026-08-11 16:15:35'::timestamp) - extract(epoch from '2026-08-11 16:15: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'), 48165, 'SRID=4674;POINT (-39.370487 -3.094997)', '2026-08-11 16:15:37', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370483 -3.094959)'), GeomFromEWKT('SRID=4674;POINT (-39.370487 -3.094997)'))) / (select extract(epoch from '2026-08-11 16:15:37'::timestamp) - extract(epoch from '2026-08-11 16:15:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370483 -3.094959)'), GeomFromEWKT('SRID=4674;POINT (-39.370487 -3.094997)'))) / (select extract(epoch from '2026-08-11 16:15:37'::timestamp) - extract(epoch from '2026-08-11 16:15: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'), 48165, 'SRID=4674;POINT (-39.370512 -3.095076)', '2026-08-11 16:15:41', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370487 -3.094997)'), GeomFromEWKT('SRID=4674;POINT (-39.370512 -3.095076)'))) / (select extract(epoch from '2026-08-11 16:15:41'::timestamp) - extract(epoch from '2026-08-11 16:15:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370487 -3.094997)'), GeomFromEWKT('SRID=4674;POINT (-39.370512 -3.095076)'))) / (select extract(epoch from '2026-08-11 16:15:41'::timestamp) - extract(epoch from '2026-08-11 16:15: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'), 48165, 'SRID=4674;POINT (-39.370532 -3.095231)', '2026-08-11 16:15:48', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370512 -3.095076)'), GeomFromEWKT('SRID=4674;POINT (-39.370532 -3.095231)'))) / (select extract(epoch from '2026-08-11 16:15:48'::timestamp) - extract(epoch from '2026-08-11 16:15:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370512 -3.095076)'), GeomFromEWKT('SRID=4674;POINT (-39.370532 -3.095231)'))) / (select extract(epoch from '2026-08-11 16:15:48'::timestamp) - extract(epoch from '2026-08-11 16:15:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.370538 -3.095275)', '2026-08-11 16:15:50', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370532 -3.095231)'), GeomFromEWKT('SRID=4674;POINT (-39.370538 -3.095275)'))) / (select extract(epoch from '2026-08-11 16:15:50'::timestamp) - extract(epoch from '2026-08-11 16:15:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370532 -3.095231)'), GeomFromEWKT('SRID=4674;POINT (-39.370538 -3.095275)'))) / (select extract(epoch from '2026-08-11 16:15:50'::timestamp) - extract(epoch from '2026-08-11 16:15: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'), 48165, 'SRID=4674;POINT (-39.370551 -3.095322)', '2026-08-11 16:15:52', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370538 -3.095275)'), GeomFromEWKT('SRID=4674;POINT (-39.370551 -3.095322)'))) / (select extract(epoch from '2026-08-11 16:15:52'::timestamp) - extract(epoch from '2026-08-11 16:15:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370538 -3.095275)'), GeomFromEWKT('SRID=4674;POINT (-39.370551 -3.095322)'))) / (select extract(epoch from '2026-08-11 16:15:52'::timestamp) - extract(epoch from '2026-08-11 16:15: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'), 48165, 'SRID=4674;POINT (-39.370557 -3.095437)', '2026-08-11 16:15:57', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370551 -3.095322)'), GeomFromEWKT('SRID=4674;POINT (-39.370557 -3.095437)'))) / (select extract(epoch from '2026-08-11 16:15:57'::timestamp) - extract(epoch from '2026-08-11 16:15:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370551 -3.095322)'), GeomFromEWKT('SRID=4674;POINT (-39.370557 -3.095437)'))) / (select extract(epoch from '2026-08-11 16:15:57'::timestamp) - extract(epoch from '2026-08-11 16:15:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.370571 -3.095579)', '2026-08-11 16:16:03', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370557 -3.095437)'), GeomFromEWKT('SRID=4674;POINT (-39.370571 -3.095579)'))) / (select extract(epoch from '2026-08-11 16:16:03'::timestamp) - extract(epoch from '2026-08-11 16:15:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370557 -3.095437)'), GeomFromEWKT('SRID=4674;POINT (-39.370571 -3.095579)'))) / (select extract(epoch from '2026-08-11 16:16:03'::timestamp) - extract(epoch from '2026-08-11 16:15: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'), 48165, 'SRID=4674;POINT (-39.370577 -3.095618)', '2026-08-11 16:16:05', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370571 -3.095579)'), GeomFromEWKT('SRID=4674;POINT (-39.370577 -3.095618)'))) / (select extract(epoch from '2026-08-11 16:16:05'::timestamp) - extract(epoch from '2026-08-11 16:16:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370571 -3.095579)'), GeomFromEWKT('SRID=4674;POINT (-39.370577 -3.095618)'))) / (select extract(epoch from '2026-08-11 16:16:05'::timestamp) - extract(epoch from '2026-08-11 16:16: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'), 48165, 'SRID=4674;POINT (-39.370579 -3.095664)', '2026-08-11 16:16:07', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370577 -3.095618)'), GeomFromEWKT('SRID=4674;POINT (-39.370579 -3.095664)'))) / (select extract(epoch from '2026-08-11 16:16:07'::timestamp) - extract(epoch from '2026-08-11 16:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370577 -3.095618)'), GeomFromEWKT('SRID=4674;POINT (-39.370579 -3.095664)'))) / (select extract(epoch from '2026-08-11 16:16:07'::timestamp) - extract(epoch from '2026-08-11 16:16: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'), 48165, 'SRID=4674;POINT (-39.370598 -3.095783)', '2026-08-11 16:16:12', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370579 -3.095664)'), GeomFromEWKT('SRID=4674;POINT (-39.370598 -3.095783)'))) / (select extract(epoch from '2026-08-11 16:16:12'::timestamp) - extract(epoch from '2026-08-11 16:16:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370579 -3.095664)'), GeomFromEWKT('SRID=4674;POINT (-39.370598 -3.095783)'))) / (select extract(epoch from '2026-08-11 16:16:12'::timestamp) - extract(epoch from '2026-08-11 16:16:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.370636 -3.095903)', '2026-08-11 16:16:17', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370598 -3.095783)'), GeomFromEWKT('SRID=4674;POINT (-39.370636 -3.095903)'))) / (select extract(epoch from '2026-08-11 16:16:17'::timestamp) - extract(epoch from '2026-08-11 16:16:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370598 -3.095783)'), GeomFromEWKT('SRID=4674;POINT (-39.370636 -3.095903)'))) / (select extract(epoch from '2026-08-11 16:16:17'::timestamp) - extract(epoch from '2026-08-11 16:16:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.370674 -3.096042)', '2026-08-11 16:16:23', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370636 -3.095903)'), GeomFromEWKT('SRID=4674;POINT (-39.370674 -3.096042)'))) / (select extract(epoch from '2026-08-11 16:16:23'::timestamp) - extract(epoch from '2026-08-11 16:16:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370636 -3.095903)'), GeomFromEWKT('SRID=4674;POINT (-39.370674 -3.096042)'))) / (select extract(epoch from '2026-08-11 16:16:23'::timestamp) - extract(epoch from '2026-08-11 16:16:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.3707 -3.096207)', '2026-08-11 16:16:30', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370674 -3.096042)'), GeomFromEWKT('SRID=4674;POINT (-39.3707 -3.096207)'))) / (select extract(epoch from '2026-08-11 16:16:30'::timestamp) - extract(epoch from '2026-08-11 16:16:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370674 -3.096042)'), GeomFromEWKT('SRID=4674;POINT (-39.3707 -3.096207)'))) / (select extract(epoch from '2026-08-11 16:16:30'::timestamp) - extract(epoch from '2026-08-11 16:16:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.370729 -3.096326)', '2026-08-11 16:16:35', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3707 -3.096207)'), GeomFromEWKT('SRID=4674;POINT (-39.370729 -3.096326)'))) / (select extract(epoch from '2026-08-11 16:16:35'::timestamp) - extract(epoch from '2026-08-11 16:16:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3707 -3.096207)'), GeomFromEWKT('SRID=4674;POINT (-39.370729 -3.096326)'))) / (select extract(epoch from '2026-08-11 16:16:35'::timestamp) - extract(epoch from '2026-08-11 16:16: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'), 48165, 'SRID=4674;POINT (-39.370754 -3.096469)', '2026-08-11 16:16:41', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370729 -3.096326)'), GeomFromEWKT('SRID=4674;POINT (-39.370754 -3.096469)'))) / (select extract(epoch from '2026-08-11 16:16:41'::timestamp) - extract(epoch from '2026-08-11 16:16:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370729 -3.096326)'), GeomFromEWKT('SRID=4674;POINT (-39.370754 -3.096469)'))) / (select extract(epoch from '2026-08-11 16:16:41'::timestamp) - extract(epoch from '2026-08-11 16:16: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'), 48165, 'SRID=4674;POINT (-39.37078 -3.096582)', '2026-08-11 16:16:46', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370754 -3.096469)'), GeomFromEWKT('SRID=4674;POINT (-39.37078 -3.096582)'))) / (select extract(epoch from '2026-08-11 16:16:46'::timestamp) - extract(epoch from '2026-08-11 16:16:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370754 -3.096469)'), GeomFromEWKT('SRID=4674;POINT (-39.37078 -3.096582)'))) / (select extract(epoch from '2026-08-11 16:16:46'::timestamp) - extract(epoch from '2026-08-11 16:16: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'), 48165, 'SRID=4674;POINT (-39.370801 -3.096722)', '2026-08-11 16:16:52', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37078 -3.096582)'), GeomFromEWKT('SRID=4674;POINT (-39.370801 -3.096722)'))) / (select extract(epoch from '2026-08-11 16:16:52'::timestamp) - extract(epoch from '2026-08-11 16:16:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37078 -3.096582)'), GeomFromEWKT('SRID=4674;POINT (-39.370801 -3.096722)'))) / (select extract(epoch from '2026-08-11 16:16:52'::timestamp) - extract(epoch from '2026-08-11 16:16: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'), 48165, 'SRID=4674;POINT (-39.370832 -3.096815)', '2026-08-11 16:16:56', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370801 -3.096722)'), GeomFromEWKT('SRID=4674;POINT (-39.370832 -3.096815)'))) / (select extract(epoch from '2026-08-11 16:16:56'::timestamp) - extract(epoch from '2026-08-11 16:16:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370801 -3.096722)'), GeomFromEWKT('SRID=4674;POINT (-39.370832 -3.096815)'))) / (select extract(epoch from '2026-08-11 16:16:56'::timestamp) - extract(epoch from '2026-08-11 16:16: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'), 48165, 'SRID=4674;POINT (-39.370856 -3.096912)', '2026-08-11 16:17:01', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370832 -3.096815)'), GeomFromEWKT('SRID=4674;POINT (-39.370856 -3.096912)'))) / (select extract(epoch from '2026-08-11 16:17:01'::timestamp) - extract(epoch from '2026-08-11 16:16:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370832 -3.096815)'), GeomFromEWKT('SRID=4674;POINT (-39.370856 -3.096912)'))) / (select extract(epoch from '2026-08-11 16:17:01'::timestamp) - extract(epoch from '2026-08-11 16:16:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.370865 -3.097027)', '2026-08-11 16:17:06', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370856 -3.096912)'), GeomFromEWKT('SRID=4674;POINT (-39.370865 -3.097027)'))) / (select extract(epoch from '2026-08-11 16:17:06'::timestamp) - extract(epoch from '2026-08-11 16:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370856 -3.096912)'), GeomFromEWKT('SRID=4674;POINT (-39.370865 -3.097027)'))) / (select extract(epoch from '2026-08-11 16:17:06'::timestamp) - extract(epoch from '2026-08-11 16:17: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'), 48165, 'SRID=4674;POINT (-39.370894 -3.097193)', '2026-08-11 16:17:13', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370865 -3.097027)'), GeomFromEWKT('SRID=4674;POINT (-39.370894 -3.097193)'))) / (select extract(epoch from '2026-08-11 16:17:13'::timestamp) - extract(epoch from '2026-08-11 16:17:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370865 -3.097027)'), GeomFromEWKT('SRID=4674;POINT (-39.370894 -3.097193)'))) / (select extract(epoch from '2026-08-11 16:17:13'::timestamp) - extract(epoch from '2026-08-11 16:17: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'), 48165, 'SRID=4674;POINT (-39.370927 -3.097356)', '2026-08-11 16:17:20', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370894 -3.097193)'), GeomFromEWKT('SRID=4674;POINT (-39.370927 -3.097356)'))) / (select extract(epoch from '2026-08-11 16:17:20'::timestamp) - extract(epoch from '2026-08-11 16:17:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370894 -3.097193)'), GeomFromEWKT('SRID=4674;POINT (-39.370927 -3.097356)'))) / (select extract(epoch from '2026-08-11 16:17:20'::timestamp) - extract(epoch from '2026-08-11 16:17:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.370952 -3.097465)', '2026-08-11 16:17:25', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370927 -3.097356)'), GeomFromEWKT('SRID=4674;POINT (-39.370952 -3.097465)'))) / (select extract(epoch from '2026-08-11 16:17:25'::timestamp) - extract(epoch from '2026-08-11 16:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370927 -3.097356)'), GeomFromEWKT('SRID=4674;POINT (-39.370952 -3.097465)'))) / (select extract(epoch from '2026-08-11 16:17:25'::timestamp) - extract(epoch from '2026-08-11 16:17: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'), 48165, 'SRID=4674;POINT (-39.370974 -3.09758)', '2026-08-11 16:17:30', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370952 -3.097465)'), GeomFromEWKT('SRID=4674;POINT (-39.370974 -3.09758)'))) / (select extract(epoch from '2026-08-11 16:17:30'::timestamp) - extract(epoch from '2026-08-11 16:17:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370952 -3.097465)'), GeomFromEWKT('SRID=4674;POINT (-39.370974 -3.09758)'))) / (select extract(epoch from '2026-08-11 16:17:30'::timestamp) - extract(epoch from '2026-08-11 16:17: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'), 48165, 'SRID=4674;POINT (-39.370986 -3.097688)', '2026-08-11 16:17:35', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370974 -3.09758)'), GeomFromEWKT('SRID=4674;POINT (-39.370986 -3.097688)'))) / (select extract(epoch from '2026-08-11 16:17:35'::timestamp) - extract(epoch from '2026-08-11 16:17:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370974 -3.09758)'), GeomFromEWKT('SRID=4674;POINT (-39.370986 -3.097688)'))) / (select extract(epoch from '2026-08-11 16:17:35'::timestamp) - extract(epoch from '2026-08-11 16:17:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.371013 -3.097826)', '2026-08-11 16:17:41', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370986 -3.097688)'), GeomFromEWKT('SRID=4674;POINT (-39.371013 -3.097826)'))) / (select extract(epoch from '2026-08-11 16:17:41'::timestamp) - extract(epoch from '2026-08-11 16:17:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370986 -3.097688)'), GeomFromEWKT('SRID=4674;POINT (-39.371013 -3.097826)'))) / (select extract(epoch from '2026-08-11 16:17:41'::timestamp) - extract(epoch from '2026-08-11 16:17:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.37104 -3.097962)', '2026-08-11 16:17:47', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371013 -3.097826)'), GeomFromEWKT('SRID=4674;POINT (-39.37104 -3.097962)'))) / (select extract(epoch from '2026-08-11 16:17:47'::timestamp) - extract(epoch from '2026-08-11 16:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371013 -3.097826)'), GeomFromEWKT('SRID=4674;POINT (-39.37104 -3.097962)'))) / (select extract(epoch from '2026-08-11 16:17:47'::timestamp) - extract(epoch from '2026-08-11 16:17:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.37107 -3.098128)', '2026-08-11 16:17:54', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37104 -3.097962)'), GeomFromEWKT('SRID=4674;POINT (-39.37107 -3.098128)'))) / (select extract(epoch from '2026-08-11 16:17:54'::timestamp) - extract(epoch from '2026-08-11 16:17:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37104 -3.097962)'), GeomFromEWKT('SRID=4674;POINT (-39.37107 -3.098128)'))) / (select extract(epoch from '2026-08-11 16:17:54'::timestamp) - extract(epoch from '2026-08-11 16:17: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'), 48165, 'SRID=4674;POINT (-39.371088 -3.098222)', '2026-08-11 16:17:58', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37107 -3.098128)'), GeomFromEWKT('SRID=4674;POINT (-39.371088 -3.098222)'))) / (select extract(epoch from '2026-08-11 16:17:58'::timestamp) - extract(epoch from '2026-08-11 16:17:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37107 -3.098128)'), GeomFromEWKT('SRID=4674;POINT (-39.371088 -3.098222)'))) / (select extract(epoch from '2026-08-11 16:17:58'::timestamp) - extract(epoch from '2026-08-11 16:17:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.371099 -3.098265)', '2026-08-11 16:18:00', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371088 -3.098222)'), GeomFromEWKT('SRID=4674;POINT (-39.371099 -3.098265)'))) / (select extract(epoch from '2026-08-11 16:18:00'::timestamp) - extract(epoch from '2026-08-11 16:17:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371088 -3.098222)'), GeomFromEWKT('SRID=4674;POINT (-39.371099 -3.098265)'))) / (select extract(epoch from '2026-08-11 16:18:00'::timestamp) - extract(epoch from '2026-08-11 16:17:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.371117 -3.09837)', '2026-08-11 16:18:05', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371099 -3.098265)'), GeomFromEWKT('SRID=4674;POINT (-39.371117 -3.09837)'))) / (select extract(epoch from '2026-08-11 16:18:05'::timestamp) - extract(epoch from '2026-08-11 16:18:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371099 -3.098265)'), GeomFromEWKT('SRID=4674;POINT (-39.371117 -3.09837)'))) / (select extract(epoch from '2026-08-11 16:18:05'::timestamp) - extract(epoch from '2026-08-11 16:18:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.371124 -3.098429)', '2026-08-11 16:18:08', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371117 -3.09837)'), GeomFromEWKT('SRID=4674;POINT (-39.371124 -3.098429)'))) / (select extract(epoch from '2026-08-11 16:18:08'::timestamp) - extract(epoch from '2026-08-11 16:18:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371117 -3.09837)'), GeomFromEWKT('SRID=4674;POINT (-39.371124 -3.098429)'))) / (select extract(epoch from '2026-08-11 16:18:08'::timestamp) - extract(epoch from '2026-08-11 16:18:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.371135 -3.098469)', '2026-08-11 16:18:10', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371124 -3.098429)'), GeomFromEWKT('SRID=4674;POINT (-39.371135 -3.098469)'))) / (select extract(epoch from '2026-08-11 16:18:10'::timestamp) - extract(epoch from '2026-08-11 16:18:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371124 -3.098429)'), GeomFromEWKT('SRID=4674;POINT (-39.371135 -3.098469)'))) / (select extract(epoch from '2026-08-11 16:18:10'::timestamp) - extract(epoch from '2026-08-11 16:18:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.371156 -3.098596)', '2026-08-11 16:18:16', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371135 -3.098469)'), GeomFromEWKT('SRID=4674;POINT (-39.371156 -3.098596)'))) / (select extract(epoch from '2026-08-11 16:18:16'::timestamp) - extract(epoch from '2026-08-11 16:18:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371135 -3.098469)'), GeomFromEWKT('SRID=4674;POINT (-39.371156 -3.098596)'))) / (select extract(epoch from '2026-08-11 16:18:16'::timestamp) - extract(epoch from '2026-08-11 16:18:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.371187 -3.09875)', '2026-08-11 16:18:23', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371156 -3.098596)'), GeomFromEWKT('SRID=4674;POINT (-39.371187 -3.09875)'))) / (select extract(epoch from '2026-08-11 16:18:23'::timestamp) - extract(epoch from '2026-08-11 16:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371156 -3.098596)'), GeomFromEWKT('SRID=4674;POINT (-39.371187 -3.09875)'))) / (select extract(epoch from '2026-08-11 16:18:23'::timestamp) - extract(epoch from '2026-08-11 16:18:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.371217 -3.098884)', '2026-08-11 16:18:29', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371187 -3.09875)'), GeomFromEWKT('SRID=4674;POINT (-39.371217 -3.098884)'))) / (select extract(epoch from '2026-08-11 16:18:29'::timestamp) - extract(epoch from '2026-08-11 16:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371187 -3.09875)'), GeomFromEWKT('SRID=4674;POINT (-39.371217 -3.098884)'))) / (select extract(epoch from '2026-08-11 16:18:29'::timestamp) - extract(epoch from '2026-08-11 16:18: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'), 48165, 'SRID=4674;POINT (-39.371242 -3.098997)', '2026-08-11 16:18:34', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371217 -3.098884)'), GeomFromEWKT('SRID=4674;POINT (-39.371242 -3.098997)'))) / (select extract(epoch from '2026-08-11 16:18:34'::timestamp) - extract(epoch from '2026-08-11 16:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371217 -3.098884)'), GeomFromEWKT('SRID=4674;POINT (-39.371242 -3.098997)'))) / (select extract(epoch from '2026-08-11 16:18:34'::timestamp) - extract(epoch from '2026-08-11 16:18:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.371254 -3.099104)', '2026-08-11 16:18:39', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371242 -3.098997)'), GeomFromEWKT('SRID=4674;POINT (-39.371254 -3.099104)'))) / (select extract(epoch from '2026-08-11 16:18:39'::timestamp) - extract(epoch from '2026-08-11 16:18:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371242 -3.098997)'), GeomFromEWKT('SRID=4674;POINT (-39.371254 -3.099104)'))) / (select extract(epoch from '2026-08-11 16:18:39'::timestamp) - extract(epoch from '2026-08-11 16:18: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'), 48165, 'SRID=4674;POINT (-39.371281 -3.09924)', '2026-08-11 16:18:45', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371254 -3.099104)'), GeomFromEWKT('SRID=4674;POINT (-39.371281 -3.09924)'))) / (select extract(epoch from '2026-08-11 16:18:45'::timestamp) - extract(epoch from '2026-08-11 16:18:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371254 -3.099104)'), GeomFromEWKT('SRID=4674;POINT (-39.371281 -3.09924)'))) / (select extract(epoch from '2026-08-11 16:18:45'::timestamp) - extract(epoch from '2026-08-11 16:18: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'), 48165, 'SRID=4674;POINT (-39.371312 -3.099346)', '2026-08-11 16:18:50', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371281 -3.09924)'), GeomFromEWKT('SRID=4674;POINT (-39.371312 -3.099346)'))) / (select extract(epoch from '2026-08-11 16:18:50'::timestamp) - extract(epoch from '2026-08-11 16:18:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371281 -3.09924)'), GeomFromEWKT('SRID=4674;POINT (-39.371312 -3.099346)'))) / (select extract(epoch from '2026-08-11 16:18:50'::timestamp) - extract(epoch from '2026-08-11 16:18:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.371334 -3.099449)', '2026-08-11 16:18:55', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371312 -3.099346)'), GeomFromEWKT('SRID=4674;POINT (-39.371334 -3.099449)'))) / (select extract(epoch from '2026-08-11 16:18:55'::timestamp) - extract(epoch from '2026-08-11 16:18:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371312 -3.099346)'), GeomFromEWKT('SRID=4674;POINT (-39.371334 -3.099449)'))) / (select extract(epoch from '2026-08-11 16:18:55'::timestamp) - extract(epoch from '2026-08-11 16:18:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.371361 -3.099576)', '2026-08-11 16:19:01', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371334 -3.099449)'), GeomFromEWKT('SRID=4674;POINT (-39.371361 -3.099576)'))) / (select extract(epoch from '2026-08-11 16:19:01'::timestamp) - extract(epoch from '2026-08-11 16:18:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371334 -3.099449)'), GeomFromEWKT('SRID=4674;POINT (-39.371361 -3.099576)'))) / (select extract(epoch from '2026-08-11 16:19:01'::timestamp) - extract(epoch from '2026-08-11 16:18:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.371389 -3.099688)', '2026-08-11 16:19:06', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371361 -3.099576)'), GeomFromEWKT('SRID=4674;POINT (-39.371389 -3.099688)'))) / (select extract(epoch from '2026-08-11 16:19:06'::timestamp) - extract(epoch from '2026-08-11 16:19:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371361 -3.099576)'), GeomFromEWKT('SRID=4674;POINT (-39.371389 -3.099688)'))) / (select extract(epoch from '2026-08-11 16:19:06'::timestamp) - extract(epoch from '2026-08-11 16:19:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.371415 -3.099782)', '2026-08-11 16:19:10', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371389 -3.099688)'), GeomFromEWKT('SRID=4674;POINT (-39.371415 -3.099782)'))) / (select extract(epoch from '2026-08-11 16:19:10'::timestamp) - extract(epoch from '2026-08-11 16:19:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371389 -3.099688)'), GeomFromEWKT('SRID=4674;POINT (-39.371415 -3.099782)'))) / (select extract(epoch from '2026-08-11 16:19:10'::timestamp) - extract(epoch from '2026-08-11 16:19:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.37145 -3.099948)', '2026-08-11 16:19:17', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371415 -3.099782)'), GeomFromEWKT('SRID=4674;POINT (-39.37145 -3.099948)'))) / (select extract(epoch from '2026-08-11 16:19:17'::timestamp) - extract(epoch from '2026-08-11 16:19:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371415 -3.099782)'), GeomFromEWKT('SRID=4674;POINT (-39.37145 -3.099948)'))) / (select extract(epoch from '2026-08-11 16:19:17'::timestamp) - extract(epoch from '2026-08-11 16:19: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'), 48165, 'SRID=4674;POINT (-39.371488 -3.10008)', '2026-08-11 16:19:23', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37145 -3.099948)'), GeomFromEWKT('SRID=4674;POINT (-39.371488 -3.10008)'))) / (select extract(epoch from '2026-08-11 16:19:23'::timestamp) - extract(epoch from '2026-08-11 16:19:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37145 -3.099948)'), GeomFromEWKT('SRID=4674;POINT (-39.371488 -3.10008)'))) / (select extract(epoch from '2026-08-11 16:19:23'::timestamp) - extract(epoch from '2026-08-11 16:19: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'), 48165, 'SRID=4674;POINT (-39.371498 -3.100174)', '2026-08-11 16:19:27', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371488 -3.10008)'), GeomFromEWKT('SRID=4674;POINT (-39.371498 -3.100174)'))) / (select extract(epoch from '2026-08-11 16:19:27'::timestamp) - extract(epoch from '2026-08-11 16:19:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371488 -3.10008)'), GeomFromEWKT('SRID=4674;POINT (-39.371498 -3.100174)'))) / (select extract(epoch from '2026-08-11 16:19:27'::timestamp) - extract(epoch from '2026-08-11 16:19:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.371512 -3.100303)', '2026-08-11 16:19:33', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371498 -3.100174)'), GeomFromEWKT('SRID=4674;POINT (-39.371512 -3.100303)'))) / (select extract(epoch from '2026-08-11 16:19:33'::timestamp) - extract(epoch from '2026-08-11 16:19:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371498 -3.100174)'), GeomFromEWKT('SRID=4674;POINT (-39.371512 -3.100303)'))) / (select extract(epoch from '2026-08-11 16:19:33'::timestamp) - extract(epoch from '2026-08-11 16:19: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'), 48165, 'SRID=4674;POINT (-39.371529 -3.10042)', '2026-08-11 16:19:38', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371512 -3.100303)'), GeomFromEWKT('SRID=4674;POINT (-39.371529 -3.10042)'))) / (select extract(epoch from '2026-08-11 16:19:38'::timestamp) - extract(epoch from '2026-08-11 16:19:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371512 -3.100303)'), GeomFromEWKT('SRID=4674;POINT (-39.371529 -3.10042)'))) / (select extract(epoch from '2026-08-11 16:19:38'::timestamp) - extract(epoch from '2026-08-11 16:19: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'), 48165, 'SRID=4674;POINT (-39.371545 -3.100551)', '2026-08-11 16:19:44', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371529 -3.10042)'), GeomFromEWKT('SRID=4674;POINT (-39.371545 -3.100551)'))) / (select extract(epoch from '2026-08-11 16:19:44'::timestamp) - extract(epoch from '2026-08-11 16:19:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371529 -3.10042)'), GeomFromEWKT('SRID=4674;POINT (-39.371545 -3.100551)'))) / (select extract(epoch from '2026-08-11 16:19:44'::timestamp) - extract(epoch from '2026-08-11 16:19: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'), 48165, 'SRID=4674;POINT (-39.371552 -3.10069)', '2026-08-11 16:19:50', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371545 -3.100551)'), GeomFromEWKT('SRID=4674;POINT (-39.371552 -3.10069)'))) / (select extract(epoch from '2026-08-11 16:19:50'::timestamp) - extract(epoch from '2026-08-11 16:19:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371545 -3.100551)'), GeomFromEWKT('SRID=4674;POINT (-39.371552 -3.10069)'))) / (select extract(epoch from '2026-08-11 16:19:50'::timestamp) - extract(epoch from '2026-08-11 16:19:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.371575 -3.100839)', '2026-08-11 16:19:56', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371552 -3.10069)'), GeomFromEWKT('SRID=4674;POINT (-39.371575 -3.100839)'))) / (select extract(epoch from '2026-08-11 16:19:56'::timestamp) - extract(epoch from '2026-08-11 16:19:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371552 -3.10069)'), GeomFromEWKT('SRID=4674;POINT (-39.371575 -3.100839)'))) / (select extract(epoch from '2026-08-11 16:19:56'::timestamp) - extract(epoch from '2026-08-11 16:19: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'), 48165, 'SRID=4674;POINT (-39.371601 -3.10099)', '2026-08-11 16:20:02', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371575 -3.100839)'), GeomFromEWKT('SRID=4674;POINT (-39.371601 -3.10099)'))) / (select extract(epoch from '2026-08-11 16:20:02'::timestamp) - extract(epoch from '2026-08-11 16:19:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371575 -3.100839)'), GeomFromEWKT('SRID=4674;POINT (-39.371601 -3.10099)'))) / (select extract(epoch from '2026-08-11 16:20:02'::timestamp) - extract(epoch from '2026-08-11 16:19: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'), 48165, 'SRID=4674;POINT (-39.371629 -3.101089)', '2026-08-11 16:20:07', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371601 -3.10099)'), GeomFromEWKT('SRID=4674;POINT (-39.371629 -3.101089)'))) / (select extract(epoch from '2026-08-11 16:20:07'::timestamp) - extract(epoch from '2026-08-11 16:20:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371601 -3.10099)'), GeomFromEWKT('SRID=4674;POINT (-39.371629 -3.101089)'))) / (select extract(epoch from '2026-08-11 16:20:07'::timestamp) - extract(epoch from '2026-08-11 16:20:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.371662 -3.101282)', '2026-08-11 16:20:15', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371629 -3.101089)'), GeomFromEWKT('SRID=4674;POINT (-39.371662 -3.101282)'))) / (select extract(epoch from '2026-08-11 16:20:15'::timestamp) - extract(epoch from '2026-08-11 16:20:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371629 -3.101089)'), GeomFromEWKT('SRID=4674;POINT (-39.371662 -3.101282)'))) / (select extract(epoch from '2026-08-11 16:20:15'::timestamp) - extract(epoch from '2026-08-11 16:20: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'), 48165, 'SRID=4674;POINT (-39.37168 -3.101373)', '2026-08-11 16:20:19', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371662 -3.101282)'), GeomFromEWKT('SRID=4674;POINT (-39.37168 -3.101373)'))) / (select extract(epoch from '2026-08-11 16:20:19'::timestamp) - extract(epoch from '2026-08-11 16:20:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371662 -3.101282)'), GeomFromEWKT('SRID=4674;POINT (-39.37168 -3.101373)'))) / (select extract(epoch from '2026-08-11 16:20:19'::timestamp) - extract(epoch from '2026-08-11 16:20: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'), 48165, 'SRID=4674;POINT (-39.371701 -3.101412)', '2026-08-11 16:20:21', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37168 -3.101373)'), GeomFromEWKT('SRID=4674;POINT (-39.371701 -3.101412)'))) / (select extract(epoch from '2026-08-11 16:20:21'::timestamp) - extract(epoch from '2026-08-11 16:20:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37168 -3.101373)'), GeomFromEWKT('SRID=4674;POINT (-39.371701 -3.101412)'))) / (select extract(epoch from '2026-08-11 16:20:21'::timestamp) - extract(epoch from '2026-08-11 16:20:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.371699 -3.101431)', '2026-08-11 16:20:22', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371701 -3.101412)'), GeomFromEWKT('SRID=4674;POINT (-39.371699 -3.101431)'))) / (select extract(epoch from '2026-08-11 16:20:22'::timestamp) - extract(epoch from '2026-08-11 16:20:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371701 -3.101412)'), GeomFromEWKT('SRID=4674;POINT (-39.371699 -3.101431)'))) / (select extract(epoch from '2026-08-11 16:20:22'::timestamp) - extract(epoch from '2026-08-11 16:20: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'), 48165, 'SRID=4674;POINT (-39.371706 -3.101474)', '2026-08-11 16:20:24', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371699 -3.101431)'), GeomFromEWKT('SRID=4674;POINT (-39.371706 -3.101474)'))) / (select extract(epoch from '2026-08-11 16:20:24'::timestamp) - extract(epoch from '2026-08-11 16:20:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371699 -3.101431)'), GeomFromEWKT('SRID=4674;POINT (-39.371706 -3.101474)'))) / (select extract(epoch from '2026-08-11 16:20:24'::timestamp) - extract(epoch from '2026-08-11 16:20: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'), 48165, 'SRID=4674;POINT (-39.371718 -3.1015)', '2026-08-11 16:20:25', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371706 -3.101474)'), GeomFromEWKT('SRID=4674;POINT (-39.371718 -3.1015)'))) / (select extract(epoch from '2026-08-11 16:20:25'::timestamp) - extract(epoch from '2026-08-11 16:20:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371706 -3.101474)'), GeomFromEWKT('SRID=4674;POINT (-39.371718 -3.1015)'))) / (select extract(epoch from '2026-08-11 16:20:25'::timestamp) - extract(epoch from '2026-08-11 16:20: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'), 48165, 'SRID=4674;POINT (-39.371739 -3.101586)', '2026-08-11 16:20:29', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371718 -3.1015)'), GeomFromEWKT('SRID=4674;POINT (-39.371739 -3.101586)'))) / (select extract(epoch from '2026-08-11 16:20:29'::timestamp) - extract(epoch from '2026-08-11 16:20:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371718 -3.1015)'), GeomFromEWKT('SRID=4674;POINT (-39.371739 -3.101586)'))) / (select extract(epoch from '2026-08-11 16:20:29'::timestamp) - extract(epoch from '2026-08-11 16:20: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'), 48165, 'SRID=4674;POINT (-39.371773 -3.101675)', '2026-08-11 16:20:33', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371739 -3.101586)'), GeomFromEWKT('SRID=4674;POINT (-39.371773 -3.101675)'))) / (select extract(epoch from '2026-08-11 16:20:33'::timestamp) - extract(epoch from '2026-08-11 16:20:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371739 -3.101586)'), GeomFromEWKT('SRID=4674;POINT (-39.371773 -3.101675)'))) / (select extract(epoch from '2026-08-11 16:20:33'::timestamp) - extract(epoch from '2026-08-11 16:20: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'), 48165, 'SRID=4674;POINT (-39.371802 -3.101805)', '2026-08-11 16:20:39', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371773 -3.101675)'), GeomFromEWKT('SRID=4674;POINT (-39.371802 -3.101805)'))) / (select extract(epoch from '2026-08-11 16:20:39'::timestamp) - extract(epoch from '2026-08-11 16:20:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371773 -3.101675)'), GeomFromEWKT('SRID=4674;POINT (-39.371802 -3.101805)'))) / (select extract(epoch from '2026-08-11 16:20:39'::timestamp) - extract(epoch from '2026-08-11 16:20:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.371825 -3.101941)', '2026-08-11 16:20:45', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371802 -3.101805)'), GeomFromEWKT('SRID=4674;POINT (-39.371825 -3.101941)'))) / (select extract(epoch from '2026-08-11 16:20:45'::timestamp) - extract(epoch from '2026-08-11 16:20:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371802 -3.101805)'), GeomFromEWKT('SRID=4674;POINT (-39.371825 -3.101941)'))) / (select extract(epoch from '2026-08-11 16:20:45'::timestamp) - extract(epoch from '2026-08-11 16:20: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'), 48165, 'SRID=4674;POINT (-39.371837 -3.102007)', '2026-08-11 16:20:48', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371825 -3.101941)'), GeomFromEWKT('SRID=4674;POINT (-39.371837 -3.102007)'))) / (select extract(epoch from '2026-08-11 16:20:48'::timestamp) - extract(epoch from '2026-08-11 16:20:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371825 -3.101941)'), GeomFromEWKT('SRID=4674;POINT (-39.371837 -3.102007)'))) / (select extract(epoch from '2026-08-11 16:20:48'::timestamp) - extract(epoch from '2026-08-11 16:20:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.371839 -3.102051)', '2026-08-11 16:20:50', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371837 -3.102007)'), GeomFromEWKT('SRID=4674;POINT (-39.371839 -3.102051)'))) / (select extract(epoch from '2026-08-11 16:20:50'::timestamp) - extract(epoch from '2026-08-11 16:20:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371837 -3.102007)'), GeomFromEWKT('SRID=4674;POINT (-39.371839 -3.102051)'))) / (select extract(epoch from '2026-08-11 16:20:50'::timestamp) - extract(epoch from '2026-08-11 16:20: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'), 48165, 'SRID=4674;POINT (-39.37187 -3.102192)', '2026-08-11 16:20:56', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371839 -3.102051)'), GeomFromEWKT('SRID=4674;POINT (-39.37187 -3.102192)'))) / (select extract(epoch from '2026-08-11 16:20:56'::timestamp) - extract(epoch from '2026-08-11 16:20:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371839 -3.102051)'), GeomFromEWKT('SRID=4674;POINT (-39.37187 -3.102192)'))) / (select extract(epoch from '2026-08-11 16:20:56'::timestamp) - extract(epoch from '2026-08-11 16:20: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'), 48165, 'SRID=4674;POINT (-39.371897 -3.102323)', '2026-08-11 16:21:02', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37187 -3.102192)'), GeomFromEWKT('SRID=4674;POINT (-39.371897 -3.102323)'))) / (select extract(epoch from '2026-08-11 16:21:02'::timestamp) - extract(epoch from '2026-08-11 16:20:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37187 -3.102192)'), GeomFromEWKT('SRID=4674;POINT (-39.371897 -3.102323)'))) / (select extract(epoch from '2026-08-11 16:21:02'::timestamp) - extract(epoch from '2026-08-11 16:20: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'), 48165, 'SRID=4674;POINT (-39.371924 -3.102471)', '2026-08-11 16:21:08', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371897 -3.102323)'), GeomFromEWKT('SRID=4674;POINT (-39.371924 -3.102471)'))) / (select extract(epoch from '2026-08-11 16:21:08'::timestamp) - extract(epoch from '2026-08-11 16:21:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371897 -3.102323)'), GeomFromEWKT('SRID=4674;POINT (-39.371924 -3.102471)'))) / (select extract(epoch from '2026-08-11 16:21:08'::timestamp) - extract(epoch from '2026-08-11 16:21:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.371947 -3.10256)', '2026-08-11 16:21:12', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371924 -3.102471)'), GeomFromEWKT('SRID=4674;POINT (-39.371947 -3.10256)'))) / (select extract(epoch from '2026-08-11 16:21:12'::timestamp) - extract(epoch from '2026-08-11 16:21:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371924 -3.102471)'), GeomFromEWKT('SRID=4674;POINT (-39.371947 -3.10256)'))) / (select extract(epoch from '2026-08-11 16:21:12'::timestamp) - extract(epoch from '2026-08-11 16:21: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'), 48165, 'SRID=4674;POINT (-39.371965 -3.102654)', '2026-08-11 16:21:16', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371947 -3.10256)'), GeomFromEWKT('SRID=4674;POINT (-39.371965 -3.102654)'))) / (select extract(epoch from '2026-08-11 16:21:16'::timestamp) - extract(epoch from '2026-08-11 16:21:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371947 -3.10256)'), GeomFromEWKT('SRID=4674;POINT (-39.371965 -3.102654)'))) / (select extract(epoch from '2026-08-11 16:21:16'::timestamp) - extract(epoch from '2026-08-11 16:21: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'), 48165, 'SRID=4674;POINT (-39.371983 -3.102756)', '2026-08-11 16:21:21', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371965 -3.102654)'), GeomFromEWKT('SRID=4674;POINT (-39.371983 -3.102756)'))) / (select extract(epoch from '2026-08-11 16:21:21'::timestamp) - extract(epoch from '2026-08-11 16:21:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371965 -3.102654)'), GeomFromEWKT('SRID=4674;POINT (-39.371983 -3.102756)'))) / (select extract(epoch from '2026-08-11 16:21:21'::timestamp) - extract(epoch from '2026-08-11 16:21: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'), 48165, 'SRID=4674;POINT (-39.371992 -3.102774)', '2026-08-11 16:21:22', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371983 -3.102756)'), GeomFromEWKT('SRID=4674;POINT (-39.371992 -3.102774)'))) / (select extract(epoch from '2026-08-11 16:21:22'::timestamp) - extract(epoch from '2026-08-11 16:21:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371983 -3.102756)'), GeomFromEWKT('SRID=4674;POINT (-39.371992 -3.102774)'))) / (select extract(epoch from '2026-08-11 16:21:22'::timestamp) - extract(epoch from '2026-08-11 16:21:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.372004 -3.10288)', '2026-08-11 16:21:27', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371992 -3.102774)'), GeomFromEWKT('SRID=4674;POINT (-39.372004 -3.10288)'))) / (select extract(epoch from '2026-08-11 16:21:27'::timestamp) - extract(epoch from '2026-08-11 16:21:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371992 -3.102774)'), GeomFromEWKT('SRID=4674;POINT (-39.372004 -3.10288)'))) / (select extract(epoch from '2026-08-11 16:21:27'::timestamp) - extract(epoch from '2026-08-11 16:21:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.372039 -3.103037)', '2026-08-11 16:21:34', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372004 -3.10288)'), GeomFromEWKT('SRID=4674;POINT (-39.372039 -3.103037)'))) / (select extract(epoch from '2026-08-11 16:21:34'::timestamp) - extract(epoch from '2026-08-11 16:21:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372004 -3.10288)'), GeomFromEWKT('SRID=4674;POINT (-39.372039 -3.103037)'))) / (select extract(epoch from '2026-08-11 16:21:34'::timestamp) - extract(epoch from '2026-08-11 16:21:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.372059 -3.103151)', '2026-08-11 16:21:39', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372039 -3.103037)'), GeomFromEWKT('SRID=4674;POINT (-39.372059 -3.103151)'))) / (select extract(epoch from '2026-08-11 16:21:39'::timestamp) - extract(epoch from '2026-08-11 16:21:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372039 -3.103037)'), GeomFromEWKT('SRID=4674;POINT (-39.372059 -3.103151)'))) / (select extract(epoch from '2026-08-11 16:21:39'::timestamp) - extract(epoch from '2026-08-11 16:21:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.372086 -3.10329)', '2026-08-11 16:21:45', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372059 -3.103151)'), GeomFromEWKT('SRID=4674;POINT (-39.372086 -3.10329)'))) / (select extract(epoch from '2026-08-11 16:21:45'::timestamp) - extract(epoch from '2026-08-11 16:21:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372059 -3.103151)'), GeomFromEWKT('SRID=4674;POINT (-39.372086 -3.10329)'))) / (select extract(epoch from '2026-08-11 16:21:45'::timestamp) - extract(epoch from '2026-08-11 16:21:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.372103 -3.103383)', '2026-08-11 16:21:49', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372086 -3.10329)'), GeomFromEWKT('SRID=4674;POINT (-39.372103 -3.103383)'))) / (select extract(epoch from '2026-08-11 16:21:49'::timestamp) - extract(epoch from '2026-08-11 16:21:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372086 -3.10329)'), GeomFromEWKT('SRID=4674;POINT (-39.372103 -3.103383)'))) / (select extract(epoch from '2026-08-11 16:21:49'::timestamp) - extract(epoch from '2026-08-11 16:21:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.372101 -3.103403)', '2026-08-11 16:21:50', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372103 -3.103383)'), GeomFromEWKT('SRID=4674;POINT (-39.372101 -3.103403)'))) / (select extract(epoch from '2026-08-11 16:21:50'::timestamp) - extract(epoch from '2026-08-11 16:21:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372103 -3.103383)'), GeomFromEWKT('SRID=4674;POINT (-39.372101 -3.103403)'))) / (select extract(epoch from '2026-08-11 16:21:50'::timestamp) - extract(epoch from '2026-08-11 16:21:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.372137 -3.103499)', '2026-08-11 16:21:54', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372101 -3.103403)'), GeomFromEWKT('SRID=4674;POINT (-39.372137 -3.103499)'))) / (select extract(epoch from '2026-08-11 16:21:54'::timestamp) - extract(epoch from '2026-08-11 16:21:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372101 -3.103403)'), GeomFromEWKT('SRID=4674;POINT (-39.372137 -3.103499)'))) / (select extract(epoch from '2026-08-11 16:21:54'::timestamp) - extract(epoch from '2026-08-11 16:21: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'), 48165, 'SRID=4674;POINT (-39.372175 -3.103663)', '2026-08-11 16:22:01', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372137 -3.103499)'), GeomFromEWKT('SRID=4674;POINT (-39.372175 -3.103663)'))) / (select extract(epoch from '2026-08-11 16:22:01'::timestamp) - extract(epoch from '2026-08-11 16:21:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372137 -3.103499)'), GeomFromEWKT('SRID=4674;POINT (-39.372175 -3.103663)'))) / (select extract(epoch from '2026-08-11 16:22:01'::timestamp) - extract(epoch from '2026-08-11 16:21: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'), 48165, 'SRID=4674;POINT (-39.372195 -3.103804)', '2026-08-11 16:22:07', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372175 -3.103663)'), GeomFromEWKT('SRID=4674;POINT (-39.372195 -3.103804)'))) / (select extract(epoch from '2026-08-11 16:22:07'::timestamp) - extract(epoch from '2026-08-11 16:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372175 -3.103663)'), GeomFromEWKT('SRID=4674;POINT (-39.372195 -3.103804)'))) / (select extract(epoch from '2026-08-11 16:22:07'::timestamp) - extract(epoch from '2026-08-11 16:22: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'), 48165, 'SRID=4674;POINT (-39.372222 -3.103938)', '2026-08-11 16:22:13', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372195 -3.103804)'), GeomFromEWKT('SRID=4674;POINT (-39.372222 -3.103938)'))) / (select extract(epoch from '2026-08-11 16:22:13'::timestamp) - extract(epoch from '2026-08-11 16:22:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372195 -3.103804)'), GeomFromEWKT('SRID=4674;POINT (-39.372222 -3.103938)'))) / (select extract(epoch from '2026-08-11 16:22:13'::timestamp) - extract(epoch from '2026-08-11 16:22: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'), 48165, 'SRID=4674;POINT (-39.372248 -3.104074)', '2026-08-11 16:22:19', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372222 -3.103938)'), GeomFromEWKT('SRID=4674;POINT (-39.372248 -3.104074)'))) / (select extract(epoch from '2026-08-11 16:22:19'::timestamp) - extract(epoch from '2026-08-11 16:22:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372222 -3.103938)'), GeomFromEWKT('SRID=4674;POINT (-39.372248 -3.104074)'))) / (select extract(epoch from '2026-08-11 16:22:19'::timestamp) - extract(epoch from '2026-08-11 16:22: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'), 48165, 'SRID=4674;POINT (-39.372279 -3.104208)', '2026-08-11 16:22:25', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372248 -3.104074)'), GeomFromEWKT('SRID=4674;POINT (-39.372279 -3.104208)'))) / (select extract(epoch from '2026-08-11 16:22:25'::timestamp) - extract(epoch from '2026-08-11 16:22:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372248 -3.104074)'), GeomFromEWKT('SRID=4674;POINT (-39.372279 -3.104208)'))) / (select extract(epoch from '2026-08-11 16:22:25'::timestamp) - extract(epoch from '2026-08-11 16:22:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.372288 -3.104251)', '2026-08-11 16:22:27', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372279 -3.104208)'), GeomFromEWKT('SRID=4674;POINT (-39.372288 -3.104251)'))) / (select extract(epoch from '2026-08-11 16:22:27'::timestamp) - extract(epoch from '2026-08-11 16:22:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372279 -3.104208)'), GeomFromEWKT('SRID=4674;POINT (-39.372288 -3.104251)'))) / (select extract(epoch from '2026-08-11 16:22:27'::timestamp) - extract(epoch from '2026-08-11 16:22: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'), 48165, 'SRID=4674;POINT (-39.372315 -3.104296)', '2026-08-11 16:22:29', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372288 -3.104251)'), GeomFromEWKT('SRID=4674;POINT (-39.372315 -3.104296)'))) / (select extract(epoch from '2026-08-11 16:22:29'::timestamp) - extract(epoch from '2026-08-11 16:22:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372288 -3.104251)'), GeomFromEWKT('SRID=4674;POINT (-39.372315 -3.104296)'))) / (select extract(epoch from '2026-08-11 16:22:29'::timestamp) - extract(epoch from '2026-08-11 16:22:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.372334 -3.104398)', '2026-08-11 16:22:34', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372315 -3.104296)'), GeomFromEWKT('SRID=4674;POINT (-39.372334 -3.104398)'))) / (select extract(epoch from '2026-08-11 16:22:34'::timestamp) - extract(epoch from '2026-08-11 16:22:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372315 -3.104296)'), GeomFromEWKT('SRID=4674;POINT (-39.372334 -3.104398)'))) / (select extract(epoch from '2026-08-11 16:22:34'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.372347 -3.104421)', '2026-08-11 16:22:35', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372334 -3.104398)'), GeomFromEWKT('SRID=4674;POINT (-39.372347 -3.104421)'))) / (select extract(epoch from '2026-08-11 16:22:35'::timestamp) - extract(epoch from '2026-08-11 16:22:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372334 -3.104398)'), GeomFromEWKT('SRID=4674;POINT (-39.372347 -3.104421)'))) / (select extract(epoch from '2026-08-11 16:22:35'::timestamp) - extract(epoch from '2026-08-11 16:22:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.37237 -3.104469)', '2026-08-11 16:22:37', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372347 -3.104421)'), GeomFromEWKT('SRID=4674;POINT (-39.37237 -3.104469)'))) / (select extract(epoch from '2026-08-11 16:22:37'::timestamp) - extract(epoch from '2026-08-11 16:22:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372347 -3.104421)'), GeomFromEWKT('SRID=4674;POINT (-39.37237 -3.104469)'))) / (select extract(epoch from '2026-08-11 16:22:37'::timestamp) - extract(epoch from '2026-08-11 16:22:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.372369 -3.104492)', '2026-08-11 16:22:38', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37237 -3.104469)'), GeomFromEWKT('SRID=4674;POINT (-39.372369 -3.104492)'))) / (select extract(epoch from '2026-08-11 16:22:38'::timestamp) - extract(epoch from '2026-08-11 16:22:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37237 -3.104469)'), GeomFromEWKT('SRID=4674;POINT (-39.372369 -3.104492)'))) / (select extract(epoch from '2026-08-11 16:22:38'::timestamp) - extract(epoch from '2026-08-11 16:22: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'), 48165, 'SRID=4674;POINT (-39.372393 -3.104626)', '2026-08-11 16:22:44', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372369 -3.104492)'), GeomFromEWKT('SRID=4674;POINT (-39.372393 -3.104626)'))) / (select extract(epoch from '2026-08-11 16:22:44'::timestamp) - extract(epoch from '2026-08-11 16:22:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372369 -3.104492)'), GeomFromEWKT('SRID=4674;POINT (-39.372393 -3.104626)'))) / (select extract(epoch from '2026-08-11 16:22:44'::timestamp) - extract(epoch from '2026-08-11 16:22:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.37242 -3.104761)', '2026-08-11 16:22:50', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372393 -3.104626)'), GeomFromEWKT('SRID=4674;POINT (-39.37242 -3.104761)'))) / (select extract(epoch from '2026-08-11 16:22:50'::timestamp) - extract(epoch from '2026-08-11 16:22:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372393 -3.104626)'), GeomFromEWKT('SRID=4674;POINT (-39.37242 -3.104761)'))) / (select extract(epoch from '2026-08-11 16:22:50'::timestamp) - extract(epoch from '2026-08-11 16:22:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.372443 -3.104873)', '2026-08-11 16:22:55', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37242 -3.104761)'), GeomFromEWKT('SRID=4674;POINT (-39.372443 -3.104873)'))) / (select extract(epoch from '2026-08-11 16:22:55'::timestamp) - extract(epoch from '2026-08-11 16:22:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37242 -3.104761)'), GeomFromEWKT('SRID=4674;POINT (-39.372443 -3.104873)'))) / (select extract(epoch from '2026-08-11 16:22:55'::timestamp) - extract(epoch from '2026-08-11 16:22:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.372461 -3.104988)', '2026-08-11 16:23:00', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372443 -3.104873)'), GeomFromEWKT('SRID=4674;POINT (-39.372461 -3.104988)'))) / (select extract(epoch from '2026-08-11 16:23:00'::timestamp) - extract(epoch from '2026-08-11 16:22:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372443 -3.104873)'), GeomFromEWKT('SRID=4674;POINT (-39.372461 -3.104988)'))) / (select extract(epoch from '2026-08-11 16:23:00'::timestamp) - extract(epoch from '2026-08-11 16:22: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'), 48165, 'SRID=4674;POINT (-39.372483 -3.105097)', '2026-08-11 16:23:05', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372461 -3.104988)'), GeomFromEWKT('SRID=4674;POINT (-39.372483 -3.105097)'))) / (select extract(epoch from '2026-08-11 16:23:05'::timestamp) - extract(epoch from '2026-08-11 16:23:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372461 -3.104988)'), GeomFromEWKT('SRID=4674;POINT (-39.372483 -3.105097)'))) / (select extract(epoch from '2026-08-11 16:23:05'::timestamp) - extract(epoch from '2026-08-11 16:23: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'), 48165, 'SRID=4674;POINT (-39.372509 -3.105219)', '2026-08-11 16:23:10', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372483 -3.105097)'), GeomFromEWKT('SRID=4674;POINT (-39.372509 -3.105219)'))) / (select extract(epoch from '2026-08-11 16:23:10'::timestamp) - extract(epoch from '2026-08-11 16:23:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372483 -3.105097)'), GeomFromEWKT('SRID=4674;POINT (-39.372509 -3.105219)'))) / (select extract(epoch from '2026-08-11 16:23:10'::timestamp) - extract(epoch from '2026-08-11 16:23: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'), 48165, 'SRID=4674;POINT (-39.372524 -3.105336)', '2026-08-11 16:23:15', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372509 -3.105219)'), GeomFromEWKT('SRID=4674;POINT (-39.372524 -3.105336)'))) / (select extract(epoch from '2026-08-11 16:23:15'::timestamp) - extract(epoch from '2026-08-11 16:23:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372509 -3.105219)'), GeomFromEWKT('SRID=4674;POINT (-39.372524 -3.105336)'))) / (select extract(epoch from '2026-08-11 16:23:15'::timestamp) - extract(epoch from '2026-08-11 16:23: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'), 48165, 'SRID=4674;POINT (-39.372549 -3.105492)', '2026-08-11 16:23:22', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372524 -3.105336)'), GeomFromEWKT('SRID=4674;POINT (-39.372549 -3.105492)'))) / (select extract(epoch from '2026-08-11 16:23:22'::timestamp) - extract(epoch from '2026-08-11 16:23:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372524 -3.105336)'), GeomFromEWKT('SRID=4674;POINT (-39.372549 -3.105492)'))) / (select extract(epoch from '2026-08-11 16:23:22'::timestamp) - extract(epoch from '2026-08-11 16:23: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'), 48165, 'SRID=4674;POINT (-39.372555 -3.105555)', '2026-08-11 16:23:25', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372549 -3.105492)'), GeomFromEWKT('SRID=4674;POINT (-39.372555 -3.105555)'))) / (select extract(epoch from '2026-08-11 16:23:25'::timestamp) - extract(epoch from '2026-08-11 16:23:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372549 -3.105492)'), GeomFromEWKT('SRID=4674;POINT (-39.372555 -3.105555)'))) / (select extract(epoch from '2026-08-11 16:23:25'::timestamp) - extract(epoch from '2026-08-11 16:23: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'), 48165, 'SRID=4674;POINT (-39.372571 -3.10559)', '2026-08-11 16:23:27', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372555 -3.105555)'), GeomFromEWKT('SRID=4674;POINT (-39.372571 -3.10559)'))) / (select extract(epoch from '2026-08-11 16:23:27'::timestamp) - extract(epoch from '2026-08-11 16:23:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372555 -3.105555)'), GeomFromEWKT('SRID=4674;POINT (-39.372571 -3.10559)'))) / (select extract(epoch from '2026-08-11 16:23:27'::timestamp) - extract(epoch from '2026-08-11 16:23: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'), 48165, 'SRID=4674;POINT (-39.372585 -3.105699)', '2026-08-11 16:23:32', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372571 -3.10559)'), GeomFromEWKT('SRID=4674;POINT (-39.372585 -3.105699)'))) / (select extract(epoch from '2026-08-11 16:23:32'::timestamp) - extract(epoch from '2026-08-11 16:23:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372571 -3.10559)'), GeomFromEWKT('SRID=4674;POINT (-39.372585 -3.105699)'))) / (select extract(epoch from '2026-08-11 16:23:32'::timestamp) - extract(epoch from '2026-08-11 16:23: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'), 48165, 'SRID=4674;POINT (-39.3726 -3.105809)', '2026-08-11 16:23:37', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372585 -3.105699)'), GeomFromEWKT('SRID=4674;POINT (-39.3726 -3.105809)'))) / (select extract(epoch from '2026-08-11 16:23:37'::timestamp) - extract(epoch from '2026-08-11 16:23:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372585 -3.105699)'), GeomFromEWKT('SRID=4674;POINT (-39.3726 -3.105809)'))) / (select extract(epoch from '2026-08-11 16:23:37'::timestamp) - extract(epoch from '2026-08-11 16:23: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'), 48165, 'SRID=4674;POINT (-39.372621 -3.105919)', '2026-08-11 16:23:42', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3726 -3.105809)'), GeomFromEWKT('SRID=4674;POINT (-39.372621 -3.105919)'))) / (select extract(epoch from '2026-08-11 16:23:42'::timestamp) - extract(epoch from '2026-08-11 16:23:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3726 -3.105809)'), GeomFromEWKT('SRID=4674;POINT (-39.372621 -3.105919)'))) / (select extract(epoch from '2026-08-11 16:23:42'::timestamp) - extract(epoch from '2026-08-11 16:23: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'), 48165, 'SRID=4674;POINT (-39.372636 -3.106022)', '2026-08-11 16:23:47', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372621 -3.105919)'), GeomFromEWKT('SRID=4674;POINT (-39.372636 -3.106022)'))) / (select extract(epoch from '2026-08-11 16:23:47'::timestamp) - extract(epoch from '2026-08-11 16:23:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372621 -3.105919)'), GeomFromEWKT('SRID=4674;POINT (-39.372636 -3.106022)'))) / (select extract(epoch from '2026-08-11 16:23:47'::timestamp) - extract(epoch from '2026-08-11 16:23:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.372656 -3.106158)', '2026-08-11 16:23:53', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372636 -3.106022)'), GeomFromEWKT('SRID=4674;POINT (-39.372656 -3.106158)'))) / (select extract(epoch from '2026-08-11 16:23:53'::timestamp) - extract(epoch from '2026-08-11 16:23:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372636 -3.106022)'), GeomFromEWKT('SRID=4674;POINT (-39.372656 -3.106158)'))) / (select extract(epoch from '2026-08-11 16:23:53'::timestamp) - extract(epoch from '2026-08-11 16:23: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'), 48165, 'SRID=4674;POINT (-39.372661 -3.106183)', '2026-08-11 16:23:54', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372656 -3.106158)'), GeomFromEWKT('SRID=4674;POINT (-39.372661 -3.106183)'))) / (select extract(epoch from '2026-08-11 16:23:54'::timestamp) - extract(epoch from '2026-08-11 16:23:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372656 -3.106158)'), GeomFromEWKT('SRID=4674;POINT (-39.372661 -3.106183)'))) / (select extract(epoch from '2026-08-11 16:23:54'::timestamp) - extract(epoch from '2026-08-11 16:23:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.372682 -3.106248)', '2026-08-11 16:23:57', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372661 -3.106183)'), GeomFromEWKT('SRID=4674;POINT (-39.372682 -3.106248)'))) / (select extract(epoch from '2026-08-11 16:23:57'::timestamp) - extract(epoch from '2026-08-11 16:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372661 -3.106183)'), GeomFromEWKT('SRID=4674;POINT (-39.372682 -3.106248)'))) / (select extract(epoch from '2026-08-11 16:23:57'::timestamp) - extract(epoch from '2026-08-11 16:23: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'), 48165, 'SRID=4674;POINT (-39.372704 -3.106362)', '2026-08-11 16:24:02', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372682 -3.106248)'), GeomFromEWKT('SRID=4674;POINT (-39.372704 -3.106362)'))) / (select extract(epoch from '2026-08-11 16:24:02'::timestamp) - extract(epoch from '2026-08-11 16:23:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372682 -3.106248)'), GeomFromEWKT('SRID=4674;POINT (-39.372704 -3.106362)'))) / (select extract(epoch from '2026-08-11 16:24:02'::timestamp) - extract(epoch from '2026-08-11 16:23: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'), 48165, 'SRID=4674;POINT (-39.372715 -3.106496)', '2026-08-11 16:24:08', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372704 -3.106362)'), GeomFromEWKT('SRID=4674;POINT (-39.372715 -3.106496)'))) / (select extract(epoch from '2026-08-11 16:24:08'::timestamp) - extract(epoch from '2026-08-11 16:24:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372704 -3.106362)'), GeomFromEWKT('SRID=4674;POINT (-39.372715 -3.106496)'))) / (select extract(epoch from '2026-08-11 16:24:08'::timestamp) - extract(epoch from '2026-08-11 16:24:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.372727 -3.106598)', '2026-08-11 16:24:13', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372715 -3.106496)'), GeomFromEWKT('SRID=4674;POINT (-39.372727 -3.106598)'))) / (select extract(epoch from '2026-08-11 16:24:13'::timestamp) - extract(epoch from '2026-08-11 16:24:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372715 -3.106496)'), GeomFromEWKT('SRID=4674;POINT (-39.372727 -3.106598)'))) / (select extract(epoch from '2026-08-11 16:24:13'::timestamp) - extract(epoch from '2026-08-11 16:24: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'), 48165, 'SRID=4674;POINT (-39.372742 -3.106715)', '2026-08-11 16:24:18', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372727 -3.106598)'), GeomFromEWKT('SRID=4674;POINT (-39.372742 -3.106715)'))) / (select extract(epoch from '2026-08-11 16:24:18'::timestamp) - extract(epoch from '2026-08-11 16:24:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372727 -3.106598)'), GeomFromEWKT('SRID=4674;POINT (-39.372742 -3.106715)'))) / (select extract(epoch from '2026-08-11 16:24:18'::timestamp) - extract(epoch from '2026-08-11 16:24: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'), 48165, 'SRID=4674;POINT (-39.372764 -3.106802)', '2026-08-11 16:24:22', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372742 -3.106715)'), GeomFromEWKT('SRID=4674;POINT (-39.372764 -3.106802)'))) / (select extract(epoch from '2026-08-11 16:24:22'::timestamp) - extract(epoch from '2026-08-11 16:24:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372742 -3.106715)'), GeomFromEWKT('SRID=4674;POINT (-39.372764 -3.106802)'))) / (select extract(epoch from '2026-08-11 16:24:22'::timestamp) - extract(epoch from '2026-08-11 16:24: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'), 48165, 'SRID=4674;POINT (-39.372761 -3.106844)', '2026-08-11 16:24:24', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372764 -3.106802)'), GeomFromEWKT('SRID=4674;POINT (-39.372761 -3.106844)'))) / (select extract(epoch from '2026-08-11 16:24:24'::timestamp) - extract(epoch from '2026-08-11 16:24:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372764 -3.106802)'), GeomFromEWKT('SRID=4674;POINT (-39.372761 -3.106844)'))) / (select extract(epoch from '2026-08-11 16:24:24'::timestamp) - extract(epoch from '2026-08-11 16:24: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'), 48165, 'SRID=4674;POINT (-39.372779 -3.10689)', '2026-08-11 16:24:26', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372761 -3.106844)'), GeomFromEWKT('SRID=4674;POINT (-39.372779 -3.10689)'))) / (select extract(epoch from '2026-08-11 16:24:26'::timestamp) - extract(epoch from '2026-08-11 16:24:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372761 -3.106844)'), GeomFromEWKT('SRID=4674;POINT (-39.372779 -3.10689)'))) / (select extract(epoch from '2026-08-11 16:24:26'::timestamp) - extract(epoch from '2026-08-11 16:24: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'), 48165, 'SRID=4674;POINT (-39.372787 -3.106987)', '2026-08-11 16:24:31', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372779 -3.10689)'), GeomFromEWKT('SRID=4674;POINT (-39.372787 -3.106987)'))) / (select extract(epoch from '2026-08-11 16:24:31'::timestamp) - extract(epoch from '2026-08-11 16:24:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372779 -3.10689)'), GeomFromEWKT('SRID=4674;POINT (-39.372787 -3.106987)'))) / (select extract(epoch from '2026-08-11 16:24:31'::timestamp) - extract(epoch from '2026-08-11 16:24:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.37281 -3.107093)', '2026-08-11 16:24:36', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372787 -3.106987)'), GeomFromEWKT('SRID=4674;POINT (-39.37281 -3.107093)'))) / (select extract(epoch from '2026-08-11 16:24:36'::timestamp) - extract(epoch from '2026-08-11 16:24:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372787 -3.106987)'), GeomFromEWKT('SRID=4674;POINT (-39.37281 -3.107093)'))) / (select extract(epoch from '2026-08-11 16:24:36'::timestamp) - extract(epoch from '2026-08-11 16:24: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'), 48165, 'SRID=4674;POINT (-39.372807 -3.107111)', '2026-08-11 16:24:37', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37281 -3.107093)'), GeomFromEWKT('SRID=4674;POINT (-39.372807 -3.107111)'))) / (select extract(epoch from '2026-08-11 16:24:37'::timestamp) - extract(epoch from '2026-08-11 16:24:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37281 -3.107093)'), GeomFromEWKT('SRID=4674;POINT (-39.372807 -3.107111)'))) / (select extract(epoch from '2026-08-11 16:24:37'::timestamp) - extract(epoch from '2026-08-11 16:24:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.37282 -3.107181)', '2026-08-11 16:24:40', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372807 -3.107111)'), GeomFromEWKT('SRID=4674;POINT (-39.37282 -3.107181)'))) / (select extract(epoch from '2026-08-11 16:24:40'::timestamp) - extract(epoch from '2026-08-11 16:24:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372807 -3.107111)'), GeomFromEWKT('SRID=4674;POINT (-39.37282 -3.107181)'))) / (select extract(epoch from '2026-08-11 16:24:40'::timestamp) - extract(epoch from '2026-08-11 16:24:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.372835 -3.107298)', '2026-08-11 16:24:45', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37282 -3.107181)'), GeomFromEWKT('SRID=4674;POINT (-39.372835 -3.107298)'))) / (select extract(epoch from '2026-08-11 16:24:45'::timestamp) - extract(epoch from '2026-08-11 16:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37282 -3.107181)'), GeomFromEWKT('SRID=4674;POINT (-39.372835 -3.107298)'))) / (select extract(epoch from '2026-08-11 16:24:45'::timestamp) - extract(epoch from '2026-08-11 16:24: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'), 48165, 'SRID=4674;POINT (-39.372846 -3.107368)', '2026-08-11 16:24:48', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372835 -3.107298)'), GeomFromEWKT('SRID=4674;POINT (-39.372846 -3.107368)'))) / (select extract(epoch from '2026-08-11 16:24:48'::timestamp) - extract(epoch from '2026-08-11 16:24:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372835 -3.107298)'), GeomFromEWKT('SRID=4674;POINT (-39.372846 -3.107368)'))) / (select extract(epoch from '2026-08-11 16:24:48'::timestamp) - extract(epoch from '2026-08-11 16:24:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.372846 -3.107411)', '2026-08-11 16:24:50', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372846 -3.107368)'), GeomFromEWKT('SRID=4674;POINT (-39.372846 -3.107411)'))) / (select extract(epoch from '2026-08-11 16:24:50'::timestamp) - extract(epoch from '2026-08-11 16:24:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372846 -3.107368)'), GeomFromEWKT('SRID=4674;POINT (-39.372846 -3.107411)'))) / (select extract(epoch from '2026-08-11 16:24:50'::timestamp) - extract(epoch from '2026-08-11 16:24:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.372877 -3.107497)', '2026-08-11 16:24:54', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372846 -3.107411)'), GeomFromEWKT('SRID=4674;POINT (-39.372877 -3.107497)'))) / (select extract(epoch from '2026-08-11 16:24:54'::timestamp) - extract(epoch from '2026-08-11 16:24:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372846 -3.107411)'), GeomFromEWKT('SRID=4674;POINT (-39.372877 -3.107497)'))) / (select extract(epoch from '2026-08-11 16:24:54'::timestamp) - extract(epoch from '2026-08-11 16:24: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'), 48165, 'SRID=4674;POINT (-39.372877 -3.107517)', '2026-08-11 16:24:55', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372877 -3.107497)'), GeomFromEWKT('SRID=4674;POINT (-39.372877 -3.107517)'))) / (select extract(epoch from '2026-08-11 16:24:55'::timestamp) - extract(epoch from '2026-08-11 16:24:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372877 -3.107497)'), GeomFromEWKT('SRID=4674;POINT (-39.372877 -3.107517)'))) / (select extract(epoch from '2026-08-11 16:24:55'::timestamp) - extract(epoch from '2026-08-11 16:24:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.372895 -3.107599)', '2026-08-11 16:24:59', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372877 -3.107517)'), GeomFromEWKT('SRID=4674;POINT (-39.372895 -3.107599)'))) / (select extract(epoch from '2026-08-11 16:24:59'::timestamp) - extract(epoch from '2026-08-11 16:24:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372877 -3.107517)'), GeomFromEWKT('SRID=4674;POINT (-39.372895 -3.107599)'))) / (select extract(epoch from '2026-08-11 16:24:59'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.372918 -3.107689)', '2026-08-11 16:25:03', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372895 -3.107599)'), GeomFromEWKT('SRID=4674;POINT (-39.372918 -3.107689)'))) / (select extract(epoch from '2026-08-11 16:25:03'::timestamp) - extract(epoch from '2026-08-11 16:24:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372895 -3.107599)'), GeomFromEWKT('SRID=4674;POINT (-39.372918 -3.107689)'))) / (select extract(epoch from '2026-08-11 16:25:03'::timestamp) - extract(epoch from '2026-08-11 16:24:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.372935 -3.107801)', '2026-08-11 16:25:08', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372918 -3.107689)'), GeomFromEWKT('SRID=4674;POINT (-39.372935 -3.107801)'))) / (select extract(epoch from '2026-08-11 16:25:08'::timestamp) - extract(epoch from '2026-08-11 16:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372918 -3.107689)'), GeomFromEWKT('SRID=4674;POINT (-39.372935 -3.107801)'))) / (select extract(epoch from '2026-08-11 16:25:08'::timestamp) - extract(epoch from '2026-08-11 16:25: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'), 48165, 'SRID=4674;POINT (-39.372945 -3.10789)', '2026-08-11 16:25:12', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372935 -3.107801)'), GeomFromEWKT('SRID=4674;POINT (-39.372945 -3.10789)'))) / (select extract(epoch from '2026-08-11 16:25:12'::timestamp) - extract(epoch from '2026-08-11 16:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372935 -3.107801)'), GeomFromEWKT('SRID=4674;POINT (-39.372945 -3.10789)'))) / (select extract(epoch from '2026-08-11 16:25:12'::timestamp) - extract(epoch from '2026-08-11 16:25:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.372966 -3.107955)', '2026-08-11 16:25:15', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372945 -3.10789)'), GeomFromEWKT('SRID=4674;POINT (-39.372966 -3.107955)'))) / (select extract(epoch from '2026-08-11 16:25:15'::timestamp) - extract(epoch from '2026-08-11 16:25:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372945 -3.10789)'), GeomFromEWKT('SRID=4674;POINT (-39.372966 -3.107955)'))) / (select extract(epoch from '2026-08-11 16:25:15'::timestamp) - extract(epoch from '2026-08-11 16:25:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.372963 -3.107972)', '2026-08-11 16:25:16', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372966 -3.107955)'), GeomFromEWKT('SRID=4674;POINT (-39.372963 -3.107972)'))) / (select extract(epoch from '2026-08-11 16:25:16'::timestamp) - extract(epoch from '2026-08-11 16:25:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372966 -3.107955)'), GeomFromEWKT('SRID=4674;POINT (-39.372963 -3.107972)'))) / (select extract(epoch from '2026-08-11 16:25:16'::timestamp) - extract(epoch from '2026-08-11 16:25:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.372974 -3.108068)', '2026-08-11 16:25:20', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372963 -3.107972)'), GeomFromEWKT('SRID=4674;POINT (-39.372974 -3.108068)'))) / (select extract(epoch from '2026-08-11 16:25:20'::timestamp) - extract(epoch from '2026-08-11 16:25:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372963 -3.107972)'), GeomFromEWKT('SRID=4674;POINT (-39.372974 -3.108068)'))) / (select extract(epoch from '2026-08-11 16:25:20'::timestamp) - extract(epoch from '2026-08-11 16:25: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'), 48165, 'SRID=4674;POINT (-39.372988 -3.108176)', '2026-08-11 16:25:25', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372974 -3.108068)'), GeomFromEWKT('SRID=4674;POINT (-39.372988 -3.108176)'))) / (select extract(epoch from '2026-08-11 16:25:25'::timestamp) - extract(epoch from '2026-08-11 16:25:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372974 -3.108068)'), GeomFromEWKT('SRID=4674;POINT (-39.372988 -3.108176)'))) / (select extract(epoch from '2026-08-11 16:25:25'::timestamp) - extract(epoch from '2026-08-11 16:25: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'), 48165, 'SRID=4674;POINT (-39.373009 -3.108288)', '2026-08-11 16:25:30', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372988 -3.108176)'), GeomFromEWKT('SRID=4674;POINT (-39.373009 -3.108288)'))) / (select extract(epoch from '2026-08-11 16:25:30'::timestamp) - extract(epoch from '2026-08-11 16:25:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372988 -3.108176)'), GeomFromEWKT('SRID=4674;POINT (-39.373009 -3.108288)'))) / (select extract(epoch from '2026-08-11 16:25:30'::timestamp) - extract(epoch from '2026-08-11 16:25:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.373034 -3.108404)', '2026-08-11 16:25:35', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373009 -3.108288)'), GeomFromEWKT('SRID=4674;POINT (-39.373034 -3.108404)'))) / (select extract(epoch from '2026-08-11 16:25:35'::timestamp) - extract(epoch from '2026-08-11 16:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373009 -3.108288)'), GeomFromEWKT('SRID=4674;POINT (-39.373034 -3.108404)'))) / (select extract(epoch from '2026-08-11 16:25:35'::timestamp) - extract(epoch from '2026-08-11 16:25:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.373059 -3.108495)', '2026-08-11 16:25:39', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373034 -3.108404)'), GeomFromEWKT('SRID=4674;POINT (-39.373059 -3.108495)'))) / (select extract(epoch from '2026-08-11 16:25:39'::timestamp) - extract(epoch from '2026-08-11 16:25:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373034 -3.108404)'), GeomFromEWKT('SRID=4674;POINT (-39.373059 -3.108495)'))) / (select extract(epoch from '2026-08-11 16:25:39'::timestamp) - extract(epoch from '2026-08-11 16:25:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.37309 -3.108619)', '2026-08-11 16:25:44', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373059 -3.108495)'), GeomFromEWKT('SRID=4674;POINT (-39.37309 -3.108619)'))) / (select extract(epoch from '2026-08-11 16:25:44'::timestamp) - extract(epoch from '2026-08-11 16:25:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373059 -3.108495)'), GeomFromEWKT('SRID=4674;POINT (-39.37309 -3.108619)'))) / (select extract(epoch from '2026-08-11 16:25:44'::timestamp) - extract(epoch from '2026-08-11 16:25: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'), 48165, 'SRID=4674;POINT (-39.373116 -3.108726)', '2026-08-11 16:25:49', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37309 -3.108619)'), GeomFromEWKT('SRID=4674;POINT (-39.373116 -3.108726)'))) / (select extract(epoch from '2026-08-11 16:25:49'::timestamp) - extract(epoch from '2026-08-11 16:25:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37309 -3.108619)'), GeomFromEWKT('SRID=4674;POINT (-39.373116 -3.108726)'))) / (select extract(epoch from '2026-08-11 16:25:49'::timestamp) - extract(epoch from '2026-08-11 16:25: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'), 48165, 'SRID=4674;POINT (-39.37314 -3.108862)', '2026-08-11 16:25:55', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373116 -3.108726)'), GeomFromEWKT('SRID=4674;POINT (-39.37314 -3.108862)'))) / (select extract(epoch from '2026-08-11 16:25:55'::timestamp) - extract(epoch from '2026-08-11 16:25:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373116 -3.108726)'), GeomFromEWKT('SRID=4674;POINT (-39.37314 -3.108862)'))) / (select extract(epoch from '2026-08-11 16:25:55'::timestamp) - extract(epoch from '2026-08-11 16:25: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'), 48165, 'SRID=4674;POINT (-39.373157 -3.108968)', '2026-08-11 16:26:00', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37314 -3.108862)'), GeomFromEWKT('SRID=4674;POINT (-39.373157 -3.108968)'))) / (select extract(epoch from '2026-08-11 16:26:00'::timestamp) - extract(epoch from '2026-08-11 16:25:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37314 -3.108862)'), GeomFromEWKT('SRID=4674;POINT (-39.373157 -3.108968)'))) / (select extract(epoch from '2026-08-11 16:26:00'::timestamp) - extract(epoch from '2026-08-11 16:25: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'), 48165, 'SRID=4674;POINT (-39.373179 -3.109076)', '2026-08-11 16:26:05', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373157 -3.108968)'), GeomFromEWKT('SRID=4674;POINT (-39.373179 -3.109076)'))) / (select extract(epoch from '2026-08-11 16:26:05'::timestamp) - extract(epoch from '2026-08-11 16:26:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373157 -3.108968)'), GeomFromEWKT('SRID=4674;POINT (-39.373179 -3.109076)'))) / (select extract(epoch from '2026-08-11 16:26:05'::timestamp) - extract(epoch from '2026-08-11 16:26: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'), 48165, 'SRID=4674;POINT (-39.373186 -3.109109)', '2026-08-11 16:26:07', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373179 -3.109076)'), GeomFromEWKT('SRID=4674;POINT (-39.373186 -3.109109)'))) / (select extract(epoch from '2026-08-11 16:26:07'::timestamp) - extract(epoch from '2026-08-11 16:26:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373179 -3.109076)'), GeomFromEWKT('SRID=4674;POINT (-39.373186 -3.109109)'))) / (select extract(epoch from '2026-08-11 16:26:07'::timestamp) - extract(epoch from '2026-08-11 16:26:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.373195 -3.109154)', '2026-08-11 16:26:09', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373186 -3.109109)'), GeomFromEWKT('SRID=4674;POINT (-39.373195 -3.109154)'))) / (select extract(epoch from '2026-08-11 16:26:09'::timestamp) - extract(epoch from '2026-08-11 16:26:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373186 -3.109109)'), GeomFromEWKT('SRID=4674;POINT (-39.373195 -3.109154)'))) / (select extract(epoch from '2026-08-11 16:26:09'::timestamp) - extract(epoch from '2026-08-11 16:26: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'), 48165, 'SRID=4674;POINT (-39.373226 -3.109231)', '2026-08-11 16:26:13', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373195 -3.109154)'), GeomFromEWKT('SRID=4674;POINT (-39.373226 -3.109231)'))) / (select extract(epoch from '2026-08-11 16:26:13'::timestamp) - extract(epoch from '2026-08-11 16:26:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373195 -3.109154)'), GeomFromEWKT('SRID=4674;POINT (-39.373226 -3.109231)'))) / (select extract(epoch from '2026-08-11 16:26:13'::timestamp) - extract(epoch from '2026-08-11 16:26:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.373262 -3.109342)', '2026-08-11 16:26:18', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373226 -3.109231)'), GeomFromEWKT('SRID=4674;POINT (-39.373262 -3.109342)'))) / (select extract(epoch from '2026-08-11 16:26:18'::timestamp) - extract(epoch from '2026-08-11 16:26:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373226 -3.109231)'), GeomFromEWKT('SRID=4674;POINT (-39.373262 -3.109342)'))) / (select extract(epoch from '2026-08-11 16:26:18'::timestamp) - extract(epoch from '2026-08-11 16:26:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.373291 -3.10949)', '2026-08-11 16:26:25', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373262 -3.109342)'), GeomFromEWKT('SRID=4674;POINT (-39.373291 -3.10949)'))) / (select extract(epoch from '2026-08-11 16:26:25'::timestamp) - extract(epoch from '2026-08-11 16:26:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373262 -3.109342)'), GeomFromEWKT('SRID=4674;POINT (-39.373291 -3.10949)'))) / (select extract(epoch from '2026-08-11 16:26:25'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.373314 -3.109629)', '2026-08-11 16:26:31', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373291 -3.10949)'), GeomFromEWKT('SRID=4674;POINT (-39.373314 -3.109629)'))) / (select extract(epoch from '2026-08-11 16:26:31'::timestamp) - extract(epoch from '2026-08-11 16:26:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373291 -3.10949)'), GeomFromEWKT('SRID=4674;POINT (-39.373314 -3.109629)'))) / (select extract(epoch from '2026-08-11 16:26:31'::timestamp) - extract(epoch from '2026-08-11 16:26:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.37332 -3.109708)', '2026-08-11 16:26:35', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373314 -3.109629)'), GeomFromEWKT('SRID=4674;POINT (-39.37332 -3.109708)'))) / (select extract(epoch from '2026-08-11 16:26:35'::timestamp) - extract(epoch from '2026-08-11 16:26:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373314 -3.109629)'), GeomFromEWKT('SRID=4674;POINT (-39.37332 -3.109708)'))) / (select extract(epoch from '2026-08-11 16:26:35'::timestamp) - extract(epoch from '2026-08-11 16:26: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'), 48165, 'SRID=4674;POINT (-39.373321 -3.10973)', '2026-08-11 16:26:36', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37332 -3.109708)'), GeomFromEWKT('SRID=4674;POINT (-39.373321 -3.10973)'))) / (select extract(epoch from '2026-08-11 16:26:36'::timestamp) - extract(epoch from '2026-08-11 16:26:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37332 -3.109708)'), GeomFromEWKT('SRID=4674;POINT (-39.373321 -3.10973)'))) / (select extract(epoch from '2026-08-11 16:26:36'::timestamp) - extract(epoch from '2026-08-11 16:26: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'), 48165, 'SRID=4674;POINT (-39.37333 -3.109796)', '2026-08-11 16:26:39', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373321 -3.10973)'), GeomFromEWKT('SRID=4674;POINT (-39.37333 -3.109796)'))) / (select extract(epoch from '2026-08-11 16:26:39'::timestamp) - extract(epoch from '2026-08-11 16:26:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373321 -3.10973)'), GeomFromEWKT('SRID=4674;POINT (-39.37333 -3.109796)'))) / (select extract(epoch from '2026-08-11 16:26:39'::timestamp) - extract(epoch from '2026-08-11 16:26:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.373349 -3.109924)', '2026-08-11 16:26:45', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37333 -3.109796)'), GeomFromEWKT('SRID=4674;POINT (-39.373349 -3.109924)'))) / (select extract(epoch from '2026-08-11 16:26:45'::timestamp) - extract(epoch from '2026-08-11 16:26:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37333 -3.109796)'), GeomFromEWKT('SRID=4674;POINT (-39.373349 -3.109924)'))) / (select extract(epoch from '2026-08-11 16:26:45'::timestamp) - extract(epoch from '2026-08-11 16:26: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'), 48165, 'SRID=4674;POINT (-39.373359 -3.110031)', '2026-08-11 16:26:50', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373349 -3.109924)'), GeomFromEWKT('SRID=4674;POINT (-39.373359 -3.110031)'))) / (select extract(epoch from '2026-08-11 16:26:50'::timestamp) - extract(epoch from '2026-08-11 16:26:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373349 -3.109924)'), GeomFromEWKT('SRID=4674;POINT (-39.373359 -3.110031)'))) / (select extract(epoch from '2026-08-11 16:26:50'::timestamp) - extract(epoch from '2026-08-11 16:26:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.373374 -3.110154)', '2026-08-11 16:26:56', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373359 -3.110031)'), GeomFromEWKT('SRID=4674;POINT (-39.373374 -3.110154)'))) / (select extract(epoch from '2026-08-11 16:26:56'::timestamp) - extract(epoch from '2026-08-11 16:26:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373359 -3.110031)'), GeomFromEWKT('SRID=4674;POINT (-39.373374 -3.110154)'))) / (select extract(epoch from '2026-08-11 16:26:56'::timestamp) - extract(epoch from '2026-08-11 16:26:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.373378 -3.110177)', '2026-08-11 16:26:57', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373374 -3.110154)'), GeomFromEWKT('SRID=4674;POINT (-39.373378 -3.110177)'))) / (select extract(epoch from '2026-08-11 16:26:57'::timestamp) - extract(epoch from '2026-08-11 16:26:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373374 -3.110154)'), GeomFromEWKT('SRID=4674;POINT (-39.373378 -3.110177)'))) / (select extract(epoch from '2026-08-11 16:26:57'::timestamp) - extract(epoch from '2026-08-11 16:26: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'), 48165, 'SRID=4674;POINT (-39.373393 -3.110285)', '2026-08-11 16:27:02', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373378 -3.110177)'), GeomFromEWKT('SRID=4674;POINT (-39.373393 -3.110285)'))) / (select extract(epoch from '2026-08-11 16:27:02'::timestamp) - extract(epoch from '2026-08-11 16:26:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373378 -3.110177)'), GeomFromEWKT('SRID=4674;POINT (-39.373393 -3.110285)'))) / (select extract(epoch from '2026-08-11 16:27:02'::timestamp) - extract(epoch from '2026-08-11 16:26:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.373416 -3.110444)', '2026-08-11 16:27:09', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373393 -3.110285)'), GeomFromEWKT('SRID=4674;POINT (-39.373416 -3.110444)'))) / (select extract(epoch from '2026-08-11 16:27:09'::timestamp) - extract(epoch from '2026-08-11 16:27:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373393 -3.110285)'), GeomFromEWKT('SRID=4674;POINT (-39.373416 -3.110444)'))) / (select extract(epoch from '2026-08-11 16:27:09'::timestamp) - extract(epoch from '2026-08-11 16:27: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'), 48165, 'SRID=4674;POINT (-39.373431 -3.110487)', '2026-08-11 16:27:11', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373416 -3.110444)'), GeomFromEWKT('SRID=4674;POINT (-39.373431 -3.110487)'))) / (select extract(epoch from '2026-08-11 16:27:11'::timestamp) - extract(epoch from '2026-08-11 16:27:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373416 -3.110444)'), GeomFromEWKT('SRID=4674;POINT (-39.373431 -3.110487)'))) / (select extract(epoch from '2026-08-11 16:27:11'::timestamp) - extract(epoch from '2026-08-11 16:27:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.373429 -3.110532)', '2026-08-11 16:27:13', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373431 -3.110487)'), GeomFromEWKT('SRID=4674;POINT (-39.373429 -3.110532)'))) / (select extract(epoch from '2026-08-11 16:27:13'::timestamp) - extract(epoch from '2026-08-11 16:27:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373431 -3.110487)'), GeomFromEWKT('SRID=4674;POINT (-39.373429 -3.110532)'))) / (select extract(epoch from '2026-08-11 16:27:13'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.373437 -3.110594)', '2026-08-11 16:27:16', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373429 -3.110532)'), GeomFromEWKT('SRID=4674;POINT (-39.373437 -3.110594)'))) / (select extract(epoch from '2026-08-11 16:27:16'::timestamp) - extract(epoch from '2026-08-11 16:27:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373429 -3.110532)'), GeomFromEWKT('SRID=4674;POINT (-39.373437 -3.110594)'))) / (select extract(epoch from '2026-08-11 16:27:16'::timestamp) - extract(epoch from '2026-08-11 16:27: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'), 48165, 'SRID=4674;POINT (-39.373441 -3.110642)', '2026-08-11 16:27:18', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373437 -3.110594)'), GeomFromEWKT('SRID=4674;POINT (-39.373441 -3.110642)'))) / (select extract(epoch from '2026-08-11 16:27:18'::timestamp) - extract(epoch from '2026-08-11 16:27:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373437 -3.110594)'), GeomFromEWKT('SRID=4674;POINT (-39.373441 -3.110642)'))) / (select extract(epoch from '2026-08-11 16:27:18'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.373455 -3.110687)', '2026-08-11 16:27:20', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373441 -3.110642)'), GeomFromEWKT('SRID=4674;POINT (-39.373455 -3.110687)'))) / (select extract(epoch from '2026-08-11 16:27:20'::timestamp) - extract(epoch from '2026-08-11 16:27:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373441 -3.110642)'), GeomFromEWKT('SRID=4674;POINT (-39.373455 -3.110687)'))) / (select extract(epoch from '2026-08-11 16:27:20'::timestamp) - extract(epoch from '2026-08-11 16:27:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.37345 -3.110732)', '2026-08-11 16:27:22', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373455 -3.110687)'), GeomFromEWKT('SRID=4674;POINT (-39.37345 -3.110732)'))) / (select extract(epoch from '2026-08-11 16:27:22'::timestamp) - extract(epoch from '2026-08-11 16:27:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373455 -3.110687)'), GeomFromEWKT('SRID=4674;POINT (-39.37345 -3.110732)'))) / (select extract(epoch from '2026-08-11 16:27:22'::timestamp) - extract(epoch from '2026-08-11 16:27:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.373465 -3.110847)', '2026-08-11 16:27:27', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37345 -3.110732)'), GeomFromEWKT('SRID=4674;POINT (-39.373465 -3.110847)'))) / (select extract(epoch from '2026-08-11 16:27:27'::timestamp) - extract(epoch from '2026-08-11 16:27:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37345 -3.110732)'), GeomFromEWKT('SRID=4674;POINT (-39.373465 -3.110847)'))) / (select extract(epoch from '2026-08-11 16:27:27'::timestamp) - extract(epoch from '2026-08-11 16:27: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'), 48165, 'SRID=4674;POINT (-39.37348 -3.110959)', '2026-08-11 16:27:32', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373465 -3.110847)'), GeomFromEWKT('SRID=4674;POINT (-39.37348 -3.110959)'))) / (select extract(epoch from '2026-08-11 16:27:32'::timestamp) - extract(epoch from '2026-08-11 16:27:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373465 -3.110847)'), GeomFromEWKT('SRID=4674;POINT (-39.37348 -3.110959)'))) / (select extract(epoch from '2026-08-11 16:27:32'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.373499 -3.111048)', '2026-08-11 16:27:36', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37348 -3.110959)'), GeomFromEWKT('SRID=4674;POINT (-39.373499 -3.111048)'))) / (select extract(epoch from '2026-08-11 16:27:36'::timestamp) - extract(epoch from '2026-08-11 16:27:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37348 -3.110959)'), GeomFromEWKT('SRID=4674;POINT (-39.373499 -3.111048)'))) / (select extract(epoch from '2026-08-11 16:27:36'::timestamp) - extract(epoch from '2026-08-11 16:27: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'), 48165, 'SRID=4674;POINT (-39.373511 -3.111159)', '2026-08-11 16:27:41', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373499 -3.111048)'), GeomFromEWKT('SRID=4674;POINT (-39.373511 -3.111159)'))) / (select extract(epoch from '2026-08-11 16:27:41'::timestamp) - extract(epoch from '2026-08-11 16:27:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373499 -3.111048)'), GeomFromEWKT('SRID=4674;POINT (-39.373511 -3.111159)'))) / (select extract(epoch from '2026-08-11 16:27:41'::timestamp) - extract(epoch from '2026-08-11 16:27: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'), 48165, 'SRID=4674;POINT (-39.373519 -3.111279)', '2026-08-11 16:27:46', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373511 -3.111159)'), GeomFromEWKT('SRID=4674;POINT (-39.373519 -3.111279)'))) / (select extract(epoch from '2026-08-11 16:27:46'::timestamp) - extract(epoch from '2026-08-11 16:27:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373511 -3.111159)'), GeomFromEWKT('SRID=4674;POINT (-39.373519 -3.111279)'))) / (select extract(epoch from '2026-08-11 16:27:46'::timestamp) - extract(epoch from '2026-08-11 16:27: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'), 48165, 'SRID=4674;POINT (-39.373548 -3.11144)', '2026-08-11 16:27:53', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373519 -3.111279)'), GeomFromEWKT('SRID=4674;POINT (-39.373548 -3.11144)'))) / (select extract(epoch from '2026-08-11 16:27:53'::timestamp) - extract(epoch from '2026-08-11 16:27:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373519 -3.111279)'), GeomFromEWKT('SRID=4674;POINT (-39.373548 -3.11144)'))) / (select extract(epoch from '2026-08-11 16:27:53'::timestamp) - extract(epoch from '2026-08-11 16:27:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.373573 -3.111557)', '2026-08-11 16:27:58', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373548 -3.11144)'), GeomFromEWKT('SRID=4674;POINT (-39.373573 -3.111557)'))) / (select extract(epoch from '2026-08-11 16:27:58'::timestamp) - extract(epoch from '2026-08-11 16:27:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373548 -3.11144)'), GeomFromEWKT('SRID=4674;POINT (-39.373573 -3.111557)'))) / (select extract(epoch from '2026-08-11 16:27:58'::timestamp) - extract(epoch from '2026-08-11 16:27: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'), 48165, 'SRID=4674;POINT (-39.3736 -3.11167)', '2026-08-11 16:28:03', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373573 -3.111557)'), GeomFromEWKT('SRID=4674;POINT (-39.3736 -3.11167)'))) / (select extract(epoch from '2026-08-11 16:28:03'::timestamp) - extract(epoch from '2026-08-11 16:27:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373573 -3.111557)'), GeomFromEWKT('SRID=4674;POINT (-39.3736 -3.11167)'))) / (select extract(epoch from '2026-08-11 16:28:03'::timestamp) - extract(epoch from '2026-08-11 16:27: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'), 48165, 'SRID=4674;POINT (-39.373614 -3.111744)', '2026-08-11 16:28:06', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3736 -3.11167)'), GeomFromEWKT('SRID=4674;POINT (-39.373614 -3.111744)'))) / (select extract(epoch from '2026-08-11 16:28:06'::timestamp) - extract(epoch from '2026-08-11 16:28:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3736 -3.11167)'), GeomFromEWKT('SRID=4674;POINT (-39.373614 -3.111744)'))) / (select extract(epoch from '2026-08-11 16:28:06'::timestamp) - extract(epoch from '2026-08-11 16:28: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'), 48165, 'SRID=4674;POINT (-39.373639 -3.111886)', '2026-08-11 16:28:12', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373614 -3.111744)'), GeomFromEWKT('SRID=4674;POINT (-39.373639 -3.111886)'))) / (select extract(epoch from '2026-08-11 16:28:12'::timestamp) - extract(epoch from '2026-08-11 16:28:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373614 -3.111744)'), GeomFromEWKT('SRID=4674;POINT (-39.373639 -3.111886)'))) / (select extract(epoch from '2026-08-11 16:28:12'::timestamp) - extract(epoch from '2026-08-11 16:28:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.37367 -3.112006)', '2026-08-11 16:28:17', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373639 -3.111886)'), GeomFromEWKT('SRID=4674;POINT (-39.37367 -3.112006)'))) / (select extract(epoch from '2026-08-11 16:28:17'::timestamp) - extract(epoch from '2026-08-11 16:28:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373639 -3.111886)'), GeomFromEWKT('SRID=4674;POINT (-39.37367 -3.112006)'))) / (select extract(epoch from '2026-08-11 16:28:17'::timestamp) - extract(epoch from '2026-08-11 16:28: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'), 48165, 'SRID=4674;POINT (-39.373688 -3.112102)', '2026-08-11 16:28:21', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37367 -3.112006)'), GeomFromEWKT('SRID=4674;POINT (-39.373688 -3.112102)'))) / (select extract(epoch from '2026-08-11 16:28:21'::timestamp) - extract(epoch from '2026-08-11 16:28:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37367 -3.112006)'), GeomFromEWKT('SRID=4674;POINT (-39.373688 -3.112102)'))) / (select extract(epoch from '2026-08-11 16:28:21'::timestamp) - extract(epoch from '2026-08-11 16:28: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'), 48165, 'SRID=4674;POINT (-39.373712 -3.112246)', '2026-08-11 16:28:27', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373688 -3.112102)'), GeomFromEWKT('SRID=4674;POINT (-39.373712 -3.112246)'))) / (select extract(epoch from '2026-08-11 16:28:27'::timestamp) - extract(epoch from '2026-08-11 16:28:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373688 -3.112102)'), GeomFromEWKT('SRID=4674;POINT (-39.373712 -3.112246)'))) / (select extract(epoch from '2026-08-11 16:28:27'::timestamp) - extract(epoch from '2026-08-11 16:28: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'), 48165, 'SRID=4674;POINT (-39.373721 -3.112372)', '2026-08-11 16:28:32', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373712 -3.112246)'), GeomFromEWKT('SRID=4674;POINT (-39.373721 -3.112372)'))) / (select extract(epoch from '2026-08-11 16:28:32'::timestamp) - extract(epoch from '2026-08-11 16:28:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373712 -3.112246)'), GeomFromEWKT('SRID=4674;POINT (-39.373721 -3.112372)'))) / (select extract(epoch from '2026-08-11 16:28:32'::timestamp) - extract(epoch from '2026-08-11 16:28: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'), 48165, 'SRID=4674;POINT (-39.373732 -3.112495)', '2026-08-11 16:28:37', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373721 -3.112372)'), GeomFromEWKT('SRID=4674;POINT (-39.373732 -3.112495)'))) / (select extract(epoch from '2026-08-11 16:28:37'::timestamp) - extract(epoch from '2026-08-11 16:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373721 -3.112372)'), GeomFromEWKT('SRID=4674;POINT (-39.373732 -3.112495)'))) / (select extract(epoch from '2026-08-11 16:28:37'::timestamp) - extract(epoch from '2026-08-11 16:28: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'), 48165, 'SRID=4674;POINT (-39.373748 -3.112607)', '2026-08-11 16:28:42', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373732 -3.112495)'), GeomFromEWKT('SRID=4674;POINT (-39.373748 -3.112607)'))) / (select extract(epoch from '2026-08-11 16:28:42'::timestamp) - extract(epoch from '2026-08-11 16:28:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373732 -3.112495)'), GeomFromEWKT('SRID=4674;POINT (-39.373748 -3.112607)'))) / (select extract(epoch from '2026-08-11 16:28:42'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.373773 -3.112721)', '2026-08-11 16:28:47', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373748 -3.112607)'), GeomFromEWKT('SRID=4674;POINT (-39.373773 -3.112721)'))) / (select extract(epoch from '2026-08-11 16:28:47'::timestamp) - extract(epoch from '2026-08-11 16:28:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373748 -3.112607)'), GeomFromEWKT('SRID=4674;POINT (-39.373773 -3.112721)'))) / (select extract(epoch from '2026-08-11 16:28:47'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.373794 -3.11283)', '2026-08-11 16:28:52', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373773 -3.112721)'), GeomFromEWKT('SRID=4674;POINT (-39.373794 -3.11283)'))) / (select extract(epoch from '2026-08-11 16:28:52'::timestamp) - extract(epoch from '2026-08-11 16:28:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373773 -3.112721)'), GeomFromEWKT('SRID=4674;POINT (-39.373794 -3.11283)'))) / (select extract(epoch from '2026-08-11 16:28:52'::timestamp) - extract(epoch from '2026-08-11 16:28: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'), 48165, 'SRID=4674;POINT (-39.373806 -3.112926)', '2026-08-11 16:28:56', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373794 -3.11283)'), GeomFromEWKT('SRID=4674;POINT (-39.373806 -3.112926)'))) / (select extract(epoch from '2026-08-11 16:28:56'::timestamp) - extract(epoch from '2026-08-11 16:28:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373794 -3.11283)'), GeomFromEWKT('SRID=4674;POINT (-39.373806 -3.112926)'))) / (select extract(epoch from '2026-08-11 16:28:56'::timestamp) - extract(epoch from '2026-08-11 16:28:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.373813 -3.11301)', '2026-08-11 16:29:00', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373806 -3.112926)'), GeomFromEWKT('SRID=4674;POINT (-39.373813 -3.11301)'))) / (select extract(epoch from '2026-08-11 16:29:00'::timestamp) - extract(epoch from '2026-08-11 16:28:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373806 -3.112926)'), GeomFromEWKT('SRID=4674;POINT (-39.373813 -3.11301)'))) / (select extract(epoch from '2026-08-11 16:29:00'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.373838 -3.113128)', '2026-08-11 16:29:05', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373813 -3.11301)'), GeomFromEWKT('SRID=4674;POINT (-39.373838 -3.113128)'))) / (select extract(epoch from '2026-08-11 16:29:05'::timestamp) - extract(epoch from '2026-08-11 16:29:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373813 -3.11301)'), GeomFromEWKT('SRID=4674;POINT (-39.373838 -3.113128)'))) / (select extract(epoch from '2026-08-11 16:29:05'::timestamp) - extract(epoch from '2026-08-11 16:29: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'), 48165, 'SRID=4674;POINT (-39.373852 -3.113265)', '2026-08-11 16:29:11', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373838 -3.113128)'), GeomFromEWKT('SRID=4674;POINT (-39.373852 -3.113265)'))) / (select extract(epoch from '2026-08-11 16:29:11'::timestamp) - extract(epoch from '2026-08-11 16:29:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373838 -3.113128)'), GeomFromEWKT('SRID=4674;POINT (-39.373852 -3.113265)'))) / (select extract(epoch from '2026-08-11 16:29:11'::timestamp) - extract(epoch from '2026-08-11 16:29: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'), 48165, 'SRID=4674;POINT (-39.373861 -3.113381)', '2026-08-11 16:29:16', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373852 -3.113265)'), GeomFromEWKT('SRID=4674;POINT (-39.373861 -3.113381)'))) / (select extract(epoch from '2026-08-11 16:29:16'::timestamp) - extract(epoch from '2026-08-11 16:29:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373852 -3.113265)'), GeomFromEWKT('SRID=4674;POINT (-39.373861 -3.113381)'))) / (select extract(epoch from '2026-08-11 16:29:16'::timestamp) - extract(epoch from '2026-08-11 16:29: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'), 48165, 'SRID=4674;POINT (-39.373863 -3.113405)', '2026-08-11 16:29:17', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373861 -3.113381)'), GeomFromEWKT('SRID=4674;POINT (-39.373863 -3.113405)'))) / (select extract(epoch from '2026-08-11 16:29:17'::timestamp) - extract(epoch from '2026-08-11 16:29:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373861 -3.113381)'), GeomFromEWKT('SRID=4674;POINT (-39.373863 -3.113405)'))) / (select extract(epoch from '2026-08-11 16:29:17'::timestamp) - extract(epoch from '2026-08-11 16:29: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'), 48165, 'SRID=4674;POINT (-39.373873 -3.113478)', '2026-08-11 16:29:20', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373863 -3.113405)'), GeomFromEWKT('SRID=4674;POINT (-39.373873 -3.113478)'))) / (select extract(epoch from '2026-08-11 16:29:20'::timestamp) - extract(epoch from '2026-08-11 16:29:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373863 -3.113405)'), GeomFromEWKT('SRID=4674;POINT (-39.373873 -3.113478)'))) / (select extract(epoch from '2026-08-11 16:29:20'::timestamp) - extract(epoch from '2026-08-11 16:29:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.373899 -3.113605)', '2026-08-11 16:29:26', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373873 -3.113478)'), GeomFromEWKT('SRID=4674;POINT (-39.373899 -3.113605)'))) / (select extract(epoch from '2026-08-11 16:29:26'::timestamp) - extract(epoch from '2026-08-11 16:29:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373873 -3.113478)'), GeomFromEWKT('SRID=4674;POINT (-39.373899 -3.113605)'))) / (select extract(epoch from '2026-08-11 16:29:26'::timestamp) - extract(epoch from '2026-08-11 16:29:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.373903 -3.113667)', '2026-08-11 16:29:29', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373899 -3.113605)'), GeomFromEWKT('SRID=4674;POINT (-39.373903 -3.113667)'))) / (select extract(epoch from '2026-08-11 16:29:29'::timestamp) - extract(epoch from '2026-08-11 16:29:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373899 -3.113605)'), GeomFromEWKT('SRID=4674;POINT (-39.373903 -3.113667)'))) / (select extract(epoch from '2026-08-11 16:29:29'::timestamp) - extract(epoch from '2026-08-11 16:29: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'), 48165, 'SRID=4674;POINT (-39.373918 -3.113712)', '2026-08-11 16:29:31', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373903 -3.113667)'), GeomFromEWKT('SRID=4674;POINT (-39.373918 -3.113712)'))) / (select extract(epoch from '2026-08-11 16:29:31'::timestamp) - extract(epoch from '2026-08-11 16:29:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373903 -3.113667)'), GeomFromEWKT('SRID=4674;POINT (-39.373918 -3.113712)'))) / (select extract(epoch from '2026-08-11 16:29:31'::timestamp) - extract(epoch from '2026-08-11 16:29: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'), 48165, 'SRID=4674;POINT (-39.373934 -3.113833)', '2026-08-11 16:29:36', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373918 -3.113712)'), GeomFromEWKT('SRID=4674;POINT (-39.373934 -3.113833)'))) / (select extract(epoch from '2026-08-11 16:29:36'::timestamp) - extract(epoch from '2026-08-11 16:29:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373918 -3.113712)'), GeomFromEWKT('SRID=4674;POINT (-39.373934 -3.113833)'))) / (select extract(epoch from '2026-08-11 16:29:36'::timestamp) - extract(epoch from '2026-08-11 16:29:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.373942 -3.113919)', '2026-08-11 16:29:40', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373934 -3.113833)'), GeomFromEWKT('SRID=4674;POINT (-39.373942 -3.113919)'))) / (select extract(epoch from '2026-08-11 16:29:40'::timestamp) - extract(epoch from '2026-08-11 16:29:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373934 -3.113833)'), GeomFromEWKT('SRID=4674;POINT (-39.373942 -3.113919)'))) / (select extract(epoch from '2026-08-11 16:29:40'::timestamp) - extract(epoch from '2026-08-11 16:29:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.37398 -3.114024)', '2026-08-11 16:29:46', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373942 -3.113919)'), GeomFromEWKT('SRID=4674;POINT (-39.37398 -3.114024)'))) / (select extract(epoch from '2026-08-11 16:29:46'::timestamp) - extract(epoch from '2026-08-11 16:29:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373942 -3.113919)'), GeomFromEWKT('SRID=4674;POINT (-39.37398 -3.114024)'))) / (select extract(epoch from '2026-08-11 16:29:46'::timestamp) - extract(epoch from '2026-08-11 16:29: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'), 48165, 'SRID=4674;POINT (-39.373995 -3.114103)', '2026-08-11 16:29:50', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37398 -3.114024)'), GeomFromEWKT('SRID=4674;POINT (-39.373995 -3.114103)'))) / (select extract(epoch from '2026-08-11 16:29:50'::timestamp) - extract(epoch from '2026-08-11 16:29:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37398 -3.114024)'), GeomFromEWKT('SRID=4674;POINT (-39.373995 -3.114103)'))) / (select extract(epoch from '2026-08-11 16:29:50'::timestamp) - extract(epoch from '2026-08-11 16:29: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'), 48165, 'SRID=4674;POINT (-39.37401 -3.114209)', '2026-08-11 16:29:55', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373995 -3.114103)'), GeomFromEWKT('SRID=4674;POINT (-39.37401 -3.114209)'))) / (select extract(epoch from '2026-08-11 16:29:55'::timestamp) - extract(epoch from '2026-08-11 16:29:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373995 -3.114103)'), GeomFromEWKT('SRID=4674;POINT (-39.37401 -3.114209)'))) / (select extract(epoch from '2026-08-11 16:29:55'::timestamp) - extract(epoch from '2026-08-11 16:29:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.374027 -3.114298)', '2026-08-11 16:29:59', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37401 -3.114209)'), GeomFromEWKT('SRID=4674;POINT (-39.374027 -3.114298)'))) / (select extract(epoch from '2026-08-11 16:29:59'::timestamp) - extract(epoch from '2026-08-11 16:29:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37401 -3.114209)'), GeomFromEWKT('SRID=4674;POINT (-39.374027 -3.114298)'))) / (select extract(epoch from '2026-08-11 16:29:59'::timestamp) - extract(epoch from '2026-08-11 16:29: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'), 48165, 'SRID=4674;POINT (-39.374049 -3.114431)', '2026-08-11 16:30:05', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374027 -3.114298)'), GeomFromEWKT('SRID=4674;POINT (-39.374049 -3.114431)'))) / (select extract(epoch from '2026-08-11 16:30:05'::timestamp) - extract(epoch from '2026-08-11 16:29:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374027 -3.114298)'), GeomFromEWKT('SRID=4674;POINT (-39.374049 -3.114431)'))) / (select extract(epoch from '2026-08-11 16:30:05'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.374078 -3.114558)', '2026-08-11 16:30:11', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374049 -3.114431)'), GeomFromEWKT('SRID=4674;POINT (-39.374078 -3.114558)'))) / (select extract(epoch from '2026-08-11 16:30:11'::timestamp) - extract(epoch from '2026-08-11 16:30:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374049 -3.114431)'), GeomFromEWKT('SRID=4674;POINT (-39.374078 -3.114558)'))) / (select extract(epoch from '2026-08-11 16:30:11'::timestamp) - extract(epoch from '2026-08-11 16:30: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'), 48165, 'SRID=4674;POINT (-39.374088 -3.114633)', '2026-08-11 16:30:14', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374078 -3.114558)'), GeomFromEWKT('SRID=4674;POINT (-39.374088 -3.114633)'))) / (select extract(epoch from '2026-08-11 16:30:14'::timestamp) - extract(epoch from '2026-08-11 16:30:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374078 -3.114558)'), GeomFromEWKT('SRID=4674;POINT (-39.374088 -3.114633)'))) / (select extract(epoch from '2026-08-11 16:30:14'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.374106 -3.114668)', '2026-08-11 16:30:16', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374088 -3.114633)'), GeomFromEWKT('SRID=4674;POINT (-39.374106 -3.114668)'))) / (select extract(epoch from '2026-08-11 16:30:16'::timestamp) - extract(epoch from '2026-08-11 16:30:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374088 -3.114633)'), GeomFromEWKT('SRID=4674;POINT (-39.374106 -3.114668)'))) / (select extract(epoch from '2026-08-11 16:30:16'::timestamp) - extract(epoch from '2026-08-11 16:30: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'), 48165, 'SRID=4674;POINT (-39.374127 -3.114808)', '2026-08-11 16:30:22', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374106 -3.114668)'), GeomFromEWKT('SRID=4674;POINT (-39.374127 -3.114808)'))) / (select extract(epoch from '2026-08-11 16:30:22'::timestamp) - extract(epoch from '2026-08-11 16:30:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374106 -3.114668)'), GeomFromEWKT('SRID=4674;POINT (-39.374127 -3.114808)'))) / (select extract(epoch from '2026-08-11 16:30:22'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.37416 -3.114981)', '2026-08-11 16:30:29', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374127 -3.114808)'), GeomFromEWKT('SRID=4674;POINT (-39.37416 -3.114981)'))) / (select extract(epoch from '2026-08-11 16:30:29'::timestamp) - extract(epoch from '2026-08-11 16:30:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374127 -3.114808)'), GeomFromEWKT('SRID=4674;POINT (-39.37416 -3.114981)'))) / (select extract(epoch from '2026-08-11 16:30:29'::timestamp) - extract(epoch from '2026-08-11 16:30: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'), 48165, 'SRID=4674;POINT (-39.374177 -3.115086)', '2026-08-11 16:30:34', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37416 -3.114981)'), GeomFromEWKT('SRID=4674;POINT (-39.374177 -3.115086)'))) / (select extract(epoch from '2026-08-11 16:30:34'::timestamp) - extract(epoch from '2026-08-11 16:30:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37416 -3.114981)'), GeomFromEWKT('SRID=4674;POINT (-39.374177 -3.115086)'))) / (select extract(epoch from '2026-08-11 16:30:34'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.374197 -3.115197)', '2026-08-11 16:30:39', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374177 -3.115086)'), GeomFromEWKT('SRID=4674;POINT (-39.374197 -3.115197)'))) / (select extract(epoch from '2026-08-11 16:30:39'::timestamp) - extract(epoch from '2026-08-11 16:30:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374177 -3.115086)'), GeomFromEWKT('SRID=4674;POINT (-39.374197 -3.115197)'))) / (select extract(epoch from '2026-08-11 16:30:39'::timestamp) - extract(epoch from '2026-08-11 16:30: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'), 48165, 'SRID=4674;POINT (-39.374214 -3.115344)', '2026-08-11 16:30:45', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374197 -3.115197)'), GeomFromEWKT('SRID=4674;POINT (-39.374214 -3.115344)'))) / (select extract(epoch from '2026-08-11 16:30:45'::timestamp) - extract(epoch from '2026-08-11 16:30:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374197 -3.115197)'), GeomFromEWKT('SRID=4674;POINT (-39.374214 -3.115344)'))) / (select extract(epoch from '2026-08-11 16:30:45'::timestamp) - extract(epoch from '2026-08-11 16:30:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.374238 -3.115438)', '2026-08-11 16:30:49', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374214 -3.115344)'), GeomFromEWKT('SRID=4674;POINT (-39.374238 -3.115438)'))) / (select extract(epoch from '2026-08-11 16:30:49'::timestamp) - extract(epoch from '2026-08-11 16:30:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374214 -3.115344)'), GeomFromEWKT('SRID=4674;POINT (-39.374238 -3.115438)'))) / (select extract(epoch from '2026-08-11 16:30:49'::timestamp) - extract(epoch from '2026-08-11 16:30: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'), 48165, 'SRID=4674;POINT (-39.374261 -3.115563)', '2026-08-11 16:30:55', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374238 -3.115438)'), GeomFromEWKT('SRID=4674;POINT (-39.374261 -3.115563)'))) / (select extract(epoch from '2026-08-11 16:30:55'::timestamp) - extract(epoch from '2026-08-11 16:30:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374238 -3.115438)'), GeomFromEWKT('SRID=4674;POINT (-39.374261 -3.115563)'))) / (select extract(epoch from '2026-08-11 16:30:55'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.374281 -3.11567)', '2026-08-11 16:31:00', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374261 -3.115563)'), GeomFromEWKT('SRID=4674;POINT (-39.374281 -3.11567)'))) / (select extract(epoch from '2026-08-11 16:31:00'::timestamp) - extract(epoch from '2026-08-11 16:30:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374261 -3.115563)'), GeomFromEWKT('SRID=4674;POINT (-39.374281 -3.11567)'))) / (select extract(epoch from '2026-08-11 16:31:00'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.374299 -3.11578)', '2026-08-11 16:31:05', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374281 -3.11567)'), GeomFromEWKT('SRID=4674;POINT (-39.374299 -3.11578)'))) / (select extract(epoch from '2026-08-11 16:31:05'::timestamp) - extract(epoch from '2026-08-11 16:31:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374281 -3.11567)'), GeomFromEWKT('SRID=4674;POINT (-39.374299 -3.11578)'))) / (select extract(epoch from '2026-08-11 16:31:05'::timestamp) - extract(epoch from '2026-08-11 16:31: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'), 48165, 'SRID=4674;POINT (-39.374317 -3.115877)', '2026-08-11 16:31:10', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374299 -3.11578)'), GeomFromEWKT('SRID=4674;POINT (-39.374317 -3.115877)'))) / (select extract(epoch from '2026-08-11 16:31:10'::timestamp) - extract(epoch from '2026-08-11 16:31:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374299 -3.11578)'), GeomFromEWKT('SRID=4674;POINT (-39.374317 -3.115877)'))) / (select extract(epoch from '2026-08-11 16:31:10'::timestamp) - extract(epoch from '2026-08-11 16:31: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'), 48165, 'SRID=4674;POINT (-39.374333 -3.115983)', '2026-08-11 16:31:15', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374317 -3.115877)'), GeomFromEWKT('SRID=4674;POINT (-39.374333 -3.115983)'))) / (select extract(epoch from '2026-08-11 16:31:15'::timestamp) - extract(epoch from '2026-08-11 16:31:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374317 -3.115877)'), GeomFromEWKT('SRID=4674;POINT (-39.374333 -3.115983)'))) / (select extract(epoch from '2026-08-11 16:31:15'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.374345 -3.116115)', '2026-08-11 16:31:21', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374333 -3.115983)'), GeomFromEWKT('SRID=4674;POINT (-39.374345 -3.116115)'))) / (select extract(epoch from '2026-08-11 16:31:21'::timestamp) - extract(epoch from '2026-08-11 16:31:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374333 -3.115983)'), GeomFromEWKT('SRID=4674;POINT (-39.374345 -3.116115)'))) / (select extract(epoch from '2026-08-11 16:31:21'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.374372 -3.116207)', '2026-08-11 16:31:25', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374345 -3.116115)'), GeomFromEWKT('SRID=4674;POINT (-39.374372 -3.116207)'))) / (select extract(epoch from '2026-08-11 16:31:25'::timestamp) - extract(epoch from '2026-08-11 16:31:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374345 -3.116115)'), GeomFromEWKT('SRID=4674;POINT (-39.374372 -3.116207)'))) / (select extract(epoch from '2026-08-11 16:31:25'::timestamp) - extract(epoch from '2026-08-11 16:31: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'), 48165, 'SRID=4674;POINT (-39.374397 -3.116292)', '2026-08-11 16:31:29', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374372 -3.116207)'), GeomFromEWKT('SRID=4674;POINT (-39.374397 -3.116292)'))) / (select extract(epoch from '2026-08-11 16:31:29'::timestamp) - extract(epoch from '2026-08-11 16:31:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374372 -3.116207)'), GeomFromEWKT('SRID=4674;POINT (-39.374397 -3.116292)'))) / (select extract(epoch from '2026-08-11 16:31:29'::timestamp) - extract(epoch from '2026-08-11 16:31: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'), 48165, 'SRID=4674;POINT (-39.374417 -3.116392)', '2026-08-11 16:31:34', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374397 -3.116292)'), GeomFromEWKT('SRID=4674;POINT (-39.374417 -3.116392)'))) / (select extract(epoch from '2026-08-11 16:31:34'::timestamp) - extract(epoch from '2026-08-11 16:31:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374397 -3.116292)'), GeomFromEWKT('SRID=4674;POINT (-39.374417 -3.116392)'))) / (select extract(epoch from '2026-08-11 16:31:34'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.374429 -3.116432)', '2026-08-11 16:31:36', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374417 -3.116392)'), GeomFromEWKT('SRID=4674;POINT (-39.374429 -3.116432)'))) / (select extract(epoch from '2026-08-11 16:31:36'::timestamp) - extract(epoch from '2026-08-11 16:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374417 -3.116392)'), GeomFromEWKT('SRID=4674;POINT (-39.374429 -3.116432)'))) / (select extract(epoch from '2026-08-11 16:31:36'::timestamp) - extract(epoch from '2026-08-11 16:31: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'), 48165, 'SRID=4674;POINT (-39.374437 -3.116472)', '2026-08-11 16:31:38', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374429 -3.116432)'), GeomFromEWKT('SRID=4674;POINT (-39.374437 -3.116472)'))) / (select extract(epoch from '2026-08-11 16:31:38'::timestamp) - extract(epoch from '2026-08-11 16:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374429 -3.116432)'), GeomFromEWKT('SRID=4674;POINT (-39.374437 -3.116472)'))) / (select extract(epoch from '2026-08-11 16:31:38'::timestamp) - extract(epoch from '2026-08-11 16:31: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'), 48165, 'SRID=4674;POINT (-39.374461 -3.116594)', '2026-08-11 16:31:44', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374437 -3.116472)'), GeomFromEWKT('SRID=4674;POINT (-39.374461 -3.116594)'))) / (select extract(epoch from '2026-08-11 16:31:44'::timestamp) - extract(epoch from '2026-08-11 16:31:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374437 -3.116472)'), GeomFromEWKT('SRID=4674;POINT (-39.374461 -3.116594)'))) / (select extract(epoch from '2026-08-11 16:31:44'::timestamp) - extract(epoch from '2026-08-11 16:31: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'), 48165, 'SRID=4674;POINT (-39.374498 -3.11674)', '2026-08-11 16:31:51', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374461 -3.116594)'), GeomFromEWKT('SRID=4674;POINT (-39.374498 -3.11674)'))) / (select extract(epoch from '2026-08-11 16:31:51'::timestamp) - extract(epoch from '2026-08-11 16:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374461 -3.116594)'), GeomFromEWKT('SRID=4674;POINT (-39.374498 -3.11674)'))) / (select extract(epoch from '2026-08-11 16:31:51'::timestamp) - extract(epoch from '2026-08-11 16:31: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'), 48165, 'SRID=4674;POINT (-39.37452 -3.116865)', '2026-08-11 16:31:56', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374498 -3.11674)'), GeomFromEWKT('SRID=4674;POINT (-39.37452 -3.116865)'))) / (select extract(epoch from '2026-08-11 16:31:56'::timestamp) - extract(epoch from '2026-08-11 16:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374498 -3.11674)'), GeomFromEWKT('SRID=4674;POINT (-39.37452 -3.116865)'))) / (select extract(epoch from '2026-08-11 16:31:56'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.37454 -3.11697)', '2026-08-11 16:32:01', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37452 -3.116865)'), GeomFromEWKT('SRID=4674;POINT (-39.37454 -3.11697)'))) / (select extract(epoch from '2026-08-11 16:32:01'::timestamp) - extract(epoch from '2026-08-11 16:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37452 -3.116865)'), GeomFromEWKT('SRID=4674;POINT (-39.37454 -3.11697)'))) / (select extract(epoch from '2026-08-11 16:32:01'::timestamp) - extract(epoch from '2026-08-11 16:31: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'), 48165, 'SRID=4674;POINT (-39.374567 -3.117112)', '2026-08-11 16:32:07', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37454 -3.11697)'), GeomFromEWKT('SRID=4674;POINT (-39.374567 -3.117112)'))) / (select extract(epoch from '2026-08-11 16:32:07'::timestamp) - extract(epoch from '2026-08-11 16:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37454 -3.11697)'), GeomFromEWKT('SRID=4674;POINT (-39.374567 -3.117112)'))) / (select extract(epoch from '2026-08-11 16:32:07'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.374577 -3.117177)', '2026-08-11 16:32:10', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374567 -3.117112)'), GeomFromEWKT('SRID=4674;POINT (-39.374577 -3.117177)'))) / (select extract(epoch from '2026-08-11 16:32:10'::timestamp) - extract(epoch from '2026-08-11 16:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374567 -3.117112)'), GeomFromEWKT('SRID=4674;POINT (-39.374577 -3.117177)'))) / (select extract(epoch from '2026-08-11 16:32:10'::timestamp) - extract(epoch from '2026-08-11 16:32:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.374588 -3.117223)', '2026-08-11 16:32:12', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374577 -3.117177)'), GeomFromEWKT('SRID=4674;POINT (-39.374588 -3.117223)'))) / (select extract(epoch from '2026-08-11 16:32:12'::timestamp) - extract(epoch from '2026-08-11 16:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374577 -3.117177)'), GeomFromEWKT('SRID=4674;POINT (-39.374588 -3.117223)'))) / (select extract(epoch from '2026-08-11 16:32:12'::timestamp) - extract(epoch from '2026-08-11 16:32: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'), 48165, 'SRID=4674;POINT (-39.374599 -3.117307)', '2026-08-11 16:32:16', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374588 -3.117223)'), GeomFromEWKT('SRID=4674;POINT (-39.374599 -3.117307)'))) / (select extract(epoch from '2026-08-11 16:32:16'::timestamp) - extract(epoch from '2026-08-11 16:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374588 -3.117223)'), GeomFromEWKT('SRID=4674;POINT (-39.374599 -3.117307)'))) / (select extract(epoch from '2026-08-11 16:32:16'::timestamp) - extract(epoch from '2026-08-11 16:32: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'), 48165, 'SRID=4674;POINT (-39.374624 -3.117414)', '2026-08-11 16:32:21', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374599 -3.117307)'), GeomFromEWKT('SRID=4674;POINT (-39.374624 -3.117414)'))) / (select extract(epoch from '2026-08-11 16:32:21'::timestamp) - extract(epoch from '2026-08-11 16:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374599 -3.117307)'), GeomFromEWKT('SRID=4674;POINT (-39.374624 -3.117414)'))) / (select extract(epoch from '2026-08-11 16:32:21'::timestamp) - extract(epoch from '2026-08-11 16:32: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'), 48165, 'SRID=4674;POINT (-39.374651 -3.117529)', '2026-08-11 16:32:26', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374624 -3.117414)'), GeomFromEWKT('SRID=4674;POINT (-39.374651 -3.117529)'))) / (select extract(epoch from '2026-08-11 16:32:26'::timestamp) - extract(epoch from '2026-08-11 16:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374624 -3.117414)'), GeomFromEWKT('SRID=4674;POINT (-39.374651 -3.117529)'))) / (select extract(epoch from '2026-08-11 16:32:26'::timestamp) - extract(epoch from '2026-08-11 16:32: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'), 48165, 'SRID=4674;POINT (-39.374668 -3.117618)', '2026-08-11 16:32:30', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374651 -3.117529)'), GeomFromEWKT('SRID=4674;POINT (-39.374668 -3.117618)'))) / (select extract(epoch from '2026-08-11 16:32:30'::timestamp) - extract(epoch from '2026-08-11 16:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374651 -3.117529)'), GeomFromEWKT('SRID=4674;POINT (-39.374668 -3.117618)'))) / (select extract(epoch from '2026-08-11 16:32:30'::timestamp) - extract(epoch from '2026-08-11 16:32: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'), 48165, 'SRID=4674;POINT (-39.374702 -3.117777)', '2026-08-11 16:32:37', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374668 -3.117618)'), GeomFromEWKT('SRID=4674;POINT (-39.374702 -3.117777)'))) / (select extract(epoch from '2026-08-11 16:32:37'::timestamp) - extract(epoch from '2026-08-11 16:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374668 -3.117618)'), GeomFromEWKT('SRID=4674;POINT (-39.374702 -3.117777)'))) / (select extract(epoch from '2026-08-11 16:32:37'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.374745 -3.117873)', '2026-08-11 16:32:41', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374702 -3.117777)'), GeomFromEWKT('SRID=4674;POINT (-39.374745 -3.117873)'))) / (select extract(epoch from '2026-08-11 16:32:41'::timestamp) - extract(epoch from '2026-08-11 16:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374702 -3.117777)'), GeomFromEWKT('SRID=4674;POINT (-39.374745 -3.117873)'))) / (select extract(epoch from '2026-08-11 16:32:41'::timestamp) - extract(epoch from '2026-08-11 16:32:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.374747 -3.117892)', '2026-08-11 16:32:42', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374745 -3.117873)'), GeomFromEWKT('SRID=4674;POINT (-39.374747 -3.117892)'))) / (select extract(epoch from '2026-08-11 16:32:42'::timestamp) - extract(epoch from '2026-08-11 16:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374745 -3.117873)'), GeomFromEWKT('SRID=4674;POINT (-39.374747 -3.117892)'))) / (select extract(epoch from '2026-08-11 16:32:42'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.374763 -3.117981)', '2026-08-11 16:32:46', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374747 -3.117892)'), GeomFromEWKT('SRID=4674;POINT (-39.374763 -3.117981)'))) / (select extract(epoch from '2026-08-11 16:32:46'::timestamp) - extract(epoch from '2026-08-11 16:32:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374747 -3.117892)'), GeomFromEWKT('SRID=4674;POINT (-39.374763 -3.117981)'))) / (select extract(epoch from '2026-08-11 16:32:46'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.374774 -3.1181)', '2026-08-11 16:32:51', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374763 -3.117981)'), GeomFromEWKT('SRID=4674;POINT (-39.374774 -3.1181)'))) / (select extract(epoch from '2026-08-11 16:32:51'::timestamp) - extract(epoch from '2026-08-11 16:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374763 -3.117981)'), GeomFromEWKT('SRID=4674;POINT (-39.374774 -3.1181)'))) / (select extract(epoch from '2026-08-11 16:32:51'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.374795 -3.118208)', '2026-08-11 16:32:56', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374774 -3.1181)'), GeomFromEWKT('SRID=4674;POINT (-39.374795 -3.118208)'))) / (select extract(epoch from '2026-08-11 16:32:56'::timestamp) - extract(epoch from '2026-08-11 16:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374774 -3.1181)'), GeomFromEWKT('SRID=4674;POINT (-39.374795 -3.118208)'))) / (select extract(epoch from '2026-08-11 16:32:56'::timestamp) - extract(epoch from '2026-08-11 16:32: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'), 48165, 'SRID=4674;POINT (-39.374824 -3.11831)', '2026-08-11 16:33:01', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374795 -3.118208)'), GeomFromEWKT('SRID=4674;POINT (-39.374824 -3.11831)'))) / (select extract(epoch from '2026-08-11 16:33:01'::timestamp) - extract(epoch from '2026-08-11 16:32:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374795 -3.118208)'), GeomFromEWKT('SRID=4674;POINT (-39.374824 -3.11831)'))) / (select extract(epoch from '2026-08-11 16:33:01'::timestamp) - extract(epoch from '2026-08-11 16:32: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'), 48165, 'SRID=4674;POINT (-39.374838 -3.118419)', '2026-08-11 16:33:06', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374824 -3.11831)'), GeomFromEWKT('SRID=4674;POINT (-39.374838 -3.118419)'))) / (select extract(epoch from '2026-08-11 16:33:06'::timestamp) - extract(epoch from '2026-08-11 16:33:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374824 -3.11831)'), GeomFromEWKT('SRID=4674;POINT (-39.374838 -3.118419)'))) / (select extract(epoch from '2026-08-11 16:33:06'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.374859 -3.118573)', '2026-08-11 16:33:13', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374838 -3.118419)'), GeomFromEWKT('SRID=4674;POINT (-39.374859 -3.118573)'))) / (select extract(epoch from '2026-08-11 16:33:13'::timestamp) - extract(epoch from '2026-08-11 16:33:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374838 -3.118419)'), GeomFromEWKT('SRID=4674;POINT (-39.374859 -3.118573)'))) / (select extract(epoch from '2026-08-11 16:33:13'::timestamp) - extract(epoch from '2026-08-11 16:33: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'), 48165, 'SRID=4674;POINT (-39.374888 -3.118704)', '2026-08-11 16:33:19', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374859 -3.118573)'), GeomFromEWKT('SRID=4674;POINT (-39.374888 -3.118704)'))) / (select extract(epoch from '2026-08-11 16:33:19'::timestamp) - extract(epoch from '2026-08-11 16:33:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374859 -3.118573)'), GeomFromEWKT('SRID=4674;POINT (-39.374888 -3.118704)'))) / (select extract(epoch from '2026-08-11 16:33:19'::timestamp) - extract(epoch from '2026-08-11 16:33:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.374918 -3.118836)', '2026-08-11 16:33:25', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374888 -3.118704)'), GeomFromEWKT('SRID=4674;POINT (-39.374918 -3.118836)'))) / (select extract(epoch from '2026-08-11 16:33:25'::timestamp) - extract(epoch from '2026-08-11 16:33:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374888 -3.118704)'), GeomFromEWKT('SRID=4674;POINT (-39.374918 -3.118836)'))) / (select extract(epoch from '2026-08-11 16:33:25'::timestamp) - extract(epoch from '2026-08-11 16:33:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.374941 -3.118969)', '2026-08-11 16:33:31', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374918 -3.118836)'), GeomFromEWKT('SRID=4674;POINT (-39.374941 -3.118969)'))) / (select extract(epoch from '2026-08-11 16:33:31'::timestamp) - extract(epoch from '2026-08-11 16:33:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374918 -3.118836)'), GeomFromEWKT('SRID=4674;POINT (-39.374941 -3.118969)'))) / (select extract(epoch from '2026-08-11 16:33:31'::timestamp) - extract(epoch from '2026-08-11 16:33:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.374965 -3.119114)', '2026-08-11 16:33:37', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374941 -3.118969)'), GeomFromEWKT('SRID=4674;POINT (-39.374965 -3.119114)'))) / (select extract(epoch from '2026-08-11 16:33:37'::timestamp) - extract(epoch from '2026-08-11 16:33:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374941 -3.118969)'), GeomFromEWKT('SRID=4674;POINT (-39.374965 -3.119114)'))) / (select extract(epoch from '2026-08-11 16:33:37'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.374977 -3.119232)', '2026-08-11 16:33:42', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374965 -3.119114)'), GeomFromEWKT('SRID=4674;POINT (-39.374977 -3.119232)'))) / (select extract(epoch from '2026-08-11 16:33:42'::timestamp) - extract(epoch from '2026-08-11 16:33:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374965 -3.119114)'), GeomFromEWKT('SRID=4674;POINT (-39.374977 -3.119232)'))) / (select extract(epoch from '2026-08-11 16:33:42'::timestamp) - extract(epoch from '2026-08-11 16:33:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.374986 -3.119351)', '2026-08-11 16:33:47', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374977 -3.119232)'), GeomFromEWKT('SRID=4674;POINT (-39.374986 -3.119351)'))) / (select extract(epoch from '2026-08-11 16:33:47'::timestamp) - extract(epoch from '2026-08-11 16:33:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374977 -3.119232)'), GeomFromEWKT('SRID=4674;POINT (-39.374986 -3.119351)'))) / (select extract(epoch from '2026-08-11 16:33:47'::timestamp) - extract(epoch from '2026-08-11 16:33: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'), 48165, 'SRID=4674;POINT (-39.374989 -3.119494)', '2026-08-11 16:33:53', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374986 -3.119351)'), GeomFromEWKT('SRID=4674;POINT (-39.374989 -3.119494)'))) / (select extract(epoch from '2026-08-11 16:33:53'::timestamp) - extract(epoch from '2026-08-11 16:33:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374986 -3.119351)'), GeomFromEWKT('SRID=4674;POINT (-39.374989 -3.119494)'))) / (select extract(epoch from '2026-08-11 16:33:53'::timestamp) - extract(epoch from '2026-08-11 16:33: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'), 48165, 'SRID=4674;POINT (-39.375025 -3.119634)', '2026-08-11 16:33:59', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374989 -3.119494)'), GeomFromEWKT('SRID=4674;POINT (-39.375025 -3.119634)'))) / (select extract(epoch from '2026-08-11 16:33:59'::timestamp) - extract(epoch from '2026-08-11 16:33:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374989 -3.119494)'), GeomFromEWKT('SRID=4674;POINT (-39.375025 -3.119634)'))) / (select extract(epoch from '2026-08-11 16:33:59'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.375032 -3.119732)', '2026-08-11 16:34:03', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375025 -3.119634)'), GeomFromEWKT('SRID=4674;POINT (-39.375032 -3.119732)'))) / (select extract(epoch from '2026-08-11 16:34:03'::timestamp) - extract(epoch from '2026-08-11 16:33:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375025 -3.119634)'), GeomFromEWKT('SRID=4674;POINT (-39.375032 -3.119732)'))) / (select extract(epoch from '2026-08-11 16:34:03'::timestamp) - extract(epoch from '2026-08-11 16:33: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'), 48165, 'SRID=4674;POINT (-39.375038 -3.119863)', '2026-08-11 16:34:09', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375032 -3.119732)'), GeomFromEWKT('SRID=4674;POINT (-39.375038 -3.119863)'))) / (select extract(epoch from '2026-08-11 16:34:09'::timestamp) - extract(epoch from '2026-08-11 16:34:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375032 -3.119732)'), GeomFromEWKT('SRID=4674;POINT (-39.375038 -3.119863)'))) / (select extract(epoch from '2026-08-11 16:34:09'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.375049 -3.120011)', '2026-08-11 16:34:15', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375038 -3.119863)'), GeomFromEWKT('SRID=4674;POINT (-39.375049 -3.120011)'))) / (select extract(epoch from '2026-08-11 16:34:15'::timestamp) - extract(epoch from '2026-08-11 16:34:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375038 -3.119863)'), GeomFromEWKT('SRID=4674;POINT (-39.375049 -3.120011)'))) / (select extract(epoch from '2026-08-11 16:34:15'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.37507 -3.120171)', '2026-08-11 16:34:22', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375049 -3.120011)'), GeomFromEWKT('SRID=4674;POINT (-39.37507 -3.120171)'))) / (select extract(epoch from '2026-08-11 16:34:22'::timestamp) - extract(epoch from '2026-08-11 16:34:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375049 -3.120011)'), GeomFromEWKT('SRID=4674;POINT (-39.37507 -3.120171)'))) / (select extract(epoch from '2026-08-11 16:34:22'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.37507 -3.120314)', '2026-08-11 16:34:28', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37507 -3.120171)'), GeomFromEWKT('SRID=4674;POINT (-39.37507 -3.120314)'))) / (select extract(epoch from '2026-08-11 16:34:28'::timestamp) - extract(epoch from '2026-08-11 16:34:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37507 -3.120171)'), GeomFromEWKT('SRID=4674;POINT (-39.37507 -3.120314)'))) / (select extract(epoch from '2026-08-11 16:34:28'::timestamp) - extract(epoch from '2026-08-11 16:34: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'), 48165, 'SRID=4674;POINT (-39.37507 -3.120333)', '2026-08-11 16:34:29', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37507 -3.120314)'), GeomFromEWKT('SRID=4674;POINT (-39.37507 -3.120333)'))) / (select extract(epoch from '2026-08-11 16:34:29'::timestamp) - extract(epoch from '2026-08-11 16:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37507 -3.120314)'), GeomFromEWKT('SRID=4674;POINT (-39.37507 -3.120333)'))) / (select extract(epoch from '2026-08-11 16:34:29'::timestamp) - extract(epoch from '2026-08-11 16:34: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'), 48165, 'SRID=4674;POINT (-39.375075 -3.120403)', '2026-08-11 16:34:32', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37507 -3.120333)'), GeomFromEWKT('SRID=4674;POINT (-39.375075 -3.120403)'))) / (select extract(epoch from '2026-08-11 16:34:32'::timestamp) - extract(epoch from '2026-08-11 16:34:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37507 -3.120333)'), GeomFromEWKT('SRID=4674;POINT (-39.375075 -3.120403)'))) / (select extract(epoch from '2026-08-11 16:34:32'::timestamp) - extract(epoch from '2026-08-11 16:34:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.375093 -3.120513)', '2026-08-11 16:34:37', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375075 -3.120403)'), GeomFromEWKT('SRID=4674;POINT (-39.375093 -3.120513)'))) / (select extract(epoch from '2026-08-11 16:34:37'::timestamp) - extract(epoch from '2026-08-11 16:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375075 -3.120403)'), GeomFromEWKT('SRID=4674;POINT (-39.375093 -3.120513)'))) / (select extract(epoch from '2026-08-11 16:34:37'::timestamp) - extract(epoch from '2026-08-11 16:34:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.375097 -3.120649)', '2026-08-11 16:34:43', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375093 -3.120513)'), GeomFromEWKT('SRID=4674;POINT (-39.375097 -3.120649)'))) / (select extract(epoch from '2026-08-11 16:34:43'::timestamp) - extract(epoch from '2026-08-11 16:34:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375093 -3.120513)'), GeomFromEWKT('SRID=4674;POINT (-39.375097 -3.120649)'))) / (select extract(epoch from '2026-08-11 16:34:43'::timestamp) - extract(epoch from '2026-08-11 16:34:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.375115 -3.120817)', '2026-08-11 16:34:50', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375097 -3.120649)'), GeomFromEWKT('SRID=4674;POINT (-39.375115 -3.120817)'))) / (select extract(epoch from '2026-08-11 16:34:50'::timestamp) - extract(epoch from '2026-08-11 16:34:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375097 -3.120649)'), GeomFromEWKT('SRID=4674;POINT (-39.375115 -3.120817)'))) / (select extract(epoch from '2026-08-11 16:34:50'::timestamp) - extract(epoch from '2026-08-11 16:34: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'), 48165, 'SRID=4674;POINT (-39.375118 -3.120843)', '2026-08-11 16:34:51', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375115 -3.120817)'), GeomFromEWKT('SRID=4674;POINT (-39.375118 -3.120843)'))) / (select extract(epoch from '2026-08-11 16:34:51'::timestamp) - extract(epoch from '2026-08-11 16:34:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375115 -3.120817)'), GeomFromEWKT('SRID=4674;POINT (-39.375118 -3.120843)'))) / (select extract(epoch from '2026-08-11 16:34:51'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.375122 -3.120911)', '2026-08-11 16:34:54', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375118 -3.120843)'), GeomFromEWKT('SRID=4674;POINT (-39.375122 -3.120911)'))) / (select extract(epoch from '2026-08-11 16:34:54'::timestamp) - extract(epoch from '2026-08-11 16:34:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375118 -3.120843)'), GeomFromEWKT('SRID=4674;POINT (-39.375122 -3.120911)'))) / (select extract(epoch from '2026-08-11 16:34:54'::timestamp) - extract(epoch from '2026-08-11 16:34: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'), 48165, 'SRID=4674;POINT (-39.375129 -3.121005)', '2026-08-11 16:34:58', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375122 -3.120911)'), GeomFromEWKT('SRID=4674;POINT (-39.375129 -3.121005)'))) / (select extract(epoch from '2026-08-11 16:34:58'::timestamp) - extract(epoch from '2026-08-11 16:34:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375122 -3.120911)'), GeomFromEWKT('SRID=4674;POINT (-39.375129 -3.121005)'))) / (select extract(epoch from '2026-08-11 16:34:58'::timestamp) - extract(epoch from '2026-08-11 16:34:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.375146 -3.121151)', '2026-08-11 16:35:04', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375129 -3.121005)'), GeomFromEWKT('SRID=4674;POINT (-39.375146 -3.121151)'))) / (select extract(epoch from '2026-08-11 16:35:04'::timestamp) - extract(epoch from '2026-08-11 16:34:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375129 -3.121005)'), GeomFromEWKT('SRID=4674;POINT (-39.375146 -3.121151)'))) / (select extract(epoch from '2026-08-11 16:35:04'::timestamp) - extract(epoch from '2026-08-11 16:34: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'), 48165, 'SRID=4674;POINT (-39.375162 -3.121295)', '2026-08-11 16:35:10', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375146 -3.121151)'), GeomFromEWKT('SRID=4674;POINT (-39.375162 -3.121295)'))) / (select extract(epoch from '2026-08-11 16:35:10'::timestamp) - extract(epoch from '2026-08-11 16:35:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375146 -3.121151)'), GeomFromEWKT('SRID=4674;POINT (-39.375162 -3.121295)'))) / (select extract(epoch from '2026-08-11 16:35:10'::timestamp) - extract(epoch from '2026-08-11 16:35: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'), 48165, 'SRID=4674;POINT (-39.375176 -3.121436)', '2026-08-11 16:35:16', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375162 -3.121295)'), GeomFromEWKT('SRID=4674;POINT (-39.375176 -3.121436)'))) / (select extract(epoch from '2026-08-11 16:35:16'::timestamp) - extract(epoch from '2026-08-11 16:35:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375162 -3.121295)'), GeomFromEWKT('SRID=4674;POINT (-39.375176 -3.121436)'))) / (select extract(epoch from '2026-08-11 16:35:16'::timestamp) - extract(epoch from '2026-08-11 16:35: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'), 48165, 'SRID=4674;POINT (-39.375192 -3.121533)', '2026-08-11 16:35:20', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375176 -3.121436)'), GeomFromEWKT('SRID=4674;POINT (-39.375192 -3.121533)'))) / (select extract(epoch from '2026-08-11 16:35:20'::timestamp) - extract(epoch from '2026-08-11 16:35:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375176 -3.121436)'), GeomFromEWKT('SRID=4674;POINT (-39.375192 -3.121533)'))) / (select extract(epoch from '2026-08-11 16:35:20'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.375215 -3.121661)', '2026-08-11 16:35:26', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375192 -3.121533)'), GeomFromEWKT('SRID=4674;POINT (-39.375215 -3.121661)'))) / (select extract(epoch from '2026-08-11 16:35:26'::timestamp) - extract(epoch from '2026-08-11 16:35:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375192 -3.121533)'), GeomFromEWKT('SRID=4674;POINT (-39.375215 -3.121661)'))) / (select extract(epoch from '2026-08-11 16:35:26'::timestamp) - extract(epoch from '2026-08-11 16:35: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'), 48165, 'SRID=4674;POINT (-39.375224 -3.121732)', '2026-08-11 16:35:29', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375215 -3.121661)'), GeomFromEWKT('SRID=4674;POINT (-39.375224 -3.121732)'))) / (select extract(epoch from '2026-08-11 16:35:29'::timestamp) - extract(epoch from '2026-08-11 16:35:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375215 -3.121661)'), GeomFromEWKT('SRID=4674;POINT (-39.375224 -3.121732)'))) / (select extract(epoch from '2026-08-11 16:35:29'::timestamp) - extract(epoch from '2026-08-11 16:35: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'), 48165, 'SRID=4674;POINT (-39.375239 -3.121782)', '2026-08-11 16:35:31', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375224 -3.121732)'), GeomFromEWKT('SRID=4674;POINT (-39.375239 -3.121782)'))) / (select extract(epoch from '2026-08-11 16:35:31'::timestamp) - extract(epoch from '2026-08-11 16:35:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375224 -3.121732)'), GeomFromEWKT('SRID=4674;POINT (-39.375239 -3.121782)'))) / (select extract(epoch from '2026-08-11 16:35:31'::timestamp) - extract(epoch from '2026-08-11 16:35: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'), 48165, 'SRID=4674;POINT (-39.375233 -3.121827)', '2026-08-11 16:35:33', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375239 -3.121782)'), GeomFromEWKT('SRID=4674;POINT (-39.375233 -3.121827)'))) / (select extract(epoch from '2026-08-11 16:35:33'::timestamp) - extract(epoch from '2026-08-11 16:35:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375239 -3.121782)'), GeomFromEWKT('SRID=4674;POINT (-39.375233 -3.121827)'))) / (select extract(epoch from '2026-08-11 16:35:33'::timestamp) - extract(epoch from '2026-08-11 16:35: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'), 48165, 'SRID=4674;POINT (-39.375239 -3.121871)', '2026-08-11 16:35:35', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375233 -3.121827)'), GeomFromEWKT('SRID=4674;POINT (-39.375239 -3.121871)'))) / (select extract(epoch from '2026-08-11 16:35:35'::timestamp) - extract(epoch from '2026-08-11 16:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375233 -3.121827)'), GeomFromEWKT('SRID=4674;POINT (-39.375239 -3.121871)'))) / (select extract(epoch from '2026-08-11 16:35:35'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.375264 -3.12203)', '2026-08-11 16:35:42', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375239 -3.121871)'), GeomFromEWKT('SRID=4674;POINT (-39.375264 -3.12203)'))) / (select extract(epoch from '2026-08-11 16:35:42'::timestamp) - extract(epoch from '2026-08-11 16:35:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375239 -3.121871)'), GeomFromEWKT('SRID=4674;POINT (-39.375264 -3.12203)'))) / (select extract(epoch from '2026-08-11 16:35:42'::timestamp) - extract(epoch from '2026-08-11 16:35:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.375268 -3.122088)', '2026-08-11 16:35:45', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375264 -3.12203)'), GeomFromEWKT('SRID=4674;POINT (-39.375268 -3.122088)'))) / (select extract(epoch from '2026-08-11 16:35:45'::timestamp) - extract(epoch from '2026-08-11 16:35:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375264 -3.12203)'), GeomFromEWKT('SRID=4674;POINT (-39.375268 -3.122088)'))) / (select extract(epoch from '2026-08-11 16:35:45'::timestamp) - extract(epoch from '2026-08-11 16:35: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'), 48165, 'SRID=4674;POINT (-39.375263 -3.122111)', '2026-08-11 16:35:46', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375268 -3.122088)'), GeomFromEWKT('SRID=4674;POINT (-39.375263 -3.122111)'))) / (select extract(epoch from '2026-08-11 16:35:46'::timestamp) - extract(epoch from '2026-08-11 16:35:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375268 -3.122088)'), GeomFromEWKT('SRID=4674;POINT (-39.375263 -3.122111)'))) / (select extract(epoch from '2026-08-11 16:35:46'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.375275 -3.122244)', '2026-08-11 16:35:52', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375263 -3.122111)'), GeomFromEWKT('SRID=4674;POINT (-39.375275 -3.122244)'))) / (select extract(epoch from '2026-08-11 16:35:52'::timestamp) - extract(epoch from '2026-08-11 16:35:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375263 -3.122111)'), GeomFromEWKT('SRID=4674;POINT (-39.375275 -3.122244)'))) / (select extract(epoch from '2026-08-11 16:35:52'::timestamp) - extract(epoch from '2026-08-11 16:35: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'), 48165, 'SRID=4674;POINT (-39.375296 -3.122379)', '2026-08-11 16:35:58', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375275 -3.122244)'), GeomFromEWKT('SRID=4674;POINT (-39.375296 -3.122379)'))) / (select extract(epoch from '2026-08-11 16:35:58'::timestamp) - extract(epoch from '2026-08-11 16:35:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375275 -3.122244)'), GeomFromEWKT('SRID=4674;POINT (-39.375296 -3.122379)'))) / (select extract(epoch from '2026-08-11 16:35:58'::timestamp) - extract(epoch from '2026-08-11 16:35: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'), 48165, 'SRID=4674;POINT (-39.375324 -3.122512)', '2026-08-11 16:36:04', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375296 -3.122379)'), GeomFromEWKT('SRID=4674;POINT (-39.375324 -3.122512)'))) / (select extract(epoch from '2026-08-11 16:36:04'::timestamp) - extract(epoch from '2026-08-11 16:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375296 -3.122379)'), GeomFromEWKT('SRID=4674;POINT (-39.375324 -3.122512)'))) / (select extract(epoch from '2026-08-11 16:36:04'::timestamp) - extract(epoch from '2026-08-11 16:35: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'), 48165, 'SRID=4674;POINT (-39.37534 -3.122679)', '2026-08-11 16:36:11', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375324 -3.122512)'), GeomFromEWKT('SRID=4674;POINT (-39.37534 -3.122679)'))) / (select extract(epoch from '2026-08-11 16:36:11'::timestamp) - extract(epoch from '2026-08-11 16:36:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375324 -3.122512)'), GeomFromEWKT('SRID=4674;POINT (-39.37534 -3.122679)'))) / (select extract(epoch from '2026-08-11 16:36:11'::timestamp) - extract(epoch from '2026-08-11 16:36:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.37536 -3.12279)', '2026-08-11 16:36:16', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37534 -3.122679)'), GeomFromEWKT('SRID=4674;POINT (-39.37536 -3.12279)'))) / (select extract(epoch from '2026-08-11 16:36:16'::timestamp) - extract(epoch from '2026-08-11 16:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37534 -3.122679)'), GeomFromEWKT('SRID=4674;POINT (-39.37536 -3.12279)'))) / (select extract(epoch from '2026-08-11 16:36:16'::timestamp) - extract(epoch from '2026-08-11 16:36:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.37539 -3.1229)', '2026-08-11 16:36:21', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37536 -3.12279)'), GeomFromEWKT('SRID=4674;POINT (-39.37539 -3.1229)'))) / (select extract(epoch from '2026-08-11 16:36:21'::timestamp) - extract(epoch from '2026-08-11 16:36:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37536 -3.12279)'), GeomFromEWKT('SRID=4674;POINT (-39.37539 -3.1229)'))) / (select extract(epoch from '2026-08-11 16:36:21'::timestamp) - extract(epoch from '2026-08-11 16:36: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'), 48165, 'SRID=4674;POINT (-39.37542 -3.123022)', '2026-08-11 16:36:26', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37539 -3.1229)'), GeomFromEWKT('SRID=4674;POINT (-39.37542 -3.123022)'))) / (select extract(epoch from '2026-08-11 16:36:26'::timestamp) - extract(epoch from '2026-08-11 16:36:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37539 -3.1229)'), GeomFromEWKT('SRID=4674;POINT (-39.37542 -3.123022)'))) / (select extract(epoch from '2026-08-11 16:36:26'::timestamp) - extract(epoch from '2026-08-11 16:36: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'), 48165, 'SRID=4674;POINT (-39.375442 -3.123153)', '2026-08-11 16:36:32', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37542 -3.123022)'), GeomFromEWKT('SRID=4674;POINT (-39.375442 -3.123153)'))) / (select extract(epoch from '2026-08-11 16:36:32'::timestamp) - extract(epoch from '2026-08-11 16:36:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37542 -3.123022)'), GeomFromEWKT('SRID=4674;POINT (-39.375442 -3.123153)'))) / (select extract(epoch from '2026-08-11 16:36:32'::timestamp) - extract(epoch from '2026-08-11 16:36: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'), 48165, 'SRID=4674;POINT (-39.375473 -3.123287)', '2026-08-11 16:36:38', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375442 -3.123153)'), GeomFromEWKT('SRID=4674;POINT (-39.375473 -3.123287)'))) / (select extract(epoch from '2026-08-11 16:36:38'::timestamp) - extract(epoch from '2026-08-11 16:36:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375442 -3.123153)'), GeomFromEWKT('SRID=4674;POINT (-39.375473 -3.123287)'))) / (select extract(epoch from '2026-08-11 16:36:38'::timestamp) - extract(epoch from '2026-08-11 16:36: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'), 48165, 'SRID=4674;POINT (-39.375488 -3.123372)', '2026-08-11 16:36:42', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375473 -3.123287)'), GeomFromEWKT('SRID=4674;POINT (-39.375488 -3.123372)'))) / (select extract(epoch from '2026-08-11 16:36:42'::timestamp) - extract(epoch from '2026-08-11 16:36:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375473 -3.123287)'), GeomFromEWKT('SRID=4674;POINT (-39.375488 -3.123372)'))) / (select extract(epoch from '2026-08-11 16:36:42'::timestamp) - extract(epoch from '2026-08-11 16:36: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'), 48165, 'SRID=4674;POINT (-39.375519 -3.123494)', '2026-08-11 16:36:48', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375488 -3.123372)'), GeomFromEWKT('SRID=4674;POINT (-39.375519 -3.123494)'))) / (select extract(epoch from '2026-08-11 16:36:48'::timestamp) - extract(epoch from '2026-08-11 16:36:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375488 -3.123372)'), GeomFromEWKT('SRID=4674;POINT (-39.375519 -3.123494)'))) / (select extract(epoch from '2026-08-11 16:36:48'::timestamp) - extract(epoch from '2026-08-11 16:36: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'), 48165, 'SRID=4674;POINT (-39.375529 -3.12365)', '2026-08-11 16:36:55', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375519 -3.123494)'), GeomFromEWKT('SRID=4674;POINT (-39.375529 -3.12365)'))) / (select extract(epoch from '2026-08-11 16:36:55'::timestamp) - extract(epoch from '2026-08-11 16:36:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375519 -3.123494)'), GeomFromEWKT('SRID=4674;POINT (-39.375529 -3.12365)'))) / (select extract(epoch from '2026-08-11 16:36:55'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.375543 -3.123764)', '2026-08-11 16:37:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375529 -3.12365)'), GeomFromEWKT('SRID=4674;POINT (-39.375543 -3.123764)'))) / (select extract(epoch from '2026-08-11 16:37:00'::timestamp) - extract(epoch from '2026-08-11 16:36:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375529 -3.12365)'), GeomFromEWKT('SRID=4674;POINT (-39.375543 -3.123764)'))) / (select extract(epoch from '2026-08-11 16:37:00'::timestamp) - extract(epoch from '2026-08-11 16:36: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'), 48165, 'SRID=4674;POINT (-39.375564 -3.123942)', '2026-08-11 16:37:08', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375543 -3.123764)'), GeomFromEWKT('SRID=4674;POINT (-39.375564 -3.123942)'))) / (select extract(epoch from '2026-08-11 16:37:08'::timestamp) - extract(epoch from '2026-08-11 16:37:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375543 -3.123764)'), GeomFromEWKT('SRID=4674;POINT (-39.375564 -3.123942)'))) / (select extract(epoch from '2026-08-11 16:37:08'::timestamp) - extract(epoch from '2026-08-11 16:37: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'), 48165, 'SRID=4674;POINT (-39.375575 -3.12401)', '2026-08-11 16:37:11', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375564 -3.123942)'), GeomFromEWKT('SRID=4674;POINT (-39.375575 -3.12401)'))) / (select extract(epoch from '2026-08-11 16:37:11'::timestamp) - extract(epoch from '2026-08-11 16:37:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375564 -3.123942)'), GeomFromEWKT('SRID=4674;POINT (-39.375575 -3.12401)'))) / (select extract(epoch from '2026-08-11 16:37:11'::timestamp) - extract(epoch from '2026-08-11 16:37: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'), 48165, 'SRID=4674;POINT (-39.375583 -3.12403)', '2026-08-11 16:37:12', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375575 -3.12401)'), GeomFromEWKT('SRID=4674;POINT (-39.375583 -3.12403)'))) / (select extract(epoch from '2026-08-11 16:37:12'::timestamp) - extract(epoch from '2026-08-11 16:37:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375575 -3.12401)'), GeomFromEWKT('SRID=4674;POINT (-39.375583 -3.12403)'))) / (select extract(epoch from '2026-08-11 16:37:12'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.375605 -3.124134)', '2026-08-11 16:37:17', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375583 -3.12403)'), GeomFromEWKT('SRID=4674;POINT (-39.375605 -3.124134)'))) / (select extract(epoch from '2026-08-11 16:37:17'::timestamp) - extract(epoch from '2026-08-11 16:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375583 -3.12403)'), GeomFromEWKT('SRID=4674;POINT (-39.375605 -3.124134)'))) / (select extract(epoch from '2026-08-11 16:37:17'::timestamp) - extract(epoch from '2026-08-11 16:37:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.375632 -3.12424)', '2026-08-11 16:37:22', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375605 -3.124134)'), GeomFromEWKT('SRID=4674;POINT (-39.375632 -3.12424)'))) / (select extract(epoch from '2026-08-11 16:37:22'::timestamp) - extract(epoch from '2026-08-11 16:37:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375605 -3.124134)'), GeomFromEWKT('SRID=4674;POINT (-39.375632 -3.12424)'))) / (select extract(epoch from '2026-08-11 16:37:22'::timestamp) - extract(epoch from '2026-08-11 16:37: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'), 48165, 'SRID=4674;POINT (-39.375655 -3.124364)', '2026-08-11 16:37:28', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375632 -3.12424)'), GeomFromEWKT('SRID=4674;POINT (-39.375655 -3.124364)'))) / (select extract(epoch from '2026-08-11 16:37:28'::timestamp) - extract(epoch from '2026-08-11 16:37:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375632 -3.12424)'), GeomFromEWKT('SRID=4674;POINT (-39.375655 -3.124364)'))) / (select extract(epoch from '2026-08-11 16:37:28'::timestamp) - extract(epoch from '2026-08-11 16:37: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'), 48165, 'SRID=4674;POINT (-39.37568 -3.124475)', '2026-08-11 16:37:33', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375655 -3.124364)'), GeomFromEWKT('SRID=4674;POINT (-39.37568 -3.124475)'))) / (select extract(epoch from '2026-08-11 16:37:33'::timestamp) - extract(epoch from '2026-08-11 16:37:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375655 -3.124364)'), GeomFromEWKT('SRID=4674;POINT (-39.37568 -3.124475)'))) / (select extract(epoch from '2026-08-11 16:37:33'::timestamp) - extract(epoch from '2026-08-11 16:37:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.375716 -3.124636)', '2026-08-11 16:37:40', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37568 -3.124475)'), GeomFromEWKT('SRID=4674;POINT (-39.375716 -3.124636)'))) / (select extract(epoch from '2026-08-11 16:37:40'::timestamp) - extract(epoch from '2026-08-11 16:37:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37568 -3.124475)'), GeomFromEWKT('SRID=4674;POINT (-39.375716 -3.124636)'))) / (select extract(epoch from '2026-08-11 16:37:40'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.375741 -3.124739)', '2026-08-11 16:37:45', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375716 -3.124636)'), GeomFromEWKT('SRID=4674;POINT (-39.375741 -3.124739)'))) / (select extract(epoch from '2026-08-11 16:37:45'::timestamp) - extract(epoch from '2026-08-11 16:37:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375716 -3.124636)'), GeomFromEWKT('SRID=4674;POINT (-39.375741 -3.124739)'))) / (select extract(epoch from '2026-08-11 16:37:45'::timestamp) - extract(epoch from '2026-08-11 16:37: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'), 48165, 'SRID=4674;POINT (-39.375757 -3.12482)', '2026-08-11 16:37:49', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375741 -3.124739)'), GeomFromEWKT('SRID=4674;POINT (-39.375757 -3.12482)'))) / (select extract(epoch from '2026-08-11 16:37:49'::timestamp) - extract(epoch from '2026-08-11 16:37:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375741 -3.124739)'), GeomFromEWKT('SRID=4674;POINT (-39.375757 -3.12482)'))) / (select extract(epoch from '2026-08-11 16:37:49'::timestamp) - extract(epoch from '2026-08-11 16:37: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'), 48165, 'SRID=4674;POINT (-39.375773 -3.124926)', '2026-08-11 16:37:54', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375757 -3.12482)'), GeomFromEWKT('SRID=4674;POINT (-39.375773 -3.124926)'))) / (select extract(epoch from '2026-08-11 16:37:54'::timestamp) - extract(epoch from '2026-08-11 16:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375757 -3.12482)'), GeomFromEWKT('SRID=4674;POINT (-39.375773 -3.124926)'))) / (select extract(epoch from '2026-08-11 16:37:54'::timestamp) - extract(epoch from '2026-08-11 16:37:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.375791 -3.125035)', '2026-08-11 16:37:59', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375773 -3.124926)'), GeomFromEWKT('SRID=4674;POINT (-39.375791 -3.125035)'))) / (select extract(epoch from '2026-08-11 16:37:59'::timestamp) - extract(epoch from '2026-08-11 16:37:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375773 -3.124926)'), GeomFromEWKT('SRID=4674;POINT (-39.375791 -3.125035)'))) / (select extract(epoch from '2026-08-11 16:37:59'::timestamp) - extract(epoch from '2026-08-11 16:37:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.375818 -3.125174)', '2026-08-11 16:38:05', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375791 -3.125035)'), GeomFromEWKT('SRID=4674;POINT (-39.375818 -3.125174)'))) / (select extract(epoch from '2026-08-11 16:38:05'::timestamp) - extract(epoch from '2026-08-11 16:37:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375791 -3.125035)'), GeomFromEWKT('SRID=4674;POINT (-39.375818 -3.125174)'))) / (select extract(epoch from '2026-08-11 16:38:05'::timestamp) - extract(epoch from '2026-08-11 16:37: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'), 48165, 'SRID=4674;POINT (-39.375841 -3.125294)', '2026-08-11 16:38:11', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375818 -3.125174)'), GeomFromEWKT('SRID=4674;POINT (-39.375841 -3.125294)'))) / (select extract(epoch from '2026-08-11 16:38:11'::timestamp) - extract(epoch from '2026-08-11 16:38:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375818 -3.125174)'), GeomFromEWKT('SRID=4674;POINT (-39.375841 -3.125294)'))) / (select extract(epoch from '2026-08-11 16:38:11'::timestamp) - extract(epoch from '2026-08-11 16:38: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'), 48165, 'SRID=4674;POINT (-39.375857 -3.12543)', '2026-08-11 16:38:17', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375841 -3.125294)'), GeomFromEWKT('SRID=4674;POINT (-39.375857 -3.12543)'))) / (select extract(epoch from '2026-08-11 16:38:17'::timestamp) - extract(epoch from '2026-08-11 16:38:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375841 -3.125294)'), GeomFromEWKT('SRID=4674;POINT (-39.375857 -3.12543)'))) / (select extract(epoch from '2026-08-11 16:38:17'::timestamp) - extract(epoch from '2026-08-11 16:38: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'), 48165, 'SRID=4674;POINT (-39.375887 -3.125633)', '2026-08-11 16:38:26', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375857 -3.12543)'), GeomFromEWKT('SRID=4674;POINT (-39.375887 -3.125633)'))) / (select extract(epoch from '2026-08-11 16:38:26'::timestamp) - extract(epoch from '2026-08-11 16:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375857 -3.12543)'), GeomFromEWKT('SRID=4674;POINT (-39.375887 -3.125633)'))) / (select extract(epoch from '2026-08-11 16:38:26'::timestamp) - extract(epoch from '2026-08-11 16:38: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'), 48165, 'SRID=4674;POINT (-39.375906 -3.125766)', '2026-08-11 16:38:32', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375887 -3.125633)'), GeomFromEWKT('SRID=4674;POINT (-39.375906 -3.125766)'))) / (select extract(epoch from '2026-08-11 16:38:32'::timestamp) - extract(epoch from '2026-08-11 16:38:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375887 -3.125633)'), GeomFromEWKT('SRID=4674;POINT (-39.375906 -3.125766)'))) / (select extract(epoch from '2026-08-11 16:38:32'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.375912 -3.125809)', '2026-08-11 16:38:34', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375906 -3.125766)'), GeomFromEWKT('SRID=4674;POINT (-39.375912 -3.125809)'))) / (select extract(epoch from '2026-08-11 16:38:34'::timestamp) - extract(epoch from '2026-08-11 16:38:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375906 -3.125766)'), GeomFromEWKT('SRID=4674;POINT (-39.375912 -3.125809)'))) / (select extract(epoch from '2026-08-11 16:38:34'::timestamp) - extract(epoch from '2026-08-11 16:38: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'), 48165, 'SRID=4674;POINT (-39.375924 -3.125857)', '2026-08-11 16:38:36', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375912 -3.125809)'), GeomFromEWKT('SRID=4674;POINT (-39.375924 -3.125857)'))) / (select extract(epoch from '2026-08-11 16:38:36'::timestamp) - extract(epoch from '2026-08-11 16:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375912 -3.125809)'), GeomFromEWKT('SRID=4674;POINT (-39.375924 -3.125857)'))) / (select extract(epoch from '2026-08-11 16:38:36'::timestamp) - extract(epoch from '2026-08-11 16:38: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'), 48165, 'SRID=4674;POINT (-39.37593 -3.125932)', '2026-08-11 16:38:40', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375924 -3.125857)'), GeomFromEWKT('SRID=4674;POINT (-39.37593 -3.125932)'))) / (select extract(epoch from '2026-08-11 16:38:40'::timestamp) - extract(epoch from '2026-08-11 16:38:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375924 -3.125857)'), GeomFromEWKT('SRID=4674;POINT (-39.37593 -3.125932)'))) / (select extract(epoch from '2026-08-11 16:38:40'::timestamp) - extract(epoch from '2026-08-11 16:38: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'), 48165, 'SRID=4674;POINT (-39.375958 -3.126101)', '2026-08-11 16:38:47', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37593 -3.125932)'), GeomFromEWKT('SRID=4674;POINT (-39.375958 -3.126101)'))) / (select extract(epoch from '2026-08-11 16:38:47'::timestamp) - extract(epoch from '2026-08-11 16:38:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37593 -3.125932)'), GeomFromEWKT('SRID=4674;POINT (-39.375958 -3.126101)'))) / (select extract(epoch from '2026-08-11 16:38:47'::timestamp) - extract(epoch from '2026-08-11 16:38: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'), 48165, 'SRID=4674;POINT (-39.375984 -3.126265)', '2026-08-11 16:38:54', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375958 -3.126101)'), GeomFromEWKT('SRID=4674;POINT (-39.375984 -3.126265)'))) / (select extract(epoch from '2026-08-11 16:38:54'::timestamp) - extract(epoch from '2026-08-11 16:38:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375958 -3.126101)'), GeomFromEWKT('SRID=4674;POINT (-39.375984 -3.126265)'))) / (select extract(epoch from '2026-08-11 16:38:54'::timestamp) - extract(epoch from '2026-08-11 16:38: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'), 48165, 'SRID=4674;POINT (-39.376 -3.126403)', '2026-08-11 16:39:00', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375984 -3.126265)'), GeomFromEWKT('SRID=4674;POINT (-39.376 -3.126403)'))) / (select extract(epoch from '2026-08-11 16:39:00'::timestamp) - extract(epoch from '2026-08-11 16:38:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375984 -3.126265)'), GeomFromEWKT('SRID=4674;POINT (-39.376 -3.126403)'))) / (select extract(epoch from '2026-08-11 16:39:00'::timestamp) - extract(epoch from '2026-08-11 16:38:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.376004 -3.126489)', '2026-08-11 16:39:04', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376 -3.126403)'), GeomFromEWKT('SRID=4674;POINT (-39.376004 -3.126489)'))) / (select extract(epoch from '2026-08-11 16:39:04'::timestamp) - extract(epoch from '2026-08-11 16:39:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376 -3.126403)'), GeomFromEWKT('SRID=4674;POINT (-39.376004 -3.126489)'))) / (select extract(epoch from '2026-08-11 16:39:04'::timestamp) - extract(epoch from '2026-08-11 16:39:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.376016 -3.126507)', '2026-08-11 16:39:05', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376004 -3.126489)'), GeomFromEWKT('SRID=4674;POINT (-39.376016 -3.126507)'))) / (select extract(epoch from '2026-08-11 16:39:05'::timestamp) - extract(epoch from '2026-08-11 16:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376004 -3.126489)'), GeomFromEWKT('SRID=4674;POINT (-39.376016 -3.126507)'))) / (select extract(epoch from '2026-08-11 16:39:05'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.376022 -3.126543)', '2026-08-11 16:39:07', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376016 -3.126507)'), GeomFromEWKT('SRID=4674;POINT (-39.376022 -3.126543)'))) / (select extract(epoch from '2026-08-11 16:39:07'::timestamp) - extract(epoch from '2026-08-11 16:39:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376016 -3.126507)'), GeomFromEWKT('SRID=4674;POINT (-39.376022 -3.126543)'))) / (select extract(epoch from '2026-08-11 16:39:07'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.376023 -3.126592)', '2026-08-11 16:39:09', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376022 -3.126543)'), GeomFromEWKT('SRID=4674;POINT (-39.376023 -3.126592)'))) / (select extract(epoch from '2026-08-11 16:39:09'::timestamp) - extract(epoch from '2026-08-11 16:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376022 -3.126543)'), GeomFromEWKT('SRID=4674;POINT (-39.376023 -3.126592)'))) / (select extract(epoch from '2026-08-11 16:39:09'::timestamp) - extract(epoch from '2026-08-11 16:39: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'), 48165, 'SRID=4674;POINT (-39.376027 -3.126678)', '2026-08-11 16:39:13', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376023 -3.126592)'), GeomFromEWKT('SRID=4674;POINT (-39.376027 -3.126678)'))) / (select extract(epoch from '2026-08-11 16:39:13'::timestamp) - extract(epoch from '2026-08-11 16:39:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376023 -3.126592)'), GeomFromEWKT('SRID=4674;POINT (-39.376027 -3.126678)'))) / (select extract(epoch from '2026-08-11 16:39:13'::timestamp) - extract(epoch from '2026-08-11 16:39: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'), 48165, 'SRID=4674;POINT (-39.376046 -3.126811)', '2026-08-11 16:39:19', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376027 -3.126678)'), GeomFromEWKT('SRID=4674;POINT (-39.376046 -3.126811)'))) / (select extract(epoch from '2026-08-11 16:39:19'::timestamp) - extract(epoch from '2026-08-11 16:39:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376027 -3.126678)'), GeomFromEWKT('SRID=4674;POINT (-39.376046 -3.126811)'))) / (select extract(epoch from '2026-08-11 16:39:19'::timestamp) - extract(epoch from '2026-08-11 16:39: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'), 48165, 'SRID=4674;POINT (-39.376061 -3.126934)', '2026-08-11 16:39:24', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376046 -3.126811)'), GeomFromEWKT('SRID=4674;POINT (-39.376061 -3.126934)'))) / (select extract(epoch from '2026-08-11 16:39:24'::timestamp) - extract(epoch from '2026-08-11 16:39:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376046 -3.126811)'), GeomFromEWKT('SRID=4674;POINT (-39.376061 -3.126934)'))) / (select extract(epoch from '2026-08-11 16:39:24'::timestamp) - extract(epoch from '2026-08-11 16:39: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'), 48165, 'SRID=4674;POINT (-39.376105 -3.127068)', '2026-08-11 16:39:30', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376061 -3.126934)'), GeomFromEWKT('SRID=4674;POINT (-39.376105 -3.127068)'))) / (select extract(epoch from '2026-08-11 16:39:30'::timestamp) - extract(epoch from '2026-08-11 16:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376061 -3.126934)'), GeomFromEWKT('SRID=4674;POINT (-39.376105 -3.127068)'))) / (select extract(epoch from '2026-08-11 16:39:30'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.376117 -3.127179)', '2026-08-11 16:39:35', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376105 -3.127068)'), GeomFromEWKT('SRID=4674;POINT (-39.376117 -3.127179)'))) / (select extract(epoch from '2026-08-11 16:39:35'::timestamp) - extract(epoch from '2026-08-11 16:39:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376105 -3.127068)'), GeomFromEWKT('SRID=4674;POINT (-39.376117 -3.127179)'))) / (select extract(epoch from '2026-08-11 16:39:35'::timestamp) - extract(epoch from '2026-08-11 16:39:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.376133 -3.12729)', '2026-08-11 16:39:40', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376117 -3.127179)'), GeomFromEWKT('SRID=4674;POINT (-39.376133 -3.12729)'))) / (select extract(epoch from '2026-08-11 16:39:40'::timestamp) - extract(epoch from '2026-08-11 16:39:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376117 -3.127179)'), GeomFromEWKT('SRID=4674;POINT (-39.376133 -3.12729)'))) / (select extract(epoch from '2026-08-11 16:39:40'::timestamp) - extract(epoch from '2026-08-11 16:39: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'), 48165, 'SRID=4674;POINT (-39.37616 -3.127412)', '2026-08-11 16:39:46', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376133 -3.12729)'), GeomFromEWKT('SRID=4674;POINT (-39.37616 -3.127412)'))) / (select extract(epoch from '2026-08-11 16:39:46'::timestamp) - extract(epoch from '2026-08-11 16:39:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376133 -3.12729)'), GeomFromEWKT('SRID=4674;POINT (-39.37616 -3.127412)'))) / (select extract(epoch from '2026-08-11 16:39:46'::timestamp) - extract(epoch from '2026-08-11 16:39: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'), 48165, 'SRID=4674;POINT (-39.376189 -3.127534)', '2026-08-11 16:39:51', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37616 -3.127412)'), GeomFromEWKT('SRID=4674;POINT (-39.376189 -3.127534)'))) / (select extract(epoch from '2026-08-11 16:39:51'::timestamp) - extract(epoch from '2026-08-11 16:39:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37616 -3.127412)'), GeomFromEWKT('SRID=4674;POINT (-39.376189 -3.127534)'))) / (select extract(epoch from '2026-08-11 16:39:51'::timestamp) - extract(epoch from '2026-08-11 16:39: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'), 48165, 'SRID=4674;POINT (-39.3762 -3.127666)', '2026-08-11 16:39:57', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376189 -3.127534)'), GeomFromEWKT('SRID=4674;POINT (-39.3762 -3.127666)'))) / (select extract(epoch from '2026-08-11 16:39:57'::timestamp) - extract(epoch from '2026-08-11 16:39:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376189 -3.127534)'), GeomFromEWKT('SRID=4674;POINT (-39.3762 -3.127666)'))) / (select extract(epoch from '2026-08-11 16:39:57'::timestamp) - extract(epoch from '2026-08-11 16:39: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'), 48165, 'SRID=4674;POINT (-39.376201 -3.127728)', '2026-08-11 16:40:00', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3762 -3.127666)'), GeomFromEWKT('SRID=4674;POINT (-39.376201 -3.127728)'))) / (select extract(epoch from '2026-08-11 16:40:00'::timestamp) - extract(epoch from '2026-08-11 16:39:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3762 -3.127666)'), GeomFromEWKT('SRID=4674;POINT (-39.376201 -3.127728)'))) / (select extract(epoch from '2026-08-11 16:40:00'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.376211 -3.127781)', '2026-08-11 16:40:02', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376201 -3.127728)'), GeomFromEWKT('SRID=4674;POINT (-39.376211 -3.127781)'))) / (select extract(epoch from '2026-08-11 16:40:02'::timestamp) - extract(epoch from '2026-08-11 16:40:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376201 -3.127728)'), GeomFromEWKT('SRID=4674;POINT (-39.376211 -3.127781)'))) / (select extract(epoch from '2026-08-11 16:40:02'::timestamp) - extract(epoch from '2026-08-11 16:40: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'), 48165, 'SRID=4674;POINT (-39.376218 -3.127879)', '2026-08-11 16:40:06', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376211 -3.127781)'), GeomFromEWKT('SRID=4674;POINT (-39.376218 -3.127879)'))) / (select extract(epoch from '2026-08-11 16:40:06'::timestamp) - extract(epoch from '2026-08-11 16:40:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376211 -3.127781)'), GeomFromEWKT('SRID=4674;POINT (-39.376218 -3.127879)'))) / (select extract(epoch from '2026-08-11 16:40:06'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.376228 -3.127907)', '2026-08-11 16:40:07', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376218 -3.127879)'), GeomFromEWKT('SRID=4674;POINT (-39.376228 -3.127907)'))) / (select extract(epoch from '2026-08-11 16:40:07'::timestamp) - extract(epoch from '2026-08-11 16:40:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376218 -3.127879)'), GeomFromEWKT('SRID=4674;POINT (-39.376228 -3.127907)'))) / (select extract(epoch from '2026-08-11 16:40:07'::timestamp) - extract(epoch from '2026-08-11 16:40: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'), 48165, 'SRID=4674;POINT (-39.376242 -3.128038)', '2026-08-11 16:40:12', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376228 -3.127907)'), GeomFromEWKT('SRID=4674;POINT (-39.376242 -3.128038)'))) / (select extract(epoch from '2026-08-11 16:40:12'::timestamp) - extract(epoch from '2026-08-11 16:40:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376228 -3.127907)'), GeomFromEWKT('SRID=4674;POINT (-39.376242 -3.128038)'))) / (select extract(epoch from '2026-08-11 16:40:12'::timestamp) - extract(epoch from '2026-08-11 16:40: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'), 48165, 'SRID=4674;POINT (-39.376264 -3.128183)', '2026-08-11 16:40:18', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376242 -3.128038)'), GeomFromEWKT('SRID=4674;POINT (-39.376264 -3.128183)'))) / (select extract(epoch from '2026-08-11 16:40:18'::timestamp) - extract(epoch from '2026-08-11 16:40:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376242 -3.128038)'), GeomFromEWKT('SRID=4674;POINT (-39.376264 -3.128183)'))) / (select extract(epoch from '2026-08-11 16:40:18'::timestamp) - extract(epoch from '2026-08-11 16:40: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'), 48165, 'SRID=4674;POINT (-39.376283 -3.128324)', '2026-08-11 16:40:24', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376264 -3.128183)'), GeomFromEWKT('SRID=4674;POINT (-39.376283 -3.128324)'))) / (select extract(epoch from '2026-08-11 16:40:24'::timestamp) - extract(epoch from '2026-08-11 16:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376264 -3.128183)'), GeomFromEWKT('SRID=4674;POINT (-39.376283 -3.128324)'))) / (select extract(epoch from '2026-08-11 16:40:24'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.376294 -3.128459)', '2026-08-11 16:40:30', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376283 -3.128324)'), GeomFromEWKT('SRID=4674;POINT (-39.376294 -3.128459)'))) / (select extract(epoch from '2026-08-11 16:40:30'::timestamp) - extract(epoch from '2026-08-11 16:40:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376283 -3.128324)'), GeomFromEWKT('SRID=4674;POINT (-39.376294 -3.128459)'))) / (select extract(epoch from '2026-08-11 16:40:30'::timestamp) - extract(epoch from '2026-08-11 16:40: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'), 48165, 'SRID=4674;POINT (-39.376304 -3.128581)', '2026-08-11 16:40:35', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376294 -3.128459)'), GeomFromEWKT('SRID=4674;POINT (-39.376304 -3.128581)'))) / (select extract(epoch from '2026-08-11 16:40:35'::timestamp) - extract(epoch from '2026-08-11 16:40:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376294 -3.128459)'), GeomFromEWKT('SRID=4674;POINT (-39.376304 -3.128581)'))) / (select extract(epoch from '2026-08-11 16:40:35'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.376333 -3.128762)', '2026-08-11 16:40:43', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376304 -3.128581)'), GeomFromEWKT('SRID=4674;POINT (-39.376333 -3.128762)'))) / (select extract(epoch from '2026-08-11 16:40:43'::timestamp) - extract(epoch from '2026-08-11 16:40:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376304 -3.128581)'), GeomFromEWKT('SRID=4674;POINT (-39.376333 -3.128762)'))) / (select extract(epoch from '2026-08-11 16:40:43'::timestamp) - extract(epoch from '2026-08-11 16:40: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'), 48165, 'SRID=4674;POINT (-39.376355 -3.128887)', '2026-08-11 16:40:49', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376333 -3.128762)'), GeomFromEWKT('SRID=4674;POINT (-39.376355 -3.128887)'))) / (select extract(epoch from '2026-08-11 16:40:49'::timestamp) - extract(epoch from '2026-08-11 16:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376333 -3.128762)'), GeomFromEWKT('SRID=4674;POINT (-39.376355 -3.128887)'))) / (select extract(epoch from '2026-08-11 16:40:49'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.376368 -3.129004)', '2026-08-11 16:40:54', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376355 -3.128887)'), GeomFromEWKT('SRID=4674;POINT (-39.376368 -3.129004)'))) / (select extract(epoch from '2026-08-11 16:40:54'::timestamp) - extract(epoch from '2026-08-11 16:40:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376355 -3.128887)'), GeomFromEWKT('SRID=4674;POINT (-39.376368 -3.129004)'))) / (select extract(epoch from '2026-08-11 16:40:54'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.37637 -3.129144)', '2026-08-11 16:41:00', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376368 -3.129004)'), GeomFromEWKT('SRID=4674;POINT (-39.37637 -3.129144)'))) / (select extract(epoch from '2026-08-11 16:41:00'::timestamp) - extract(epoch from '2026-08-11 16:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376368 -3.129004)'), GeomFromEWKT('SRID=4674;POINT (-39.37637 -3.129144)'))) / (select extract(epoch from '2026-08-11 16:41:00'::timestamp) - extract(epoch from '2026-08-11 16:40: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'), 48165, 'SRID=4674;POINT (-39.376374 -3.129259)', '2026-08-11 16:41:05', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37637 -3.129144)'), GeomFromEWKT('SRID=4674;POINT (-39.376374 -3.129259)'))) / (select extract(epoch from '2026-08-11 16:41:05'::timestamp) - extract(epoch from '2026-08-11 16:41:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37637 -3.129144)'), GeomFromEWKT('SRID=4674;POINT (-39.376374 -3.129259)'))) / (select extract(epoch from '2026-08-11 16:41:05'::timestamp) - extract(epoch from '2026-08-11 16:41:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.376387 -3.129409)', '2026-08-11 16:41:11', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376374 -3.129259)'), GeomFromEWKT('SRID=4674;POINT (-39.376387 -3.129409)'))) / (select extract(epoch from '2026-08-11 16:41:11'::timestamp) - extract(epoch from '2026-08-11 16:41:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376374 -3.129259)'), GeomFromEWKT('SRID=4674;POINT (-39.376387 -3.129409)'))) / (select extract(epoch from '2026-08-11 16:41:11'::timestamp) - extract(epoch from '2026-08-11 16:41: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'), 48165, 'SRID=4674;POINT (-39.376399 -3.129556)', '2026-08-11 16:41:17', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376387 -3.129409)'), GeomFromEWKT('SRID=4674;POINT (-39.376399 -3.129556)'))) / (select extract(epoch from '2026-08-11 16:41:17'::timestamp) - extract(epoch from '2026-08-11 16:41:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376387 -3.129409)'), GeomFromEWKT('SRID=4674;POINT (-39.376399 -3.129556)'))) / (select extract(epoch from '2026-08-11 16:41:17'::timestamp) - extract(epoch from '2026-08-11 16:41: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'), 48165, 'SRID=4674;POINT (-39.376411 -3.129666)', '2026-08-11 16:41:22', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376399 -3.129556)'), GeomFromEWKT('SRID=4674;POINT (-39.376411 -3.129666)'))) / (select extract(epoch from '2026-08-11 16:41:22'::timestamp) - extract(epoch from '2026-08-11 16:41:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376399 -3.129556)'), GeomFromEWKT('SRID=4674;POINT (-39.376411 -3.129666)'))) / (select extract(epoch from '2026-08-11 16:41:22'::timestamp) - extract(epoch from '2026-08-11 16:41: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'), 48165, 'SRID=4674;POINT (-39.376421 -3.129754)', '2026-08-11 16:41:26', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376411 -3.129666)'), GeomFromEWKT('SRID=4674;POINT (-39.376421 -3.129754)'))) / (select extract(epoch from '2026-08-11 16:41:26'::timestamp) - extract(epoch from '2026-08-11 16:41:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376411 -3.129666)'), GeomFromEWKT('SRID=4674;POINT (-39.376421 -3.129754)'))) / (select extract(epoch from '2026-08-11 16:41:26'::timestamp) - extract(epoch from '2026-08-11 16:41: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'), 48165, 'SRID=4674;POINT (-39.376417 -3.129777)', '2026-08-11 16:41:27', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376421 -3.129754)'), GeomFromEWKT('SRID=4674;POINT (-39.376417 -3.129777)'))) / (select extract(epoch from '2026-08-11 16:41:27'::timestamp) - extract(epoch from '2026-08-11 16:41:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376421 -3.129754)'), GeomFromEWKT('SRID=4674;POINT (-39.376417 -3.129777)'))) / (select extract(epoch from '2026-08-11 16:41:27'::timestamp) - extract(epoch from '2026-08-11 16:41: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'), 48165, 'SRID=4674;POINT (-39.376438 -3.129882)', '2026-08-11 16:41:32', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376417 -3.129777)'), GeomFromEWKT('SRID=4674;POINT (-39.376438 -3.129882)'))) / (select extract(epoch from '2026-08-11 16:41:32'::timestamp) - extract(epoch from '2026-08-11 16:41:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376417 -3.129777)'), GeomFromEWKT('SRID=4674;POINT (-39.376438 -3.129882)'))) / (select extract(epoch from '2026-08-11 16:41:32'::timestamp) - extract(epoch from '2026-08-11 16:41: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'), 48165, 'SRID=4674;POINT (-39.376458 -3.130012)', '2026-08-11 16:41:38', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376438 -3.129882)'), GeomFromEWKT('SRID=4674;POINT (-39.376458 -3.130012)'))) / (select extract(epoch from '2026-08-11 16:41:38'::timestamp) - extract(epoch from '2026-08-11 16:41:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376438 -3.129882)'), GeomFromEWKT('SRID=4674;POINT (-39.376458 -3.130012)'))) / (select extract(epoch from '2026-08-11 16:41:38'::timestamp) - extract(epoch from '2026-08-11 16:41:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.376481 -3.130143)', '2026-08-11 16:41:44', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376458 -3.130012)'), GeomFromEWKT('SRID=4674;POINT (-39.376481 -3.130143)'))) / (select extract(epoch from '2026-08-11 16:41:44'::timestamp) - extract(epoch from '2026-08-11 16:41:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376458 -3.130012)'), GeomFromEWKT('SRID=4674;POINT (-39.376481 -3.130143)'))) / (select extract(epoch from '2026-08-11 16:41:44'::timestamp) - extract(epoch from '2026-08-11 16:41: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'), 48165, 'SRID=4674;POINT (-39.376477 -3.130297)', '2026-08-11 16:41:51', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376481 -3.130143)'), GeomFromEWKT('SRID=4674;POINT (-39.376477 -3.130297)'))) / (select extract(epoch from '2026-08-11 16:41:51'::timestamp) - extract(epoch from '2026-08-11 16:41:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376481 -3.130143)'), GeomFromEWKT('SRID=4674;POINT (-39.376477 -3.130297)'))) / (select extract(epoch from '2026-08-11 16:41:51'::timestamp) - extract(epoch from '2026-08-11 16:41:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.376484 -3.130385)', '2026-08-11 16:41:55', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376477 -3.130297)'), GeomFromEWKT('SRID=4674;POINT (-39.376484 -3.130385)'))) / (select extract(epoch from '2026-08-11 16:41:55'::timestamp) - extract(epoch from '2026-08-11 16:41:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376477 -3.130297)'), GeomFromEWKT('SRID=4674;POINT (-39.376484 -3.130385)'))) / (select extract(epoch from '2026-08-11 16:41:55'::timestamp) - extract(epoch from '2026-08-11 16:41: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'), 48165, 'SRID=4674;POINT (-39.37649 -3.130511)', '2026-08-11 16:42:00', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376484 -3.130385)'), GeomFromEWKT('SRID=4674;POINT (-39.37649 -3.130511)'))) / (select extract(epoch from '2026-08-11 16:42:00'::timestamp) - extract(epoch from '2026-08-11 16:41:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376484 -3.130385)'), GeomFromEWKT('SRID=4674;POINT (-39.37649 -3.130511)'))) / (select extract(epoch from '2026-08-11 16:42:00'::timestamp) - extract(epoch from '2026-08-11 16:41: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'), 48165, 'SRID=4674;POINT (-39.376516 -3.130623)', '2026-08-11 16:42:05', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37649 -3.130511)'), GeomFromEWKT('SRID=4674;POINT (-39.376516 -3.130623)'))) / (select extract(epoch from '2026-08-11 16:42:05'::timestamp) - extract(epoch from '2026-08-11 16:42:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37649 -3.130511)'), GeomFromEWKT('SRID=4674;POINT (-39.376516 -3.130623)'))) / (select extract(epoch from '2026-08-11 16:42:05'::timestamp) - extract(epoch from '2026-08-11 16:42: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'), 48165, 'SRID=4674;POINT (-39.376513 -3.130742)', '2026-08-11 16:42:10', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376516 -3.130623)'), GeomFromEWKT('SRID=4674;POINT (-39.376513 -3.130742)'))) / (select extract(epoch from '2026-08-11 16:42:10'::timestamp) - extract(epoch from '2026-08-11 16:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376516 -3.130623)'), GeomFromEWKT('SRID=4674;POINT (-39.376513 -3.130742)'))) / (select extract(epoch from '2026-08-11 16:42:10'::timestamp) - extract(epoch from '2026-08-11 16:42:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.376523 -3.130875)', '2026-08-11 16:42:16', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376513 -3.130742)'), GeomFromEWKT('SRID=4674;POINT (-39.376523 -3.130875)'))) / (select extract(epoch from '2026-08-11 16:42:16'::timestamp) - extract(epoch from '2026-08-11 16:42:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376513 -3.130742)'), GeomFromEWKT('SRID=4674;POINT (-39.376523 -3.130875)'))) / (select extract(epoch from '2026-08-11 16:42:16'::timestamp) - extract(epoch from '2026-08-11 16:42: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'), 48165, 'SRID=4674;POINT (-39.376536 -3.131006)', '2026-08-11 16:42:22', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376523 -3.130875)'), GeomFromEWKT('SRID=4674;POINT (-39.376536 -3.131006)'))) / (select extract(epoch from '2026-08-11 16:42:22'::timestamp) - extract(epoch from '2026-08-11 16:42:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376523 -3.130875)'), GeomFromEWKT('SRID=4674;POINT (-39.376536 -3.131006)'))) / (select extract(epoch from '2026-08-11 16:42:22'::timestamp) - extract(epoch from '2026-08-11 16:42: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'), 48165, 'SRID=4674;POINT (-39.376548 -3.131126)', '2026-08-11 16:42:27', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376536 -3.131006)'), GeomFromEWKT('SRID=4674;POINT (-39.376548 -3.131126)'))) / (select extract(epoch from '2026-08-11 16:42:27'::timestamp) - extract(epoch from '2026-08-11 16:42:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376536 -3.131006)'), GeomFromEWKT('SRID=4674;POINT (-39.376548 -3.131126)'))) / (select extract(epoch from '2026-08-11 16:42:27'::timestamp) - extract(epoch from '2026-08-11 16:42: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'), 48165, 'SRID=4674;POINT (-39.376556 -3.131231)', '2026-08-11 16:42:32', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376548 -3.131126)'), GeomFromEWKT('SRID=4674;POINT (-39.376556 -3.131231)'))) / (select extract(epoch from '2026-08-11 16:42:32'::timestamp) - extract(epoch from '2026-08-11 16:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376548 -3.131126)'), GeomFromEWKT('SRID=4674;POINT (-39.376556 -3.131231)'))) / (select extract(epoch from '2026-08-11 16:42:32'::timestamp) - extract(epoch from '2026-08-11 16:42: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'), 48165, 'SRID=4674;POINT (-39.376564 -3.131387)', '2026-08-11 16:42:38', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376556 -3.131231)'), GeomFromEWKT('SRID=4674;POINT (-39.376564 -3.131387)'))) / (select extract(epoch from '2026-08-11 16:42:38'::timestamp) - extract(epoch from '2026-08-11 16:42:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376556 -3.131231)'), GeomFromEWKT('SRID=4674;POINT (-39.376564 -3.131387)'))) / (select extract(epoch from '2026-08-11 16:42:38'::timestamp) - extract(epoch from '2026-08-11 16:42: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'), 48165, 'SRID=4674;POINT (-39.376597 -3.131558)', '2026-08-11 16:42:45', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376564 -3.131387)'), GeomFromEWKT('SRID=4674;POINT (-39.376597 -3.131558)'))) / (select extract(epoch from '2026-08-11 16:42:45'::timestamp) - extract(epoch from '2026-08-11 16:42:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376564 -3.131387)'), GeomFromEWKT('SRID=4674;POINT (-39.376597 -3.131558)'))) / (select extract(epoch from '2026-08-11 16:42:45'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.376626 -3.131686)', '2026-08-11 16:42:51', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376597 -3.131558)'), GeomFromEWKT('SRID=4674;POINT (-39.376626 -3.131686)'))) / (select extract(epoch from '2026-08-11 16:42:51'::timestamp) - extract(epoch from '2026-08-11 16:42:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376597 -3.131558)'), GeomFromEWKT('SRID=4674;POINT (-39.376626 -3.131686)'))) / (select extract(epoch from '2026-08-11 16:42:51'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.376625 -3.131706)', '2026-08-11 16:42:52', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376626 -3.131686)'), GeomFromEWKT('SRID=4674;POINT (-39.376625 -3.131706)'))) / (select extract(epoch from '2026-08-11 16:42:52'::timestamp) - extract(epoch from '2026-08-11 16:42:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376626 -3.131686)'), GeomFromEWKT('SRID=4674;POINT (-39.376625 -3.131706)'))) / (select extract(epoch from '2026-08-11 16:42:52'::timestamp) - extract(epoch from '2026-08-11 16:42: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'), 48165, 'SRID=4674;POINT (-39.376638 -3.131763)', '2026-08-11 16:42:55', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376625 -3.131706)'), GeomFromEWKT('SRID=4674;POINT (-39.376638 -3.131763)'))) / (select extract(epoch from '2026-08-11 16:42:55'::timestamp) - extract(epoch from '2026-08-11 16:42:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376625 -3.131706)'), GeomFromEWKT('SRID=4674;POINT (-39.376638 -3.131763)'))) / (select extract(epoch from '2026-08-11 16:42:55'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.376658 -3.131868)', '2026-08-11 16:43:00', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376638 -3.131763)'), GeomFromEWKT('SRID=4674;POINT (-39.376658 -3.131868)'))) / (select extract(epoch from '2026-08-11 16:43:00'::timestamp) - extract(epoch from '2026-08-11 16:42:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376638 -3.131763)'), GeomFromEWKT('SRID=4674;POINT (-39.376658 -3.131868)'))) / (select extract(epoch from '2026-08-11 16:43:00'::timestamp) - extract(epoch from '2026-08-11 16:42:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.376689 -3.131985)', '2026-08-11 16:43:06', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376658 -3.131868)'), GeomFromEWKT('SRID=4674;POINT (-39.376689 -3.131985)'))) / (select extract(epoch from '2026-08-11 16:43:06'::timestamp) - extract(epoch from '2026-08-11 16:43:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376658 -3.131868)'), GeomFromEWKT('SRID=4674;POINT (-39.376689 -3.131985)'))) / (select extract(epoch from '2026-08-11 16:43:06'::timestamp) - extract(epoch from '2026-08-11 16:43: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'), 48165, 'SRID=4674;POINT (-39.376711 -3.13209)', '2026-08-11 16:43:11', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376689 -3.131985)'), GeomFromEWKT('SRID=4674;POINT (-39.376711 -3.13209)'))) / (select extract(epoch from '2026-08-11 16:43:11'::timestamp) - extract(epoch from '2026-08-11 16:43:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376689 -3.131985)'), GeomFromEWKT('SRID=4674;POINT (-39.376711 -3.13209)'))) / (select extract(epoch from '2026-08-11 16:43:11'::timestamp) - extract(epoch from '2026-08-11 16:43: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'), 48165, 'SRID=4674;POINT (-39.376726 -3.132217)', '2026-08-11 16:43:17', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376711 -3.13209)'), GeomFromEWKT('SRID=4674;POINT (-39.376726 -3.132217)'))) / (select extract(epoch from '2026-08-11 16:43:17'::timestamp) - extract(epoch from '2026-08-11 16:43:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376711 -3.13209)'), GeomFromEWKT('SRID=4674;POINT (-39.376726 -3.132217)'))) / (select extract(epoch from '2026-08-11 16:43:17'::timestamp) - extract(epoch from '2026-08-11 16:43: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'), 48165, 'SRID=4674;POINT (-39.376732 -3.132358)', '2026-08-11 16:43:23', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376726 -3.132217)'), GeomFromEWKT('SRID=4674;POINT (-39.376732 -3.132358)'))) / (select extract(epoch from '2026-08-11 16:43:23'::timestamp) - extract(epoch from '2026-08-11 16:43:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376726 -3.132217)'), GeomFromEWKT('SRID=4674;POINT (-39.376732 -3.132358)'))) / (select extract(epoch from '2026-08-11 16:43:23'::timestamp) - extract(epoch from '2026-08-11 16:43: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'), 48165, 'SRID=4674;POINT (-39.376742 -3.13253)', '2026-08-11 16:43:30', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376732 -3.132358)'), GeomFromEWKT('SRID=4674;POINT (-39.376742 -3.13253)'))) / (select extract(epoch from '2026-08-11 16:43:30'::timestamp) - extract(epoch from '2026-08-11 16:43:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376732 -3.132358)'), GeomFromEWKT('SRID=4674;POINT (-39.376742 -3.13253)'))) / (select extract(epoch from '2026-08-11 16:43:30'::timestamp) - extract(epoch from '2026-08-11 16:43: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'), 48165, 'SRID=4674;POINT (-39.376757 -3.132678)', '2026-08-11 16:43:36', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376742 -3.13253)'), GeomFromEWKT('SRID=4674;POINT (-39.376757 -3.132678)'))) / (select extract(epoch from '2026-08-11 16:43:36'::timestamp) - extract(epoch from '2026-08-11 16:43:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376742 -3.13253)'), GeomFromEWKT('SRID=4674;POINT (-39.376757 -3.132678)'))) / (select extract(epoch from '2026-08-11 16:43:36'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.376783 -3.132837)', '2026-08-11 16:43:43', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376757 -3.132678)'), GeomFromEWKT('SRID=4674;POINT (-39.376783 -3.132837)'))) / (select extract(epoch from '2026-08-11 16:43:43'::timestamp) - extract(epoch from '2026-08-11 16:43:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376757 -3.132678)'), GeomFromEWKT('SRID=4674;POINT (-39.376783 -3.132837)'))) / (select extract(epoch from '2026-08-11 16:43:43'::timestamp) - extract(epoch from '2026-08-11 16:43: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'), 48165, 'SRID=4674;POINT (-39.376797 -3.132975)', '2026-08-11 16:43:49', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376783 -3.132837)'), GeomFromEWKT('SRID=4674;POINT (-39.376797 -3.132975)'))) / (select extract(epoch from '2026-08-11 16:43:49'::timestamp) - extract(epoch from '2026-08-11 16:43:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376783 -3.132837)'), GeomFromEWKT('SRID=4674;POINT (-39.376797 -3.132975)'))) / (select extract(epoch from '2026-08-11 16:43:49'::timestamp) - extract(epoch from '2026-08-11 16:43: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'), 48165, 'SRID=4674;POINT (-39.376819 -3.13316)', '2026-08-11 16:43:57', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376797 -3.132975)'), GeomFromEWKT('SRID=4674;POINT (-39.376819 -3.13316)'))) / (select extract(epoch from '2026-08-11 16:43:57'::timestamp) - extract(epoch from '2026-08-11 16:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376797 -3.132975)'), GeomFromEWKT('SRID=4674;POINT (-39.376819 -3.13316)'))) / (select extract(epoch from '2026-08-11 16:43:57'::timestamp) - extract(epoch from '2026-08-11 16:43: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'), 48165, 'SRID=4674;POINT (-39.37684 -3.1333)', '2026-08-11 16:44:03', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376819 -3.13316)'), GeomFromEWKT('SRID=4674;POINT (-39.37684 -3.1333)'))) / (select extract(epoch from '2026-08-11 16:44:03'::timestamp) - extract(epoch from '2026-08-11 16:43:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376819 -3.13316)'), GeomFromEWKT('SRID=4674;POINT (-39.37684 -3.1333)'))) / (select extract(epoch from '2026-08-11 16:44:03'::timestamp) - extract(epoch from '2026-08-11 16:43:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.376854 -3.133418)', '2026-08-11 16:44:08', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37684 -3.1333)'), GeomFromEWKT('SRID=4674;POINT (-39.376854 -3.133418)'))) / (select extract(epoch from '2026-08-11 16:44:08'::timestamp) - extract(epoch from '2026-08-11 16:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37684 -3.1333)'), GeomFromEWKT('SRID=4674;POINT (-39.376854 -3.133418)'))) / (select extract(epoch from '2026-08-11 16:44:08'::timestamp) - extract(epoch from '2026-08-11 16:44: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'), 48165, 'SRID=4674;POINT (-39.376879 -3.133584)', '2026-08-11 16:44:15', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376854 -3.133418)'), GeomFromEWKT('SRID=4674;POINT (-39.376879 -3.133584)'))) / (select extract(epoch from '2026-08-11 16:44:15'::timestamp) - extract(epoch from '2026-08-11 16:44:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376854 -3.133418)'), GeomFromEWKT('SRID=4674;POINT (-39.376879 -3.133584)'))) / (select extract(epoch from '2026-08-11 16:44:15'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.376907 -3.133729)', '2026-08-11 16:44:21', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376879 -3.133584)'), GeomFromEWKT('SRID=4674;POINT (-39.376907 -3.133729)'))) / (select extract(epoch from '2026-08-11 16:44:21'::timestamp) - extract(epoch from '2026-08-11 16:44:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376879 -3.133584)'), GeomFromEWKT('SRID=4674;POINT (-39.376907 -3.133729)'))) / (select extract(epoch from '2026-08-11 16:44:21'::timestamp) - extract(epoch from '2026-08-11 16:44: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'), 48165, 'SRID=4674;POINT (-39.376924 -3.133855)', '2026-08-11 16:44:27', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376907 -3.133729)'), GeomFromEWKT('SRID=4674;POINT (-39.376924 -3.133855)'))) / (select extract(epoch from '2026-08-11 16:44:27'::timestamp) - extract(epoch from '2026-08-11 16:44:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376907 -3.133729)'), GeomFromEWKT('SRID=4674;POINT (-39.376924 -3.133855)'))) / (select extract(epoch from '2026-08-11 16:44:27'::timestamp) - extract(epoch from '2026-08-11 16:44: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'), 48165, 'SRID=4674;POINT (-39.376932 -3.133919)', '2026-08-11 16:44:30', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376924 -3.133855)'), GeomFromEWKT('SRID=4674;POINT (-39.376932 -3.133919)'))) / (select extract(epoch from '2026-08-11 16:44:30'::timestamp) - extract(epoch from '2026-08-11 16:44:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376924 -3.133855)'), GeomFromEWKT('SRID=4674;POINT (-39.376932 -3.133919)'))) / (select extract(epoch from '2026-08-11 16:44:30'::timestamp) - extract(epoch from '2026-08-11 16:44:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.376942 -3.133944)', '2026-08-11 16:44:31', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376932 -3.133919)'), GeomFromEWKT('SRID=4674;POINT (-39.376942 -3.133944)'))) / (select extract(epoch from '2026-08-11 16:44:31'::timestamp) - extract(epoch from '2026-08-11 16:44:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376932 -3.133919)'), GeomFromEWKT('SRID=4674;POINT (-39.376942 -3.133944)'))) / (select extract(epoch from '2026-08-11 16:44:31'::timestamp) - extract(epoch from '2026-08-11 16:44: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'), 48165, 'SRID=4674;POINT (-39.376939 -3.133965)', '2026-08-11 16:44:32', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376942 -3.133944)'), GeomFromEWKT('SRID=4674;POINT (-39.376939 -3.133965)'))) / (select extract(epoch from '2026-08-11 16:44:32'::timestamp) - extract(epoch from '2026-08-11 16:44:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376942 -3.133944)'), GeomFromEWKT('SRID=4674;POINT (-39.376939 -3.133965)'))) / (select extract(epoch from '2026-08-11 16:44:32'::timestamp) - extract(epoch from '2026-08-11 16:44: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'), 48165, 'SRID=4674;POINT (-39.376922 -3.134011)', '2026-08-11 16:44:34', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376939 -3.133965)'), GeomFromEWKT('SRID=4674;POINT (-39.376922 -3.134011)'))) / (select extract(epoch from '2026-08-11 16:44:34'::timestamp) - extract(epoch from '2026-08-11 16:44:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376939 -3.133965)'), GeomFromEWKT('SRID=4674;POINT (-39.376922 -3.134011)'))) / (select extract(epoch from '2026-08-11 16:44:34'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.376911 -3.134142)', '2026-08-11 16:44:40', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376922 -3.134011)'), GeomFromEWKT('SRID=4674;POINT (-39.376911 -3.134142)'))) / (select extract(epoch from '2026-08-11 16:44:40'::timestamp) - extract(epoch from '2026-08-11 16:44:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376922 -3.134011)'), GeomFromEWKT('SRID=4674;POINT (-39.376911 -3.134142)'))) / (select extract(epoch from '2026-08-11 16:44:40'::timestamp) - extract(epoch from '2026-08-11 16:44: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'), 48165, 'SRID=4674;POINT (-39.376904 -3.134243)', '2026-08-11 16:44:45', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376911 -3.134142)'), GeomFromEWKT('SRID=4674;POINT (-39.376904 -3.134243)'))) / (select extract(epoch from '2026-08-11 16:44:45'::timestamp) - extract(epoch from '2026-08-11 16:44:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376911 -3.134142)'), GeomFromEWKT('SRID=4674;POINT (-39.376904 -3.134243)'))) / (select extract(epoch from '2026-08-11 16:44:45'::timestamp) - extract(epoch from '2026-08-11 16:44: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'), 48165, 'SRID=4674;POINT (-39.376907 -3.13434)', '2026-08-11 16:44:50', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376904 -3.134243)'), GeomFromEWKT('SRID=4674;POINT (-39.376907 -3.13434)'))) / (select extract(epoch from '2026-08-11 16:44:50'::timestamp) - extract(epoch from '2026-08-11 16:44:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376904 -3.134243)'), GeomFromEWKT('SRID=4674;POINT (-39.376907 -3.13434)'))) / (select extract(epoch from '2026-08-11 16:44:50'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.376921 -3.134483)', '2026-08-11 16:44:57', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376907 -3.13434)'), GeomFromEWKT('SRID=4674;POINT (-39.376921 -3.134483)'))) / (select extract(epoch from '2026-08-11 16:44:57'::timestamp) - extract(epoch from '2026-08-11 16:44:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376907 -3.13434)'), GeomFromEWKT('SRID=4674;POINT (-39.376921 -3.134483)'))) / (select extract(epoch from '2026-08-11 16:44:57'::timestamp) - extract(epoch from '2026-08-11 16:44: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'), 48165, 'SRID=4674;POINT (-39.37692 -3.134605)', '2026-08-11 16:45:03', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376921 -3.134483)'), GeomFromEWKT('SRID=4674;POINT (-39.37692 -3.134605)'))) / (select extract(epoch from '2026-08-11 16:45:03'::timestamp) - extract(epoch from '2026-08-11 16:44:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376921 -3.134483)'), GeomFromEWKT('SRID=4674;POINT (-39.37692 -3.134605)'))) / (select extract(epoch from '2026-08-11 16:45:03'::timestamp) - extract(epoch from '2026-08-11 16:44: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'), 48165, 'SRID=4674;POINT (-39.376935 -3.134733)', '2026-08-11 16:45:09', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37692 -3.134605)'), GeomFromEWKT('SRID=4674;POINT (-39.376935 -3.134733)'))) / (select extract(epoch from '2026-08-11 16:45:09'::timestamp) - extract(epoch from '2026-08-11 16:45:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37692 -3.134605)'), GeomFromEWKT('SRID=4674;POINT (-39.376935 -3.134733)'))) / (select extract(epoch from '2026-08-11 16:45:09'::timestamp) - extract(epoch from '2026-08-11 16:45: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'), 48165, 'SRID=4674;POINT (-39.376963 -3.13487)', '2026-08-11 16:45:16', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376935 -3.134733)'), GeomFromEWKT('SRID=4674;POINT (-39.376963 -3.13487)'))) / (select extract(epoch from '2026-08-11 16:45:16'::timestamp) - extract(epoch from '2026-08-11 16:45:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376935 -3.134733)'), GeomFromEWKT('SRID=4674;POINT (-39.376963 -3.13487)'))) / (select extract(epoch from '2026-08-11 16:45:16'::timestamp) - extract(epoch from '2026-08-11 16:45:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.376989 -3.134963)', '2026-08-11 16:45:21', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376963 -3.13487)'), GeomFromEWKT('SRID=4674;POINT (-39.376989 -3.134963)'))) / (select extract(epoch from '2026-08-11 16:45:21'::timestamp) - extract(epoch from '2026-08-11 16:45:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376963 -3.13487)'), GeomFromEWKT('SRID=4674;POINT (-39.376989 -3.134963)'))) / (select extract(epoch from '2026-08-11 16:45:21'::timestamp) - extract(epoch from '2026-08-11 16:45: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'), 48165, 'SRID=4674;POINT (-39.37701 -3.135098)', '2026-08-11 16:45:27', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376989 -3.134963)'), GeomFromEWKT('SRID=4674;POINT (-39.37701 -3.135098)'))) / (select extract(epoch from '2026-08-11 16:45:27'::timestamp) - extract(epoch from '2026-08-11 16:45:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376989 -3.134963)'), GeomFromEWKT('SRID=4674;POINT (-39.37701 -3.135098)'))) / (select extract(epoch from '2026-08-11 16:45:27'::timestamp) - extract(epoch from '2026-08-11 16:45: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'), 48165, 'SRID=4674;POINT (-39.37703 -3.135216)', '2026-08-11 16:45:32', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37701 -3.135098)'), GeomFromEWKT('SRID=4674;POINT (-39.37703 -3.135216)'))) / (select extract(epoch from '2026-08-11 16:45:32'::timestamp) - extract(epoch from '2026-08-11 16:45:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37701 -3.135098)'), GeomFromEWKT('SRID=4674;POINT (-39.37703 -3.135216)'))) / (select extract(epoch from '2026-08-11 16:45:32'::timestamp) - extract(epoch from '2026-08-11 16:45: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'), 48165, 'SRID=4674;POINT (-39.377056 -3.135324)', '2026-08-11 16:45:37', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37703 -3.135216)'), GeomFromEWKT('SRID=4674;POINT (-39.377056 -3.135324)'))) / (select extract(epoch from '2026-08-11 16:45:37'::timestamp) - extract(epoch from '2026-08-11 16:45:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37703 -3.135216)'), GeomFromEWKT('SRID=4674;POINT (-39.377056 -3.135324)'))) / (select extract(epoch from '2026-08-11 16:45:37'::timestamp) - extract(epoch from '2026-08-11 16:45: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'), 48165, 'SRID=4674;POINT (-39.37709 -3.135472)', '2026-08-11 16:45:44', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377056 -3.135324)'), GeomFromEWKT('SRID=4674;POINT (-39.37709 -3.135472)'))) / (select extract(epoch from '2026-08-11 16:45:44'::timestamp) - extract(epoch from '2026-08-11 16:45:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377056 -3.135324)'), GeomFromEWKT('SRID=4674;POINT (-39.37709 -3.135472)'))) / (select extract(epoch from '2026-08-11 16:45:44'::timestamp) - extract(epoch from '2026-08-11 16:45:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.377117 -3.135583)', '2026-08-11 16:45:49', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37709 -3.135472)'), GeomFromEWKT('SRID=4674;POINT (-39.377117 -3.135583)'))) / (select extract(epoch from '2026-08-11 16:45:49'::timestamp) - extract(epoch from '2026-08-11 16:45:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37709 -3.135472)'), GeomFromEWKT('SRID=4674;POINT (-39.377117 -3.135583)'))) / (select extract(epoch from '2026-08-11 16:45:49'::timestamp) - extract(epoch from '2026-08-11 16:45:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.377137 -3.135629)', '2026-08-11 16:45:51', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377117 -3.135583)'), GeomFromEWKT('SRID=4674;POINT (-39.377137 -3.135629)'))) / (select extract(epoch from '2026-08-11 16:45:51'::timestamp) - extract(epoch from '2026-08-11 16:45:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377117 -3.135583)'), GeomFromEWKT('SRID=4674;POINT (-39.377137 -3.135629)'))) / (select extract(epoch from '2026-08-11 16:45:51'::timestamp) - extract(epoch from '2026-08-11 16:45: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'), 48165, 'SRID=4674;POINT (-39.377135 -3.135665)', '2026-08-11 16:45:53', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377137 -3.135629)'), GeomFromEWKT('SRID=4674;POINT (-39.377135 -3.135665)'))) / (select extract(epoch from '2026-08-11 16:45:53'::timestamp) - extract(epoch from '2026-08-11 16:45:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377137 -3.135629)'), GeomFromEWKT('SRID=4674;POINT (-39.377135 -3.135665)'))) / (select extract(epoch from '2026-08-11 16:45:53'::timestamp) - extract(epoch from '2026-08-11 16:45: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'), 48165, 'SRID=4674;POINT (-39.377148 -3.135795)', '2026-08-11 16:45:59', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377135 -3.135665)'), GeomFromEWKT('SRID=4674;POINT (-39.377148 -3.135795)'))) / (select extract(epoch from '2026-08-11 16:45:59'::timestamp) - extract(epoch from '2026-08-11 16:45:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377135 -3.135665)'), GeomFromEWKT('SRID=4674;POINT (-39.377148 -3.135795)'))) / (select extract(epoch from '2026-08-11 16:45:59'::timestamp) - extract(epoch from '2026-08-11 16:45:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.377175 -3.135939)', '2026-08-11 16:46:05', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377148 -3.135795)'), GeomFromEWKT('SRID=4674;POINT (-39.377175 -3.135939)'))) / (select extract(epoch from '2026-08-11 16:46:05'::timestamp) - extract(epoch from '2026-08-11 16:45:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377148 -3.135795)'), GeomFromEWKT('SRID=4674;POINT (-39.377175 -3.135939)'))) / (select extract(epoch from '2026-08-11 16:46:05'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.377198 -3.13607)', '2026-08-11 16:46:11', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377175 -3.135939)'), GeomFromEWKT('SRID=4674;POINT (-39.377198 -3.13607)'))) / (select extract(epoch from '2026-08-11 16:46:11'::timestamp) - extract(epoch from '2026-08-11 16:46:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377175 -3.135939)'), GeomFromEWKT('SRID=4674;POINT (-39.377198 -3.13607)'))) / (select extract(epoch from '2026-08-11 16:46:11'::timestamp) - extract(epoch from '2026-08-11 16:46: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'), 48165, 'SRID=4674;POINT (-39.377207 -3.136175)', '2026-08-11 16:46:16', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377198 -3.13607)'), GeomFromEWKT('SRID=4674;POINT (-39.377207 -3.136175)'))) / (select extract(epoch from '2026-08-11 16:46:16'::timestamp) - extract(epoch from '2026-08-11 16:46:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377198 -3.13607)'), GeomFromEWKT('SRID=4674;POINT (-39.377207 -3.136175)'))) / (select extract(epoch from '2026-08-11 16:46:16'::timestamp) - extract(epoch from '2026-08-11 16:46: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'), 48165, 'SRID=4674;POINT (-39.377222 -3.136313)', '2026-08-11 16:46:22', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377207 -3.136175)'), GeomFromEWKT('SRID=4674;POINT (-39.377222 -3.136313)'))) / (select extract(epoch from '2026-08-11 16:46:22'::timestamp) - extract(epoch from '2026-08-11 16:46:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377207 -3.136175)'), GeomFromEWKT('SRID=4674;POINT (-39.377222 -3.136313)'))) / (select extract(epoch from '2026-08-11 16:46:22'::timestamp) - extract(epoch from '2026-08-11 16:46: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'), 48165, 'SRID=4674;POINT (-39.377244 -3.136456)', '2026-08-11 16:46:28', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377222 -3.136313)'), GeomFromEWKT('SRID=4674;POINT (-39.377244 -3.136456)'))) / (select extract(epoch from '2026-08-11 16:46:28'::timestamp) - extract(epoch from '2026-08-11 16:46:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377222 -3.136313)'), GeomFromEWKT('SRID=4674;POINT (-39.377244 -3.136456)'))) / (select extract(epoch from '2026-08-11 16:46:28'::timestamp) - extract(epoch from '2026-08-11 16:46: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'), 48165, 'SRID=4674;POINT (-39.377256 -3.136573)', '2026-08-11 16:46:33', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377244 -3.136456)'), GeomFromEWKT('SRID=4674;POINT (-39.377256 -3.136573)'))) / (select extract(epoch from '2026-08-11 16:46:33'::timestamp) - extract(epoch from '2026-08-11 16:46:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377244 -3.136456)'), GeomFromEWKT('SRID=4674;POINT (-39.377256 -3.136573)'))) / (select extract(epoch from '2026-08-11 16:46:33'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.377257 -3.136684)', '2026-08-11 16:46:38', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377256 -3.136573)'), GeomFromEWKT('SRID=4674;POINT (-39.377257 -3.136684)'))) / (select extract(epoch from '2026-08-11 16:46:38'::timestamp) - extract(epoch from '2026-08-11 16:46:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377256 -3.136573)'), GeomFromEWKT('SRID=4674;POINT (-39.377257 -3.136684)'))) / (select extract(epoch from '2026-08-11 16:46:38'::timestamp) - extract(epoch from '2026-08-11 16:46:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.377279 -3.136798)', '2026-08-11 16:46:43', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377257 -3.136684)'), GeomFromEWKT('SRID=4674;POINT (-39.377279 -3.136798)'))) / (select extract(epoch from '2026-08-11 16:46:43'::timestamp) - extract(epoch from '2026-08-11 16:46:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377257 -3.136684)'), GeomFromEWKT('SRID=4674;POINT (-39.377279 -3.136798)'))) / (select extract(epoch from '2026-08-11 16:46:43'::timestamp) - extract(epoch from '2026-08-11 16:46:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48165, 'SRID=4674;POINT (-39.377291 -3.136912)', '2026-08-11 16:46:48', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377279 -3.136798)'), GeomFromEWKT('SRID=4674;POINT (-39.377291 -3.136912)'))) / (select extract(epoch from '2026-08-11 16:46:48'::timestamp) - extract(epoch from '2026-08-11 16:46:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377279 -3.136798)'), GeomFromEWKT('SRID=4674;POINT (-39.377291 -3.136912)'))) / (select extract(epoch from '2026-08-11 16:46:48'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48165, 'SRID=4674;POINT (-39.377313 -3.137055)', '2026-08-11 16:46:54', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377291 -3.136912)'), GeomFromEWKT('SRID=4674;POINT (-39.377313 -3.137055)'))) / (select extract(epoch from '2026-08-11 16:46:54'::timestamp) - extract(epoch from '2026-08-11 16:46:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377291 -3.136912)'), GeomFromEWKT('SRID=4674;POINT (-39.377313 -3.137055)'))) / (select extract(epoch from '2026-08-11 16:46:54'::timestamp) - extract(epoch from '2026-08-11 16:46: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'), 48165, 'SRID=4674;POINT (-39.377323 -3.137099)', '2026-08-11 16:46:56', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377313 -3.137055)'), GeomFromEWKT('SRID=4674;POINT (-39.377323 -3.137099)'))) / (select extract(epoch from '2026-08-11 16:46:56'::timestamp) - extract(epoch from '2026-08-11 16:46:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377313 -3.137055)'), GeomFromEWKT('SRID=4674;POINT (-39.377323 -3.137099)'))) / (select extract(epoch from '2026-08-11 16:46:56'::timestamp) - extract(epoch from '2026-08-11 16:46:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
