 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369696 -3.082002)', '2026-07-17 14:46:37', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369807 -3.081949)'), GeomFromEWKT('SRID=4674;POINT (-39.369696 -3.082002)'))) / (select extract(epoch from '2026-07-17 14:46:37'::timestamp) - extract(epoch from '2026-07-17 14:46:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369807 -3.081949)'), GeomFromEWKT('SRID=4674;POINT (-39.369696 -3.082002)'))) / (select extract(epoch from '2026-07-17 14:46:37'::timestamp) - extract(epoch from '2026-07-17 14:46:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369589 -3.082043)', '2026-07-17 14:46:44', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369696 -3.082002)'), GeomFromEWKT('SRID=4674;POINT (-39.369589 -3.082043)'))) / (select extract(epoch from '2026-07-17 14:46:44'::timestamp) - extract(epoch from '2026-07-17 14:46:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369696 -3.082002)'), GeomFromEWKT('SRID=4674;POINT (-39.369589 -3.082043)'))) / (select extract(epoch from '2026-07-17 14:46:44'::timestamp) - extract(epoch from '2026-07-17 14:46:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.36945 -3.082081)', '2026-07-17 14:46:52', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369589 -3.082043)'), GeomFromEWKT('SRID=4674;POINT (-39.36945 -3.082081)'))) / (select extract(epoch from '2026-07-17 14:46:52'::timestamp) - extract(epoch from '2026-07-17 14:46:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369589 -3.082043)'), GeomFromEWKT('SRID=4674;POINT (-39.36945 -3.082081)'))) / (select extract(epoch from '2026-07-17 14:46:52'::timestamp) - extract(epoch from '2026-07-17 14:46: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'), 47509, 'SRID=4674;POINT (-39.369345 -3.082099)', '2026-07-17 14:46:59', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36945 -3.082081)'), GeomFromEWKT('SRID=4674;POINT (-39.369345 -3.082099)'))) / (select extract(epoch from '2026-07-17 14:46:59'::timestamp) - extract(epoch from '2026-07-17 14:46:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36945 -3.082081)'), GeomFromEWKT('SRID=4674;POINT (-39.369345 -3.082099)'))) / (select extract(epoch from '2026-07-17 14:46:59'::timestamp) - extract(epoch from '2026-07-17 14:46:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369271 -3.082113)', '2026-07-17 14:47:04', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369345 -3.082099)'), GeomFromEWKT('SRID=4674;POINT (-39.369271 -3.082113)'))) / (select extract(epoch from '2026-07-17 14:47:04'::timestamp) - extract(epoch from '2026-07-17 14:46:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369345 -3.082099)'), GeomFromEWKT('SRID=4674;POINT (-39.369271 -3.082113)'))) / (select extract(epoch from '2026-07-17 14:47:04'::timestamp) - extract(epoch from '2026-07-17 14:46: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'), 47509, 'SRID=4674;POINT (-39.369182 -3.082131)', '2026-07-17 14:47:11', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369271 -3.082113)'), GeomFromEWKT('SRID=4674;POINT (-39.369182 -3.082131)'))) / (select extract(epoch from '2026-07-17 14:47:11'::timestamp) - extract(epoch from '2026-07-17 14:47:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369271 -3.082113)'), GeomFromEWKT('SRID=4674;POINT (-39.369182 -3.082131)'))) / (select extract(epoch from '2026-07-17 14:47:11'::timestamp) - extract(epoch from '2026-07-17 14:47:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369143 -3.082149)', '2026-07-17 14:47:17', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369182 -3.082131)'), GeomFromEWKT('SRID=4674;POINT (-39.369143 -3.082149)'))) / (select extract(epoch from '2026-07-17 14:47:17'::timestamp) - extract(epoch from '2026-07-17 14:47:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369182 -3.082131)'), GeomFromEWKT('SRID=4674;POINT (-39.369143 -3.082149)'))) / (select extract(epoch from '2026-07-17 14:47:17'::timestamp) - extract(epoch from '2026-07-17 14:47: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'), 47509, 'SRID=4674;POINT (-39.36916 -3.082175)', '2026-07-17 14:47:34', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369143 -3.082149)'), GeomFromEWKT('SRID=4674;POINT (-39.36916 -3.082175)'))) / (select extract(epoch from '2026-07-17 14:47:34'::timestamp) - extract(epoch from '2026-07-17 14:47:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369143 -3.082149)'), GeomFromEWKT('SRID=4674;POINT (-39.36916 -3.082175)'))) / (select extract(epoch from '2026-07-17 14:47:34'::timestamp) - extract(epoch from '2026-07-17 14:47: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'), 47509, 'SRID=4674;POINT (-39.36919 -3.082176)', '2026-07-17 14:47:40', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36916 -3.082175)'), GeomFromEWKT('SRID=4674;POINT (-39.36919 -3.082176)'))) / (select extract(epoch from '2026-07-17 14:47:40'::timestamp) - extract(epoch from '2026-07-17 14:47:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36916 -3.082175)'), GeomFromEWKT('SRID=4674;POINT (-39.36919 -3.082176)'))) / (select extract(epoch from '2026-07-17 14:47:40'::timestamp) - extract(epoch from '2026-07-17 14:47: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'), 47509, 'SRID=4674;POINT (-39.36922 -3.08218)', '2026-07-17 14:47:45', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36919 -3.082176)'), GeomFromEWKT('SRID=4674;POINT (-39.36922 -3.08218)'))) / (select extract(epoch from '2026-07-17 14:47:45'::timestamp) - extract(epoch from '2026-07-17 14:47:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36919 -3.082176)'), GeomFromEWKT('SRID=4674;POINT (-39.36922 -3.08218)'))) / (select extract(epoch from '2026-07-17 14:47:45'::timestamp) - extract(epoch from '2026-07-17 14:47: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'), 47509, 'SRID=4674;POINT (-39.369255 -3.082184)', '2026-07-17 14:47:51', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36922 -3.08218)'), GeomFromEWKT('SRID=4674;POINT (-39.369255 -3.082184)'))) / (select extract(epoch from '2026-07-17 14:47:51'::timestamp) - extract(epoch from '2026-07-17 14:47:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36922 -3.08218)'), GeomFromEWKT('SRID=4674;POINT (-39.369255 -3.082184)'))) / (select extract(epoch from '2026-07-17 14:47:51'::timestamp) - extract(epoch from '2026-07-17 14:47: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'), 47509, 'SRID=4674;POINT (-39.369288 -3.082182)', '2026-07-17 14:47:58', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369255 -3.082184)'), GeomFromEWKT('SRID=4674;POINT (-39.369288 -3.082182)'))) / (select extract(epoch from '2026-07-17 14:47:58'::timestamp) - extract(epoch from '2026-07-17 14:47:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369255 -3.082184)'), GeomFromEWKT('SRID=4674;POINT (-39.369288 -3.082182)'))) / (select extract(epoch from '2026-07-17 14:47:58'::timestamp) - extract(epoch from '2026-07-17 14:47: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'), 47509, 'SRID=4674;POINT (-39.369322 -3.082178)', '2026-07-17 14:48:04', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369288 -3.082182)'), GeomFromEWKT('SRID=4674;POINT (-39.369322 -3.082178)'))) / (select extract(epoch from '2026-07-17 14:48:04'::timestamp) - extract(epoch from '2026-07-17 14:47:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369288 -3.082182)'), GeomFromEWKT('SRID=4674;POINT (-39.369322 -3.082178)'))) / (select extract(epoch from '2026-07-17 14:48:04'::timestamp) - extract(epoch from '2026-07-17 14:47: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'), 47509, 'SRID=4674;POINT (-39.369368 -3.082167)', '2026-07-17 14:48:13', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369322 -3.082178)'), GeomFromEWKT('SRID=4674;POINT (-39.369368 -3.082167)'))) / (select extract(epoch from '2026-07-17 14:48:13'::timestamp) - extract(epoch from '2026-07-17 14:48:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369322 -3.082178)'), GeomFromEWKT('SRID=4674;POINT (-39.369368 -3.082167)'))) / (select extract(epoch from '2026-07-17 14:48:13'::timestamp) - extract(epoch from '2026-07-17 14:48: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'), 47509, 'SRID=4674;POINT (-39.369422 -3.082159)', '2026-07-17 14:48:21', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369368 -3.082167)'), GeomFromEWKT('SRID=4674;POINT (-39.369422 -3.082159)'))) / (select extract(epoch from '2026-07-17 14:48:21'::timestamp) - extract(epoch from '2026-07-17 14:48:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369368 -3.082167)'), GeomFromEWKT('SRID=4674;POINT (-39.369422 -3.082159)'))) / (select extract(epoch from '2026-07-17 14:48:21'::timestamp) - extract(epoch from '2026-07-17 14:48:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369467 -3.082145)', '2026-07-17 14:48:30', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369422 -3.082159)'), GeomFromEWKT('SRID=4674;POINT (-39.369467 -3.082145)'))) / (select extract(epoch from '2026-07-17 14:48:30'::timestamp) - extract(epoch from '2026-07-17 14:48:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369422 -3.082159)'), GeomFromEWKT('SRID=4674;POINT (-39.369467 -3.082145)'))) / (select extract(epoch from '2026-07-17 14:48:30'::timestamp) - extract(epoch from '2026-07-17 14:48: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'), 47509, 'SRID=4674;POINT (-39.369527 -3.082126)', '2026-07-17 14:48:42', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369467 -3.082145)'), GeomFromEWKT('SRID=4674;POINT (-39.369527 -3.082126)'))) / (select extract(epoch from '2026-07-17 14:48:42'::timestamp) - extract(epoch from '2026-07-17 14:48:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369467 -3.082145)'), GeomFromEWKT('SRID=4674;POINT (-39.369527 -3.082126)'))) / (select extract(epoch from '2026-07-17 14:48:42'::timestamp) - extract(epoch from '2026-07-17 14:48:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369568 -3.082118)', '2026-07-17 14:48:48', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369527 -3.082126)'), GeomFromEWKT('SRID=4674;POINT (-39.369568 -3.082118)'))) / (select extract(epoch from '2026-07-17 14:48:48'::timestamp) - extract(epoch from '2026-07-17 14:48:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369527 -3.082126)'), GeomFromEWKT('SRID=4674;POINT (-39.369568 -3.082118)'))) / (select extract(epoch from '2026-07-17 14:48:48'::timestamp) - extract(epoch from '2026-07-17 14:48: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'), 47509, 'SRID=4674;POINT (-39.369605 -3.082109)', '2026-07-17 14:48:55', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369568 -3.082118)'), GeomFromEWKT('SRID=4674;POINT (-39.369605 -3.082109)'))) / (select extract(epoch from '2026-07-17 14:48:55'::timestamp) - extract(epoch from '2026-07-17 14:48:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369568 -3.082118)'), GeomFromEWKT('SRID=4674;POINT (-39.369605 -3.082109)'))) / (select extract(epoch from '2026-07-17 14:48:55'::timestamp) - extract(epoch from '2026-07-17 14:48: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'), 47509, 'SRID=4674;POINT (-39.36964 -3.082096)', '2026-07-17 14:49:00', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369605 -3.082109)'), GeomFromEWKT('SRID=4674;POINT (-39.36964 -3.082096)'))) / (select extract(epoch from '2026-07-17 14:49:00'::timestamp) - extract(epoch from '2026-07-17 14:48:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369605 -3.082109)'), GeomFromEWKT('SRID=4674;POINT (-39.36964 -3.082096)'))) / (select extract(epoch from '2026-07-17 14:49:00'::timestamp) - extract(epoch from '2026-07-17 14:48:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369665 -3.082096)', '2026-07-17 14:49:03', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36964 -3.082096)'), GeomFromEWKT('SRID=4674;POINT (-39.369665 -3.082096)'))) / (select extract(epoch from '2026-07-17 14:49:03'::timestamp) - extract(epoch from '2026-07-17 14:49:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36964 -3.082096)'), GeomFromEWKT('SRID=4674;POINT (-39.369665 -3.082096)'))) / (select extract(epoch from '2026-07-17 14:49:03'::timestamp) - extract(epoch from '2026-07-17 14:49:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369671 -3.082091)', '2026-07-17 14:49:05', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369665 -3.082096)'), GeomFromEWKT('SRID=4674;POINT (-39.369671 -3.082091)'))) / (select extract(epoch from '2026-07-17 14:49:05'::timestamp) - extract(epoch from '2026-07-17 14:49:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369665 -3.082096)'), GeomFromEWKT('SRID=4674;POINT (-39.369671 -3.082091)'))) / (select extract(epoch from '2026-07-17 14:49:05'::timestamp) - extract(epoch from '2026-07-17 14:49:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369698 -3.082089)', '2026-07-17 14:49:09', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369671 -3.082091)'), GeomFromEWKT('SRID=4674;POINT (-39.369698 -3.082089)'))) / (select extract(epoch from '2026-07-17 14:49:09'::timestamp) - extract(epoch from '2026-07-17 14:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369671 -3.082091)'), GeomFromEWKT('SRID=4674;POINT (-39.369698 -3.082089)'))) / (select extract(epoch from '2026-07-17 14:49:09'::timestamp) - extract(epoch from '2026-07-17 14:49: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'), 47509, 'SRID=4674;POINT (-39.369712 -3.082088)', '2026-07-17 14:49:11', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369698 -3.082089)'), GeomFromEWKT('SRID=4674;POINT (-39.369712 -3.082088)'))) / (select extract(epoch from '2026-07-17 14:49:11'::timestamp) - extract(epoch from '2026-07-17 14:49:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369698 -3.082089)'), GeomFromEWKT('SRID=4674;POINT (-39.369712 -3.082088)'))) / (select extract(epoch from '2026-07-17 14:49:11'::timestamp) - extract(epoch from '2026-07-17 14:49: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'), 47509, 'SRID=4674;POINT (-39.369745 -3.082092)', '2026-07-17 14:49:16', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369712 -3.082088)'), GeomFromEWKT('SRID=4674;POINT (-39.369745 -3.082092)'))) / (select extract(epoch from '2026-07-17 14:49:16'::timestamp) - extract(epoch from '2026-07-17 14:49:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369712 -3.082088)'), GeomFromEWKT('SRID=4674;POINT (-39.369745 -3.082092)'))) / (select extract(epoch from '2026-07-17 14:49:16'::timestamp) - extract(epoch from '2026-07-17 14:49:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369779 -3.082091)', '2026-07-17 14:49:22', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369745 -3.082092)'), GeomFromEWKT('SRID=4674;POINT (-39.369779 -3.082091)'))) / (select extract(epoch from '2026-07-17 14:49:22'::timestamp) - extract(epoch from '2026-07-17 14:49:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369745 -3.082092)'), GeomFromEWKT('SRID=4674;POINT (-39.369779 -3.082091)'))) / (select extract(epoch from '2026-07-17 14:49:22'::timestamp) - extract(epoch from '2026-07-17 14:49:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369812 -3.082097)', '2026-07-17 14:49:29', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369779 -3.082091)'), GeomFromEWKT('SRID=4674;POINT (-39.369812 -3.082097)'))) / (select extract(epoch from '2026-07-17 14:49:29'::timestamp) - extract(epoch from '2026-07-17 14:49:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369779 -3.082091)'), GeomFromEWKT('SRID=4674;POINT (-39.369812 -3.082097)'))) / (select extract(epoch from '2026-07-17 14:49:29'::timestamp) - extract(epoch from '2026-07-17 14:49:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369845 -3.082094)', '2026-07-17 14:49:35', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369812 -3.082097)'), GeomFromEWKT('SRID=4674;POINT (-39.369845 -3.082094)'))) / (select extract(epoch from '2026-07-17 14:49:35'::timestamp) - extract(epoch from '2026-07-17 14:49:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369812 -3.082097)'), GeomFromEWKT('SRID=4674;POINT (-39.369845 -3.082094)'))) / (select extract(epoch from '2026-07-17 14:49:35'::timestamp) - extract(epoch from '2026-07-17 14:49:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369875 -3.0821)', '2026-07-17 14:49:40', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369845 -3.082094)'), GeomFromEWKT('SRID=4674;POINT (-39.369875 -3.0821)'))) / (select extract(epoch from '2026-07-17 14:49:40'::timestamp) - extract(epoch from '2026-07-17 14:49:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369845 -3.082094)'), GeomFromEWKT('SRID=4674;POINT (-39.369875 -3.0821)'))) / (select extract(epoch from '2026-07-17 14:49:40'::timestamp) - extract(epoch from '2026-07-17 14:49: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'), 47509, 'SRID=4674;POINT (-39.369902 -3.082109)', '2026-07-17 14:49:46', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369875 -3.0821)'), GeomFromEWKT('SRID=4674;POINT (-39.369902 -3.082109)'))) / (select extract(epoch from '2026-07-17 14:49:46'::timestamp) - extract(epoch from '2026-07-17 14:49:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369875 -3.0821)'), GeomFromEWKT('SRID=4674;POINT (-39.369902 -3.082109)'))) / (select extract(epoch from '2026-07-17 14:49:46'::timestamp) - extract(epoch from '2026-07-17 14:49: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'), 47509, 'SRID=4674;POINT (-39.369935 -3.082114)', '2026-07-17 14:49:53', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369902 -3.082109)'), GeomFromEWKT('SRID=4674;POINT (-39.369935 -3.082114)'))) / (select extract(epoch from '2026-07-17 14:49:53'::timestamp) - extract(epoch from '2026-07-17 14:49:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369902 -3.082109)'), GeomFromEWKT('SRID=4674;POINT (-39.369935 -3.082114)'))) / (select extract(epoch from '2026-07-17 14:49:53'::timestamp) - extract(epoch from '2026-07-17 14:49:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369964 -3.082116)', '2026-07-17 14:49:58', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369935 -3.082114)'), GeomFromEWKT('SRID=4674;POINT (-39.369964 -3.082116)'))) / (select extract(epoch from '2026-07-17 14:49:58'::timestamp) - extract(epoch from '2026-07-17 14:49:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369935 -3.082114)'), GeomFromEWKT('SRID=4674;POINT (-39.369964 -3.082116)'))) / (select extract(epoch from '2026-07-17 14:49:58'::timestamp) - extract(epoch from '2026-07-17 14:49: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'), 47509, 'SRID=4674;POINT (-39.369999 -3.082116)', '2026-07-17 14:50:05', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369964 -3.082116)'), GeomFromEWKT('SRID=4674;POINT (-39.369999 -3.082116)'))) / (select extract(epoch from '2026-07-17 14:50:05'::timestamp) - extract(epoch from '2026-07-17 14:49:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369964 -3.082116)'), GeomFromEWKT('SRID=4674;POINT (-39.369999 -3.082116)'))) / (select extract(epoch from '2026-07-17 14:50:05'::timestamp) - extract(epoch from '2026-07-17 14:49: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'), 47509, 'SRID=4674;POINT (-39.370037 -3.082114)', '2026-07-17 14:50:12', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369999 -3.082116)'), GeomFromEWKT('SRID=4674;POINT (-39.370037 -3.082114)'))) / (select extract(epoch from '2026-07-17 14:50:12'::timestamp) - extract(epoch from '2026-07-17 14:50:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369999 -3.082116)'), GeomFromEWKT('SRID=4674;POINT (-39.370037 -3.082114)'))) / (select extract(epoch from '2026-07-17 14:50:12'::timestamp) - extract(epoch from '2026-07-17 14:50: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'), 47509, 'SRID=4674;POINT (-39.370068 -3.082111)', '2026-07-17 14:50:18', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370037 -3.082114)'), GeomFromEWKT('SRID=4674;POINT (-39.370068 -3.082111)'))) / (select extract(epoch from '2026-07-17 14:50:18'::timestamp) - extract(epoch from '2026-07-17 14:50:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370037 -3.082114)'), GeomFromEWKT('SRID=4674;POINT (-39.370068 -3.082111)'))) / (select extract(epoch from '2026-07-17 14:50:18'::timestamp) - extract(epoch from '2026-07-17 14:50: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'), 47509, 'SRID=4674;POINT (-39.370099 -3.082108)', '2026-07-17 14:50:24', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370068 -3.082111)'), GeomFromEWKT('SRID=4674;POINT (-39.370099 -3.082108)'))) / (select extract(epoch from '2026-07-17 14:50:24'::timestamp) - extract(epoch from '2026-07-17 14:50:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370068 -3.082111)'), GeomFromEWKT('SRID=4674;POINT (-39.370099 -3.082108)'))) / (select extract(epoch from '2026-07-17 14:50:24'::timestamp) - extract(epoch from '2026-07-17 14:50: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'), 47509, 'SRID=4674;POINT (-39.370115 -3.082103)', '2026-07-17 14:50:30', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370099 -3.082108)'), GeomFromEWKT('SRID=4674;POINT (-39.370115 -3.082103)'))) / (select extract(epoch from '2026-07-17 14:50:30'::timestamp) - extract(epoch from '2026-07-17 14:50:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370099 -3.082108)'), GeomFromEWKT('SRID=4674;POINT (-39.370115 -3.082103)'))) / (select extract(epoch from '2026-07-17 14:50:30'::timestamp) - extract(epoch from '2026-07-17 14:50: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'), 47509, 'SRID=4674;POINT (-39.370114 -3.082124)', '2026-07-17 14:50:48', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370115 -3.082103)'), GeomFromEWKT('SRID=4674;POINT (-39.370114 -3.082124)'))) / (select extract(epoch from '2026-07-17 14:50:48'::timestamp) - extract(epoch from '2026-07-17 14:50:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370115 -3.082103)'), GeomFromEWKT('SRID=4674;POINT (-39.370114 -3.082124)'))) / (select extract(epoch from '2026-07-17 14:50:48'::timestamp) - extract(epoch from '2026-07-17 14:50: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'), 47509, 'SRID=4674;POINT (-39.370068 -3.082117)', '2026-07-17 14:51:18', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370114 -3.082124)'), GeomFromEWKT('SRID=4674;POINT (-39.370068 -3.082117)'))) / (select extract(epoch from '2026-07-17 14:51:18'::timestamp) - extract(epoch from '2026-07-17 14:50:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370114 -3.082124)'), GeomFromEWKT('SRID=4674;POINT (-39.370068 -3.082117)'))) / (select extract(epoch from '2026-07-17 14:51:18'::timestamp) - extract(epoch from '2026-07-17 14:50:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.370033 -3.082123)', '2026-07-17 14:51:25', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370068 -3.082117)'), GeomFromEWKT('SRID=4674;POINT (-39.370033 -3.082123)'))) / (select extract(epoch from '2026-07-17 14:51:25'::timestamp) - extract(epoch from '2026-07-17 14:51:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370068 -3.082117)'), GeomFromEWKT('SRID=4674;POINT (-39.370033 -3.082123)'))) / (select extract(epoch from '2026-07-17 14:51:25'::timestamp) - extract(epoch from '2026-07-17 14:51:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.370034 -3.082126)', '2026-07-17 14:51:35', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370033 -3.082123)'), GeomFromEWKT('SRID=4674;POINT (-39.370034 -3.082126)'))) / (select extract(epoch from '2026-07-17 14:51:35'::timestamp) - extract(epoch from '2026-07-17 14:51:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370033 -3.082123)'), GeomFromEWKT('SRID=4674;POINT (-39.370034 -3.082126)'))) / (select extract(epoch from '2026-07-17 14:51:35'::timestamp) - extract(epoch from '2026-07-17 14:51: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'), 47509, 'SRID=4674;POINT (-39.370035 -3.082159)', '2026-07-17 14:51:50', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370034 -3.082126)'), GeomFromEWKT('SRID=4674;POINT (-39.370035 -3.082159)'))) / (select extract(epoch from '2026-07-17 14:51:50'::timestamp) - extract(epoch from '2026-07-17 14:51:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370034 -3.082126)'), GeomFromEWKT('SRID=4674;POINT (-39.370035 -3.082159)'))) / (select extract(epoch from '2026-07-17 14:51:50'::timestamp) - extract(epoch from '2026-07-17 14:51:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.370039 -3.082104)', '2026-07-17 14:52:30', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370035 -3.082159)'), GeomFromEWKT('SRID=4674;POINT (-39.370039 -3.082104)'))) / (select extract(epoch from '2026-07-17 14:52:30'::timestamp) - extract(epoch from '2026-07-17 14:51:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370035 -3.082159)'), GeomFromEWKT('SRID=4674;POINT (-39.370039 -3.082104)'))) / (select extract(epoch from '2026-07-17 14:52:30'::timestamp) - extract(epoch from '2026-07-17 14:51: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'), 47509, 'SRID=4674;POINT (-39.370037 -3.082065)', '2026-07-17 14:52:44', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370039 -3.082104)'), GeomFromEWKT('SRID=4674;POINT (-39.370037 -3.082065)'))) / (select extract(epoch from '2026-07-17 14:52:44'::timestamp) - extract(epoch from '2026-07-17 14:52:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370039 -3.082104)'), GeomFromEWKT('SRID=4674;POINT (-39.370037 -3.082065)'))) / (select extract(epoch from '2026-07-17 14:52:44'::timestamp) - extract(epoch from '2026-07-17 14:52: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'), 47509, 'SRID=4674;POINT (-39.370035 -3.08206)', '2026-07-17 14:53:10', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370037 -3.082065)'), GeomFromEWKT('SRID=4674;POINT (-39.370035 -3.08206)'))) / (select extract(epoch from '2026-07-17 14:53:10'::timestamp) - extract(epoch from '2026-07-17 14:52:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370037 -3.082065)'), GeomFromEWKT('SRID=4674;POINT (-39.370035 -3.08206)'))) / (select extract(epoch from '2026-07-17 14:53:10'::timestamp) - extract(epoch from '2026-07-17 14:52: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'), 47509, 'SRID=4674;POINT (-39.37003 -3.082054)', '2026-07-17 14:53:26', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370035 -3.08206)'), GeomFromEWKT('SRID=4674;POINT (-39.37003 -3.082054)'))) / (select extract(epoch from '2026-07-17 14:53:26'::timestamp) - extract(epoch from '2026-07-17 14:53:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370035 -3.08206)'), GeomFromEWKT('SRID=4674;POINT (-39.37003 -3.082054)'))) / (select extract(epoch from '2026-07-17 14:53:26'::timestamp) - extract(epoch from '2026-07-17 14:53: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'), 47509, 'SRID=4674;POINT (-39.37003 -3.082054)', '2026-07-17 14:53:54', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37003 -3.082054)'), GeomFromEWKT('SRID=4674;POINT (-39.37003 -3.082054)'))) / (select extract(epoch from '2026-07-17 14:53:54'::timestamp) - extract(epoch from '2026-07-17 14:53:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37003 -3.082054)'), GeomFromEWKT('SRID=4674;POINT (-39.37003 -3.082054)'))) / (select extract(epoch from '2026-07-17 14:53:54'::timestamp) - extract(epoch from '2026-07-17 14:53: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'), 47509, 'SRID=4674;POINT (-39.370019 -3.08205)', '2026-07-17 14:54:01', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37003 -3.082054)'), GeomFromEWKT('SRID=4674;POINT (-39.370019 -3.08205)'))) / (select extract(epoch from '2026-07-17 14:54:01'::timestamp) - extract(epoch from '2026-07-17 14:53:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37003 -3.082054)'), GeomFromEWKT('SRID=4674;POINT (-39.370019 -3.08205)'))) / (select extract(epoch from '2026-07-17 14:54:01'::timestamp) - extract(epoch from '2026-07-17 14:53:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.370024 -3.082037)', '2026-07-17 14:54:07', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370019 -3.08205)'), GeomFromEWKT('SRID=4674;POINT (-39.370024 -3.082037)'))) / (select extract(epoch from '2026-07-17 14:54:07'::timestamp) - extract(epoch from '2026-07-17 14:54:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370019 -3.08205)'), GeomFromEWKT('SRID=4674;POINT (-39.370024 -3.082037)'))) / (select extract(epoch from '2026-07-17 14:54:07'::timestamp) - extract(epoch from '2026-07-17 14:54: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'), 47509, 'SRID=4674;POINT (-39.370036 -3.082023)', '2026-07-17 14:54:13', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370024 -3.082037)'), GeomFromEWKT('SRID=4674;POINT (-39.370036 -3.082023)'))) / (select extract(epoch from '2026-07-17 14:54:13'::timestamp) - extract(epoch from '2026-07-17 14:54:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370024 -3.082037)'), GeomFromEWKT('SRID=4674;POINT (-39.370036 -3.082023)'))) / (select extract(epoch from '2026-07-17 14:54:13'::timestamp) - extract(epoch from '2026-07-17 14:54: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'), 47509, 'SRID=4674;POINT (-39.370033 -3.082006)', '2026-07-17 14:54:21', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370036 -3.082023)'), GeomFromEWKT('SRID=4674;POINT (-39.370033 -3.082006)'))) / (select extract(epoch from '2026-07-17 14:54:21'::timestamp) - extract(epoch from '2026-07-17 14:54:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370036 -3.082023)'), GeomFromEWKT('SRID=4674;POINT (-39.370033 -3.082006)'))) / (select extract(epoch from '2026-07-17 14:54:21'::timestamp) - extract(epoch from '2026-07-17 14:54:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.370033 -3.082003)', '2026-07-17 14:54:30', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370033 -3.082006)'), GeomFromEWKT('SRID=4674;POINT (-39.370033 -3.082003)'))) / (select extract(epoch from '2026-07-17 14:54:30'::timestamp) - extract(epoch from '2026-07-17 14:54:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370033 -3.082006)'), GeomFromEWKT('SRID=4674;POINT (-39.370033 -3.082003)'))) / (select extract(epoch from '2026-07-17 14:54:30'::timestamp) - extract(epoch from '2026-07-17 14:54: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'), 47509, 'SRID=4674;POINT (-39.370033 -3.081992)', '2026-07-17 14:54:47', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370033 -3.082003)'), GeomFromEWKT('SRID=4674;POINT (-39.370033 -3.081992)'))) / (select extract(epoch from '2026-07-17 14:54:47'::timestamp) - extract(epoch from '2026-07-17 14:54:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370033 -3.082003)'), GeomFromEWKT('SRID=4674;POINT (-39.370033 -3.081992)'))) / (select extract(epoch from '2026-07-17 14:54:47'::timestamp) - extract(epoch from '2026-07-17 14:54: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'), 47509, 'SRID=4674;POINT (-39.370039 -3.081985)', '2026-07-17 14:54:57', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370033 -3.081992)'), GeomFromEWKT('SRID=4674;POINT (-39.370039 -3.081985)'))) / (select extract(epoch from '2026-07-17 14:54:57'::timestamp) - extract(epoch from '2026-07-17 14:54:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370033 -3.081992)'), GeomFromEWKT('SRID=4674;POINT (-39.370039 -3.081985)'))) / (select extract(epoch from '2026-07-17 14:54:57'::timestamp) - extract(epoch from '2026-07-17 14:54: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'), 47509, 'SRID=4674;POINT (-39.370038 -3.08197)', '2026-07-17 14:55:10', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370039 -3.081985)'), GeomFromEWKT('SRID=4674;POINT (-39.370038 -3.08197)'))) / (select extract(epoch from '2026-07-17 14:55:10'::timestamp) - extract(epoch from '2026-07-17 14:54:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370039 -3.081985)'), GeomFromEWKT('SRID=4674;POINT (-39.370038 -3.08197)'))) / (select extract(epoch from '2026-07-17 14:55:10'::timestamp) - extract(epoch from '2026-07-17 14:54: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'), 47509, 'SRID=4674;POINT (-39.370035 -3.081973)', '2026-07-17 14:55:24', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370038 -3.08197)'), GeomFromEWKT('SRID=4674;POINT (-39.370035 -3.081973)'))) / (select extract(epoch from '2026-07-17 14:55:24'::timestamp) - extract(epoch from '2026-07-17 14:55:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370038 -3.08197)'), GeomFromEWKT('SRID=4674;POINT (-39.370035 -3.081973)'))) / (select extract(epoch from '2026-07-17 14:55:24'::timestamp) - extract(epoch from '2026-07-17 14:55:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.370027 -3.081978)', '2026-07-17 14:55:47', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370035 -3.081973)'), GeomFromEWKT('SRID=4674;POINT (-39.370027 -3.081978)'))) / (select extract(epoch from '2026-07-17 14:55:47'::timestamp) - extract(epoch from '2026-07-17 14:55:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370035 -3.081973)'), GeomFromEWKT('SRID=4674;POINT (-39.370027 -3.081978)'))) / (select extract(epoch from '2026-07-17 14:55:47'::timestamp) - extract(epoch from '2026-07-17 14:55: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'), 47509, 'SRID=4674;POINT (-39.370038 -3.081984)', '2026-07-17 14:56:55', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370027 -3.081978)'), GeomFromEWKT('SRID=4674;POINT (-39.370038 -3.081984)'))) / (select extract(epoch from '2026-07-17 14:56:55'::timestamp) - extract(epoch from '2026-07-17 14:55:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370027 -3.081978)'), GeomFromEWKT('SRID=4674;POINT (-39.370038 -3.081984)'))) / (select extract(epoch from '2026-07-17 14:56:55'::timestamp) - extract(epoch from '2026-07-17 14:55:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.370018 -3.081969)', '2026-07-17 14:59:46', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370038 -3.081984)'), GeomFromEWKT('SRID=4674;POINT (-39.370018 -3.081969)'))) / (select extract(epoch from '2026-07-17 14:59:46'::timestamp) - extract(epoch from '2026-07-17 14:56:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370038 -3.081984)'), GeomFromEWKT('SRID=4674;POINT (-39.370018 -3.081969)'))) / (select extract(epoch from '2026-07-17 14:59:46'::timestamp) - extract(epoch from '2026-07-17 14:56:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.370033 -3.081965)', '2026-07-17 15:00:19', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370018 -3.081969)'), GeomFromEWKT('SRID=4674;POINT (-39.370033 -3.081965)'))) / (select extract(epoch from '2026-07-17 15:00:19'::timestamp) - extract(epoch from '2026-07-17 14:59:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370018 -3.081969)'), GeomFromEWKT('SRID=4674;POINT (-39.370033 -3.081965)'))) / (select extract(epoch from '2026-07-17 15:00:19'::timestamp) - extract(epoch from '2026-07-17 14:59: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'), 47509, 'SRID=4674;POINT (-39.37003 -3.081964)', '2026-07-17 15:00:25', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370033 -3.081965)'), GeomFromEWKT('SRID=4674;POINT (-39.37003 -3.081964)'))) / (select extract(epoch from '2026-07-17 15:00:25'::timestamp) - extract(epoch from '2026-07-17 15:00:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370033 -3.081965)'), GeomFromEWKT('SRID=4674;POINT (-39.37003 -3.081964)'))) / (select extract(epoch from '2026-07-17 15:00:25'::timestamp) - extract(epoch from '2026-07-17 15:00: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'), 47509, 'SRID=4674;POINT (-39.370028 -3.081964)', '2026-07-17 15:00:32', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37003 -3.081964)'), GeomFromEWKT('SRID=4674;POINT (-39.370028 -3.081964)'))) / (select extract(epoch from '2026-07-17 15:00:32'::timestamp) - extract(epoch from '2026-07-17 15:00:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37003 -3.081964)'), GeomFromEWKT('SRID=4674;POINT (-39.370028 -3.081964)'))) / (select extract(epoch from '2026-07-17 15:00:32'::timestamp) - extract(epoch from '2026-07-17 15:00:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.370022 -3.081948)', '2026-07-17 15:04:39', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370028 -3.081964)'), GeomFromEWKT('SRID=4674;POINT (-39.370022 -3.081948)'))) / (select extract(epoch from '2026-07-17 15:04:39'::timestamp) - extract(epoch from '2026-07-17 15:00:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370028 -3.081964)'), GeomFromEWKT('SRID=4674;POINT (-39.370022 -3.081948)'))) / (select extract(epoch from '2026-07-17 15:04:39'::timestamp) - extract(epoch from '2026-07-17 15:00: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'), 47509, 'SRID=4674;POINT (-39.370004 -3.081932)', '2026-07-17 15:06:18', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370022 -3.081948)'), GeomFromEWKT('SRID=4674;POINT (-39.370004 -3.081932)'))) / (select extract(epoch from '2026-07-17 15:06:18'::timestamp) - extract(epoch from '2026-07-17 15:04:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370022 -3.081948)'), GeomFromEWKT('SRID=4674;POINT (-39.370004 -3.081932)'))) / (select extract(epoch from '2026-07-17 15:06:18'::timestamp) - extract(epoch from '2026-07-17 15:04: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'), 47509, 'SRID=4674;POINT (-39.37001 -3.08193)', '2026-07-17 15:06:41', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370004 -3.081932)'), GeomFromEWKT('SRID=4674;POINT (-39.37001 -3.08193)'))) / (select extract(epoch from '2026-07-17 15:06:41'::timestamp) - extract(epoch from '2026-07-17 15:06:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370004 -3.081932)'), GeomFromEWKT('SRID=4674;POINT (-39.37001 -3.08193)'))) / (select extract(epoch from '2026-07-17 15:06:41'::timestamp) - extract(epoch from '2026-07-17 15:06: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'), 47509, 'SRID=4674;POINT (-39.370009 -3.081934)', '2026-07-17 15:08:08', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37001 -3.08193)'), GeomFromEWKT('SRID=4674;POINT (-39.370009 -3.081934)'))) / (select extract(epoch from '2026-07-17 15:08:08'::timestamp) - extract(epoch from '2026-07-17 15:06:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37001 -3.08193)'), GeomFromEWKT('SRID=4674;POINT (-39.370009 -3.081934)'))) / (select extract(epoch from '2026-07-17 15:08:08'::timestamp) - extract(epoch from '2026-07-17 15:06:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.370009 -3.081941)', '2026-07-17 15:08:13', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370009 -3.081934)'), GeomFromEWKT('SRID=4674;POINT (-39.370009 -3.081941)'))) / (select extract(epoch from '2026-07-17 15:08:13'::timestamp) - extract(epoch from '2026-07-17 15:08:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370009 -3.081934)'), GeomFromEWKT('SRID=4674;POINT (-39.370009 -3.081941)'))) / (select extract(epoch from '2026-07-17 15:08:13'::timestamp) - extract(epoch from '2026-07-17 15:08:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.370009 -3.08194)', '2026-07-17 15:08:23', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370009 -3.081941)'), GeomFromEWKT('SRID=4674;POINT (-39.370009 -3.08194)'))) / (select extract(epoch from '2026-07-17 15:08:23'::timestamp) - extract(epoch from '2026-07-17 15:08:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370009 -3.081941)'), GeomFromEWKT('SRID=4674;POINT (-39.370009 -3.08194)'))) / (select extract(epoch from '2026-07-17 15:08:23'::timestamp) - extract(epoch from '2026-07-17 15:08: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'), 47509, 'SRID=4674;POINT (-39.370013 -3.081931)', '2026-07-17 15:08:58', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370009 -3.08194)'), GeomFromEWKT('SRID=4674;POINT (-39.370013 -3.081931)'))) / (select extract(epoch from '2026-07-17 15:08:58'::timestamp) - extract(epoch from '2026-07-17 15:08:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370009 -3.08194)'), GeomFromEWKT('SRID=4674;POINT (-39.370013 -3.081931)'))) / (select extract(epoch from '2026-07-17 15:08:58'::timestamp) - extract(epoch from '2026-07-17 15:08:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.370023 -3.081966)', '2026-07-17 15:10:29', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370013 -3.081931)'), GeomFromEWKT('SRID=4674;POINT (-39.370023 -3.081966)'))) / (select extract(epoch from '2026-07-17 15:10:29'::timestamp) - extract(epoch from '2026-07-17 15:08:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370013 -3.081931)'), GeomFromEWKT('SRID=4674;POINT (-39.370023 -3.081966)'))) / (select extract(epoch from '2026-07-17 15:10:29'::timestamp) - extract(epoch from '2026-07-17 15:08: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'), 47509, 'SRID=4674;POINT (-39.370003 -3.081947)', '2026-07-17 15:14:03', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370023 -3.081966)'), GeomFromEWKT('SRID=4674;POINT (-39.370003 -3.081947)'))) / (select extract(epoch from '2026-07-17 15:14:03'::timestamp) - extract(epoch from '2026-07-17 15:10:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370023 -3.081966)'), GeomFromEWKT('SRID=4674;POINT (-39.370003 -3.081947)'))) / (select extract(epoch from '2026-07-17 15:14:03'::timestamp) - extract(epoch from '2026-07-17 15:10: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'), 47509, 'SRID=4674;POINT (-39.36999 -3.081975)', '2026-07-17 15:17:15', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370003 -3.081947)'), GeomFromEWKT('SRID=4674;POINT (-39.36999 -3.081975)'))) / (select extract(epoch from '2026-07-17 15:17:15'::timestamp) - extract(epoch from '2026-07-17 15:14:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370003 -3.081947)'), GeomFromEWKT('SRID=4674;POINT (-39.36999 -3.081975)'))) / (select extract(epoch from '2026-07-17 15:17:15'::timestamp) - extract(epoch from '2026-07-17 15:14:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369996 -3.081982)', '2026-07-17 15:17:45', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36999 -3.081975)'), GeomFromEWKT('SRID=4674;POINT (-39.369996 -3.081982)'))) / (select extract(epoch from '2026-07-17 15:17:45'::timestamp) - extract(epoch from '2026-07-17 15:17:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36999 -3.081975)'), GeomFromEWKT('SRID=4674;POINT (-39.369996 -3.081982)'))) / (select extract(epoch from '2026-07-17 15:17:45'::timestamp) - extract(epoch from '2026-07-17 15:17: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'), 47509, 'SRID=4674;POINT (-39.369999 -3.081985)', '2026-07-17 15:18:33', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369996 -3.081982)'), GeomFromEWKT('SRID=4674;POINT (-39.369999 -3.081985)'))) / (select extract(epoch from '2026-07-17 15:18:33'::timestamp) - extract(epoch from '2026-07-17 15:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369996 -3.081982)'), GeomFromEWKT('SRID=4674;POINT (-39.369999 -3.081985)'))) / (select extract(epoch from '2026-07-17 15:18:33'::timestamp) - extract(epoch from '2026-07-17 15:17: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'), 47509, 'SRID=4674;POINT (-39.370004 -3.082)', '2026-07-17 15:19:38', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369999 -3.081985)'), GeomFromEWKT('SRID=4674;POINT (-39.370004 -3.082)'))) / (select extract(epoch from '2026-07-17 15:19:38'::timestamp) - extract(epoch from '2026-07-17 15:18:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369999 -3.081985)'), GeomFromEWKT('SRID=4674;POINT (-39.370004 -3.082)'))) / (select extract(epoch from '2026-07-17 15:19:38'::timestamp) - extract(epoch from '2026-07-17 15:18: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'), 47509, 'SRID=4674;POINT (-39.370014 -3.081994)', '2026-07-17 15:19:42', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370004 -3.082)'), GeomFromEWKT('SRID=4674;POINT (-39.370014 -3.081994)'))) / (select extract(epoch from '2026-07-17 15:19:42'::timestamp) - extract(epoch from '2026-07-17 15:19:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370004 -3.082)'), GeomFromEWKT('SRID=4674;POINT (-39.370014 -3.081994)'))) / (select extract(epoch from '2026-07-17 15:19:42'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47509, 'SRID=4674;POINT (-39.370008 -3.081986)', '2026-07-17 15:19:48', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370014 -3.081994)'), GeomFromEWKT('SRID=4674;POINT (-39.370008 -3.081986)'))) / (select extract(epoch from '2026-07-17 15:19:48'::timestamp) - extract(epoch from '2026-07-17 15:19:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370014 -3.081994)'), GeomFromEWKT('SRID=4674;POINT (-39.370008 -3.081986)'))) / (select extract(epoch from '2026-07-17 15:19:48'::timestamp) - extract(epoch from '2026-07-17 15:19:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.370025 -3.081972)', '2026-07-17 15:21:10', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370008 -3.081986)'), GeomFromEWKT('SRID=4674;POINT (-39.370025 -3.081972)'))) / (select extract(epoch from '2026-07-17 15:21:10'::timestamp) - extract(epoch from '2026-07-17 15:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370008 -3.081986)'), GeomFromEWKT('SRID=4674;POINT (-39.370025 -3.081972)'))) / (select extract(epoch from '2026-07-17 15:21:10'::timestamp) - extract(epoch from '2026-07-17 15:19:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.370007 -3.081935)', '2026-07-17 15:21:57', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370025 -3.081972)'), GeomFromEWKT('SRID=4674;POINT (-39.370007 -3.081935)'))) / (select extract(epoch from '2026-07-17 15:21:57'::timestamp) - extract(epoch from '2026-07-17 15:21:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370025 -3.081972)'), GeomFromEWKT('SRID=4674;POINT (-39.370007 -3.081935)'))) / (select extract(epoch from '2026-07-17 15:21:57'::timestamp) - extract(epoch from '2026-07-17 15:21: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'), 47509, 'SRID=4674;POINT (-39.370001 -3.081934)', '2026-07-17 15:22:04', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370007 -3.081935)'), GeomFromEWKT('SRID=4674;POINT (-39.370001 -3.081934)'))) / (select extract(epoch from '2026-07-17 15:22:04'::timestamp) - extract(epoch from '2026-07-17 15:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370007 -3.081935)'), GeomFromEWKT('SRID=4674;POINT (-39.370001 -3.081934)'))) / (select extract(epoch from '2026-07-17 15:22:04'::timestamp) - extract(epoch from '2026-07-17 15:21:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369995 -3.081935)', '2026-07-17 15:23:51', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370001 -3.081934)'), GeomFromEWKT('SRID=4674;POINT (-39.369995 -3.081935)'))) / (select extract(epoch from '2026-07-17 15:23:51'::timestamp) - extract(epoch from '2026-07-17 15:22:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370001 -3.081934)'), GeomFromEWKT('SRID=4674;POINT (-39.369995 -3.081935)'))) / (select extract(epoch from '2026-07-17 15:23:51'::timestamp) - extract(epoch from '2026-07-17 15:22:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369988 -3.081923)', '2026-07-17 15:24:07', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369995 -3.081935)'), GeomFromEWKT('SRID=4674;POINT (-39.369988 -3.081923)'))) / (select extract(epoch from '2026-07-17 15:24:07'::timestamp) - extract(epoch from '2026-07-17 15:23:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369995 -3.081935)'), GeomFromEWKT('SRID=4674;POINT (-39.369988 -3.081923)'))) / (select extract(epoch from '2026-07-17 15:24:07'::timestamp) - extract(epoch from '2026-07-17 15:23:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369983 -3.081926)', '2026-07-17 15:24:24', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369988 -3.081923)'), GeomFromEWKT('SRID=4674;POINT (-39.369983 -3.081926)'))) / (select extract(epoch from '2026-07-17 15:24:24'::timestamp) - extract(epoch from '2026-07-17 15:24:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369988 -3.081923)'), GeomFromEWKT('SRID=4674;POINT (-39.369983 -3.081926)'))) / (select extract(epoch from '2026-07-17 15:24:24'::timestamp) - extract(epoch from '2026-07-17 15:24:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369981 -3.081936)', '2026-07-17 15:25:18', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369983 -3.081926)'), GeomFromEWKT('SRID=4674;POINT (-39.369981 -3.081936)'))) / (select extract(epoch from '2026-07-17 15:25:18'::timestamp) - extract(epoch from '2026-07-17 15:24:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369983 -3.081926)'), GeomFromEWKT('SRID=4674;POINT (-39.369981 -3.081936)'))) / (select extract(epoch from '2026-07-17 15:25:18'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47509, 'SRID=4674;POINT (-39.370005 -3.081936)', '2026-07-17 15:26:07', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369981 -3.081936)'), GeomFromEWKT('SRID=4674;POINT (-39.370005 -3.081936)'))) / (select extract(epoch from '2026-07-17 15:26:07'::timestamp) - extract(epoch from '2026-07-17 15:25:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369981 -3.081936)'), GeomFromEWKT('SRID=4674;POINT (-39.370005 -3.081936)'))) / (select extract(epoch from '2026-07-17 15:26:07'::timestamp) - extract(epoch from '2026-07-17 15:25:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369993 -3.081944)', '2026-07-17 15:26:29', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370005 -3.081936)'), GeomFromEWKT('SRID=4674;POINT (-39.369993 -3.081944)'))) / (select extract(epoch from '2026-07-17 15:26:29'::timestamp) - extract(epoch from '2026-07-17 15:26:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370005 -3.081936)'), GeomFromEWKT('SRID=4674;POINT (-39.369993 -3.081944)'))) / (select extract(epoch from '2026-07-17 15:26:29'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47509, 'SRID=4674;POINT (-39.369969 -3.081955)', '2026-07-17 15:27:00', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369993 -3.081944)'), GeomFromEWKT('SRID=4674;POINT (-39.369969 -3.081955)'))) / (select extract(epoch from '2026-07-17 15:27:00'::timestamp) - extract(epoch from '2026-07-17 15:26:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369993 -3.081944)'), GeomFromEWKT('SRID=4674;POINT (-39.369969 -3.081955)'))) / (select extract(epoch from '2026-07-17 15:27:00'::timestamp) - extract(epoch from '2026-07-17 15:26: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'), 47509, 'SRID=4674;POINT (-39.369959 -3.081978)', '2026-07-17 15:27:37', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369969 -3.081955)'), GeomFromEWKT('SRID=4674;POINT (-39.369959 -3.081978)'))) / (select extract(epoch from '2026-07-17 15:27:37'::timestamp) - extract(epoch from '2026-07-17 15:27:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369969 -3.081955)'), GeomFromEWKT('SRID=4674;POINT (-39.369959 -3.081978)'))) / (select extract(epoch from '2026-07-17 15:27:37'::timestamp) - extract(epoch from '2026-07-17 15:27:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369952 -3.081975)', '2026-07-17 15:28:01', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369959 -3.081978)'), GeomFromEWKT('SRID=4674;POINT (-39.369952 -3.081975)'))) / (select extract(epoch from '2026-07-17 15:28:01'::timestamp) - extract(epoch from '2026-07-17 15:27:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369959 -3.081978)'), GeomFromEWKT('SRID=4674;POINT (-39.369952 -3.081975)'))) / (select extract(epoch from '2026-07-17 15:28:01'::timestamp) - extract(epoch from '2026-07-17 15:27:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369956 -3.082009)', '2026-07-17 15:28:46', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369952 -3.081975)'), GeomFromEWKT('SRID=4674;POINT (-39.369956 -3.082009)'))) / (select extract(epoch from '2026-07-17 15:28:46'::timestamp) - extract(epoch from '2026-07-17 15:28:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369952 -3.081975)'), GeomFromEWKT('SRID=4674;POINT (-39.369956 -3.082009)'))) / (select extract(epoch from '2026-07-17 15:28:46'::timestamp) - extract(epoch from '2026-07-17 15:28: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'), 47509, 'SRID=4674;POINT (-39.369947 -3.082006)', '2026-07-17 15:28:53', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369956 -3.082009)'), GeomFromEWKT('SRID=4674;POINT (-39.369947 -3.082006)'))) / (select extract(epoch from '2026-07-17 15:28:53'::timestamp) - extract(epoch from '2026-07-17 15:28:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369956 -3.082009)'), GeomFromEWKT('SRID=4674;POINT (-39.369947 -3.082006)'))) / (select extract(epoch from '2026-07-17 15:28:53'::timestamp) - extract(epoch from '2026-07-17 15:28: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'), 47509, 'SRID=4674;POINT (-39.369961 -3.082045)', '2026-07-17 15:29:45', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369947 -3.082006)'), GeomFromEWKT('SRID=4674;POINT (-39.369961 -3.082045)'))) / (select extract(epoch from '2026-07-17 15:29:45'::timestamp) - extract(epoch from '2026-07-17 15:28:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369947 -3.082006)'), GeomFromEWKT('SRID=4674;POINT (-39.369961 -3.082045)'))) / (select extract(epoch from '2026-07-17 15:29:45'::timestamp) - extract(epoch from '2026-07-17 15:28: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'), 47509, 'SRID=4674;POINT (-39.369958 -3.082039)', '2026-07-17 15:29:54', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369961 -3.082045)'), GeomFromEWKT('SRID=4674;POINT (-39.369958 -3.082039)'))) / (select extract(epoch from '2026-07-17 15:29:54'::timestamp) - extract(epoch from '2026-07-17 15:29:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369961 -3.082045)'), GeomFromEWKT('SRID=4674;POINT (-39.369958 -3.082039)'))) / (select extract(epoch from '2026-07-17 15:29:54'::timestamp) - extract(epoch from '2026-07-17 15:29: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'), 47509, 'SRID=4674;POINT (-39.369964 -3.082034)', '2026-07-17 15:30:16', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369958 -3.082039)'), GeomFromEWKT('SRID=4674;POINT (-39.369964 -3.082034)'))) / (select extract(epoch from '2026-07-17 15:30:16'::timestamp) - extract(epoch from '2026-07-17 15:29:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369958 -3.082039)'), GeomFromEWKT('SRID=4674;POINT (-39.369964 -3.082034)'))) / (select extract(epoch from '2026-07-17 15:30:16'::timestamp) - extract(epoch from '2026-07-17 15:29:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369969 -3.082057)', '2026-07-17 15:30:42', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369964 -3.082034)'), GeomFromEWKT('SRID=4674;POINT (-39.369969 -3.082057)'))) / (select extract(epoch from '2026-07-17 15:30:42'::timestamp) - extract(epoch from '2026-07-17 15:30:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369964 -3.082034)'), GeomFromEWKT('SRID=4674;POINT (-39.369969 -3.082057)'))) / (select extract(epoch from '2026-07-17 15:30:42'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47509, 'SRID=4674;POINT (-39.369994 -3.082073)', '2026-07-17 15:32:28', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369969 -3.082057)'), GeomFromEWKT('SRID=4674;POINT (-39.369994 -3.082073)'))) / (select extract(epoch from '2026-07-17 15:32:28'::timestamp) - extract(epoch from '2026-07-17 15:30:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369969 -3.082057)'), GeomFromEWKT('SRID=4674;POINT (-39.369994 -3.082073)'))) / (select extract(epoch from '2026-07-17 15:32:28'::timestamp) - extract(epoch from '2026-07-17 15:30:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369986 -3.082099)', '2026-07-17 15:32:57', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369994 -3.082073)'), GeomFromEWKT('SRID=4674;POINT (-39.369986 -3.082099)'))) / (select extract(epoch from '2026-07-17 15:32:57'::timestamp) - extract(epoch from '2026-07-17 15:32:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369994 -3.082073)'), GeomFromEWKT('SRID=4674;POINT (-39.369986 -3.082099)'))) / (select extract(epoch from '2026-07-17 15:32:57'::timestamp) - extract(epoch from '2026-07-17 15:32: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'), 47509, 'SRID=4674;POINT (-39.369977 -3.082101)', '2026-07-17 15:33:04', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369986 -3.082099)'), GeomFromEWKT('SRID=4674;POINT (-39.369977 -3.082101)'))) / (select extract(epoch from '2026-07-17 15:33:04'::timestamp) - extract(epoch from '2026-07-17 15:32:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369986 -3.082099)'), GeomFromEWKT('SRID=4674;POINT (-39.369977 -3.082101)'))) / (select extract(epoch from '2026-07-17 15:33:04'::timestamp) - extract(epoch from '2026-07-17 15:32:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369974 -3.082082)', '2026-07-17 15:33:17', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369977 -3.082101)'), GeomFromEWKT('SRID=4674;POINT (-39.369974 -3.082082)'))) / (select extract(epoch from '2026-07-17 15:33:17'::timestamp) - extract(epoch from '2026-07-17 15:33:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369977 -3.082101)'), GeomFromEWKT('SRID=4674;POINT (-39.369974 -3.082082)'))) / (select extract(epoch from '2026-07-17 15:33:17'::timestamp) - extract(epoch from '2026-07-17 15:33: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'), 47509, 'SRID=4674;POINT (-39.369974 -3.082073)', '2026-07-17 15:33:58', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369974 -3.082082)'), GeomFromEWKT('SRID=4674;POINT (-39.369974 -3.082073)'))) / (select extract(epoch from '2026-07-17 15:33:58'::timestamp) - extract(epoch from '2026-07-17 15:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369974 -3.082082)'), GeomFromEWKT('SRID=4674;POINT (-39.369974 -3.082073)'))) / (select extract(epoch from '2026-07-17 15:33:58'::timestamp) - extract(epoch from '2026-07-17 15:33:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369957 -3.082074)', '2026-07-17 15:34:18', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369974 -3.082073)'), GeomFromEWKT('SRID=4674;POINT (-39.369957 -3.082074)'))) / (select extract(epoch from '2026-07-17 15:34:18'::timestamp) - extract(epoch from '2026-07-17 15:33:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369974 -3.082073)'), GeomFromEWKT('SRID=4674;POINT (-39.369957 -3.082074)'))) / (select extract(epoch from '2026-07-17 15:34:18'::timestamp) - extract(epoch from '2026-07-17 15:33: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'), 47509, 'SRID=4674;POINT (-39.369957 -3.082084)', '2026-07-17 15:34:28', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369957 -3.082074)'), GeomFromEWKT('SRID=4674;POINT (-39.369957 -3.082084)'))) / (select extract(epoch from '2026-07-17 15:34:28'::timestamp) - extract(epoch from '2026-07-17 15:34:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369957 -3.082074)'), GeomFromEWKT('SRID=4674;POINT (-39.369957 -3.082084)'))) / (select extract(epoch from '2026-07-17 15:34:28'::timestamp) - extract(epoch from '2026-07-17 15:34: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'), 47509, 'SRID=4674;POINT (-39.369938 -3.082032)', '2026-07-17 15:35:41', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369957 -3.082084)'), GeomFromEWKT('SRID=4674;POINT (-39.369938 -3.082032)'))) / (select extract(epoch from '2026-07-17 15:35:41'::timestamp) - extract(epoch from '2026-07-17 15:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369957 -3.082084)'), GeomFromEWKT('SRID=4674;POINT (-39.369938 -3.082032)'))) / (select extract(epoch from '2026-07-17 15:35:41'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47509, 'SRID=4674;POINT (-39.369916 -3.082028)', '2026-07-17 15:35:47', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369938 -3.082032)'), GeomFromEWKT('SRID=4674;POINT (-39.369916 -3.082028)'))) / (select extract(epoch from '2026-07-17 15:35:47'::timestamp) - extract(epoch from '2026-07-17 15:35:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369938 -3.082032)'), GeomFromEWKT('SRID=4674;POINT (-39.369916 -3.082028)'))) / (select extract(epoch from '2026-07-17 15:35:47'::timestamp) - extract(epoch from '2026-07-17 15:35:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369875 -3.082042)', '2026-07-17 15:35:55', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369916 -3.082028)'), GeomFromEWKT('SRID=4674;POINT (-39.369875 -3.082042)'))) / (select extract(epoch from '2026-07-17 15:35:55'::timestamp) - extract(epoch from '2026-07-17 15:35:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369916 -3.082028)'), GeomFromEWKT('SRID=4674;POINT (-39.369875 -3.082042)'))) / (select extract(epoch from '2026-07-17 15:35:55'::timestamp) - extract(epoch from '2026-07-17 15:35: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'), 47509, 'SRID=4674;POINT (-39.369849 -3.082072)', '2026-07-17 15:36:02', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369875 -3.082042)'), GeomFromEWKT('SRID=4674;POINT (-39.369849 -3.082072)'))) / (select extract(epoch from '2026-07-17 15:36:02'::timestamp) - extract(epoch from '2026-07-17 15:35:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369875 -3.082042)'), GeomFromEWKT('SRID=4674;POINT (-39.369849 -3.082072)'))) / (select extract(epoch from '2026-07-17 15:36:02'::timestamp) - extract(epoch from '2026-07-17 15:35: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'), 47509, 'SRID=4674;POINT (-39.369837 -3.082086)', '2026-07-17 15:36:08', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369849 -3.082072)'), GeomFromEWKT('SRID=4674;POINT (-39.369837 -3.082086)'))) / (select extract(epoch from '2026-07-17 15:36:08'::timestamp) - extract(epoch from '2026-07-17 15:36:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369849 -3.082072)'), GeomFromEWKT('SRID=4674;POINT (-39.369837 -3.082086)'))) / (select extract(epoch from '2026-07-17 15:36:08'::timestamp) - extract(epoch from '2026-07-17 15:36:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369819 -3.082096)', '2026-07-17 15:36:11', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369837 -3.082086)'), GeomFromEWKT('SRID=4674;POINT (-39.369819 -3.082096)'))) / (select extract(epoch from '2026-07-17 15:36:11'::timestamp) - extract(epoch from '2026-07-17 15:36:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369837 -3.082086)'), GeomFromEWKT('SRID=4674;POINT (-39.369819 -3.082096)'))) / (select extract(epoch from '2026-07-17 15:36:11'::timestamp) - extract(epoch from '2026-07-17 15:36:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369806 -3.082099)', '2026-07-17 15:36:13', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369819 -3.082096)'), GeomFromEWKT('SRID=4674;POINT (-39.369806 -3.082099)'))) / (select extract(epoch from '2026-07-17 15:36:13'::timestamp) - extract(epoch from '2026-07-17 15:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369819 -3.082096)'), GeomFromEWKT('SRID=4674;POINT (-39.369806 -3.082099)'))) / (select extract(epoch from '2026-07-17 15:36:13'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47509, 'SRID=4674;POINT (-39.369758 -3.082115)', '2026-07-17 15:36:19', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369806 -3.082099)'), GeomFromEWKT('SRID=4674;POINT (-39.369758 -3.082115)'))) / (select extract(epoch from '2026-07-17 15:36:19'::timestamp) - extract(epoch from '2026-07-17 15:36:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369806 -3.082099)'), GeomFromEWKT('SRID=4674;POINT (-39.369758 -3.082115)'))) / (select extract(epoch from '2026-07-17 15:36:19'::timestamp) - extract(epoch from '2026-07-17 15:36: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'), 47509, 'SRID=4674;POINT (-39.369746 -3.082116)', '2026-07-17 15:36:20', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369758 -3.082115)'), GeomFromEWKT('SRID=4674;POINT (-39.369746 -3.082116)'))) / (select extract(epoch from '2026-07-17 15:36:20'::timestamp) - extract(epoch from '2026-07-17 15:36:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369758 -3.082115)'), GeomFromEWKT('SRID=4674;POINT (-39.369746 -3.082116)'))) / (select extract(epoch from '2026-07-17 15:36:20'::timestamp) - extract(epoch from '2026-07-17 15:36: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'), 47509, 'SRID=4674;POINT (-39.369715 -3.082121)', '2026-07-17 15:36:23', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369746 -3.082116)'), GeomFromEWKT('SRID=4674;POINT (-39.369715 -3.082121)'))) / (select extract(epoch from '2026-07-17 15:36:23'::timestamp) - extract(epoch from '2026-07-17 15:36:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369746 -3.082116)'), GeomFromEWKT('SRID=4674;POINT (-39.369715 -3.082121)'))) / (select extract(epoch from '2026-07-17 15:36:23'::timestamp) - extract(epoch from '2026-07-17 15:36:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.36969 -3.082122)', '2026-07-17 15:36:25', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369715 -3.082121)'), GeomFromEWKT('SRID=4674;POINT (-39.36969 -3.082122)'))) / (select extract(epoch from '2026-07-17 15:36:25'::timestamp) - extract(epoch from '2026-07-17 15:36:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369715 -3.082121)'), GeomFromEWKT('SRID=4674;POINT (-39.36969 -3.082122)'))) / (select extract(epoch from '2026-07-17 15:36:25'::timestamp) - extract(epoch from '2026-07-17 15:36:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369646 -3.082127)', '2026-07-17 15:36:29', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36969 -3.082122)'), GeomFromEWKT('SRID=4674;POINT (-39.369646 -3.082127)'))) / (select extract(epoch from '2026-07-17 15:36:29'::timestamp) - extract(epoch from '2026-07-17 15:36:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36969 -3.082122)'), GeomFromEWKT('SRID=4674;POINT (-39.369646 -3.082127)'))) / (select extract(epoch from '2026-07-17 15:36:29'::timestamp) - extract(epoch from '2026-07-17 15:36: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'), 47509, 'SRID=4674;POINT (-39.369632 -3.082128)', '2026-07-17 15:36:30', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369646 -3.082127)'), GeomFromEWKT('SRID=4674;POINT (-39.369632 -3.082128)'))) / (select extract(epoch from '2026-07-17 15:36:30'::timestamp) - extract(epoch from '2026-07-17 15:36:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369646 -3.082127)'), GeomFromEWKT('SRID=4674;POINT (-39.369632 -3.082128)'))) / (select extract(epoch from '2026-07-17 15:36:30'::timestamp) - extract(epoch from '2026-07-17 15:36:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369621 -3.082128)', '2026-07-17 15:36:31', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369632 -3.082128)'), GeomFromEWKT('SRID=4674;POINT (-39.369621 -3.082128)'))) / (select extract(epoch from '2026-07-17 15:36:31'::timestamp) - extract(epoch from '2026-07-17 15:36:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369632 -3.082128)'), GeomFromEWKT('SRID=4674;POINT (-39.369621 -3.082128)'))) / (select extract(epoch from '2026-07-17 15:36:31'::timestamp) - extract(epoch from '2026-07-17 15:36: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'), 47509, 'SRID=4674;POINT (-39.369588 -3.082133)', '2026-07-17 15:36:34', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369621 -3.082128)'), GeomFromEWKT('SRID=4674;POINT (-39.369588 -3.082133)'))) / (select extract(epoch from '2026-07-17 15:36:34'::timestamp) - extract(epoch from '2026-07-17 15:36:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369621 -3.082128)'), GeomFromEWKT('SRID=4674;POINT (-39.369588 -3.082133)'))) / (select extract(epoch from '2026-07-17 15:36:34'::timestamp) - extract(epoch from '2026-07-17 15:36:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369554 -3.082142)', '2026-07-17 15:36:38', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369588 -3.082133)'), GeomFromEWKT('SRID=4674;POINT (-39.369554 -3.082142)'))) / (select extract(epoch from '2026-07-17 15:36:38'::timestamp) - extract(epoch from '2026-07-17 15:36:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369588 -3.082133)'), GeomFromEWKT('SRID=4674;POINT (-39.369554 -3.082142)'))) / (select extract(epoch from '2026-07-17 15:36:38'::timestamp) - extract(epoch from '2026-07-17 15:36: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'), 47509, 'SRID=4674;POINT (-39.369546 -3.082144)', '2026-07-17 15:36:39', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369554 -3.082142)'), GeomFromEWKT('SRID=4674;POINT (-39.369546 -3.082144)'))) / (select extract(epoch from '2026-07-17 15:36:39'::timestamp) - extract(epoch from '2026-07-17 15:36:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369554 -3.082142)'), GeomFromEWKT('SRID=4674;POINT (-39.369546 -3.082144)'))) / (select extract(epoch from '2026-07-17 15:36:39'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47509, 'SRID=4674;POINT (-39.36951 -3.08215)', '2026-07-17 15:36:43', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369546 -3.082144)'), GeomFromEWKT('SRID=4674;POINT (-39.36951 -3.08215)'))) / (select extract(epoch from '2026-07-17 15:36:43'::timestamp) - extract(epoch from '2026-07-17 15:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369546 -3.082144)'), GeomFromEWKT('SRID=4674;POINT (-39.36951 -3.08215)'))) / (select extract(epoch from '2026-07-17 15:36:43'::timestamp) - extract(epoch from '2026-07-17 15:36:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369472 -3.082162)', '2026-07-17 15:36:47', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36951 -3.08215)'), GeomFromEWKT('SRID=4674;POINT (-39.369472 -3.082162)'))) / (select extract(epoch from '2026-07-17 15:36:47'::timestamp) - extract(epoch from '2026-07-17 15:36:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36951 -3.08215)'), GeomFromEWKT('SRID=4674;POINT (-39.369472 -3.082162)'))) / (select extract(epoch from '2026-07-17 15:36:47'::timestamp) - extract(epoch from '2026-07-17 15:36:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369438 -3.082163)', '2026-07-17 15:36:50', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369472 -3.082162)'), GeomFromEWKT('SRID=4674;POINT (-39.369438 -3.082163)'))) / (select extract(epoch from '2026-07-17 15:36:50'::timestamp) - extract(epoch from '2026-07-17 15:36:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369472 -3.082162)'), GeomFromEWKT('SRID=4674;POINT (-39.369438 -3.082163)'))) / (select extract(epoch from '2026-07-17 15:36:50'::timestamp) - extract(epoch from '2026-07-17 15:36: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'), 47509, 'SRID=4674;POINT (-39.369392 -3.082166)', '2026-07-17 15:36:55', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369438 -3.082163)'), GeomFromEWKT('SRID=4674;POINT (-39.369392 -3.082166)'))) / (select extract(epoch from '2026-07-17 15:36:55'::timestamp) - extract(epoch from '2026-07-17 15:36:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369438 -3.082163)'), GeomFromEWKT('SRID=4674;POINT (-39.369392 -3.082166)'))) / (select extract(epoch from '2026-07-17 15:36:55'::timestamp) - extract(epoch from '2026-07-17 15:36: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'), 47509, 'SRID=4674;POINT (-39.369382 -3.082168)', '2026-07-17 15:36:56', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369392 -3.082166)'), GeomFromEWKT('SRID=4674;POINT (-39.369382 -3.082168)'))) / (select extract(epoch from '2026-07-17 15:36:56'::timestamp) - extract(epoch from '2026-07-17 15:36:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369392 -3.082166)'), GeomFromEWKT('SRID=4674;POINT (-39.369382 -3.082168)'))) / (select extract(epoch from '2026-07-17 15:36:56'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47509, 'SRID=4674;POINT (-39.369352 -3.082171)', '2026-07-17 15:36:59', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369382 -3.082168)'), GeomFromEWKT('SRID=4674;POINT (-39.369352 -3.082171)'))) / (select extract(epoch from '2026-07-17 15:36:59'::timestamp) - extract(epoch from '2026-07-17 15:36:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369382 -3.082168)'), GeomFromEWKT('SRID=4674;POINT (-39.369352 -3.082171)'))) / (select extract(epoch from '2026-07-17 15:36:59'::timestamp) - extract(epoch from '2026-07-17 15:36:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369338 -3.08217)', '2026-07-17 15:37:01', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369352 -3.082171)'), GeomFromEWKT('SRID=4674;POINT (-39.369338 -3.08217)'))) / (select extract(epoch from '2026-07-17 15:37:01'::timestamp) - extract(epoch from '2026-07-17 15:36:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369352 -3.082171)'), GeomFromEWKT('SRID=4674;POINT (-39.369338 -3.08217)'))) / (select extract(epoch from '2026-07-17 15:37:01'::timestamp) - extract(epoch from '2026-07-17 15:36: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'), 47509, 'SRID=4674;POINT (-39.36933 -3.08217)', '2026-07-17 15:37:02', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369338 -3.08217)'), GeomFromEWKT('SRID=4674;POINT (-39.36933 -3.08217)'))) / (select extract(epoch from '2026-07-17 15:37:02'::timestamp) - extract(epoch from '2026-07-17 15:37:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369338 -3.08217)'), GeomFromEWKT('SRID=4674;POINT (-39.36933 -3.08217)'))) / (select extract(epoch from '2026-07-17 15:37:02'::timestamp) - extract(epoch from '2026-07-17 15:37:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369309 -3.082169)', '2026-07-17 15:37:05', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36933 -3.08217)'), GeomFromEWKT('SRID=4674;POINT (-39.369309 -3.082169)'))) / (select extract(epoch from '2026-07-17 15:37:05'::timestamp) - extract(epoch from '2026-07-17 15:37:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36933 -3.08217)'), GeomFromEWKT('SRID=4674;POINT (-39.369309 -3.082169)'))) / (select extract(epoch from '2026-07-17 15:37:05'::timestamp) - extract(epoch from '2026-07-17 15:37: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'), 47509, 'SRID=4674;POINT (-39.369276 -3.082171)', '2026-07-17 15:37:11', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369309 -3.082169)'), GeomFromEWKT('SRID=4674;POINT (-39.369276 -3.082171)'))) / (select extract(epoch from '2026-07-17 15:37:11'::timestamp) - extract(epoch from '2026-07-17 15:37:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369309 -3.082169)'), GeomFromEWKT('SRID=4674;POINT (-39.369276 -3.082171)'))) / (select extract(epoch from '2026-07-17 15:37:11'::timestamp) - extract(epoch from '2026-07-17 15:37: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'), 47509, 'SRID=4674;POINT (-39.36924 -3.082166)', '2026-07-17 15:37:17', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369276 -3.082171)'), GeomFromEWKT('SRID=4674;POINT (-39.36924 -3.082166)'))) / (select extract(epoch from '2026-07-17 15:37:17'::timestamp) - extract(epoch from '2026-07-17 15:37:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369276 -3.082171)'), GeomFromEWKT('SRID=4674;POINT (-39.36924 -3.082166)'))) / (select extract(epoch from '2026-07-17 15:37:17'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47509, 'SRID=4674;POINT (-39.369197 -3.082156)', '2026-07-17 15:37:25', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36924 -3.082166)'), GeomFromEWKT('SRID=4674;POINT (-39.369197 -3.082156)'))) / (select extract(epoch from '2026-07-17 15:37:25'::timestamp) - extract(epoch from '2026-07-17 15:37:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36924 -3.082166)'), GeomFromEWKT('SRID=4674;POINT (-39.369197 -3.082156)'))) / (select extract(epoch from '2026-07-17 15:37:25'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47509, 'SRID=4674;POINT (-39.369145 -3.082168)', '2026-07-17 15:37:30', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369197 -3.082156)'), GeomFromEWKT('SRID=4674;POINT (-39.369145 -3.082168)'))) / (select extract(epoch from '2026-07-17 15:37:30'::timestamp) - extract(epoch from '2026-07-17 15:37:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369197 -3.082156)'), GeomFromEWKT('SRID=4674;POINT (-39.369145 -3.082168)'))) / (select extract(epoch from '2026-07-17 15:37:30'::timestamp) - extract(epoch from '2026-07-17 15:37: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'), 47509, 'SRID=4674;POINT (-39.369095 -3.082186)', '2026-07-17 15:37:38', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369145 -3.082168)'), GeomFromEWKT('SRID=4674;POINT (-39.369095 -3.082186)'))) / (select extract(epoch from '2026-07-17 15:37:38'::timestamp) - extract(epoch from '2026-07-17 15:37:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369145 -3.082168)'), GeomFromEWKT('SRID=4674;POINT (-39.369095 -3.082186)'))) / (select extract(epoch from '2026-07-17 15:37:38'::timestamp) - extract(epoch from '2026-07-17 15:37: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'), 47509, 'SRID=4674;POINT (-39.369067 -3.0822)', '2026-07-17 15:37:45', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369095 -3.082186)'), GeomFromEWKT('SRID=4674;POINT (-39.369067 -3.0822)'))) / (select extract(epoch from '2026-07-17 15:37:45'::timestamp) - extract(epoch from '2026-07-17 15:37:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369095 -3.082186)'), GeomFromEWKT('SRID=4674;POINT (-39.369067 -3.0822)'))) / (select extract(epoch from '2026-07-17 15:37:45'::timestamp) - extract(epoch from '2026-07-17 15:37:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369044 -3.082206)', '2026-07-17 15:37:53', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369067 -3.0822)'), GeomFromEWKT('SRID=4674;POINT (-39.369044 -3.082206)'))) / (select extract(epoch from '2026-07-17 15:37:53'::timestamp) - extract(epoch from '2026-07-17 15:37:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369067 -3.0822)'), GeomFromEWKT('SRID=4674;POINT (-39.369044 -3.082206)'))) / (select extract(epoch from '2026-07-17 15:37:53'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47509, 'SRID=4674;POINT (-39.369012 -3.082208)', '2026-07-17 15:38:00', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369044 -3.082206)'), GeomFromEWKT('SRID=4674;POINT (-39.369012 -3.082208)'))) / (select extract(epoch from '2026-07-17 15:38:00'::timestamp) - extract(epoch from '2026-07-17 15:37:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369044 -3.082206)'), GeomFromEWKT('SRID=4674;POINT (-39.369012 -3.082208)'))) / (select extract(epoch from '2026-07-17 15:38:00'::timestamp) - extract(epoch from '2026-07-17 15:37: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'), 47509, 'SRID=4674;POINT (-39.368967 -3.082192)', '2026-07-17 15:38:10', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369012 -3.082208)'), GeomFromEWKT('SRID=4674;POINT (-39.368967 -3.082192)'))) / (select extract(epoch from '2026-07-17 15:38:10'::timestamp) - extract(epoch from '2026-07-17 15:38:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369012 -3.082208)'), GeomFromEWKT('SRID=4674;POINT (-39.368967 -3.082192)'))) / (select extract(epoch from '2026-07-17 15:38:10'::timestamp) - extract(epoch from '2026-07-17 15:38: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'), 47509, 'SRID=4674;POINT (-39.368959 -3.082224)', '2026-07-17 15:38:15', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368967 -3.082192)'), GeomFromEWKT('SRID=4674;POINT (-39.368959 -3.082224)'))) / (select extract(epoch from '2026-07-17 15:38:15'::timestamp) - extract(epoch from '2026-07-17 15:38:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368967 -3.082192)'), GeomFromEWKT('SRID=4674;POINT (-39.368959 -3.082224)'))) / (select extract(epoch from '2026-07-17 15:38:15'::timestamp) - extract(epoch from '2026-07-17 15:38:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.368953 -3.082248)', '2026-07-17 15:38:17', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368959 -3.082224)'), GeomFromEWKT('SRID=4674;POINT (-39.368953 -3.082248)'))) / (select extract(epoch from '2026-07-17 15:38:17'::timestamp) - extract(epoch from '2026-07-17 15:38:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368959 -3.082224)'), GeomFromEWKT('SRID=4674;POINT (-39.368953 -3.082248)'))) / (select extract(epoch from '2026-07-17 15:38:17'::timestamp) - extract(epoch from '2026-07-17 15:38: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'), 47509, 'SRID=4674;POINT (-39.368956 -3.082277)', '2026-07-17 15:38:19', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368953 -3.082248)'), GeomFromEWKT('SRID=4674;POINT (-39.368956 -3.082277)'))) / (select extract(epoch from '2026-07-17 15:38:19'::timestamp) - extract(epoch from '2026-07-17 15:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368953 -3.082248)'), GeomFromEWKT('SRID=4674;POINT (-39.368956 -3.082277)'))) / (select extract(epoch from '2026-07-17 15:38:19'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47509, 'SRID=4674;POINT (-39.368958 -3.082293)', '2026-07-17 15:38:20', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368956 -3.082277)'), GeomFromEWKT('SRID=4674;POINT (-39.368958 -3.082293)'))) / (select extract(epoch from '2026-07-17 15:38:20'::timestamp) - extract(epoch from '2026-07-17 15:38:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368956 -3.082277)'), GeomFromEWKT('SRID=4674;POINT (-39.368958 -3.082293)'))) / (select extract(epoch from '2026-07-17 15:38:20'::timestamp) - extract(epoch from '2026-07-17 15:38:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.368956 -3.082349)', '2026-07-17 15:38:24', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368958 -3.082293)'), GeomFromEWKT('SRID=4674;POINT (-39.368956 -3.082349)'))) / (select extract(epoch from '2026-07-17 15:38:24'::timestamp) - extract(epoch from '2026-07-17 15:38:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368958 -3.082293)'), GeomFromEWKT('SRID=4674;POINT (-39.368956 -3.082349)'))) / (select extract(epoch from '2026-07-17 15:38:24'::timestamp) - extract(epoch from '2026-07-17 15:38:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.368966 -3.08247)', '2026-07-17 15:38:31', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368956 -3.082349)'), GeomFromEWKT('SRID=4674;POINT (-39.368966 -3.08247)'))) / (select extract(epoch from '2026-07-17 15:38:31'::timestamp) - extract(epoch from '2026-07-17 15:38:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368956 -3.082349)'), GeomFromEWKT('SRID=4674;POINT (-39.368966 -3.08247)'))) / (select extract(epoch from '2026-07-17 15:38:31'::timestamp) - extract(epoch from '2026-07-17 15:38: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'), 47509, 'SRID=4674;POINT (-39.368978 -3.08259)', '2026-07-17 15:38:37', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368966 -3.08247)'), GeomFromEWKT('SRID=4674;POINT (-39.368978 -3.08259)'))) / (select extract(epoch from '2026-07-17 15:38:37'::timestamp) - extract(epoch from '2026-07-17 15:38:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368966 -3.08247)'), GeomFromEWKT('SRID=4674;POINT (-39.368978 -3.08259)'))) / (select extract(epoch from '2026-07-17 15:38:37'::timestamp) - extract(epoch from '2026-07-17 15:38: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'), 47509, 'SRID=4674;POINT (-39.368987 -3.082691)', '2026-07-17 15:38:42', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368978 -3.08259)'), GeomFromEWKT('SRID=4674;POINT (-39.368987 -3.082691)'))) / (select extract(epoch from '2026-07-17 15:38:42'::timestamp) - extract(epoch from '2026-07-17 15:38:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368978 -3.08259)'), GeomFromEWKT('SRID=4674;POINT (-39.368987 -3.082691)'))) / (select extract(epoch from '2026-07-17 15:38:42'::timestamp) - extract(epoch from '2026-07-17 15:38:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.368996 -3.082815)', '2026-07-17 15:38:48', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368987 -3.082691)'), GeomFromEWKT('SRID=4674;POINT (-39.368996 -3.082815)'))) / (select extract(epoch from '2026-07-17 15:38:48'::timestamp) - extract(epoch from '2026-07-17 15:38:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368987 -3.082691)'), GeomFromEWKT('SRID=4674;POINT (-39.368996 -3.082815)'))) / (select extract(epoch from '2026-07-17 15:38:48'::timestamp) - extract(epoch from '2026-07-17 15:38: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'), 47509, 'SRID=4674;POINT (-39.368996 -3.082836)', '2026-07-17 15:38:49', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368996 -3.082815)'), GeomFromEWKT('SRID=4674;POINT (-39.368996 -3.082836)'))) / (select extract(epoch from '2026-07-17 15:38:49'::timestamp) - extract(epoch from '2026-07-17 15:38:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368996 -3.082815)'), GeomFromEWKT('SRID=4674;POINT (-39.368996 -3.082836)'))) / (select extract(epoch from '2026-07-17 15:38:49'::timestamp) - extract(epoch from '2026-07-17 15:38: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'), 47509, 'SRID=4674;POINT (-39.368999 -3.0829)', '2026-07-17 15:38:52', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368996 -3.082836)'), GeomFromEWKT('SRID=4674;POINT (-39.368999 -3.0829)'))) / (select extract(epoch from '2026-07-17 15:38:52'::timestamp) - extract(epoch from '2026-07-17 15:38:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368996 -3.082836)'), GeomFromEWKT('SRID=4674;POINT (-39.368999 -3.0829)'))) / (select extract(epoch from '2026-07-17 15:38:52'::timestamp) - extract(epoch from '2026-07-17 15:38:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369015 -3.083019)', '2026-07-17 15:38:58', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368999 -3.0829)'), GeomFromEWKT('SRID=4674;POINT (-39.369015 -3.083019)'))) / (select extract(epoch from '2026-07-17 15:38:58'::timestamp) - extract(epoch from '2026-07-17 15:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368999 -3.0829)'), GeomFromEWKT('SRID=4674;POINT (-39.369015 -3.083019)'))) / (select extract(epoch from '2026-07-17 15:38:58'::timestamp) - extract(epoch from '2026-07-17 15:38:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369014 -3.083122)', '2026-07-17 15:39:03', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369015 -3.083019)'), GeomFromEWKT('SRID=4674;POINT (-39.369014 -3.083122)'))) / (select extract(epoch from '2026-07-17 15:39:03'::timestamp) - extract(epoch from '2026-07-17 15:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369015 -3.083019)'), GeomFromEWKT('SRID=4674;POINT (-39.369014 -3.083122)'))) / (select extract(epoch from '2026-07-17 15:39:03'::timestamp) - extract(epoch from '2026-07-17 15:38: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'), 47509, 'SRID=4674;POINT (-39.369021 -3.083226)', '2026-07-17 15:39:08', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369014 -3.083122)'), GeomFromEWKT('SRID=4674;POINT (-39.369021 -3.083226)'))) / (select extract(epoch from '2026-07-17 15:39:08'::timestamp) - extract(epoch from '2026-07-17 15:39:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369014 -3.083122)'), GeomFromEWKT('SRID=4674;POINT (-39.369021 -3.083226)'))) / (select extract(epoch from '2026-07-17 15:39:08'::timestamp) - extract(epoch from '2026-07-17 15:39: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'), 47509, 'SRID=4674;POINT (-39.369043 -3.083363)', '2026-07-17 15:39:14', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369021 -3.083226)'), GeomFromEWKT('SRID=4674;POINT (-39.369043 -3.083363)'))) / (select extract(epoch from '2026-07-17 15:39:14'::timestamp) - extract(epoch from '2026-07-17 15:39:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369021 -3.083226)'), GeomFromEWKT('SRID=4674;POINT (-39.369043 -3.083363)'))) / (select extract(epoch from '2026-07-17 15:39:14'::timestamp) - extract(epoch from '2026-07-17 15:39: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'), 47509, 'SRID=4674;POINT (-39.369068 -3.083501)', '2026-07-17 15:39:21', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369043 -3.083363)'), GeomFromEWKT('SRID=4674;POINT (-39.369068 -3.083501)'))) / (select extract(epoch from '2026-07-17 15:39:21'::timestamp) - extract(epoch from '2026-07-17 15:39:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369043 -3.083363)'), GeomFromEWKT('SRID=4674;POINT (-39.369068 -3.083501)'))) / (select extract(epoch from '2026-07-17 15:39:21'::timestamp) - extract(epoch from '2026-07-17 15:39: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'), 47509, 'SRID=4674;POINT (-39.369098 -3.083598)', '2026-07-17 15:39:26', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369068 -3.083501)'), GeomFromEWKT('SRID=4674;POINT (-39.369098 -3.083598)'))) / (select extract(epoch from '2026-07-17 15:39:26'::timestamp) - extract(epoch from '2026-07-17 15:39:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369068 -3.083501)'), GeomFromEWKT('SRID=4674;POINT (-39.369098 -3.083598)'))) / (select extract(epoch from '2026-07-17 15:39:26'::timestamp) - extract(epoch from '2026-07-17 15:39: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'), 47509, 'SRID=4674;POINT (-39.369129 -3.083692)', '2026-07-17 15:39:31', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369098 -3.083598)'), GeomFromEWKT('SRID=4674;POINT (-39.369129 -3.083692)'))) / (select extract(epoch from '2026-07-17 15:39:31'::timestamp) - extract(epoch from '2026-07-17 15:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369098 -3.083598)'), GeomFromEWKT('SRID=4674;POINT (-39.369129 -3.083692)'))) / (select extract(epoch from '2026-07-17 15:39:31'::timestamp) - extract(epoch from '2026-07-17 15:39:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.36916 -3.083785)', '2026-07-17 15:39:36', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369129 -3.083692)'), GeomFromEWKT('SRID=4674;POINT (-39.36916 -3.083785)'))) / (select extract(epoch from '2026-07-17 15:39:36'::timestamp) - extract(epoch from '2026-07-17 15:39:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369129 -3.083692)'), GeomFromEWKT('SRID=4674;POINT (-39.36916 -3.083785)'))) / (select extract(epoch from '2026-07-17 15:39:36'::timestamp) - extract(epoch from '2026-07-17 15:39:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369198 -3.083891)', '2026-07-17 15:39:41', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36916 -3.083785)'), GeomFromEWKT('SRID=4674;POINT (-39.369198 -3.083891)'))) / (select extract(epoch from '2026-07-17 15:39:41'::timestamp) - extract(epoch from '2026-07-17 15:39:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36916 -3.083785)'), GeomFromEWKT('SRID=4674;POINT (-39.369198 -3.083891)'))) / (select extract(epoch from '2026-07-17 15:39:41'::timestamp) - extract(epoch from '2026-07-17 15:39: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'), 47509, 'SRID=4674;POINT (-39.3692 -3.083914)', '2026-07-17 15:39:42', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369198 -3.083891)'), GeomFromEWKT('SRID=4674;POINT (-39.3692 -3.083914)'))) / (select extract(epoch from '2026-07-17 15:39:42'::timestamp) - extract(epoch from '2026-07-17 15:39:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369198 -3.083891)'), GeomFromEWKT('SRID=4674;POINT (-39.3692 -3.083914)'))) / (select extract(epoch from '2026-07-17 15:39:42'::timestamp) - extract(epoch from '2026-07-17 15:39: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'), 47509, 'SRID=4674;POINT (-39.369239 -3.084067)', '2026-07-17 15:39:49', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3692 -3.083914)'), GeomFromEWKT('SRID=4674;POINT (-39.369239 -3.084067)'))) / (select extract(epoch from '2026-07-17 15:39:49'::timestamp) - extract(epoch from '2026-07-17 15:39:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3692 -3.083914)'), GeomFromEWKT('SRID=4674;POINT (-39.369239 -3.084067)'))) / (select extract(epoch from '2026-07-17 15:39:49'::timestamp) - extract(epoch from '2026-07-17 15:39: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'), 47509, 'SRID=4674;POINT (-39.369275 -3.084162)', '2026-07-17 15:39:54', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369239 -3.084067)'), GeomFromEWKT('SRID=4674;POINT (-39.369275 -3.084162)'))) / (select extract(epoch from '2026-07-17 15:39:54'::timestamp) - extract(epoch from '2026-07-17 15:39:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369239 -3.084067)'), GeomFromEWKT('SRID=4674;POINT (-39.369275 -3.084162)'))) / (select extract(epoch from '2026-07-17 15:39:54'::timestamp) - extract(epoch from '2026-07-17 15:39: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'), 47509, 'SRID=4674;POINT (-39.369307 -3.084269)', '2026-07-17 15:39:59', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369275 -3.084162)'), GeomFromEWKT('SRID=4674;POINT (-39.369307 -3.084269)'))) / (select extract(epoch from '2026-07-17 15:39:59'::timestamp) - extract(epoch from '2026-07-17 15:39:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369275 -3.084162)'), GeomFromEWKT('SRID=4674;POINT (-39.369307 -3.084269)'))) / (select extract(epoch from '2026-07-17 15:39:59'::timestamp) - extract(epoch from '2026-07-17 15:39:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369341 -3.084376)', '2026-07-17 15:40:04', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369307 -3.084269)'), GeomFromEWKT('SRID=4674;POINT (-39.369341 -3.084376)'))) / (select extract(epoch from '2026-07-17 15:40:04'::timestamp) - extract(epoch from '2026-07-17 15:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369307 -3.084269)'), GeomFromEWKT('SRID=4674;POINT (-39.369341 -3.084376)'))) / (select extract(epoch from '2026-07-17 15:40:04'::timestamp) - extract(epoch from '2026-07-17 15:39: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'), 47509, 'SRID=4674;POINT (-39.369374 -3.084487)', '2026-07-17 15:40:09', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369341 -3.084376)'), GeomFromEWKT('SRID=4674;POINT (-39.369374 -3.084487)'))) / (select extract(epoch from '2026-07-17 15:40:09'::timestamp) - extract(epoch from '2026-07-17 15:40:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369341 -3.084376)'), GeomFromEWKT('SRID=4674;POINT (-39.369374 -3.084487)'))) / (select extract(epoch from '2026-07-17 15:40:09'::timestamp) - extract(epoch from '2026-07-17 15:40: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'), 47509, 'SRID=4674;POINT (-39.3694 -3.084577)', '2026-07-17 15:40:13', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369374 -3.084487)'), GeomFromEWKT('SRID=4674;POINT (-39.3694 -3.084577)'))) / (select extract(epoch from '2026-07-17 15:40:13'::timestamp) - extract(epoch from '2026-07-17 15:40:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369374 -3.084487)'), GeomFromEWKT('SRID=4674;POINT (-39.3694 -3.084577)'))) / (select extract(epoch from '2026-07-17 15:40:13'::timestamp) - extract(epoch from '2026-07-17 15:40:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369435 -3.084674)', '2026-07-17 15:40:18', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3694 -3.084577)'), GeomFromEWKT('SRID=4674;POINT (-39.369435 -3.084674)'))) / (select extract(epoch from '2026-07-17 15:40:18'::timestamp) - extract(epoch from '2026-07-17 15:40:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3694 -3.084577)'), GeomFromEWKT('SRID=4674;POINT (-39.369435 -3.084674)'))) / (select extract(epoch from '2026-07-17 15:40:18'::timestamp) - extract(epoch from '2026-07-17 15:40: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'), 47509, 'SRID=4674;POINT (-39.369483 -3.084773)', '2026-07-17 15:40:23', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369435 -3.084674)'), GeomFromEWKT('SRID=4674;POINT (-39.369483 -3.084773)'))) / (select extract(epoch from '2026-07-17 15:40:23'::timestamp) - extract(epoch from '2026-07-17 15:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369435 -3.084674)'), GeomFromEWKT('SRID=4674;POINT (-39.369483 -3.084773)'))) / (select extract(epoch from '2026-07-17 15:40:23'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47509, 'SRID=4674;POINT (-39.369516 -3.084894)', '2026-07-17 15:40:29', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369483 -3.084773)'), GeomFromEWKT('SRID=4674;POINT (-39.369516 -3.084894)'))) / (select extract(epoch from '2026-07-17 15:40:29'::timestamp) - extract(epoch from '2026-07-17 15:40:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369483 -3.084773)'), GeomFromEWKT('SRID=4674;POINT (-39.369516 -3.084894)'))) / (select extract(epoch from '2026-07-17 15:40:29'::timestamp) - extract(epoch from '2026-07-17 15:40: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'), 47509, 'SRID=4674;POINT (-39.369533 -3.084973)', '2026-07-17 15:40:33', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369516 -3.084894)'), GeomFromEWKT('SRID=4674;POINT (-39.369533 -3.084973)'))) / (select extract(epoch from '2026-07-17 15:40:33'::timestamp) - extract(epoch from '2026-07-17 15:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369516 -3.084894)'), GeomFromEWKT('SRID=4674;POINT (-39.369533 -3.084973)'))) / (select extract(epoch from '2026-07-17 15:40:33'::timestamp) - extract(epoch from '2026-07-17 15:40:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369538 -3.084994)', '2026-07-17 15:40:34', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369533 -3.084973)'), GeomFromEWKT('SRID=4674;POINT (-39.369538 -3.084994)'))) / (select extract(epoch from '2026-07-17 15:40:34'::timestamp) - extract(epoch from '2026-07-17 15:40:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369533 -3.084973)'), GeomFromEWKT('SRID=4674;POINT (-39.369538 -3.084994)'))) / (select extract(epoch from '2026-07-17 15:40:34'::timestamp) - extract(epoch from '2026-07-17 15:40:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369568 -3.085097)', '2026-07-17 15:40:39', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369538 -3.084994)'), GeomFromEWKT('SRID=4674;POINT (-39.369568 -3.085097)'))) / (select extract(epoch from '2026-07-17 15:40:39'::timestamp) - extract(epoch from '2026-07-17 15:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369538 -3.084994)'), GeomFromEWKT('SRID=4674;POINT (-39.369568 -3.085097)'))) / (select extract(epoch from '2026-07-17 15:40:39'::timestamp) - extract(epoch from '2026-07-17 15:40: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'), 47509, 'SRID=4674;POINT (-39.369581 -3.08514)', '2026-07-17 15:40:41', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369568 -3.085097)'), GeomFromEWKT('SRID=4674;POINT (-39.369581 -3.08514)'))) / (select extract(epoch from '2026-07-17 15:40:41'::timestamp) - extract(epoch from '2026-07-17 15:40:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369568 -3.085097)'), GeomFromEWKT('SRID=4674;POINT (-39.369581 -3.08514)'))) / (select extract(epoch from '2026-07-17 15:40:41'::timestamp) - extract(epoch from '2026-07-17 15:40: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'), 47509, 'SRID=4674;POINT (-39.369577 -3.085171)', '2026-07-17 15:40:43', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369581 -3.08514)'), GeomFromEWKT('SRID=4674;POINT (-39.369577 -3.085171)'))) / (select extract(epoch from '2026-07-17 15:40:43'::timestamp) - extract(epoch from '2026-07-17 15:40:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369581 -3.08514)'), GeomFromEWKT('SRID=4674;POINT (-39.369577 -3.085171)'))) / (select extract(epoch from '2026-07-17 15:40:43'::timestamp) - extract(epoch from '2026-07-17 15:40:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369561 -3.08519)', '2026-07-17 15:40:45', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369577 -3.085171)'), GeomFromEWKT('SRID=4674;POINT (-39.369561 -3.08519)'))) / (select extract(epoch from '2026-07-17 15:40:45'::timestamp) - extract(epoch from '2026-07-17 15:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369577 -3.085171)'), GeomFromEWKT('SRID=4674;POINT (-39.369561 -3.08519)'))) / (select extract(epoch from '2026-07-17 15:40:45'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47509, 'SRID=4674;POINT (-39.369532 -3.085207)', '2026-07-17 15:40:48', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369561 -3.08519)'), GeomFromEWKT('SRID=4674;POINT (-39.369532 -3.085207)'))) / (select extract(epoch from '2026-07-17 15:40:48'::timestamp) - extract(epoch from '2026-07-17 15:40:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369561 -3.08519)'), GeomFromEWKT('SRID=4674;POINT (-39.369532 -3.085207)'))) / (select extract(epoch from '2026-07-17 15:40:48'::timestamp) - extract(epoch from '2026-07-17 15:40: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'), 47509, 'SRID=4674;POINT (-39.3695 -3.085219)', '2026-07-17 15:40:51', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369532 -3.085207)'), GeomFromEWKT('SRID=4674;POINT (-39.3695 -3.085219)'))) / (select extract(epoch from '2026-07-17 15:40:51'::timestamp) - extract(epoch from '2026-07-17 15:40:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369532 -3.085207)'), GeomFromEWKT('SRID=4674;POINT (-39.3695 -3.085219)'))) / (select extract(epoch from '2026-07-17 15:40:51'::timestamp) - extract(epoch from '2026-07-17 15:40: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'), 47509, 'SRID=4674;POINT (-39.369479 -3.085228)', '2026-07-17 15:40:53', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3695 -3.085219)'), GeomFromEWKT('SRID=4674;POINT (-39.369479 -3.085228)'))) / (select extract(epoch from '2026-07-17 15:40:53'::timestamp) - extract(epoch from '2026-07-17 15:40:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3695 -3.085219)'), GeomFromEWKT('SRID=4674;POINT (-39.369479 -3.085228)'))) / (select extract(epoch from '2026-07-17 15:40:53'::timestamp) - extract(epoch from '2026-07-17 15:40: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'), 47509, 'SRID=4674;POINT (-39.369431 -3.085243)', '2026-07-17 15:40:57', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369479 -3.085228)'), GeomFromEWKT('SRID=4674;POINT (-39.369431 -3.085243)'))) / (select extract(epoch from '2026-07-17 15:40:57'::timestamp) - extract(epoch from '2026-07-17 15:40:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369479 -3.085228)'), GeomFromEWKT('SRID=4674;POINT (-39.369431 -3.085243)'))) / (select extract(epoch from '2026-07-17 15:40:57'::timestamp) - extract(epoch from '2026-07-17 15:40: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'), 47509, 'SRID=4674;POINT (-39.369405 -3.085246)', '2026-07-17 15:40:59', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369431 -3.085243)'), GeomFromEWKT('SRID=4674;POINT (-39.369405 -3.085246)'))) / (select extract(epoch from '2026-07-17 15:40:59'::timestamp) - extract(epoch from '2026-07-17 15:40:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369431 -3.085243)'), GeomFromEWKT('SRID=4674;POINT (-39.369405 -3.085246)'))) / (select extract(epoch from '2026-07-17 15:40:59'::timestamp) - extract(epoch from '2026-07-17 15:40: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'), 47509, 'SRID=4674;POINT (-39.36938 -3.08525)', '2026-07-17 15:41:01', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369405 -3.085246)'), GeomFromEWKT('SRID=4674;POINT (-39.36938 -3.08525)'))) / (select extract(epoch from '2026-07-17 15:41:01'::timestamp) - extract(epoch from '2026-07-17 15:40:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369405 -3.085246)'), GeomFromEWKT('SRID=4674;POINT (-39.36938 -3.08525)'))) / (select extract(epoch from '2026-07-17 15:41:01'::timestamp) - extract(epoch from '2026-07-17 15:40: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'), 47509, 'SRID=4674;POINT (-39.369332 -3.085251)', '2026-07-17 15:41:04', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36938 -3.08525)'), GeomFromEWKT('SRID=4674;POINT (-39.369332 -3.085251)'))) / (select extract(epoch from '2026-07-17 15:41:04'::timestamp) - extract(epoch from '2026-07-17 15:41:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36938 -3.08525)'), GeomFromEWKT('SRID=4674;POINT (-39.369332 -3.085251)'))) / (select extract(epoch from '2026-07-17 15:41:04'::timestamp) - extract(epoch from '2026-07-17 15:41: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'), 47509, 'SRID=4674;POINT (-39.369303 -3.085249)', '2026-07-17 15:41:06', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369332 -3.085251)'), GeomFromEWKT('SRID=4674;POINT (-39.369303 -3.085249)'))) / (select extract(epoch from '2026-07-17 15:41:06'::timestamp) - extract(epoch from '2026-07-17 15:41:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369332 -3.085251)'), GeomFromEWKT('SRID=4674;POINT (-39.369303 -3.085249)'))) / (select extract(epoch from '2026-07-17 15:41:06'::timestamp) - extract(epoch from '2026-07-17 15:41: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'), 47509, 'SRID=4674;POINT (-39.369257 -3.085249)', '2026-07-17 15:41:09', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369303 -3.085249)'), GeomFromEWKT('SRID=4674;POINT (-39.369257 -3.085249)'))) / (select extract(epoch from '2026-07-17 15:41:09'::timestamp) - extract(epoch from '2026-07-17 15:41:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369303 -3.085249)'), GeomFromEWKT('SRID=4674;POINT (-39.369257 -3.085249)'))) / (select extract(epoch from '2026-07-17 15:41:09'::timestamp) - extract(epoch from '2026-07-17 15:41: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'), 47509, 'SRID=4674;POINT (-39.369167 -3.085258)', '2026-07-17 15:41:15', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369257 -3.085249)'), GeomFromEWKT('SRID=4674;POINT (-39.369167 -3.085258)'))) / (select extract(epoch from '2026-07-17 15:41:15'::timestamp) - extract(epoch from '2026-07-17 15:41:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369257 -3.085249)'), GeomFromEWKT('SRID=4674;POINT (-39.369167 -3.085258)'))) / (select extract(epoch from '2026-07-17 15:41:15'::timestamp) - extract(epoch from '2026-07-17 15:41:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369084 -3.085273)', '2026-07-17 15:41:21', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369167 -3.085258)'), GeomFromEWKT('SRID=4674;POINT (-39.369084 -3.085273)'))) / (select extract(epoch from '2026-07-17 15:41:21'::timestamp) - extract(epoch from '2026-07-17 15:41:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369167 -3.085258)'), GeomFromEWKT('SRID=4674;POINT (-39.369084 -3.085273)'))) / (select extract(epoch from '2026-07-17 15:41:21'::timestamp) - extract(epoch from '2026-07-17 15:41: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'), 47509, 'SRID=4674;POINT (-39.369013 -3.085285)', '2026-07-17 15:41:26', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369084 -3.085273)'), GeomFromEWKT('SRID=4674;POINT (-39.369013 -3.085285)'))) / (select extract(epoch from '2026-07-17 15:41:26'::timestamp) - extract(epoch from '2026-07-17 15:41:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369084 -3.085273)'), GeomFromEWKT('SRID=4674;POINT (-39.369013 -3.085285)'))) / (select extract(epoch from '2026-07-17 15:41:26'::timestamp) - extract(epoch from '2026-07-17 15:41: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'), 47509, 'SRID=4674;POINT (-39.368996 -3.085286)', '2026-07-17 15:41:27', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369013 -3.085285)'), GeomFromEWKT('SRID=4674;POINT (-39.368996 -3.085286)'))) / (select extract(epoch from '2026-07-17 15:41:27'::timestamp) - extract(epoch from '2026-07-17 15:41:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369013 -3.085285)'), GeomFromEWKT('SRID=4674;POINT (-39.368996 -3.085286)'))) / (select extract(epoch from '2026-07-17 15:41:27'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47509, 'SRID=4674;POINT (-39.368965 -3.085287)', '2026-07-17 15:41:29', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368996 -3.085286)'), GeomFromEWKT('SRID=4674;POINT (-39.368965 -3.085287)'))) / (select extract(epoch from '2026-07-17 15:41:29'::timestamp) - extract(epoch from '2026-07-17 15:41:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368996 -3.085286)'), GeomFromEWKT('SRID=4674;POINT (-39.368965 -3.085287)'))) / (select extract(epoch from '2026-07-17 15:41:29'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47509, 'SRID=4674;POINT (-39.368953 -3.085287)', '2026-07-17 15:41:30', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368965 -3.085287)'), GeomFromEWKT('SRID=4674;POINT (-39.368953 -3.085287)'))) / (select extract(epoch from '2026-07-17 15:41:30'::timestamp) - extract(epoch from '2026-07-17 15:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368965 -3.085287)'), GeomFromEWKT('SRID=4674;POINT (-39.368953 -3.085287)'))) / (select extract(epoch from '2026-07-17 15:41:30'::timestamp) - extract(epoch from '2026-07-17 15:41:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.368868 -3.085285)', '2026-07-17 15:41:36', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368953 -3.085287)'), GeomFromEWKT('SRID=4674;POINT (-39.368868 -3.085285)'))) / (select extract(epoch from '2026-07-17 15:41:36'::timestamp) - extract(epoch from '2026-07-17 15:41:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368953 -3.085287)'), GeomFromEWKT('SRID=4674;POINT (-39.368868 -3.085285)'))) / (select extract(epoch from '2026-07-17 15:41:36'::timestamp) - extract(epoch from '2026-07-17 15:41:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.368776 -3.085285)', '2026-07-17 15:41:42', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368868 -3.085285)'), GeomFromEWKT('SRID=4674;POINT (-39.368776 -3.085285)'))) / (select extract(epoch from '2026-07-17 15:41:42'::timestamp) - extract(epoch from '2026-07-17 15:41:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368868 -3.085285)'), GeomFromEWKT('SRID=4674;POINT (-39.368776 -3.085285)'))) / (select extract(epoch from '2026-07-17 15:41:42'::timestamp) - extract(epoch from '2026-07-17 15:41:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.36876 -3.085287)', '2026-07-17 15:41:43', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368776 -3.085285)'), GeomFromEWKT('SRID=4674;POINT (-39.36876 -3.085287)'))) / (select extract(epoch from '2026-07-17 15:41:43'::timestamp) - extract(epoch from '2026-07-17 15:41:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368776 -3.085285)'), GeomFromEWKT('SRID=4674;POINT (-39.36876 -3.085287)'))) / (select extract(epoch from '2026-07-17 15:41:43'::timestamp) - extract(epoch from '2026-07-17 15:41: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'), 47509, 'SRID=4674;POINT (-39.368712 -3.085296)', '2026-07-17 15:41:46', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36876 -3.085287)'), GeomFromEWKT('SRID=4674;POINT (-39.368712 -3.085296)'))) / (select extract(epoch from '2026-07-17 15:41:46'::timestamp) - extract(epoch from '2026-07-17 15:41:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36876 -3.085287)'), GeomFromEWKT('SRID=4674;POINT (-39.368712 -3.085296)'))) / (select extract(epoch from '2026-07-17 15:41:46'::timestamp) - extract(epoch from '2026-07-17 15:41:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.368617 -3.085306)', '2026-07-17 15:41:52', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368712 -3.085296)'), GeomFromEWKT('SRID=4674;POINT (-39.368617 -3.085306)'))) / (select extract(epoch from '2026-07-17 15:41:52'::timestamp) - extract(epoch from '2026-07-17 15:41:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368712 -3.085296)'), GeomFromEWKT('SRID=4674;POINT (-39.368617 -3.085306)'))) / (select extract(epoch from '2026-07-17 15:41:52'::timestamp) - extract(epoch from '2026-07-17 15:41: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'), 47509, 'SRID=4674;POINT (-39.368567 -3.085316)', '2026-07-17 15:41:58', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368617 -3.085306)'), GeomFromEWKT('SRID=4674;POINT (-39.368567 -3.085316)'))) / (select extract(epoch from '2026-07-17 15:41:58'::timestamp) - extract(epoch from '2026-07-17 15:41:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368617 -3.085306)'), GeomFromEWKT('SRID=4674;POINT (-39.368567 -3.085316)'))) / (select extract(epoch from '2026-07-17 15:41:58'::timestamp) - extract(epoch from '2026-07-17 15:41: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'), 47509, 'SRID=4674;POINT (-39.36854 -3.085319)', '2026-07-17 15:42:05', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368567 -3.085316)'), GeomFromEWKT('SRID=4674;POINT (-39.36854 -3.085319)'))) / (select extract(epoch from '2026-07-17 15:42:05'::timestamp) - extract(epoch from '2026-07-17 15:41:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368567 -3.085316)'), GeomFromEWKT('SRID=4674;POINT (-39.36854 -3.085319)'))) / (select extract(epoch from '2026-07-17 15:42:05'::timestamp) - extract(epoch from '2026-07-17 15:41: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'), 47509, 'SRID=4674;POINT (-39.368604 -3.085322)', '2026-07-17 15:42:33', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36854 -3.085319)'), GeomFromEWKT('SRID=4674;POINT (-39.368604 -3.085322)'))) / (select extract(epoch from '2026-07-17 15:42:33'::timestamp) - extract(epoch from '2026-07-17 15:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36854 -3.085319)'), GeomFromEWKT('SRID=4674;POINT (-39.368604 -3.085322)'))) / (select extract(epoch from '2026-07-17 15:42:33'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47509, 'SRID=4674;POINT (-39.368627 -3.085317)', '2026-07-17 15:42:39', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368604 -3.085322)'), GeomFromEWKT('SRID=4674;POINT (-39.368627 -3.085317)'))) / (select extract(epoch from '2026-07-17 15:42:39'::timestamp) - extract(epoch from '2026-07-17 15:42:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368604 -3.085322)'), GeomFromEWKT('SRID=4674;POINT (-39.368627 -3.085317)'))) / (select extract(epoch from '2026-07-17 15:42:39'::timestamp) - extract(epoch from '2026-07-17 15:42: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'), 47509, 'SRID=4674;POINT (-39.368657 -3.08533)', '2026-07-17 15:42:44', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368627 -3.085317)'), GeomFromEWKT('SRID=4674;POINT (-39.368657 -3.08533)'))) / (select extract(epoch from '2026-07-17 15:42:44'::timestamp) - extract(epoch from '2026-07-17 15:42:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368627 -3.085317)'), GeomFromEWKT('SRID=4674;POINT (-39.368657 -3.08533)'))) / (select extract(epoch from '2026-07-17 15:42:44'::timestamp) - extract(epoch from '2026-07-17 15:42: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'), 47509, 'SRID=4674;POINT (-39.368687 -3.085342)', '2026-07-17 15:42:50', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368657 -3.08533)'), GeomFromEWKT('SRID=4674;POINT (-39.368687 -3.085342)'))) / (select extract(epoch from '2026-07-17 15:42:50'::timestamp) - extract(epoch from '2026-07-17 15:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368657 -3.08533)'), GeomFromEWKT('SRID=4674;POINT (-39.368687 -3.085342)'))) / (select extract(epoch from '2026-07-17 15:42:50'::timestamp) - extract(epoch from '2026-07-17 15:42: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'), 47509, 'SRID=4674;POINT (-39.368724 -3.085342)', '2026-07-17 15:42:56', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368687 -3.085342)'), GeomFromEWKT('SRID=4674;POINT (-39.368724 -3.085342)'))) / (select extract(epoch from '2026-07-17 15:42:56'::timestamp) - extract(epoch from '2026-07-17 15:42:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368687 -3.085342)'), GeomFromEWKT('SRID=4674;POINT (-39.368724 -3.085342)'))) / (select extract(epoch from '2026-07-17 15:42:56'::timestamp) - extract(epoch from '2026-07-17 15:42: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'), 47509, 'SRID=4674;POINT (-39.368746 -3.08534)', '2026-07-17 15:43:01', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368724 -3.085342)'), GeomFromEWKT('SRID=4674;POINT (-39.368746 -3.08534)'))) / (select extract(epoch from '2026-07-17 15:43:01'::timestamp) - extract(epoch from '2026-07-17 15:42:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368724 -3.085342)'), GeomFromEWKT('SRID=4674;POINT (-39.368746 -3.08534)'))) / (select extract(epoch from '2026-07-17 15:43:01'::timestamp) - extract(epoch from '2026-07-17 15:42: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'), 47509, 'SRID=4674;POINT (-39.36879 -3.085348)', '2026-07-17 15:43:09', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368746 -3.08534)'), GeomFromEWKT('SRID=4674;POINT (-39.36879 -3.085348)'))) / (select extract(epoch from '2026-07-17 15:43:09'::timestamp) - extract(epoch from '2026-07-17 15:43:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368746 -3.08534)'), GeomFromEWKT('SRID=4674;POINT (-39.36879 -3.085348)'))) / (select extract(epoch from '2026-07-17 15:43:09'::timestamp) - extract(epoch from '2026-07-17 15:43:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.368834 -3.085356)', '2026-07-17 15:43:18', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36879 -3.085348)'), GeomFromEWKT('SRID=4674;POINT (-39.368834 -3.085356)'))) / (select extract(epoch from '2026-07-17 15:43:18'::timestamp) - extract(epoch from '2026-07-17 15:43:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36879 -3.085348)'), GeomFromEWKT('SRID=4674;POINT (-39.368834 -3.085356)'))) / (select extract(epoch from '2026-07-17 15:43:18'::timestamp) - extract(epoch from '2026-07-17 15:43: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'), 47509, 'SRID=4674;POINT (-39.36888 -3.085354)', '2026-07-17 15:43:25', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368834 -3.085356)'), GeomFromEWKT('SRID=4674;POINT (-39.36888 -3.085354)'))) / (select extract(epoch from '2026-07-17 15:43:25'::timestamp) - extract(epoch from '2026-07-17 15:43:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368834 -3.085356)'), GeomFromEWKT('SRID=4674;POINT (-39.36888 -3.085354)'))) / (select extract(epoch from '2026-07-17 15:43:25'::timestamp) - extract(epoch from '2026-07-17 15:43: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'), 47509, 'SRID=4674;POINT (-39.36892 -3.085358)', '2026-07-17 15:43:33', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36888 -3.085354)'), GeomFromEWKT('SRID=4674;POINT (-39.36892 -3.085358)'))) / (select extract(epoch from '2026-07-17 15:43:33'::timestamp) - extract(epoch from '2026-07-17 15:43:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36888 -3.085354)'), GeomFromEWKT('SRID=4674;POINT (-39.36892 -3.085358)'))) / (select extract(epoch from '2026-07-17 15:43:33'::timestamp) - extract(epoch from '2026-07-17 15:43: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'), 47509, 'SRID=4674;POINT (-39.368957 -3.085355)', '2026-07-17 15:43:40', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36892 -3.085358)'), GeomFromEWKT('SRID=4674;POINT (-39.368957 -3.085355)'))) / (select extract(epoch from '2026-07-17 15:43:40'::timestamp) - extract(epoch from '2026-07-17 15:43:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36892 -3.085358)'), GeomFromEWKT('SRID=4674;POINT (-39.368957 -3.085355)'))) / (select extract(epoch from '2026-07-17 15:43:40'::timestamp) - extract(epoch from '2026-07-17 15:43: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'), 47509, 'SRID=4674;POINT (-39.368983 -3.085358)', '2026-07-17 15:43:44', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368957 -3.085355)'), GeomFromEWKT('SRID=4674;POINT (-39.368983 -3.085358)'))) / (select extract(epoch from '2026-07-17 15:43:44'::timestamp) - extract(epoch from '2026-07-17 15:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368957 -3.085355)'), GeomFromEWKT('SRID=4674;POINT (-39.368983 -3.085358)'))) / (select extract(epoch from '2026-07-17 15:43:44'::timestamp) - extract(epoch from '2026-07-17 15:43:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.368997 -3.085362)', '2026-07-17 15:43:47', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368983 -3.085358)'), GeomFromEWKT('SRID=4674;POINT (-39.368997 -3.085362)'))) / (select extract(epoch from '2026-07-17 15:43:47'::timestamp) - extract(epoch from '2026-07-17 15:43:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368983 -3.085358)'), GeomFromEWKT('SRID=4674;POINT (-39.368997 -3.085362)'))) / (select extract(epoch from '2026-07-17 15:43:47'::timestamp) - extract(epoch from '2026-07-17 15:43: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'), 47509, 'SRID=4674;POINT (-39.369027 -3.085363)', '2026-07-17 15:43:54', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368997 -3.085362)'), GeomFromEWKT('SRID=4674;POINT (-39.369027 -3.085363)'))) / (select extract(epoch from '2026-07-17 15:43:54'::timestamp) - extract(epoch from '2026-07-17 15:43:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368997 -3.085362)'), GeomFromEWKT('SRID=4674;POINT (-39.369027 -3.085363)'))) / (select extract(epoch from '2026-07-17 15:43:54'::timestamp) - extract(epoch from '2026-07-17 15:43: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'), 47509, 'SRID=4674;POINT (-39.369049 -3.085356)', '2026-07-17 15:43:59', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369027 -3.085363)'), GeomFromEWKT('SRID=4674;POINT (-39.369049 -3.085356)'))) / (select extract(epoch from '2026-07-17 15:43:59'::timestamp) - extract(epoch from '2026-07-17 15:43:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369027 -3.085363)'), GeomFromEWKT('SRID=4674;POINT (-39.369049 -3.085356)'))) / (select extract(epoch from '2026-07-17 15:43:59'::timestamp) - extract(epoch from '2026-07-17 15:43: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'), 47509, 'SRID=4674;POINT (-39.369092 -3.085354)', '2026-07-17 15:44:06', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369049 -3.085356)'), GeomFromEWKT('SRID=4674;POINT (-39.369092 -3.085354)'))) / (select extract(epoch from '2026-07-17 15:44:06'::timestamp) - extract(epoch from '2026-07-17 15:43:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369049 -3.085356)'), GeomFromEWKT('SRID=4674;POINT (-39.369092 -3.085354)'))) / (select extract(epoch from '2026-07-17 15:44:06'::timestamp) - extract(epoch from '2026-07-17 15:43:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369096 -3.085352)', '2026-07-17 15:44:07', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369092 -3.085354)'), GeomFromEWKT('SRID=4674;POINT (-39.369096 -3.085352)'))) / (select extract(epoch from '2026-07-17 15:44:07'::timestamp) - extract(epoch from '2026-07-17 15:44:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369092 -3.085354)'), GeomFromEWKT('SRID=4674;POINT (-39.369096 -3.085352)'))) / (select extract(epoch from '2026-07-17 15:44:07'::timestamp) - extract(epoch from '2026-07-17 15:44: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'), 47509, 'SRID=4674;POINT (-39.369124 -3.085348)', '2026-07-17 15:44:13', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369096 -3.085352)'), GeomFromEWKT('SRID=4674;POINT (-39.369124 -3.085348)'))) / (select extract(epoch from '2026-07-17 15:44:13'::timestamp) - extract(epoch from '2026-07-17 15:44:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369096 -3.085352)'), GeomFromEWKT('SRID=4674;POINT (-39.369124 -3.085348)'))) / (select extract(epoch from '2026-07-17 15:44:13'::timestamp) - extract(epoch from '2026-07-17 15:44:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369151 -3.085349)', '2026-07-17 15:44:21', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369124 -3.085348)'), GeomFromEWKT('SRID=4674;POINT (-39.369151 -3.085349)'))) / (select extract(epoch from '2026-07-17 15:44:21'::timestamp) - extract(epoch from '2026-07-17 15:44:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369124 -3.085348)'), GeomFromEWKT('SRID=4674;POINT (-39.369151 -3.085349)'))) / (select extract(epoch from '2026-07-17 15:44:21'::timestamp) - extract(epoch from '2026-07-17 15:44:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369181 -3.08535)', '2026-07-17 15:44:27', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369151 -3.085349)'), GeomFromEWKT('SRID=4674;POINT (-39.369181 -3.08535)'))) / (select extract(epoch from '2026-07-17 15:44:27'::timestamp) - extract(epoch from '2026-07-17 15:44:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369151 -3.085349)'), GeomFromEWKT('SRID=4674;POINT (-39.369181 -3.08535)'))) / (select extract(epoch from '2026-07-17 15:44:27'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47509, 'SRID=4674;POINT (-39.369217 -3.085346)', '2026-07-17 15:44:34', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369181 -3.08535)'), GeomFromEWKT('SRID=4674;POINT (-39.369217 -3.085346)'))) / (select extract(epoch from '2026-07-17 15:44:34'::timestamp) - extract(epoch from '2026-07-17 15:44:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369181 -3.08535)'), GeomFromEWKT('SRID=4674;POINT (-39.369217 -3.085346)'))) / (select extract(epoch from '2026-07-17 15:44:34'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47509, 'SRID=4674;POINT (-39.369248 -3.085342)', '2026-07-17 15:44:40', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369217 -3.085346)'), GeomFromEWKT('SRID=4674;POINT (-39.369248 -3.085342)'))) / (select extract(epoch from '2026-07-17 15:44:40'::timestamp) - extract(epoch from '2026-07-17 15:44:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369217 -3.085346)'), GeomFromEWKT('SRID=4674;POINT (-39.369248 -3.085342)'))) / (select extract(epoch from '2026-07-17 15:44:40'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47509, 'SRID=4674;POINT (-39.369282 -3.085342)', '2026-07-17 15:44:46', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369248 -3.085342)'), GeomFromEWKT('SRID=4674;POINT (-39.369282 -3.085342)'))) / (select extract(epoch from '2026-07-17 15:44:46'::timestamp) - extract(epoch from '2026-07-17 15:44:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369248 -3.085342)'), GeomFromEWKT('SRID=4674;POINT (-39.369282 -3.085342)'))) / (select extract(epoch from '2026-07-17 15:44:46'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47509, 'SRID=4674;POINT (-39.369322 -3.085355)', '2026-07-17 15:44:52', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369282 -3.085342)'), GeomFromEWKT('SRID=4674;POINT (-39.369322 -3.085355)'))) / (select extract(epoch from '2026-07-17 15:44:52'::timestamp) - extract(epoch from '2026-07-17 15:44:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369282 -3.085342)'), GeomFromEWKT('SRID=4674;POINT (-39.369322 -3.085355)'))) / (select extract(epoch from '2026-07-17 15:44:52'::timestamp) - extract(epoch from '2026-07-17 15:44:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369347 -3.085365)', '2026-07-17 15:44:57', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369322 -3.085355)'), GeomFromEWKT('SRID=4674;POINT (-39.369347 -3.085365)'))) / (select extract(epoch from '2026-07-17 15:44:57'::timestamp) - extract(epoch from '2026-07-17 15:44:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369322 -3.085355)'), GeomFromEWKT('SRID=4674;POINT (-39.369347 -3.085365)'))) / (select extract(epoch from '2026-07-17 15:44:57'::timestamp) - extract(epoch from '2026-07-17 15:44: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'), 47509, 'SRID=4674;POINT (-39.369368 -3.085375)', '2026-07-17 15:45:03', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369347 -3.085365)'), GeomFromEWKT('SRID=4674;POINT (-39.369368 -3.085375)'))) / (select extract(epoch from '2026-07-17 15:45:03'::timestamp) - extract(epoch from '2026-07-17 15:44:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369347 -3.085365)'), GeomFromEWKT('SRID=4674;POINT (-39.369368 -3.085375)'))) / (select extract(epoch from '2026-07-17 15:45:03'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47509, 'SRID=4674;POINT (-39.369396 -3.085378)', '2026-07-17 15:45:10', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369368 -3.085375)'), GeomFromEWKT('SRID=4674;POINT (-39.369396 -3.085378)'))) / (select extract(epoch from '2026-07-17 15:45:10'::timestamp) - extract(epoch from '2026-07-17 15:45:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369368 -3.085375)'), GeomFromEWKT('SRID=4674;POINT (-39.369396 -3.085378)'))) / (select extract(epoch from '2026-07-17 15:45:10'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47509, 'SRID=4674;POINT (-39.36943 -3.085378)', '2026-07-17 15:45:18', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369396 -3.085378)'), GeomFromEWKT('SRID=4674;POINT (-39.36943 -3.085378)'))) / (select extract(epoch from '2026-07-17 15:45:18'::timestamp) - extract(epoch from '2026-07-17 15:45:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369396 -3.085378)'), GeomFromEWKT('SRID=4674;POINT (-39.36943 -3.085378)'))) / (select extract(epoch from '2026-07-17 15:45:18'::timestamp) - extract(epoch from '2026-07-17 15:45: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'), 47509, 'SRID=4674;POINT (-39.369453 -3.085372)', '2026-07-17 15:45:21', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36943 -3.085378)'), GeomFromEWKT('SRID=4674;POINT (-39.369453 -3.085372)'))) / (select extract(epoch from '2026-07-17 15:45:21'::timestamp) - extract(epoch from '2026-07-17 15:45:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36943 -3.085378)'), GeomFromEWKT('SRID=4674;POINT (-39.369453 -3.085372)'))) / (select extract(epoch from '2026-07-17 15:45:21'::timestamp) - extract(epoch from '2026-07-17 15:45: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'), 47509, 'SRID=4674;POINT (-39.369456 -3.085371)', '2026-07-17 15:45:22', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369453 -3.085372)'), GeomFromEWKT('SRID=4674;POINT (-39.369456 -3.085371)'))) / (select extract(epoch from '2026-07-17 15:45:22'::timestamp) - extract(epoch from '2026-07-17 15:45:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369453 -3.085372)'), GeomFromEWKT('SRID=4674;POINT (-39.369456 -3.085371)'))) / (select extract(epoch from '2026-07-17 15:45:22'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47509, 'SRID=4674;POINT (-39.369477 -3.08538)', '2026-07-17 15:45:27', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369456 -3.085371)'), GeomFromEWKT('SRID=4674;POINT (-39.369477 -3.08538)'))) / (select extract(epoch from '2026-07-17 15:45:27'::timestamp) - extract(epoch from '2026-07-17 15:45:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369456 -3.085371)'), GeomFromEWKT('SRID=4674;POINT (-39.369477 -3.08538)'))) / (select extract(epoch from '2026-07-17 15:45:27'::timestamp) - extract(epoch from '2026-07-17 15:45:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369512 -3.085383)', '2026-07-17 15:45:35', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369477 -3.08538)'), GeomFromEWKT('SRID=4674;POINT (-39.369512 -3.085383)'))) / (select extract(epoch from '2026-07-17 15:45:35'::timestamp) - extract(epoch from '2026-07-17 15:45:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369477 -3.08538)'), GeomFromEWKT('SRID=4674;POINT (-39.369512 -3.085383)'))) / (select extract(epoch from '2026-07-17 15:45:35'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47509, 'SRID=4674;POINT (-39.369542 -3.085379)', '2026-07-17 15:45:41', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369512 -3.085383)'), GeomFromEWKT('SRID=4674;POINT (-39.369542 -3.085379)'))) / (select extract(epoch from '2026-07-17 15:45:41'::timestamp) - extract(epoch from '2026-07-17 15:45:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369512 -3.085383)'), GeomFromEWKT('SRID=4674;POINT (-39.369542 -3.085379)'))) / (select extract(epoch from '2026-07-17 15:45:41'::timestamp) - extract(epoch from '2026-07-17 15:45: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'), 47509, 'SRID=4674;POINT (-39.369562 -3.085371)', '2026-07-17 15:45:47', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369542 -3.085379)'), GeomFromEWKT('SRID=4674;POINT (-39.369562 -3.085371)'))) / (select extract(epoch from '2026-07-17 15:45:47'::timestamp) - extract(epoch from '2026-07-17 15:45:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369542 -3.085379)'), GeomFromEWKT('SRID=4674;POINT (-39.369562 -3.085371)'))) / (select extract(epoch from '2026-07-17 15:45:47'::timestamp) - extract(epoch from '2026-07-17 15:45:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369536 -3.08538)', '2026-07-17 15:45:59', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369562 -3.085371)'), GeomFromEWKT('SRID=4674;POINT (-39.369536 -3.08538)'))) / (select extract(epoch from '2026-07-17 15:45:59'::timestamp) - extract(epoch from '2026-07-17 15:45:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369562 -3.085371)'), GeomFromEWKT('SRID=4674;POINT (-39.369536 -3.08538)'))) / (select extract(epoch from '2026-07-17 15:45:59'::timestamp) - extract(epoch from '2026-07-17 15:45:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369509 -3.085377)', '2026-07-17 15:46:08', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369536 -3.08538)'), GeomFromEWKT('SRID=4674;POINT (-39.369509 -3.085377)'))) / (select extract(epoch from '2026-07-17 15:46:08'::timestamp) - extract(epoch from '2026-07-17 15:45:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369536 -3.08538)'), GeomFromEWKT('SRID=4674;POINT (-39.369509 -3.085377)'))) / (select extract(epoch from '2026-07-17 15:46:08'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47509, 'SRID=4674;POINT (-39.369524 -3.085388)', '2026-07-17 15:46:17', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369509 -3.085377)'), GeomFromEWKT('SRID=4674;POINT (-39.369524 -3.085388)'))) / (select extract(epoch from '2026-07-17 15:46:17'::timestamp) - extract(epoch from '2026-07-17 15:46:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369509 -3.085377)'), GeomFromEWKT('SRID=4674;POINT (-39.369524 -3.085388)'))) / (select extract(epoch from '2026-07-17 15:46:17'::timestamp) - extract(epoch from '2026-07-17 15:46:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369522 -3.085334)', '2026-07-17 15:47:11', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369524 -3.085388)'), GeomFromEWKT('SRID=4674;POINT (-39.369522 -3.085334)'))) / (select extract(epoch from '2026-07-17 15:47:11'::timestamp) - extract(epoch from '2026-07-17 15:46:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369524 -3.085388)'), GeomFromEWKT('SRID=4674;POINT (-39.369522 -3.085334)'))) / (select extract(epoch from '2026-07-17 15:47:11'::timestamp) - extract(epoch from '2026-07-17 15:46:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369521 -3.085319)', '2026-07-17 15:47:40', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369522 -3.085334)'), GeomFromEWKT('SRID=4674;POINT (-39.369521 -3.085319)'))) / (select extract(epoch from '2026-07-17 15:47:40'::timestamp) - extract(epoch from '2026-07-17 15:47:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369522 -3.085334)'), GeomFromEWKT('SRID=4674;POINT (-39.369521 -3.085319)'))) / (select extract(epoch from '2026-07-17 15:47:40'::timestamp) - extract(epoch from '2026-07-17 15:47: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'), 47509, 'SRID=4674;POINT (-39.369519 -3.085301)', '2026-07-17 15:48:15', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369521 -3.085319)'), GeomFromEWKT('SRID=4674;POINT (-39.369519 -3.085301)'))) / (select extract(epoch from '2026-07-17 15:48:15'::timestamp) - extract(epoch from '2026-07-17 15:47:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369521 -3.085319)'), GeomFromEWKT('SRID=4674;POINT (-39.369519 -3.085301)'))) / (select extract(epoch from '2026-07-17 15:48:15'::timestamp) - extract(epoch from '2026-07-17 15:47: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'), 47509, 'SRID=4674;POINT (-39.369521 -3.085246)', '2026-07-17 15:50:56', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369519 -3.085301)'), GeomFromEWKT('SRID=4674;POINT (-39.369521 -3.085246)'))) / (select extract(epoch from '2026-07-17 15:50:56'::timestamp) - extract(epoch from '2026-07-17 15:48:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369519 -3.085301)'), GeomFromEWKT('SRID=4674;POINT (-39.369521 -3.085246)'))) / (select extract(epoch from '2026-07-17 15:50:56'::timestamp) - extract(epoch from '2026-07-17 15:48:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369519 -3.08523)', '2026-07-17 15:51:09', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369521 -3.085246)'), GeomFromEWKT('SRID=4674;POINT (-39.369519 -3.08523)'))) / (select extract(epoch from '2026-07-17 15:51:09'::timestamp) - extract(epoch from '2026-07-17 15:50:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369521 -3.085246)'), GeomFromEWKT('SRID=4674;POINT (-39.369519 -3.08523)'))) / (select extract(epoch from '2026-07-17 15:51:09'::timestamp) - extract(epoch from '2026-07-17 15:50:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369517 -3.085237)', '2026-07-17 15:51:15', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369519 -3.08523)'), GeomFromEWKT('SRID=4674;POINT (-39.369517 -3.085237)'))) / (select extract(epoch from '2026-07-17 15:51:15'::timestamp) - extract(epoch from '2026-07-17 15:51:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369519 -3.08523)'), GeomFromEWKT('SRID=4674;POINT (-39.369517 -3.085237)'))) / (select extract(epoch from '2026-07-17 15:51:15'::timestamp) - extract(epoch from '2026-07-17 15:51:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369517 -3.085241)', '2026-07-17 15:51:30', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369517 -3.085237)'), GeomFromEWKT('SRID=4674;POINT (-39.369517 -3.085241)'))) / (select extract(epoch from '2026-07-17 15:51:30'::timestamp) - extract(epoch from '2026-07-17 15:51:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369517 -3.085237)'), GeomFromEWKT('SRID=4674;POINT (-39.369517 -3.085241)'))) / (select extract(epoch from '2026-07-17 15:51:30'::timestamp) - extract(epoch from '2026-07-17 15:51: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'), 47509, 'SRID=4674;POINT (-39.36952 -3.085241)', '2026-07-17 15:51:38', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369517 -3.085241)'), GeomFromEWKT('SRID=4674;POINT (-39.36952 -3.085241)'))) / (select extract(epoch from '2026-07-17 15:51:38'::timestamp) - extract(epoch from '2026-07-17 15:51:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369517 -3.085241)'), GeomFromEWKT('SRID=4674;POINT (-39.36952 -3.085241)'))) / (select extract(epoch from '2026-07-17 15:51:38'::timestamp) - extract(epoch from '2026-07-17 15:51:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369502 -3.085231)', '2026-07-17 15:52:21', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36952 -3.085241)'), GeomFromEWKT('SRID=4674;POINT (-39.369502 -3.085231)'))) / (select extract(epoch from '2026-07-17 15:52:21'::timestamp) - extract(epoch from '2026-07-17 15:51:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36952 -3.085241)'), GeomFromEWKT('SRID=4674;POINT (-39.369502 -3.085231)'))) / (select extract(epoch from '2026-07-17 15:52:21'::timestamp) - extract(epoch from '2026-07-17 15:51: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'), 47509, 'SRID=4674;POINT (-39.369508 -3.085238)', '2026-07-17 15:52:57', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369502 -3.085231)'), GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.085238)'))) / (select extract(epoch from '2026-07-17 15:52:57'::timestamp) - extract(epoch from '2026-07-17 15:52:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369502 -3.085231)'), GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.085238)'))) / (select extract(epoch from '2026-07-17 15:52:57'::timestamp) - extract(epoch from '2026-07-17 15:52:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369518 -3.085243)', '2026-07-17 15:53:05', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.085238)'), GeomFromEWKT('SRID=4674;POINT (-39.369518 -3.085243)'))) / (select extract(epoch from '2026-07-17 15:53:05'::timestamp) - extract(epoch from '2026-07-17 15:52:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.085238)'), GeomFromEWKT('SRID=4674;POINT (-39.369518 -3.085243)'))) / (select extract(epoch from '2026-07-17 15:53:05'::timestamp) - extract(epoch from '2026-07-17 15:52: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'), 47509, 'SRID=4674;POINT (-39.369517 -3.085234)', '2026-07-17 15:54:18', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369518 -3.085243)'), GeomFromEWKT('SRID=4674;POINT (-39.369517 -3.085234)'))) / (select extract(epoch from '2026-07-17 15:54:18'::timestamp) - extract(epoch from '2026-07-17 15:53:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369518 -3.085243)'), GeomFromEWKT('SRID=4674;POINT (-39.369517 -3.085234)'))) / (select extract(epoch from '2026-07-17 15:54:18'::timestamp) - extract(epoch from '2026-07-17 15:53:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369516 -3.08524)', '2026-07-17 15:54:31', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369517 -3.085234)'), GeomFromEWKT('SRID=4674;POINT (-39.369516 -3.08524)'))) / (select extract(epoch from '2026-07-17 15:54:31'::timestamp) - extract(epoch from '2026-07-17 15:54:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369517 -3.085234)'), GeomFromEWKT('SRID=4674;POINT (-39.369516 -3.08524)'))) / (select extract(epoch from '2026-07-17 15:54:31'::timestamp) - extract(epoch from '2026-07-17 15:54: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'), 47509, 'SRID=4674;POINT (-39.369504 -3.085249)', '2026-07-17 15:54:39', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369516 -3.08524)'), GeomFromEWKT('SRID=4674;POINT (-39.369504 -3.085249)'))) / (select extract(epoch from '2026-07-17 15:54:39'::timestamp) - extract(epoch from '2026-07-17 15:54:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369516 -3.08524)'), GeomFromEWKT('SRID=4674;POINT (-39.369504 -3.085249)'))) / (select extract(epoch from '2026-07-17 15:54:39'::timestamp) - extract(epoch from '2026-07-17 15:54: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'), 47509, 'SRID=4674;POINT (-39.369501 -3.085256)', '2026-07-17 15:54:52', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369504 -3.085249)'), GeomFromEWKT('SRID=4674;POINT (-39.369501 -3.085256)'))) / (select extract(epoch from '2026-07-17 15:54:52'::timestamp) - extract(epoch from '2026-07-17 15:54:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369504 -3.085249)'), GeomFromEWKT('SRID=4674;POINT (-39.369501 -3.085256)'))) / (select extract(epoch from '2026-07-17 15:54:52'::timestamp) - extract(epoch from '2026-07-17 15:54:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369502 -3.085279)', '2026-07-17 15:55:13', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369501 -3.085256)'), GeomFromEWKT('SRID=4674;POINT (-39.369502 -3.085279)'))) / (select extract(epoch from '2026-07-17 15:55:13'::timestamp) - extract(epoch from '2026-07-17 15:54:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369501 -3.085256)'), GeomFromEWKT('SRID=4674;POINT (-39.369502 -3.085279)'))) / (select extract(epoch from '2026-07-17 15:55:13'::timestamp) - extract(epoch from '2026-07-17 15:54:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369497 -3.085251)', '2026-07-17 15:55:37', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369502 -3.085279)'), GeomFromEWKT('SRID=4674;POINT (-39.369497 -3.085251)'))) / (select extract(epoch from '2026-07-17 15:55:37'::timestamp) - extract(epoch from '2026-07-17 15:55:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369502 -3.085279)'), GeomFromEWKT('SRID=4674;POINT (-39.369497 -3.085251)'))) / (select extract(epoch from '2026-07-17 15:55:37'::timestamp) - extract(epoch from '2026-07-17 15:55: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'), 47509, 'SRID=4674;POINT (-39.369501 -3.085252)', '2026-07-17 15:55:47', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369497 -3.085251)'), GeomFromEWKT('SRID=4674;POINT (-39.369501 -3.085252)'))) / (select extract(epoch from '2026-07-17 15:55:47'::timestamp) - extract(epoch from '2026-07-17 15:55:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369497 -3.085251)'), GeomFromEWKT('SRID=4674;POINT (-39.369501 -3.085252)'))) / (select extract(epoch from '2026-07-17 15:55:47'::timestamp) - extract(epoch from '2026-07-17 15:55: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'), 47509, 'SRID=4674;POINT (-39.369513 -3.085251)', '2026-07-17 15:55:55', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369501 -3.085252)'), GeomFromEWKT('SRID=4674;POINT (-39.369513 -3.085251)'))) / (select extract(epoch from '2026-07-17 15:55:55'::timestamp) - extract(epoch from '2026-07-17 15:55:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369501 -3.085252)'), GeomFromEWKT('SRID=4674;POINT (-39.369513 -3.085251)'))) / (select extract(epoch from '2026-07-17 15:55:55'::timestamp) - extract(epoch from '2026-07-17 15:55:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369509 -3.085244)', '2026-07-17 15:55:58', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369513 -3.085251)'), GeomFromEWKT('SRID=4674;POINT (-39.369509 -3.085244)'))) / (select extract(epoch from '2026-07-17 15:55:58'::timestamp) - extract(epoch from '2026-07-17 15:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369513 -3.085251)'), GeomFromEWKT('SRID=4674;POINT (-39.369509 -3.085244)'))) / (select extract(epoch from '2026-07-17 15:55:58'::timestamp) - extract(epoch from '2026-07-17 15:55: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'), 47509, 'SRID=4674;POINT (-39.369512 -3.085248)', '2026-07-17 15:56:08', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369509 -3.085244)'), GeomFromEWKT('SRID=4674;POINT (-39.369512 -3.085248)'))) / (select extract(epoch from '2026-07-17 15:56:08'::timestamp) - extract(epoch from '2026-07-17 15:55:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369509 -3.085244)'), GeomFromEWKT('SRID=4674;POINT (-39.369512 -3.085248)'))) / (select extract(epoch from '2026-07-17 15:56:08'::timestamp) - extract(epoch from '2026-07-17 15:55:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369511 -3.085238)', '2026-07-17 15:56:47', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369512 -3.085248)'), GeomFromEWKT('SRID=4674;POINT (-39.369511 -3.085238)'))) / (select extract(epoch from '2026-07-17 15:56:47'::timestamp) - extract(epoch from '2026-07-17 15:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369512 -3.085248)'), GeomFromEWKT('SRID=4674;POINT (-39.369511 -3.085238)'))) / (select extract(epoch from '2026-07-17 15:56:47'::timestamp) - extract(epoch from '2026-07-17 15:56: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'), 47509, 'SRID=4674;POINT (-39.369516 -3.085204)', '2026-07-17 15:57:15', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369511 -3.085238)'), GeomFromEWKT('SRID=4674;POINT (-39.369516 -3.085204)'))) / (select extract(epoch from '2026-07-17 15:57:15'::timestamp) - extract(epoch from '2026-07-17 15:56:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369511 -3.085238)'), GeomFromEWKT('SRID=4674;POINT (-39.369516 -3.085204)'))) / (select extract(epoch from '2026-07-17 15:57:15'::timestamp) - extract(epoch from '2026-07-17 15:56:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369512 -3.085208)', '2026-07-17 15:57:40', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369516 -3.085204)'), GeomFromEWKT('SRID=4674;POINT (-39.369512 -3.085208)'))) / (select extract(epoch from '2026-07-17 15:57:40'::timestamp) - extract(epoch from '2026-07-17 15:57:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369516 -3.085204)'), GeomFromEWKT('SRID=4674;POINT (-39.369512 -3.085208)'))) / (select extract(epoch from '2026-07-17 15:57:40'::timestamp) - extract(epoch from '2026-07-17 15:57: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'), 47509, 'SRID=4674;POINT (-39.369495 -3.085207)', '2026-07-17 15:58:26', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369512 -3.085208)'), GeomFromEWKT('SRID=4674;POINT (-39.369495 -3.085207)'))) / (select extract(epoch from '2026-07-17 15:58:26'::timestamp) - extract(epoch from '2026-07-17 15:57:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369512 -3.085208)'), GeomFromEWKT('SRID=4674;POINT (-39.369495 -3.085207)'))) / (select extract(epoch from '2026-07-17 15:58:26'::timestamp) - extract(epoch from '2026-07-17 15:57:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369496 -3.08521)', '2026-07-17 15:58:30', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369495 -3.085207)'), GeomFromEWKT('SRID=4674;POINT (-39.369496 -3.08521)'))) / (select extract(epoch from '2026-07-17 15:58:30'::timestamp) - extract(epoch from '2026-07-17 15:58:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369495 -3.085207)'), GeomFromEWKT('SRID=4674;POINT (-39.369496 -3.08521)'))) / (select extract(epoch from '2026-07-17 15:58:30'::timestamp) - extract(epoch from '2026-07-17 15:58: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'), 47509, 'SRID=4674;POINT (-39.369516 -3.08518)', '2026-07-17 15:59:19', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369496 -3.08521)'), GeomFromEWKT('SRID=4674;POINT (-39.369516 -3.08518)'))) / (select extract(epoch from '2026-07-17 15:59:19'::timestamp) - extract(epoch from '2026-07-17 15:58:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369496 -3.08521)'), GeomFromEWKT('SRID=4674;POINT (-39.369516 -3.08518)'))) / (select extract(epoch from '2026-07-17 15:59:19'::timestamp) - extract(epoch from '2026-07-17 15:58:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369515 -3.085168)', '2026-07-17 15:59:49', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369516 -3.08518)'), GeomFromEWKT('SRID=4674;POINT (-39.369515 -3.085168)'))) / (select extract(epoch from '2026-07-17 15:59:49'::timestamp) - extract(epoch from '2026-07-17 15:59:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369516 -3.08518)'), GeomFromEWKT('SRID=4674;POINT (-39.369515 -3.085168)'))) / (select extract(epoch from '2026-07-17 15:59:49'::timestamp) - extract(epoch from '2026-07-17 15:59: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'), 47509, 'SRID=4674;POINT (-39.369516 -3.085168)', '2026-07-17 15:59:59', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369515 -3.085168)'), GeomFromEWKT('SRID=4674;POINT (-39.369516 -3.085168)'))) / (select extract(epoch from '2026-07-17 15:59:59'::timestamp) - extract(epoch from '2026-07-17 15:59:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369515 -3.085168)'), GeomFromEWKT('SRID=4674;POINT (-39.369516 -3.085168)'))) / (select extract(epoch from '2026-07-17 15:59:59'::timestamp) - extract(epoch from '2026-07-17 15:59: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'), 47509, 'SRID=4674;POINT (-39.369506 -3.085163)', '2026-07-17 16:00:29', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369516 -3.085168)'), GeomFromEWKT('SRID=4674;POINT (-39.369506 -3.085163)'))) / (select extract(epoch from '2026-07-17 16:00:29'::timestamp) - extract(epoch from '2026-07-17 15:59:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369516 -3.085168)'), GeomFromEWKT('SRID=4674;POINT (-39.369506 -3.085163)'))) / (select extract(epoch from '2026-07-17 16:00:29'::timestamp) - extract(epoch from '2026-07-17 15:59: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'), 47509, 'SRID=4674;POINT (-39.369507 -3.085155)', '2026-07-17 16:01:08', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369506 -3.085163)'), GeomFromEWKT('SRID=4674;POINT (-39.369507 -3.085155)'))) / (select extract(epoch from '2026-07-17 16:01:08'::timestamp) - extract(epoch from '2026-07-17 16:00:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369506 -3.085163)'), GeomFromEWKT('SRID=4674;POINT (-39.369507 -3.085155)'))) / (select extract(epoch from '2026-07-17 16:01:08'::timestamp) - extract(epoch from '2026-07-17 16:00:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369508 -3.085155)', '2026-07-17 16:01:14', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369507 -3.085155)'), GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.085155)'))) / (select extract(epoch from '2026-07-17 16:01:14'::timestamp) - extract(epoch from '2026-07-17 16:01:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369507 -3.085155)'), GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.085155)'))) / (select extract(epoch from '2026-07-17 16:01:14'::timestamp) - extract(epoch from '2026-07-17 16:01: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'), 47509, 'SRID=4674;POINT (-39.369501 -3.085167)', '2026-07-17 16:02:45', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.085155)'), GeomFromEWKT('SRID=4674;POINT (-39.369501 -3.085167)'))) / (select extract(epoch from '2026-07-17 16:02:45'::timestamp) - extract(epoch from '2026-07-17 16:01:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.085155)'), GeomFromEWKT('SRID=4674;POINT (-39.369501 -3.085167)'))) / (select extract(epoch from '2026-07-17 16:02:45'::timestamp) - extract(epoch from '2026-07-17 16:01: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'), 47509, 'SRID=4674;POINT (-39.369503 -3.08517)', '2026-07-17 16:03:58', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369501 -3.085167)'), GeomFromEWKT('SRID=4674;POINT (-39.369503 -3.08517)'))) / (select extract(epoch from '2026-07-17 16:03:58'::timestamp) - extract(epoch from '2026-07-17 16:02:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369501 -3.085167)'), GeomFromEWKT('SRID=4674;POINT (-39.369503 -3.08517)'))) / (select extract(epoch from '2026-07-17 16:03:58'::timestamp) - extract(epoch from '2026-07-17 16:02:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369495 -3.08517)', '2026-07-17 16:04:32', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369503 -3.08517)'), GeomFromEWKT('SRID=4674;POINT (-39.369495 -3.08517)'))) / (select extract(epoch from '2026-07-17 16:04:32'::timestamp) - extract(epoch from '2026-07-17 16:03:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369503 -3.08517)'), GeomFromEWKT('SRID=4674;POINT (-39.369495 -3.08517)'))) / (select extract(epoch from '2026-07-17 16:04:32'::timestamp) - extract(epoch from '2026-07-17 16:03: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'), 47509, 'SRID=4674;POINT (-39.369496 -3.085167)', '2026-07-17 16:05:07', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369495 -3.08517)'), GeomFromEWKT('SRID=4674;POINT (-39.369496 -3.085167)'))) / (select extract(epoch from '2026-07-17 16:05:07'::timestamp) - extract(epoch from '2026-07-17 16:04:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369495 -3.08517)'), GeomFromEWKT('SRID=4674;POINT (-39.369496 -3.085167)'))) / (select extract(epoch from '2026-07-17 16:05:07'::timestamp) - extract(epoch from '2026-07-17 16:04:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369504 -3.085153)', '2026-07-17 16:06:04', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369496 -3.085167)'), GeomFromEWKT('SRID=4674;POINT (-39.369504 -3.085153)'))) / (select extract(epoch from '2026-07-17 16:06:04'::timestamp) - extract(epoch from '2026-07-17 16:05:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369496 -3.085167)'), GeomFromEWKT('SRID=4674;POINT (-39.369504 -3.085153)'))) / (select extract(epoch from '2026-07-17 16:06:04'::timestamp) - extract(epoch from '2026-07-17 16:05:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369498 -3.08514)', '2026-07-17 16:06:47', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369504 -3.085153)'), GeomFromEWKT('SRID=4674;POINT (-39.369498 -3.08514)'))) / (select extract(epoch from '2026-07-17 16:06:47'::timestamp) - extract(epoch from '2026-07-17 16:06:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369504 -3.085153)'), GeomFromEWKT('SRID=4674;POINT (-39.369498 -3.08514)'))) / (select extract(epoch from '2026-07-17 16:06:47'::timestamp) - extract(epoch from '2026-07-17 16:06: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'), 47509, 'SRID=4674;POINT (-39.369499 -3.085151)', '2026-07-17 16:08:30', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369498 -3.08514)'), GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.085151)'))) / (select extract(epoch from '2026-07-17 16:08:30'::timestamp) - extract(epoch from '2026-07-17 16:06:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369498 -3.08514)'), GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.085151)'))) / (select extract(epoch from '2026-07-17 16:08:30'::timestamp) - extract(epoch from '2026-07-17 16:06:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369494 -3.085161)', '2026-07-17 16:09:03', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.085151)'), GeomFromEWKT('SRID=4674;POINT (-39.369494 -3.085161)'))) / (select extract(epoch from '2026-07-17 16:09:03'::timestamp) - extract(epoch from '2026-07-17 16:08:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.085151)'), GeomFromEWKT('SRID=4674;POINT (-39.369494 -3.085161)'))) / (select extract(epoch from '2026-07-17 16:09:03'::timestamp) - extract(epoch from '2026-07-17 16:08:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369493 -3.085168)', '2026-07-17 16:09:18', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369494 -3.085161)'), GeomFromEWKT('SRID=4674;POINT (-39.369493 -3.085168)'))) / (select extract(epoch from '2026-07-17 16:09:18'::timestamp) - extract(epoch from '2026-07-17 16:09:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369494 -3.085161)'), GeomFromEWKT('SRID=4674;POINT (-39.369493 -3.085168)'))) / (select extract(epoch from '2026-07-17 16:09:18'::timestamp) - extract(epoch from '2026-07-17 16:09:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369508 -3.085155)', '2026-07-17 16:11:06', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369493 -3.085168)'), GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.085155)'))) / (select extract(epoch from '2026-07-17 16:11:06'::timestamp) - extract(epoch from '2026-07-17 16:09:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369493 -3.085168)'), GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.085155)'))) / (select extract(epoch from '2026-07-17 16:11:06'::timestamp) - extract(epoch from '2026-07-17 16:09:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369519 -3.085146)', '2026-07-17 16:14:23', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.085155)'), GeomFromEWKT('SRID=4674;POINT (-39.369519 -3.085146)'))) / (select extract(epoch from '2026-07-17 16:14:23'::timestamp) - extract(epoch from '2026-07-17 16:11:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.085155)'), GeomFromEWKT('SRID=4674;POINT (-39.369519 -3.085146)'))) / (select extract(epoch from '2026-07-17 16:14:23'::timestamp) - extract(epoch from '2026-07-17 16:11: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'), 47509, 'SRID=4674;POINT (-39.36951 -3.085131)', '2026-07-17 16:14:36', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369519 -3.085146)'), GeomFromEWKT('SRID=4674;POINT (-39.36951 -3.085131)'))) / (select extract(epoch from '2026-07-17 16:14:36'::timestamp) - extract(epoch from '2026-07-17 16:14:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369519 -3.085146)'), GeomFromEWKT('SRID=4674;POINT (-39.36951 -3.085131)'))) / (select extract(epoch from '2026-07-17 16:14:36'::timestamp) - extract(epoch from '2026-07-17 16:14:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369505 -3.08514)', '2026-07-17 16:15:22', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36951 -3.085131)'), GeomFromEWKT('SRID=4674;POINT (-39.369505 -3.08514)'))) / (select extract(epoch from '2026-07-17 16:15:22'::timestamp) - extract(epoch from '2026-07-17 16:14:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36951 -3.085131)'), GeomFromEWKT('SRID=4674;POINT (-39.369505 -3.08514)'))) / (select extract(epoch from '2026-07-17 16:15:22'::timestamp) - extract(epoch from '2026-07-17 16:14:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369499 -3.085158)', '2026-07-17 16:16:13', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369505 -3.08514)'), GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.085158)'))) / (select extract(epoch from '2026-07-17 16:16:13'::timestamp) - extract(epoch from '2026-07-17 16:15:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369505 -3.08514)'), GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.085158)'))) / (select extract(epoch from '2026-07-17 16:16:13'::timestamp) - extract(epoch from '2026-07-17 16:15: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'), 47509, 'SRID=4674;POINT (-39.369498 -3.085162)', '2026-07-17 16:17:24', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.085158)'), GeomFromEWKT('SRID=4674;POINT (-39.369498 -3.085162)'))) / (select extract(epoch from '2026-07-17 16:17:24'::timestamp) - extract(epoch from '2026-07-17 16:16:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.085158)'), GeomFromEWKT('SRID=4674;POINT (-39.369498 -3.085162)'))) / (select extract(epoch from '2026-07-17 16:17:24'::timestamp) - extract(epoch from '2026-07-17 16:16:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369506 -3.085141)', '2026-07-17 16:17:48', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369498 -3.085162)'), GeomFromEWKT('SRID=4674;POINT (-39.369506 -3.085141)'))) / (select extract(epoch from '2026-07-17 16:17:48'::timestamp) - extract(epoch from '2026-07-17 16:17:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369498 -3.085162)'), GeomFromEWKT('SRID=4674;POINT (-39.369506 -3.085141)'))) / (select extract(epoch from '2026-07-17 16:17:48'::timestamp) - extract(epoch from '2026-07-17 16:17:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369489 -3.085153)', '2026-07-17 16:18:45', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369506 -3.085141)'), GeomFromEWKT('SRID=4674;POINT (-39.369489 -3.085153)'))) / (select extract(epoch from '2026-07-17 16:18:45'::timestamp) - extract(epoch from '2026-07-17 16:17:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369506 -3.085141)'), GeomFromEWKT('SRID=4674;POINT (-39.369489 -3.085153)'))) / (select extract(epoch from '2026-07-17 16:18:45'::timestamp) - extract(epoch from '2026-07-17 16:17:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369491 -3.085156)', '2026-07-17 16:19:01', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369489 -3.085153)'), GeomFromEWKT('SRID=4674;POINT (-39.369491 -3.085156)'))) / (select extract(epoch from '2026-07-17 16:19:01'::timestamp) - extract(epoch from '2026-07-17 16:18:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369489 -3.085153)'), GeomFromEWKT('SRID=4674;POINT (-39.369491 -3.085156)'))) / (select extract(epoch from '2026-07-17 16:19:01'::timestamp) - extract(epoch from '2026-07-17 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'), 47509, 'SRID=4674;POINT (-39.36951 -3.085156)', '2026-07-17 16:19:46', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369491 -3.085156)'), GeomFromEWKT('SRID=4674;POINT (-39.36951 -3.085156)'))) / (select extract(epoch from '2026-07-17 16:19:46'::timestamp) - extract(epoch from '2026-07-17 16:19:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369491 -3.085156)'), GeomFromEWKT('SRID=4674;POINT (-39.36951 -3.085156)'))) / (select extract(epoch from '2026-07-17 16:19:46'::timestamp) - extract(epoch from '2026-07-17 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'), 47509, 'SRID=4674;POINT (-39.369508 -3.085157)', '2026-07-17 16:20:31', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36951 -3.085156)'), GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.085157)'))) / (select extract(epoch from '2026-07-17 16:20:31'::timestamp) - extract(epoch from '2026-07-17 16:19:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36951 -3.085156)'), GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.085157)'))) / (select extract(epoch from '2026-07-17 16:20:31'::timestamp) - extract(epoch from '2026-07-17 16:19:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369502 -3.08517)', '2026-07-17 16:20:59', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.085157)'), GeomFromEWKT('SRID=4674;POINT (-39.369502 -3.08517)'))) / (select extract(epoch from '2026-07-17 16:20:59'::timestamp) - extract(epoch from '2026-07-17 16:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.085157)'), GeomFromEWKT('SRID=4674;POINT (-39.369502 -3.08517)'))) / (select extract(epoch from '2026-07-17 16:20:59'::timestamp) - extract(epoch from '2026-07-17 16:20:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369501 -3.085143)', '2026-07-17 16:22:05', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369502 -3.08517)'), GeomFromEWKT('SRID=4674;POINT (-39.369501 -3.085143)'))) / (select extract(epoch from '2026-07-17 16:22:05'::timestamp) - extract(epoch from '2026-07-17 16:20:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369502 -3.08517)'), GeomFromEWKT('SRID=4674;POINT (-39.369501 -3.085143)'))) / (select extract(epoch from '2026-07-17 16:22:05'::timestamp) - extract(epoch from '2026-07-17 16:20:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369507 -3.085141)', '2026-07-17 16:22:36', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369501 -3.085143)'), GeomFromEWKT('SRID=4674;POINT (-39.369507 -3.085141)'))) / (select extract(epoch from '2026-07-17 16:22:36'::timestamp) - extract(epoch from '2026-07-17 16:22:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369501 -3.085143)'), GeomFromEWKT('SRID=4674;POINT (-39.369507 -3.085141)'))) / (select extract(epoch from '2026-07-17 16:22:36'::timestamp) - extract(epoch from '2026-07-17 16:22: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'), 47509, 'SRID=4674;POINT (-39.369494 -3.085134)', '2026-07-17 16:22:50', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369507 -3.085141)'), GeomFromEWKT('SRID=4674;POINT (-39.369494 -3.085134)'))) / (select extract(epoch from '2026-07-17 16:22:50'::timestamp) - extract(epoch from '2026-07-17 16:22:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369507 -3.085141)'), GeomFromEWKT('SRID=4674;POINT (-39.369494 -3.085134)'))) / (select extract(epoch from '2026-07-17 16:22:50'::timestamp) - extract(epoch from '2026-07-17 16:22:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369498 -3.085124)', '2026-07-17 16:22:56', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369494 -3.085134)'), GeomFromEWKT('SRID=4674;POINT (-39.369498 -3.085124)'))) / (select extract(epoch from '2026-07-17 16:22:56'::timestamp) - extract(epoch from '2026-07-17 16:22:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369494 -3.085134)'), GeomFromEWKT('SRID=4674;POINT (-39.369498 -3.085124)'))) / (select extract(epoch from '2026-07-17 16:22:56'::timestamp) - extract(epoch from '2026-07-17 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'), 47509, 'SRID=4674;POINT (-39.369498 -3.085112)', '2026-07-17 16:23:02', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369498 -3.085124)'), GeomFromEWKT('SRID=4674;POINT (-39.369498 -3.085112)'))) / (select extract(epoch from '2026-07-17 16:23:02'::timestamp) - extract(epoch from '2026-07-17 16:22:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369498 -3.085124)'), GeomFromEWKT('SRID=4674;POINT (-39.369498 -3.085112)'))) / (select extract(epoch from '2026-07-17 16:23:02'::timestamp) - extract(epoch from '2026-07-17 16:22:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369493 -3.085147)', '2026-07-17 16:23:41', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369498 -3.085112)'), GeomFromEWKT('SRID=4674;POINT (-39.369493 -3.085147)'))) / (select extract(epoch from '2026-07-17 16:23:41'::timestamp) - extract(epoch from '2026-07-17 16:23:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369498 -3.085112)'), GeomFromEWKT('SRID=4674;POINT (-39.369493 -3.085147)'))) / (select extract(epoch from '2026-07-17 16:23:41'::timestamp) - extract(epoch from '2026-07-17 16:23: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'), 47509, 'SRID=4674;POINT (-39.369508 -3.085161)', '2026-07-17 16:24:40', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369493 -3.085147)'), GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.085161)'))) / (select extract(epoch from '2026-07-17 16:24:40'::timestamp) - extract(epoch from '2026-07-17 16:23:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369493 -3.085147)'), GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.085161)'))) / (select extract(epoch from '2026-07-17 16:24:40'::timestamp) - extract(epoch from '2026-07-17 16:23: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'), 47509, 'SRID=4674;POINT (-39.369502 -3.085162)', '2026-07-17 16:24:58', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.085161)'), GeomFromEWKT('SRID=4674;POINT (-39.369502 -3.085162)'))) / (select extract(epoch from '2026-07-17 16:24:58'::timestamp) - extract(epoch from '2026-07-17 16:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.085161)'), GeomFromEWKT('SRID=4674;POINT (-39.369502 -3.085162)'))) / (select extract(epoch from '2026-07-17 16:24:58'::timestamp) - extract(epoch from '2026-07-17 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'), 47509, 'SRID=4674;POINT (-39.369501 -3.085184)', '2026-07-17 16:25:15', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369502 -3.085162)'), GeomFromEWKT('SRID=4674;POINT (-39.369501 -3.085184)'))) / (select extract(epoch from '2026-07-17 16:25:15'::timestamp) - extract(epoch from '2026-07-17 16:24:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369502 -3.085162)'), GeomFromEWKT('SRID=4674;POINT (-39.369501 -3.085184)'))) / (select extract(epoch from '2026-07-17 16:25:15'::timestamp) - extract(epoch from '2026-07-17 16:24: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'), 47509, 'SRID=4674;POINT (-39.369499 -3.085176)', '2026-07-17 16:25:26', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369501 -3.085184)'), GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.085176)'))) / (select extract(epoch from '2026-07-17 16:25:26'::timestamp) - extract(epoch from '2026-07-17 16:25:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369501 -3.085184)'), GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.085176)'))) / (select extract(epoch from '2026-07-17 16:25:26'::timestamp) - extract(epoch from '2026-07-17 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'), 47509, 'SRID=4674;POINT (-39.369488 -3.085182)', '2026-07-17 16:25:28', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.085176)'), GeomFromEWKT('SRID=4674;POINT (-39.369488 -3.085182)'))) / (select extract(epoch from '2026-07-17 16:25:28'::timestamp) - extract(epoch from '2026-07-17 16:25:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.085176)'), GeomFromEWKT('SRID=4674;POINT (-39.369488 -3.085182)'))) / (select extract(epoch from '2026-07-17 16:25:28'::timestamp) - extract(epoch from '2026-07-17 16:25: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'), 47509, 'SRID=4674;POINT (-39.369493 -3.085182)', '2026-07-17 16:25:34', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369488 -3.085182)'), GeomFromEWKT('SRID=4674;POINT (-39.369493 -3.085182)'))) / (select extract(epoch from '2026-07-17 16:25:34'::timestamp) - extract(epoch from '2026-07-17 16:25:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369488 -3.085182)'), GeomFromEWKT('SRID=4674;POINT (-39.369493 -3.085182)'))) / (select extract(epoch from '2026-07-17 16:25:34'::timestamp) - extract(epoch from '2026-07-17 16:25: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'), 47509, 'SRID=4674;POINT (-39.369495 -3.085179)', '2026-07-17 16:27:37', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369493 -3.085182)'), GeomFromEWKT('SRID=4674;POINT (-39.369495 -3.085179)'))) / (select extract(epoch from '2026-07-17 16:27:37'::timestamp) - extract(epoch from '2026-07-17 16:25:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369493 -3.085182)'), GeomFromEWKT('SRID=4674;POINT (-39.369495 -3.085179)'))) / (select extract(epoch from '2026-07-17 16:27:37'::timestamp) - extract(epoch from '2026-07-17 16:25: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'), 47509, 'SRID=4674;POINT (-39.369485 -3.085184)', '2026-07-17 16:28:26', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369495 -3.085179)'), GeomFromEWKT('SRID=4674;POINT (-39.369485 -3.085184)'))) / (select extract(epoch from '2026-07-17 16:28:26'::timestamp) - extract(epoch from '2026-07-17 16:27:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369495 -3.085179)'), GeomFromEWKT('SRID=4674;POINT (-39.369485 -3.085184)'))) / (select extract(epoch from '2026-07-17 16:28:26'::timestamp) - extract(epoch from '2026-07-17 16:27:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369487 -3.085203)', '2026-07-17 16:28:32', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369485 -3.085184)'), GeomFromEWKT('SRID=4674;POINT (-39.369487 -3.085203)'))) / (select extract(epoch from '2026-07-17 16:28:32'::timestamp) - extract(epoch from '2026-07-17 16:28:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369485 -3.085184)'), GeomFromEWKT('SRID=4674;POINT (-39.369487 -3.085203)'))) / (select extract(epoch from '2026-07-17 16:28:32'::timestamp) - extract(epoch from '2026-07-17 16:28: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'), 47509, 'SRID=4674;POINT (-39.369501 -3.085192)', '2026-07-17 16:28:47', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369487 -3.085203)'), GeomFromEWKT('SRID=4674;POINT (-39.369501 -3.085192)'))) / (select extract(epoch from '2026-07-17 16:28:47'::timestamp) - extract(epoch from '2026-07-17 16:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369487 -3.085203)'), GeomFromEWKT('SRID=4674;POINT (-39.369501 -3.085192)'))) / (select extract(epoch from '2026-07-17 16:28:47'::timestamp) - extract(epoch from '2026-07-17 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'), 47509, 'SRID=4674;POINT (-39.369516 -3.085184)', '2026-07-17 16:29:52', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369501 -3.085192)'), GeomFromEWKT('SRID=4674;POINT (-39.369516 -3.085184)'))) / (select extract(epoch from '2026-07-17 16:29:52'::timestamp) - extract(epoch from '2026-07-17 16:28:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369501 -3.085192)'), GeomFromEWKT('SRID=4674;POINT (-39.369516 -3.085184)'))) / (select extract(epoch from '2026-07-17 16:29:52'::timestamp) - extract(epoch from '2026-07-17 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'), 47509, 'SRID=4674;POINT (-39.36952 -3.085213)', '2026-07-17 16:30:53', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369516 -3.085184)'), GeomFromEWKT('SRID=4674;POINT (-39.36952 -3.085213)'))) / (select extract(epoch from '2026-07-17 16:30:53'::timestamp) - extract(epoch from '2026-07-17 16:29:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369516 -3.085184)'), GeomFromEWKT('SRID=4674;POINT (-39.36952 -3.085213)'))) / (select extract(epoch from '2026-07-17 16:30:53'::timestamp) - extract(epoch from '2026-07-17 16:29:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369518 -3.08522)', '2026-07-17 16:32:31', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36952 -3.085213)'), GeomFromEWKT('SRID=4674;POINT (-39.369518 -3.08522)'))) / (select extract(epoch from '2026-07-17 16:32:31'::timestamp) - extract(epoch from '2026-07-17 16:30:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36952 -3.085213)'), GeomFromEWKT('SRID=4674;POINT (-39.369518 -3.08522)'))) / (select extract(epoch from '2026-07-17 16:32:31'::timestamp) - extract(epoch from '2026-07-17 16:30: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'), 47509, 'SRID=4674;POINT (-39.369533 -3.085226)', '2026-07-17 16:33:41', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369518 -3.08522)'), GeomFromEWKT('SRID=4674;POINT (-39.369533 -3.085226)'))) / (select extract(epoch from '2026-07-17 16:33:41'::timestamp) - extract(epoch from '2026-07-17 16:32:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369518 -3.08522)'), GeomFromEWKT('SRID=4674;POINT (-39.369533 -3.085226)'))) / (select extract(epoch from '2026-07-17 16:33:41'::timestamp) - extract(epoch from '2026-07-17 16:32: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'), 47509, 'SRID=4674;POINT (-39.369534 -3.085242)', '2026-07-17 16:34:05', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369533 -3.085226)'), GeomFromEWKT('SRID=4674;POINT (-39.369534 -3.085242)'))) / (select extract(epoch from '2026-07-17 16:34:05'::timestamp) - extract(epoch from '2026-07-17 16:33:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369533 -3.085226)'), GeomFromEWKT('SRID=4674;POINT (-39.369534 -3.085242)'))) / (select extract(epoch from '2026-07-17 16:34:05'::timestamp) - extract(epoch from '2026-07-17 16:33: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'), 47509, 'SRID=4674;POINT (-39.369536 -3.08525)', '2026-07-17 16:35:03', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369534 -3.085242)'), GeomFromEWKT('SRID=4674;POINT (-39.369536 -3.08525)'))) / (select extract(epoch from '2026-07-17 16:35:03'::timestamp) - extract(epoch from '2026-07-17 16:34:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369534 -3.085242)'), GeomFromEWKT('SRID=4674;POINT (-39.369536 -3.08525)'))) / (select extract(epoch from '2026-07-17 16:35:03'::timestamp) - extract(epoch from '2026-07-17 16:34:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369518 -3.085274)', '2026-07-17 16:36:42', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369536 -3.08525)'), GeomFromEWKT('SRID=4674;POINT (-39.369518 -3.085274)'))) / (select extract(epoch from '2026-07-17 16:36:42'::timestamp) - extract(epoch from '2026-07-17 16:35:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369536 -3.08525)'), GeomFromEWKT('SRID=4674;POINT (-39.369518 -3.085274)'))) / (select extract(epoch from '2026-07-17 16:36:42'::timestamp) - extract(epoch from '2026-07-17 16:35:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369513 -3.085262)', '2026-07-17 16:37:12', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369518 -3.085274)'), GeomFromEWKT('SRID=4674;POINT (-39.369513 -3.085262)'))) / (select extract(epoch from '2026-07-17 16:37:12'::timestamp) - extract(epoch from '2026-07-17 16:36:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369518 -3.085274)'), GeomFromEWKT('SRID=4674;POINT (-39.369513 -3.085262)'))) / (select extract(epoch from '2026-07-17 16:37:12'::timestamp) - extract(epoch from '2026-07-17 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'), 47509, 'SRID=4674;POINT (-39.36952 -3.085261)', '2026-07-17 16:37:26', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369513 -3.085262)'), GeomFromEWKT('SRID=4674;POINT (-39.36952 -3.085261)'))) / (select extract(epoch from '2026-07-17 16:37:26'::timestamp) - extract(epoch from '2026-07-17 16:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369513 -3.085262)'), GeomFromEWKT('SRID=4674;POINT (-39.36952 -3.085261)'))) / (select extract(epoch from '2026-07-17 16:37:26'::timestamp) - extract(epoch from '2026-07-17 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'), 47509, 'SRID=4674;POINT (-39.36952 -3.085278)', '2026-07-17 16:37:30', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36952 -3.085261)'), GeomFromEWKT('SRID=4674;POINT (-39.36952 -3.085278)'))) / (select extract(epoch from '2026-07-17 16:37:30'::timestamp) - extract(epoch from '2026-07-17 16:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36952 -3.085261)'), GeomFromEWKT('SRID=4674;POINT (-39.36952 -3.085278)'))) / (select extract(epoch from '2026-07-17 16:37:30'::timestamp) - extract(epoch from '2026-07-17 16:37:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369504 -3.085271)', '2026-07-17 16:37:47', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36952 -3.085278)'), GeomFromEWKT('SRID=4674;POINT (-39.369504 -3.085271)'))) / (select extract(epoch from '2026-07-17 16:37:47'::timestamp) - extract(epoch from '2026-07-17 16:37:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36952 -3.085278)'), GeomFromEWKT('SRID=4674;POINT (-39.369504 -3.085271)'))) / (select extract(epoch from '2026-07-17 16:37:47'::timestamp) - extract(epoch from '2026-07-17 16:37: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'), 47509, 'SRID=4674;POINT (-39.369508 -3.08525)', '2026-07-17 16:39:08', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369504 -3.085271)'), GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.08525)'))) / (select extract(epoch from '2026-07-17 16:39:08'::timestamp) - extract(epoch from '2026-07-17 16:37:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369504 -3.085271)'), GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.08525)'))) / (select extract(epoch from '2026-07-17 16:39:08'::timestamp) - extract(epoch from '2026-07-17 16:37:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369499 -3.08524)', '2026-07-17 16:39:20', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.08525)'), GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.08524)'))) / (select extract(epoch from '2026-07-17 16:39:20'::timestamp) - extract(epoch from '2026-07-17 16:39:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.08525)'), GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.08524)'))) / (select extract(epoch from '2026-07-17 16:39:20'::timestamp) - extract(epoch from '2026-07-17 16:39: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'), 47509, 'SRID=4674;POINT (-39.369488 -3.085229)', '2026-07-17 16:40:05', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.08524)'), GeomFromEWKT('SRID=4674;POINT (-39.369488 -3.085229)'))) / (select extract(epoch from '2026-07-17 16:40:05'::timestamp) - extract(epoch from '2026-07-17 16:39:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.08524)'), GeomFromEWKT('SRID=4674;POINT (-39.369488 -3.085229)'))) / (select extract(epoch from '2026-07-17 16:40:05'::timestamp) - extract(epoch from '2026-07-17 16:39: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'), 47509, 'SRID=4674;POINT (-39.36948 -3.085235)', '2026-07-17 16:40:13', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369488 -3.085229)'), GeomFromEWKT('SRID=4674;POINT (-39.36948 -3.085235)'))) / (select extract(epoch from '2026-07-17 16:40:13'::timestamp) - extract(epoch from '2026-07-17 16:40:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369488 -3.085229)'), GeomFromEWKT('SRID=4674;POINT (-39.36948 -3.085235)'))) / (select extract(epoch from '2026-07-17 16:40:13'::timestamp) - extract(epoch from '2026-07-17 16:40: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'), 47509, 'SRID=4674;POINT (-39.369493 -3.085239)', '2026-07-17 16:40:42', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36948 -3.085235)'), GeomFromEWKT('SRID=4674;POINT (-39.369493 -3.085239)'))) / (select extract(epoch from '2026-07-17 16:40:42'::timestamp) - extract(epoch from '2026-07-17 16:40:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36948 -3.085235)'), GeomFromEWKT('SRID=4674;POINT (-39.369493 -3.085239)'))) / (select extract(epoch from '2026-07-17 16:40:42'::timestamp) - extract(epoch from '2026-07-17 16:40: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'), 47509, 'SRID=4674;POINT (-39.369491 -3.085233)', '2026-07-17 16:40:59', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369493 -3.085239)'), GeomFromEWKT('SRID=4674;POINT (-39.369491 -3.085233)'))) / (select extract(epoch from '2026-07-17 16:40:59'::timestamp) - extract(epoch from '2026-07-17 16:40:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369493 -3.085239)'), GeomFromEWKT('SRID=4674;POINT (-39.369491 -3.085233)'))) / (select extract(epoch from '2026-07-17 16:40:59'::timestamp) - extract(epoch from '2026-07-17 16:40: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'), 47509, 'SRID=4674;POINT (-39.3695 -3.085243)', '2026-07-17 16:41:11', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369491 -3.085233)'), GeomFromEWKT('SRID=4674;POINT (-39.3695 -3.085243)'))) / (select extract(epoch from '2026-07-17 16:41:11'::timestamp) - extract(epoch from '2026-07-17 16:40:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369491 -3.085233)'), GeomFromEWKT('SRID=4674;POINT (-39.3695 -3.085243)'))) / (select extract(epoch from '2026-07-17 16:41:11'::timestamp) - extract(epoch from '2026-07-17 16:40: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'), 47509, 'SRID=4674;POINT (-39.369502 -3.085251)', '2026-07-17 16:41:36', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3695 -3.085243)'), GeomFromEWKT('SRID=4674;POINT (-39.369502 -3.085251)'))) / (select extract(epoch from '2026-07-17 16:41:36'::timestamp) - extract(epoch from '2026-07-17 16:41:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3695 -3.085243)'), GeomFromEWKT('SRID=4674;POINT (-39.369502 -3.085251)'))) / (select extract(epoch from '2026-07-17 16:41:36'::timestamp) - extract(epoch from '2026-07-17 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'), 47509, 'SRID=4674;POINT (-39.369521 -3.085287)', '2026-07-17 16:43:56', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369502 -3.085251)'), GeomFromEWKT('SRID=4674;POINT (-39.369521 -3.085287)'))) / (select extract(epoch from '2026-07-17 16:43:56'::timestamp) - extract(epoch from '2026-07-17 16:41:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369502 -3.085251)'), GeomFromEWKT('SRID=4674;POINT (-39.369521 -3.085287)'))) / (select extract(epoch from '2026-07-17 16:43:56'::timestamp) - extract(epoch from '2026-07-17 16:41:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369526 -3.08529)', '2026-07-17 16:44:06', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369521 -3.085287)'), GeomFromEWKT('SRID=4674;POINT (-39.369526 -3.08529)'))) / (select extract(epoch from '2026-07-17 16:44:06'::timestamp) - extract(epoch from '2026-07-17 16:43:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369521 -3.085287)'), GeomFromEWKT('SRID=4674;POINT (-39.369526 -3.08529)'))) / (select extract(epoch from '2026-07-17 16:44:06'::timestamp) - extract(epoch from '2026-07-17 16:43:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.36951 -3.085296)', '2026-07-17 16:44:27', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369526 -3.08529)'), GeomFromEWKT('SRID=4674;POINT (-39.36951 -3.085296)'))) / (select extract(epoch from '2026-07-17 16:44:27'::timestamp) - extract(epoch from '2026-07-17 16:44:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369526 -3.08529)'), GeomFromEWKT('SRID=4674;POINT (-39.36951 -3.085296)'))) / (select extract(epoch from '2026-07-17 16:44:27'::timestamp) - extract(epoch from '2026-07-17 16:44: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'), 47509, 'SRID=4674;POINT (-39.369512 -3.085286)', '2026-07-17 16:44:45', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36951 -3.085296)'), GeomFromEWKT('SRID=4674;POINT (-39.369512 -3.085286)'))) / (select extract(epoch from '2026-07-17 16:44:45'::timestamp) - extract(epoch from '2026-07-17 16:44:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36951 -3.085296)'), GeomFromEWKT('SRID=4674;POINT (-39.369512 -3.085286)'))) / (select extract(epoch from '2026-07-17 16:44:45'::timestamp) - extract(epoch from '2026-07-17 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'), 47509, 'SRID=4674;POINT (-39.369511 -3.085275)', '2026-07-17 16:45:33', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369512 -3.085286)'), GeomFromEWKT('SRID=4674;POINT (-39.369511 -3.085275)'))) / (select extract(epoch from '2026-07-17 16:45:33'::timestamp) - extract(epoch from '2026-07-17 16:44:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369512 -3.085286)'), GeomFromEWKT('SRID=4674;POINT (-39.369511 -3.085275)'))) / (select extract(epoch from '2026-07-17 16:45:33'::timestamp) - extract(epoch from '2026-07-17 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'), 47509, 'SRID=4674;POINT (-39.369511 -3.085255)', '2026-07-17 16:45:59', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369511 -3.085275)'), GeomFromEWKT('SRID=4674;POINT (-39.369511 -3.085255)'))) / (select extract(epoch from '2026-07-17 16:45:59'::timestamp) - extract(epoch from '2026-07-17 16:45:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369511 -3.085275)'), GeomFromEWKT('SRID=4674;POINT (-39.369511 -3.085255)'))) / (select extract(epoch from '2026-07-17 16:45:59'::timestamp) - extract(epoch from '2026-07-17 16:45: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'), 47509, 'SRID=4674;POINT (-39.369514 -3.085267)', '2026-07-17 16:46:11', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369511 -3.085255)'), GeomFromEWKT('SRID=4674;POINT (-39.369514 -3.085267)'))) / (select extract(epoch from '2026-07-17 16:46:11'::timestamp) - extract(epoch from '2026-07-17 16:45:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369511 -3.085255)'), GeomFromEWKT('SRID=4674;POINT (-39.369514 -3.085267)'))) / (select extract(epoch from '2026-07-17 16:46:11'::timestamp) - extract(epoch from '2026-07-17 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'), 47509, 'SRID=4674;POINT (-39.369498 -3.085265)', '2026-07-17 16:46:25', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369514 -3.085267)'), GeomFromEWKT('SRID=4674;POINT (-39.369498 -3.085265)'))) / (select extract(epoch from '2026-07-17 16:46:25'::timestamp) - extract(epoch from '2026-07-17 16:46:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369514 -3.085267)'), GeomFromEWKT('SRID=4674;POINT (-39.369498 -3.085265)'))) / (select extract(epoch from '2026-07-17 16:46:25'::timestamp) - extract(epoch from '2026-07-17 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'), 47509, 'SRID=4674;POINT (-39.369491 -3.085269)', '2026-07-17 16:46:51', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369498 -3.085265)'), GeomFromEWKT('SRID=4674;POINT (-39.369491 -3.085269)'))) / (select extract(epoch from '2026-07-17 16:46:51'::timestamp) - extract(epoch from '2026-07-17 16:46:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369498 -3.085265)'), GeomFromEWKT('SRID=4674;POINT (-39.369491 -3.085269)'))) / (select extract(epoch from '2026-07-17 16:46:51'::timestamp) - extract(epoch from '2026-07-17 16:46: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'), 47509, 'SRID=4674;POINT (-39.369498 -3.08527)', '2026-07-17 16:46:58', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369491 -3.085269)'), GeomFromEWKT('SRID=4674;POINT (-39.369498 -3.08527)'))) / (select extract(epoch from '2026-07-17 16:46:58'::timestamp) - extract(epoch from '2026-07-17 16:46:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369491 -3.085269)'), GeomFromEWKT('SRID=4674;POINT (-39.369498 -3.08527)'))) / (select extract(epoch from '2026-07-17 16:46:58'::timestamp) - extract(epoch from '2026-07-17 16:46: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'), 47509, 'SRID=4674;POINT (-39.369497 -3.085277)', '2026-07-17 16:47:35', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369498 -3.08527)'), GeomFromEWKT('SRID=4674;POINT (-39.369497 -3.085277)'))) / (select extract(epoch from '2026-07-17 16:47:35'::timestamp) - extract(epoch from '2026-07-17 16:46:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369498 -3.08527)'), GeomFromEWKT('SRID=4674;POINT (-39.369497 -3.085277)'))) / (select extract(epoch from '2026-07-17 16:47:35'::timestamp) - extract(epoch from '2026-07-17 16:46:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369517 -3.085267)', '2026-07-17 16:48:34', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369497 -3.085277)'), GeomFromEWKT('SRID=4674;POINT (-39.369517 -3.085267)'))) / (select extract(epoch from '2026-07-17 16:48:34'::timestamp) - extract(epoch from '2026-07-17 16:47:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369497 -3.085277)'), GeomFromEWKT('SRID=4674;POINT (-39.369517 -3.085267)'))) / (select extract(epoch from '2026-07-17 16:48:34'::timestamp) - extract(epoch from '2026-07-17 16:47:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369514 -3.085275)', '2026-07-17 16:49:12', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369517 -3.085267)'), GeomFromEWKT('SRID=4674;POINT (-39.369514 -3.085275)'))) / (select extract(epoch from '2026-07-17 16:49:12'::timestamp) - extract(epoch from '2026-07-17 16:48:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369517 -3.085267)'), GeomFromEWKT('SRID=4674;POINT (-39.369514 -3.085275)'))) / (select extract(epoch from '2026-07-17 16:49:12'::timestamp) - extract(epoch from '2026-07-17 16:48: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'), 47509, 'SRID=4674;POINT (-39.369511 -3.08527)', '2026-07-17 16:49:26', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369514 -3.085275)'), GeomFromEWKT('SRID=4674;POINT (-39.369511 -3.08527)'))) / (select extract(epoch from '2026-07-17 16:49:26'::timestamp) - extract(epoch from '2026-07-17 16:49:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369514 -3.085275)'), GeomFromEWKT('SRID=4674;POINT (-39.369511 -3.08527)'))) / (select extract(epoch from '2026-07-17 16:49:26'::timestamp) - extract(epoch from '2026-07-17 16:49: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'), 47509, 'SRID=4674;POINT (-39.369509 -3.085264)', '2026-07-17 16:49:58', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369511 -3.08527)'), GeomFromEWKT('SRID=4674;POINT (-39.369509 -3.085264)'))) / (select extract(epoch from '2026-07-17 16:49:58'::timestamp) - extract(epoch from '2026-07-17 16:49:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369511 -3.08527)'), GeomFromEWKT('SRID=4674;POINT (-39.369509 -3.085264)'))) / (select extract(epoch from '2026-07-17 16:49:58'::timestamp) - extract(epoch from '2026-07-17 16:49: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'), 47509, 'SRID=4674;POINT (-39.369518 -3.08524)', '2026-07-17 16:51:09', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369509 -3.085264)'), GeomFromEWKT('SRID=4674;POINT (-39.369518 -3.08524)'))) / (select extract(epoch from '2026-07-17 16:51:09'::timestamp) - extract(epoch from '2026-07-17 16:49:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369509 -3.085264)'), GeomFromEWKT('SRID=4674;POINT (-39.369518 -3.08524)'))) / (select extract(epoch from '2026-07-17 16:51:09'::timestamp) - extract(epoch from '2026-07-17 16:49: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'), 47509, 'SRID=4674;POINT (-39.369526 -3.085249)', '2026-07-17 16:51:39', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369518 -3.08524)'), GeomFromEWKT('SRID=4674;POINT (-39.369526 -3.085249)'))) / (select extract(epoch from '2026-07-17 16:51:39'::timestamp) - extract(epoch from '2026-07-17 16:51:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369518 -3.08524)'), GeomFromEWKT('SRID=4674;POINT (-39.369526 -3.085249)'))) / (select extract(epoch from '2026-07-17 16:51:39'::timestamp) - extract(epoch from '2026-07-17 16:51:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369529 -3.085252)', '2026-07-17 16:52:00', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369526 -3.085249)'), GeomFromEWKT('SRID=4674;POINT (-39.369529 -3.085252)'))) / (select extract(epoch from '2026-07-17 16:52:00'::timestamp) - extract(epoch from '2026-07-17 16:51:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369526 -3.085249)'), GeomFromEWKT('SRID=4674;POINT (-39.369529 -3.085252)'))) / (select extract(epoch from '2026-07-17 16:52:00'::timestamp) - extract(epoch from '2026-07-17 16:51: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'), 47509, 'SRID=4674;POINT (-39.369519 -3.085287)', '2026-07-17 16:53:08', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369529 -3.085252)'), GeomFromEWKT('SRID=4674;POINT (-39.369519 -3.085287)'))) / (select extract(epoch from '2026-07-17 16:53:08'::timestamp) - extract(epoch from '2026-07-17 16:52:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369529 -3.085252)'), GeomFromEWKT('SRID=4674;POINT (-39.369519 -3.085287)'))) / (select extract(epoch from '2026-07-17 16:53:08'::timestamp) - extract(epoch from '2026-07-17 16:52:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369547 -3.085306)', '2026-07-17 16:53:19', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369519 -3.085287)'), GeomFromEWKT('SRID=4674;POINT (-39.369547 -3.085306)'))) / (select extract(epoch from '2026-07-17 16:53:19'::timestamp) - extract(epoch from '2026-07-17 16:53:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369519 -3.085287)'), GeomFromEWKT('SRID=4674;POINT (-39.369547 -3.085306)'))) / (select extract(epoch from '2026-07-17 16:53:19'::timestamp) - extract(epoch from '2026-07-17 16:53: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'), 47509, 'SRID=4674;POINT (-39.369563 -3.085336)', '2026-07-17 16:53:59', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369547 -3.085306)'), GeomFromEWKT('SRID=4674;POINT (-39.369563 -3.085336)'))) / (select extract(epoch from '2026-07-17 16:53:59'::timestamp) - extract(epoch from '2026-07-17 16:53:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369547 -3.085306)'), GeomFromEWKT('SRID=4674;POINT (-39.369563 -3.085336)'))) / (select extract(epoch from '2026-07-17 16:53:59'::timestamp) - extract(epoch from '2026-07-17 16:53:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.36956 -3.085332)', '2026-07-17 16:54:12', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369563 -3.085336)'), GeomFromEWKT('SRID=4674;POINT (-39.36956 -3.085332)'))) / (select extract(epoch from '2026-07-17 16:54:12'::timestamp) - extract(epoch from '2026-07-17 16:53:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369563 -3.085336)'), GeomFromEWKT('SRID=4674;POINT (-39.36956 -3.085332)'))) / (select extract(epoch from '2026-07-17 16:54:12'::timestamp) - extract(epoch from '2026-07-17 16:53: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'), 47509, 'SRID=4674;POINT (-39.369557 -3.085355)', '2026-07-17 16:54:26', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36956 -3.085332)'), GeomFromEWKT('SRID=4674;POINT (-39.369557 -3.085355)'))) / (select extract(epoch from '2026-07-17 16:54:26'::timestamp) - extract(epoch from '2026-07-17 16:54:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36956 -3.085332)'), GeomFromEWKT('SRID=4674;POINT (-39.369557 -3.085355)'))) / (select extract(epoch from '2026-07-17 16:54:26'::timestamp) - extract(epoch from '2026-07-17 16:54: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'), 47509, 'SRID=4674;POINT (-39.369562 -3.085365)', '2026-07-17 16:54:34', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369557 -3.085355)'), GeomFromEWKT('SRID=4674;POINT (-39.369562 -3.085365)'))) / (select extract(epoch from '2026-07-17 16:54:34'::timestamp) - extract(epoch from '2026-07-17 16:54:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369557 -3.085355)'), GeomFromEWKT('SRID=4674;POINT (-39.369562 -3.085365)'))) / (select extract(epoch from '2026-07-17 16:54:34'::timestamp) - extract(epoch from '2026-07-17 16:54: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'), 47509, 'SRID=4674;POINT (-39.369555 -3.085383)', '2026-07-17 16:54:55', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369562 -3.085365)'), GeomFromEWKT('SRID=4674;POINT (-39.369555 -3.085383)'))) / (select extract(epoch from '2026-07-17 16:54:55'::timestamp) - extract(epoch from '2026-07-17 16:54:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369562 -3.085365)'), GeomFromEWKT('SRID=4674;POINT (-39.369555 -3.085383)'))) / (select extract(epoch from '2026-07-17 16:54:55'::timestamp) - extract(epoch from '2026-07-17 16:54: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'), 47509, 'SRID=4674;POINT (-39.36955 -3.085408)', '2026-07-17 16:55:39', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369555 -3.085383)'), GeomFromEWKT('SRID=4674;POINT (-39.36955 -3.085408)'))) / (select extract(epoch from '2026-07-17 16:55:39'::timestamp) - extract(epoch from '2026-07-17 16:54:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369555 -3.085383)'), GeomFromEWKT('SRID=4674;POINT (-39.36955 -3.085408)'))) / (select extract(epoch from '2026-07-17 16:55:39'::timestamp) - extract(epoch from '2026-07-17 16:54: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'), 47509, 'SRID=4674;POINT (-39.369547 -3.085423)', '2026-07-17 16:56:18', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36955 -3.085408)'), GeomFromEWKT('SRID=4674;POINT (-39.369547 -3.085423)'))) / (select extract(epoch from '2026-07-17 16:56:18'::timestamp) - extract(epoch from '2026-07-17 16:55:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36955 -3.085408)'), GeomFromEWKT('SRID=4674;POINT (-39.369547 -3.085423)'))) / (select extract(epoch from '2026-07-17 16:56:18'::timestamp) - extract(epoch from '2026-07-17 16:55:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369556 -3.085433)', '2026-07-17 16:56:41', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369547 -3.085423)'), GeomFromEWKT('SRID=4674;POINT (-39.369556 -3.085433)'))) / (select extract(epoch from '2026-07-17 16:56:41'::timestamp) - extract(epoch from '2026-07-17 16:56:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369547 -3.085423)'), GeomFromEWKT('SRID=4674;POINT (-39.369556 -3.085433)'))) / (select extract(epoch from '2026-07-17 16:56:41'::timestamp) - extract(epoch from '2026-07-17 16:56:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369558 -3.085429)', '2026-07-17 16:56:50', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369556 -3.085433)'), GeomFromEWKT('SRID=4674;POINT (-39.369558 -3.085429)'))) / (select extract(epoch from '2026-07-17 16:56:50'::timestamp) - extract(epoch from '2026-07-17 16:56:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369556 -3.085433)'), GeomFromEWKT('SRID=4674;POINT (-39.369558 -3.085429)'))) / (select extract(epoch from '2026-07-17 16:56:50'::timestamp) - extract(epoch from '2026-07-17 16:56: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'), 47509, 'SRID=4674;POINT (-39.369566 -3.085423)', '2026-07-17 16:57:02', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369558 -3.085429)'), GeomFromEWKT('SRID=4674;POINT (-39.369566 -3.085423)'))) / (select extract(epoch from '2026-07-17 16:57:02'::timestamp) - extract(epoch from '2026-07-17 16:56:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369558 -3.085429)'), GeomFromEWKT('SRID=4674;POINT (-39.369566 -3.085423)'))) / (select extract(epoch from '2026-07-17 16:57:02'::timestamp) - extract(epoch from '2026-07-17 16:56:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369563 -3.085415)', '2026-07-17 16:57:08', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369566 -3.085423)'), GeomFromEWKT('SRID=4674;POINT (-39.369563 -3.085415)'))) / (select extract(epoch from '2026-07-17 16:57:08'::timestamp) - extract(epoch from '2026-07-17 16:57:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369566 -3.085423)'), GeomFromEWKT('SRID=4674;POINT (-39.369563 -3.085415)'))) / (select extract(epoch from '2026-07-17 16:57:08'::timestamp) - extract(epoch from '2026-07-17 16:57:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369564 -3.085421)', '2026-07-17 16:57:31', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369563 -3.085415)'), GeomFromEWKT('SRID=4674;POINT (-39.369564 -3.085421)'))) / (select extract(epoch from '2026-07-17 16:57:31'::timestamp) - extract(epoch from '2026-07-17 16:57:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369563 -3.085415)'), GeomFromEWKT('SRID=4674;POINT (-39.369564 -3.085421)'))) / (select extract(epoch from '2026-07-17 16:57:31'::timestamp) - extract(epoch from '2026-07-17 16:57: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'), 47509, 'SRID=4674;POINT (-39.369451 -3.085395)', '2026-07-17 17:00:39', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369564 -3.085421)'), GeomFromEWKT('SRID=4674;POINT (-39.369451 -3.085395)'))) / (select extract(epoch from '2026-07-17 17:00:39'::timestamp) - extract(epoch from '2026-07-17 16:57:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369564 -3.085421)'), GeomFromEWKT('SRID=4674;POINT (-39.369451 -3.085395)'))) / (select extract(epoch from '2026-07-17 17:00:39'::timestamp) - extract(epoch from '2026-07-17 16:57:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369373 -3.085393)', '2026-07-17 17:00:50', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369451 -3.085395)'), GeomFromEWKT('SRID=4674;POINT (-39.369373 -3.085393)'))) / (select extract(epoch from '2026-07-17 17:00:50'::timestamp) - extract(epoch from '2026-07-17 17:00:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369451 -3.085395)'), GeomFromEWKT('SRID=4674;POINT (-39.369373 -3.085393)'))) / (select extract(epoch from '2026-07-17 17:00:50'::timestamp) - extract(epoch from '2026-07-17 17:00:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369297 -3.085423)', '2026-07-17 17:01:01', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369373 -3.085393)'), GeomFromEWKT('SRID=4674;POINT (-39.369297 -3.085423)'))) / (select extract(epoch from '2026-07-17 17:01:01'::timestamp) - extract(epoch from '2026-07-17 17:00:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369373 -3.085393)'), GeomFromEWKT('SRID=4674;POINT (-39.369297 -3.085423)'))) / (select extract(epoch from '2026-07-17 17:01:01'::timestamp) - extract(epoch from '2026-07-17 17:00: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'), 47509, 'SRID=4674;POINT (-39.36923 -3.085412)', '2026-07-17 17:01:10', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369297 -3.085423)'), GeomFromEWKT('SRID=4674;POINT (-39.36923 -3.085412)'))) / (select extract(epoch from '2026-07-17 17:01:10'::timestamp) - extract(epoch from '2026-07-17 17:01:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369297 -3.085423)'), GeomFromEWKT('SRID=4674;POINT (-39.36923 -3.085412)'))) / (select extract(epoch from '2026-07-17 17:01:10'::timestamp) - extract(epoch from '2026-07-17 17:01:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369144 -3.085389)', '2026-07-17 17:01:18', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36923 -3.085412)'), GeomFromEWKT('SRID=4674;POINT (-39.369144 -3.085389)'))) / (select extract(epoch from '2026-07-17 17:01:18'::timestamp) - extract(epoch from '2026-07-17 17:01:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36923 -3.085412)'), GeomFromEWKT('SRID=4674;POINT (-39.369144 -3.085389)'))) / (select extract(epoch from '2026-07-17 17:01:18'::timestamp) - extract(epoch from '2026-07-17 17:01:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369084 -3.08537)', '2026-07-17 17:01:26', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369144 -3.085389)'), GeomFromEWKT('SRID=4674;POINT (-39.369084 -3.08537)'))) / (select extract(epoch from '2026-07-17 17:01:26'::timestamp) - extract(epoch from '2026-07-17 17:01:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369144 -3.085389)'), GeomFromEWKT('SRID=4674;POINT (-39.369084 -3.08537)'))) / (select extract(epoch from '2026-07-17 17:01:26'::timestamp) - extract(epoch from '2026-07-17 17:01:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369042 -3.085376)', '2026-07-17 17:01:33', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369084 -3.08537)'), GeomFromEWKT('SRID=4674;POINT (-39.369042 -3.085376)'))) / (select extract(epoch from '2026-07-17 17:01:33'::timestamp) - extract(epoch from '2026-07-17 17:01:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369084 -3.08537)'), GeomFromEWKT('SRID=4674;POINT (-39.369042 -3.085376)'))) / (select extract(epoch from '2026-07-17 17:01:33'::timestamp) - extract(epoch from '2026-07-17 17:01:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.368997 -3.085377)', '2026-07-17 17:01:40', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369042 -3.085376)'), GeomFromEWKT('SRID=4674;POINT (-39.368997 -3.085377)'))) / (select extract(epoch from '2026-07-17 17:01:40'::timestamp) - extract(epoch from '2026-07-17 17:01:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369042 -3.085376)'), GeomFromEWKT('SRID=4674;POINT (-39.368997 -3.085377)'))) / (select extract(epoch from '2026-07-17 17:01:40'::timestamp) - extract(epoch from '2026-07-17 17:01:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.368932 -3.085355)', '2026-07-17 17:01:51', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368997 -3.085377)'), GeomFromEWKT('SRID=4674;POINT (-39.368932 -3.085355)'))) / (select extract(epoch from '2026-07-17 17:01:51'::timestamp) - extract(epoch from '2026-07-17 17:01:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368997 -3.085377)'), GeomFromEWKT('SRID=4674;POINT (-39.368932 -3.085355)'))) / (select extract(epoch from '2026-07-17 17:01:51'::timestamp) - extract(epoch from '2026-07-17 17:01: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'), 47509, 'SRID=4674;POINT (-39.3689 -3.085366)', '2026-07-17 17:02:00', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368932 -3.085355)'), GeomFromEWKT('SRID=4674;POINT (-39.3689 -3.085366)'))) / (select extract(epoch from '2026-07-17 17:02:00'::timestamp) - extract(epoch from '2026-07-17 17:01:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368932 -3.085355)'), GeomFromEWKT('SRID=4674;POINT (-39.3689 -3.085366)'))) / (select extract(epoch from '2026-07-17 17:02:00'::timestamp) - extract(epoch from '2026-07-17 17:01: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'), 47509, 'SRID=4674;POINT (-39.368837 -3.085349)', '2026-07-17 17:02:11', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3689 -3.085366)'), GeomFromEWKT('SRID=4674;POINT (-39.368837 -3.085349)'))) / (select extract(epoch from '2026-07-17 17:02:11'::timestamp) - extract(epoch from '2026-07-17 17:02:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3689 -3.085366)'), GeomFromEWKT('SRID=4674;POINT (-39.368837 -3.085349)'))) / (select extract(epoch from '2026-07-17 17:02:11'::timestamp) - extract(epoch from '2026-07-17 17:02:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.368761 -3.085309)', '2026-07-17 17:02:19', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368837 -3.085349)'), GeomFromEWKT('SRID=4674;POINT (-39.368761 -3.085309)'))) / (select extract(epoch from '2026-07-17 17:02:19'::timestamp) - extract(epoch from '2026-07-17 17:02:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368837 -3.085349)'), GeomFromEWKT('SRID=4674;POINT (-39.368761 -3.085309)'))) / (select extract(epoch from '2026-07-17 17:02:19'::timestamp) - extract(epoch from '2026-07-17 17:02: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'), 47509, 'SRID=4674;POINT (-39.368728 -3.085299)', '2026-07-17 17:02:22', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368761 -3.085309)'), GeomFromEWKT('SRID=4674;POINT (-39.368728 -3.085299)'))) / (select extract(epoch from '2026-07-17 17:02:22'::timestamp) - extract(epoch from '2026-07-17 17:02:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368761 -3.085309)'), GeomFromEWKT('SRID=4674;POINT (-39.368728 -3.085299)'))) / (select extract(epoch from '2026-07-17 17:02:22'::timestamp) - extract(epoch from '2026-07-17 17:02: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'), 47509, 'SRID=4674;POINT (-39.368657 -3.085309)', '2026-07-17 17:02:26', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368728 -3.085299)'), GeomFromEWKT('SRID=4674;POINT (-39.368657 -3.085309)'))) / (select extract(epoch from '2026-07-17 17:02:26'::timestamp) - extract(epoch from '2026-07-17 17:02:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368728 -3.085299)'), GeomFromEWKT('SRID=4674;POINT (-39.368657 -3.085309)'))) / (select extract(epoch from '2026-07-17 17:02:26'::timestamp) - extract(epoch from '2026-07-17 17:02: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'), 47509, 'SRID=4674;POINT (-39.368642 -3.085313)', '2026-07-17 17:02:27', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368657 -3.085309)'), GeomFromEWKT('SRID=4674;POINT (-39.368642 -3.085313)'))) / (select extract(epoch from '2026-07-17 17:02:27'::timestamp) - extract(epoch from '2026-07-17 17:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368657 -3.085309)'), GeomFromEWKT('SRID=4674;POINT (-39.368642 -3.085313)'))) / (select extract(epoch from '2026-07-17 17:02:27'::timestamp) - extract(epoch from '2026-07-17 17:02:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.368569 -3.085344)', '2026-07-17 17:02:33', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368642 -3.085313)'), GeomFromEWKT('SRID=4674;POINT (-39.368569 -3.085344)'))) / (select extract(epoch from '2026-07-17 17:02:33'::timestamp) - extract(epoch from '2026-07-17 17:02:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368642 -3.085313)'), GeomFromEWKT('SRID=4674;POINT (-39.368569 -3.085344)'))) / (select extract(epoch from '2026-07-17 17:02:33'::timestamp) - extract(epoch from '2026-07-17 17:02: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'), 47509, 'SRID=4674;POINT (-39.368519 -3.085359)', '2026-07-17 17:02:41', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368569 -3.085344)'), GeomFromEWKT('SRID=4674;POINT (-39.368519 -3.085359)'))) / (select extract(epoch from '2026-07-17 17:02:41'::timestamp) - extract(epoch from '2026-07-17 17:02:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368569 -3.085344)'), GeomFromEWKT('SRID=4674;POINT (-39.368519 -3.085359)'))) / (select extract(epoch from '2026-07-17 17:02:41'::timestamp) - extract(epoch from '2026-07-17 17:02:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.368482 -3.085362)', '2026-07-17 17:02:49', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368519 -3.085359)'), GeomFromEWKT('SRID=4674;POINT (-39.368482 -3.085362)'))) / (select extract(epoch from '2026-07-17 17:02:49'::timestamp) - extract(epoch from '2026-07-17 17:02:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368519 -3.085359)'), GeomFromEWKT('SRID=4674;POINT (-39.368482 -3.085362)'))) / (select extract(epoch from '2026-07-17 17:02:49'::timestamp) - extract(epoch from '2026-07-17 17:02: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'), 47509, 'SRID=4674;POINT (-39.368529 -3.085373)', '2026-07-17 17:02:58', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368482 -3.085362)'), GeomFromEWKT('SRID=4674;POINT (-39.368529 -3.085373)'))) / (select extract(epoch from '2026-07-17 17:02:58'::timestamp) - extract(epoch from '2026-07-17 17:02:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368482 -3.085362)'), GeomFromEWKT('SRID=4674;POINT (-39.368529 -3.085373)'))) / (select extract(epoch from '2026-07-17 17:02:58'::timestamp) - extract(epoch from '2026-07-17 17:02: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'), 47509, 'SRID=4674;POINT (-39.36858 -3.085384)', '2026-07-17 17:03:05', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368529 -3.085373)'), GeomFromEWKT('SRID=4674;POINT (-39.36858 -3.085384)'))) / (select extract(epoch from '2026-07-17 17:03:05'::timestamp) - extract(epoch from '2026-07-17 17:02:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368529 -3.085373)'), GeomFromEWKT('SRID=4674;POINT (-39.36858 -3.085384)'))) / (select extract(epoch from '2026-07-17 17:03:05'::timestamp) - extract(epoch from '2026-07-17 17:02:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.368621 -3.085384)', '2026-07-17 17:03:13', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36858 -3.085384)'), GeomFromEWKT('SRID=4674;POINT (-39.368621 -3.085384)'))) / (select extract(epoch from '2026-07-17 17:03:13'::timestamp) - extract(epoch from '2026-07-17 17:03:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36858 -3.085384)'), GeomFromEWKT('SRID=4674;POINT (-39.368621 -3.085384)'))) / (select extract(epoch from '2026-07-17 17:03:13'::timestamp) - extract(epoch from '2026-07-17 17:03:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.36867 -3.085365)', '2026-07-17 17:03:21', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368621 -3.085384)'), GeomFromEWKT('SRID=4674;POINT (-39.36867 -3.085365)'))) / (select extract(epoch from '2026-07-17 17:03:21'::timestamp) - extract(epoch from '2026-07-17 17:03:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368621 -3.085384)'), GeomFromEWKT('SRID=4674;POINT (-39.36867 -3.085365)'))) / (select extract(epoch from '2026-07-17 17:03:21'::timestamp) - extract(epoch from '2026-07-17 17:03: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'), 47509, 'SRID=4674;POINT (-39.368742 -3.085416)', '2026-07-17 17:03:29', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36867 -3.085365)'), GeomFromEWKT('SRID=4674;POINT (-39.368742 -3.085416)'))) / (select extract(epoch from '2026-07-17 17:03:29'::timestamp) - extract(epoch from '2026-07-17 17:03:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36867 -3.085365)'), GeomFromEWKT('SRID=4674;POINT (-39.368742 -3.085416)'))) / (select extract(epoch from '2026-07-17 17:03:29'::timestamp) - extract(epoch from '2026-07-17 17:03: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'), 47509, 'SRID=4674;POINT (-39.368775 -3.085554)', '2026-07-17 17:03:38', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368742 -3.085416)'), GeomFromEWKT('SRID=4674;POINT (-39.368775 -3.085554)'))) / (select extract(epoch from '2026-07-17 17:03:38'::timestamp) - extract(epoch from '2026-07-17 17:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368742 -3.085416)'), GeomFromEWKT('SRID=4674;POINT (-39.368775 -3.085554)'))) / (select extract(epoch from '2026-07-17 17:03:38'::timestamp) - extract(epoch from '2026-07-17 17:03:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.368786 -3.085639)', '2026-07-17 17:03:44', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368775 -3.085554)'), GeomFromEWKT('SRID=4674;POINT (-39.368786 -3.085639)'))) / (select extract(epoch from '2026-07-17 17:03:44'::timestamp) - extract(epoch from '2026-07-17 17:03:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368775 -3.085554)'), GeomFromEWKT('SRID=4674;POINT (-39.368786 -3.085639)'))) / (select extract(epoch from '2026-07-17 17:03:44'::timestamp) - extract(epoch from '2026-07-17 17:03: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'), 47509, 'SRID=4674;POINT (-39.36884 -3.085675)', '2026-07-17 17:03:50', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368786 -3.085639)'), GeomFromEWKT('SRID=4674;POINT (-39.36884 -3.085675)'))) / (select extract(epoch from '2026-07-17 17:03:50'::timestamp) - extract(epoch from '2026-07-17 17:03:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368786 -3.085639)'), GeomFromEWKT('SRID=4674;POINT (-39.36884 -3.085675)'))) / (select extract(epoch from '2026-07-17 17:03:50'::timestamp) - extract(epoch from '2026-07-17 17:03:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.368839 -3.085772)', '2026-07-17 17:03:57', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36884 -3.085675)'), GeomFromEWKT('SRID=4674;POINT (-39.368839 -3.085772)'))) / (select extract(epoch from '2026-07-17 17:03:57'::timestamp) - extract(epoch from '2026-07-17 17:03:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36884 -3.085675)'), GeomFromEWKT('SRID=4674;POINT (-39.368839 -3.085772)'))) / (select extract(epoch from '2026-07-17 17:03:57'::timestamp) - extract(epoch from '2026-07-17 17:03:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.368845 -3.085886)', '2026-07-17 17:04:05', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368839 -3.085772)'), GeomFromEWKT('SRID=4674;POINT (-39.368845 -3.085886)'))) / (select extract(epoch from '2026-07-17 17:04:05'::timestamp) - extract(epoch from '2026-07-17 17:03:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368839 -3.085772)'), GeomFromEWKT('SRID=4674;POINT (-39.368845 -3.085886)'))) / (select extract(epoch from '2026-07-17 17:04:05'::timestamp) - extract(epoch from '2026-07-17 17:03:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.368837 -3.085898)', '2026-07-17 17:04:06', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368845 -3.085886)'), GeomFromEWKT('SRID=4674;POINT (-39.368837 -3.085898)'))) / (select extract(epoch from '2026-07-17 17:04:06'::timestamp) - extract(epoch from '2026-07-17 17:04:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368845 -3.085886)'), GeomFromEWKT('SRID=4674;POINT (-39.368837 -3.085898)'))) / (select extract(epoch from '2026-07-17 17:04:06'::timestamp) - extract(epoch from '2026-07-17 17:04: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'), 47509, 'SRID=4674;POINT (-39.368867 -3.085935)', '2026-07-17 17:04:10', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368837 -3.085898)'), GeomFromEWKT('SRID=4674;POINT (-39.368867 -3.085935)'))) / (select extract(epoch from '2026-07-17 17:04:10'::timestamp) - extract(epoch from '2026-07-17 17:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368837 -3.085898)'), GeomFromEWKT('SRID=4674;POINT (-39.368867 -3.085935)'))) / (select extract(epoch from '2026-07-17 17:04:10'::timestamp) - extract(epoch from '2026-07-17 17:04:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.368943 -3.085987)', '2026-07-17 17:04:16', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368867 -3.085935)'), GeomFromEWKT('SRID=4674;POINT (-39.368943 -3.085987)'))) / (select extract(epoch from '2026-07-17 17:04:16'::timestamp) - extract(epoch from '2026-07-17 17:04:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368867 -3.085935)'), GeomFromEWKT('SRID=4674;POINT (-39.368943 -3.085987)'))) / (select extract(epoch from '2026-07-17 17:04:16'::timestamp) - extract(epoch from '2026-07-17 17:04:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.368968 -3.086038)', '2026-07-17 17:04:22', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368943 -3.085987)'), GeomFromEWKT('SRID=4674;POINT (-39.368968 -3.086038)'))) / (select extract(epoch from '2026-07-17 17:04:22'::timestamp) - extract(epoch from '2026-07-17 17:04:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368943 -3.085987)'), GeomFromEWKT('SRID=4674;POINT (-39.368968 -3.086038)'))) / (select extract(epoch from '2026-07-17 17:04:22'::timestamp) - extract(epoch from '2026-07-17 17:04:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.368986 -3.086104)', '2026-07-17 17:04:28', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368968 -3.086038)'), GeomFromEWKT('SRID=4674;POINT (-39.368986 -3.086104)'))) / (select extract(epoch from '2026-07-17 17:04:28'::timestamp) - extract(epoch from '2026-07-17 17:04:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368968 -3.086038)'), GeomFromEWKT('SRID=4674;POINT (-39.368986 -3.086104)'))) / (select extract(epoch from '2026-07-17 17:04:28'::timestamp) - extract(epoch from '2026-07-17 17:04: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'), 47509, 'SRID=4674;POINT (-39.368969 -3.086182)', '2026-07-17 17:04:35', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368986 -3.086104)'), GeomFromEWKT('SRID=4674;POINT (-39.368969 -3.086182)'))) / (select extract(epoch from '2026-07-17 17:04:35'::timestamp) - extract(epoch from '2026-07-17 17:04:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368986 -3.086104)'), GeomFromEWKT('SRID=4674;POINT (-39.368969 -3.086182)'))) / (select extract(epoch from '2026-07-17 17:04:35'::timestamp) - extract(epoch from '2026-07-17 17:04: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'), 47509, 'SRID=4674;POINT (-39.368928 -3.086292)', '2026-07-17 17:04:42', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368969 -3.086182)'), GeomFromEWKT('SRID=4674;POINT (-39.368928 -3.086292)'))) / (select extract(epoch from '2026-07-17 17:04:42'::timestamp) - extract(epoch from '2026-07-17 17:04:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368969 -3.086182)'), GeomFromEWKT('SRID=4674;POINT (-39.368928 -3.086292)'))) / (select extract(epoch from '2026-07-17 17:04:42'::timestamp) - extract(epoch from '2026-07-17 17:04: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'), 47509, 'SRID=4674;POINT (-39.368932 -3.086312)', '2026-07-17 17:04:44', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368928 -3.086292)'), GeomFromEWKT('SRID=4674;POINT (-39.368932 -3.086312)'))) / (select extract(epoch from '2026-07-17 17:04:44'::timestamp) - extract(epoch from '2026-07-17 17:04:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368928 -3.086292)'), GeomFromEWKT('SRID=4674;POINT (-39.368932 -3.086312)'))) / (select extract(epoch from '2026-07-17 17:04:44'::timestamp) - extract(epoch from '2026-07-17 17:04:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.368937 -3.086344)', '2026-07-17 17:04:48', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368932 -3.086312)'), GeomFromEWKT('SRID=4674;POINT (-39.368937 -3.086344)'))) / (select extract(epoch from '2026-07-17 17:04:48'::timestamp) - extract(epoch from '2026-07-17 17:04:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368932 -3.086312)'), GeomFromEWKT('SRID=4674;POINT (-39.368937 -3.086344)'))) / (select extract(epoch from '2026-07-17 17:04:48'::timestamp) - extract(epoch from '2026-07-17 17:04:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.368927 -3.086432)', '2026-07-17 17:04:56', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368937 -3.086344)'), GeomFromEWKT('SRID=4674;POINT (-39.368927 -3.086432)'))) / (select extract(epoch from '2026-07-17 17:04:56'::timestamp) - extract(epoch from '2026-07-17 17:04:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368937 -3.086344)'), GeomFromEWKT('SRID=4674;POINT (-39.368927 -3.086432)'))) / (select extract(epoch from '2026-07-17 17:04:56'::timestamp) - extract(epoch from '2026-07-17 17:04:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.368933 -3.086469)', '2026-07-17 17:05:01', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368927 -3.086432)'), GeomFromEWKT('SRID=4674;POINT (-39.368933 -3.086469)'))) / (select extract(epoch from '2026-07-17 17:05:01'::timestamp) - extract(epoch from '2026-07-17 17:04:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368927 -3.086432)'), GeomFromEWKT('SRID=4674;POINT (-39.368933 -3.086469)'))) / (select extract(epoch from '2026-07-17 17:05:01'::timestamp) - extract(epoch from '2026-07-17 17:04:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.368929 -3.086476)', '2026-07-17 17:05:02', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368933 -3.086469)'), GeomFromEWKT('SRID=4674;POINT (-39.368929 -3.086476)'))) / (select extract(epoch from '2026-07-17 17:05:02'::timestamp) - extract(epoch from '2026-07-17 17:05:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368933 -3.086469)'), GeomFromEWKT('SRID=4674;POINT (-39.368929 -3.086476)'))) / (select extract(epoch from '2026-07-17 17:05:02'::timestamp) - extract(epoch from '2026-07-17 17:05: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'), 47509, 'SRID=4674;POINT (-39.368916 -3.086532)', '2026-07-17 17:05:08', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368929 -3.086476)'), GeomFromEWKT('SRID=4674;POINT (-39.368916 -3.086532)'))) / (select extract(epoch from '2026-07-17 17:05:08'::timestamp) - extract(epoch from '2026-07-17 17:05:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368929 -3.086476)'), GeomFromEWKT('SRID=4674;POINT (-39.368916 -3.086532)'))) / (select extract(epoch from '2026-07-17 17:05:08'::timestamp) - extract(epoch from '2026-07-17 17:05:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.368915 -3.086556)', '2026-07-17 17:05:10', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368916 -3.086532)'), GeomFromEWKT('SRID=4674;POINT (-39.368915 -3.086556)'))) / (select extract(epoch from '2026-07-17 17:05:10'::timestamp) - extract(epoch from '2026-07-17 17:05:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368916 -3.086532)'), GeomFromEWKT('SRID=4674;POINT (-39.368915 -3.086556)'))) / (select extract(epoch from '2026-07-17 17:05:10'::timestamp) - extract(epoch from '2026-07-17 17:05:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.368892 -3.086618)', '2026-07-17 17:05:15', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368915 -3.086556)'), GeomFromEWKT('SRID=4674;POINT (-39.368892 -3.086618)'))) / (select extract(epoch from '2026-07-17 17:05:15'::timestamp) - extract(epoch from '2026-07-17 17:05:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368915 -3.086556)'), GeomFromEWKT('SRID=4674;POINT (-39.368892 -3.086618)'))) / (select extract(epoch from '2026-07-17 17:05:15'::timestamp) - extract(epoch from '2026-07-17 17:05: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'), 47509, 'SRID=4674;POINT (-39.36887 -3.086684)', '2026-07-17 17:05:25', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368892 -3.086618)'), GeomFromEWKT('SRID=4674;POINT (-39.36887 -3.086684)'))) / (select extract(epoch from '2026-07-17 17:05:25'::timestamp) - extract(epoch from '2026-07-17 17:05:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368892 -3.086618)'), GeomFromEWKT('SRID=4674;POINT (-39.36887 -3.086684)'))) / (select extract(epoch from '2026-07-17 17:05:25'::timestamp) - extract(epoch from '2026-07-17 17:05: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'), 47509, 'SRID=4674;POINT (-39.36887 -3.086694)', '2026-07-17 17:05:26', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36887 -3.086684)'), GeomFromEWKT('SRID=4674;POINT (-39.36887 -3.086694)'))) / (select extract(epoch from '2026-07-17 17:05:26'::timestamp) - extract(epoch from '2026-07-17 17:05:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36887 -3.086684)'), GeomFromEWKT('SRID=4674;POINT (-39.36887 -3.086694)'))) / (select extract(epoch from '2026-07-17 17:05:26'::timestamp) - extract(epoch from '2026-07-17 17:05: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'), 47509, 'SRID=4674;POINT (-39.36886 -3.086739)', '2026-07-17 17:05:30', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36887 -3.086694)'), GeomFromEWKT('SRID=4674;POINT (-39.36886 -3.086739)'))) / (select extract(epoch from '2026-07-17 17:05:30'::timestamp) - extract(epoch from '2026-07-17 17:05:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36887 -3.086694)'), GeomFromEWKT('SRID=4674;POINT (-39.36886 -3.086739)'))) / (select extract(epoch from '2026-07-17 17:05:30'::timestamp) - extract(epoch from '2026-07-17 17:05:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.368844 -3.086771)', '2026-07-17 17:05:32', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36886 -3.086739)'), GeomFromEWKT('SRID=4674;POINT (-39.368844 -3.086771)'))) / (select extract(epoch from '2026-07-17 17:05:32'::timestamp) - extract(epoch from '2026-07-17 17:05:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36886 -3.086739)'), GeomFromEWKT('SRID=4674;POINT (-39.368844 -3.086771)'))) / (select extract(epoch from '2026-07-17 17:05:32'::timestamp) - extract(epoch from '2026-07-17 17:05: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'), 47509, 'SRID=4674;POINT (-39.368812 -3.086909)', '2026-07-17 17:05:40', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368844 -3.086771)'), GeomFromEWKT('SRID=4674;POINT (-39.368812 -3.086909)'))) / (select extract(epoch from '2026-07-17 17:05:40'::timestamp) - extract(epoch from '2026-07-17 17:05:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368844 -3.086771)'), GeomFromEWKT('SRID=4674;POINT (-39.368812 -3.086909)'))) / (select extract(epoch from '2026-07-17 17:05:40'::timestamp) - extract(epoch from '2026-07-17 17:05:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.368833 -3.087033)', '2026-07-17 17:05:48', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368812 -3.086909)'), GeomFromEWKT('SRID=4674;POINT (-39.368833 -3.087033)'))) / (select extract(epoch from '2026-07-17 17:05:48'::timestamp) - extract(epoch from '2026-07-17 17:05:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368812 -3.086909)'), GeomFromEWKT('SRID=4674;POINT (-39.368833 -3.087033)'))) / (select extract(epoch from '2026-07-17 17:05:48'::timestamp) - extract(epoch from '2026-07-17 17:05: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'), 47509, 'SRID=4674;POINT (-39.368886 -3.087124)', '2026-07-17 17:05:55', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368833 -3.087033)'), GeomFromEWKT('SRID=4674;POINT (-39.368886 -3.087124)'))) / (select extract(epoch from '2026-07-17 17:05:55'::timestamp) - extract(epoch from '2026-07-17 17:05:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368833 -3.087033)'), GeomFromEWKT('SRID=4674;POINT (-39.368886 -3.087124)'))) / (select extract(epoch from '2026-07-17 17:05:55'::timestamp) - extract(epoch from '2026-07-17 17:05: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'), 47509, 'SRID=4674;POINT (-39.368914 -3.087256)', '2026-07-17 17:06:02', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368886 -3.087124)'), GeomFromEWKT('SRID=4674;POINT (-39.368914 -3.087256)'))) / (select extract(epoch from '2026-07-17 17:06:02'::timestamp) - extract(epoch from '2026-07-17 17:05:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368886 -3.087124)'), GeomFromEWKT('SRID=4674;POINT (-39.368914 -3.087256)'))) / (select extract(epoch from '2026-07-17 17:06:02'::timestamp) - extract(epoch from '2026-07-17 17:05:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.368952 -3.087373)', '2026-07-17 17:06:09', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368914 -3.087256)'), GeomFromEWKT('SRID=4674;POINT (-39.368952 -3.087373)'))) / (select extract(epoch from '2026-07-17 17:06:09'::timestamp) - extract(epoch from '2026-07-17 17:06:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368914 -3.087256)'), GeomFromEWKT('SRID=4674;POINT (-39.368952 -3.087373)'))) / (select extract(epoch from '2026-07-17 17:06:09'::timestamp) - extract(epoch from '2026-07-17 17:06: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'), 47509, 'SRID=4674;POINT (-39.368957 -3.087529)', '2026-07-17 17:06:16', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368952 -3.087373)'), GeomFromEWKT('SRID=4674;POINT (-39.368957 -3.087529)'))) / (select extract(epoch from '2026-07-17 17:06:16'::timestamp) - extract(epoch from '2026-07-17 17:06:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368952 -3.087373)'), GeomFromEWKT('SRID=4674;POINT (-39.368957 -3.087529)'))) / (select extract(epoch from '2026-07-17 17:06:16'::timestamp) - extract(epoch from '2026-07-17 17:06: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'), 47509, 'SRID=4674;POINT (-39.36896 -3.087612)', '2026-07-17 17:06:21', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368957 -3.087529)'), GeomFromEWKT('SRID=4674;POINT (-39.36896 -3.087612)'))) / (select extract(epoch from '2026-07-17 17:06:21'::timestamp) - extract(epoch from '2026-07-17 17:06:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368957 -3.087529)'), GeomFromEWKT('SRID=4674;POINT (-39.36896 -3.087612)'))) / (select extract(epoch from '2026-07-17 17:06:21'::timestamp) - extract(epoch from '2026-07-17 17:06: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'), 47509, 'SRID=4674;POINT (-39.368954 -3.087628)', '2026-07-17 17:06:22', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36896 -3.087612)'), GeomFromEWKT('SRID=4674;POINT (-39.368954 -3.087628)'))) / (select extract(epoch from '2026-07-17 17:06:22'::timestamp) - extract(epoch from '2026-07-17 17:06:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36896 -3.087612)'), GeomFromEWKT('SRID=4674;POINT (-39.368954 -3.087628)'))) / (select extract(epoch from '2026-07-17 17:06:22'::timestamp) - extract(epoch from '2026-07-17 17:06:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.368998 -3.087698)', '2026-07-17 17:06:28', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368954 -3.087628)'), GeomFromEWKT('SRID=4674;POINT (-39.368998 -3.087698)'))) / (select extract(epoch from '2026-07-17 17:06:28'::timestamp) - extract(epoch from '2026-07-17 17:06:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368954 -3.087628)'), GeomFromEWKT('SRID=4674;POINT (-39.368998 -3.087698)'))) / (select extract(epoch from '2026-07-17 17:06:28'::timestamp) - extract(epoch from '2026-07-17 17:06: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'), 47509, 'SRID=4674;POINT (-39.369015 -3.087777)', '2026-07-17 17:06:34', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368998 -3.087698)'), GeomFromEWKT('SRID=4674;POINT (-39.369015 -3.087777)'))) / (select extract(epoch from '2026-07-17 17:06:34'::timestamp) - extract(epoch from '2026-07-17 17:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368998 -3.087698)'), GeomFromEWKT('SRID=4674;POINT (-39.369015 -3.087777)'))) / (select extract(epoch from '2026-07-17 17:06:34'::timestamp) - extract(epoch from '2026-07-17 17:06:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.368974 -3.087881)', '2026-07-17 17:06:40', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369015 -3.087777)'), GeomFromEWKT('SRID=4674;POINT (-39.368974 -3.087881)'))) / (select extract(epoch from '2026-07-17 17:06:40'::timestamp) - extract(epoch from '2026-07-17 17:06:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369015 -3.087777)'), GeomFromEWKT('SRID=4674;POINT (-39.368974 -3.087881)'))) / (select extract(epoch from '2026-07-17 17:06:40'::timestamp) - extract(epoch from '2026-07-17 17:06: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'), 47509, 'SRID=4674;POINT (-39.368937 -3.088012)', '2026-07-17 17:06:46', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368974 -3.087881)'), GeomFromEWKT('SRID=4674;POINT (-39.368937 -3.088012)'))) / (select extract(epoch from '2026-07-17 17:06:46'::timestamp) - extract(epoch from '2026-07-17 17:06:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368974 -3.087881)'), GeomFromEWKT('SRID=4674;POINT (-39.368937 -3.088012)'))) / (select extract(epoch from '2026-07-17 17:06:46'::timestamp) - extract(epoch from '2026-07-17 17:06: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'), 47509, 'SRID=4674;POINT (-39.36894 -3.088133)', '2026-07-17 17:06:53', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368937 -3.088012)'), GeomFromEWKT('SRID=4674;POINT (-39.36894 -3.088133)'))) / (select extract(epoch from '2026-07-17 17:06:53'::timestamp) - extract(epoch from '2026-07-17 17:06:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368937 -3.088012)'), GeomFromEWKT('SRID=4674;POINT (-39.36894 -3.088133)'))) / (select extract(epoch from '2026-07-17 17:06:53'::timestamp) - extract(epoch from '2026-07-17 17:06: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'), 47509, 'SRID=4674;POINT (-39.368948 -3.088259)', '2026-07-17 17:07:00', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36894 -3.088133)'), GeomFromEWKT('SRID=4674;POINT (-39.368948 -3.088259)'))) / (select extract(epoch from '2026-07-17 17:07:00'::timestamp) - extract(epoch from '2026-07-17 17:06:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36894 -3.088133)'), GeomFromEWKT('SRID=4674;POINT (-39.368948 -3.088259)'))) / (select extract(epoch from '2026-07-17 17:07:00'::timestamp) - extract(epoch from '2026-07-17 17:06:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.368937 -3.088385)', '2026-07-17 17:07:06', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368948 -3.088259)'), GeomFromEWKT('SRID=4674;POINT (-39.368937 -3.088385)'))) / (select extract(epoch from '2026-07-17 17:07:06'::timestamp) - extract(epoch from '2026-07-17 17:07:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368948 -3.088259)'), GeomFromEWKT('SRID=4674;POINT (-39.368937 -3.088385)'))) / (select extract(epoch from '2026-07-17 17:07:06'::timestamp) - extract(epoch from '2026-07-17 17:07:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.368966 -3.088499)', '2026-07-17 17:07:13', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368937 -3.088385)'), GeomFromEWKT('SRID=4674;POINT (-39.368966 -3.088499)'))) / (select extract(epoch from '2026-07-17 17:07:13'::timestamp) - extract(epoch from '2026-07-17 17:07:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368937 -3.088385)'), GeomFromEWKT('SRID=4674;POINT (-39.368966 -3.088499)'))) / (select extract(epoch from '2026-07-17 17:07:13'::timestamp) - extract(epoch from '2026-07-17 17:07: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'), 47509, 'SRID=4674;POINT (-39.368956 -3.088651)', '2026-07-17 17:07:21', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368966 -3.088499)'), GeomFromEWKT('SRID=4674;POINT (-39.368956 -3.088651)'))) / (select extract(epoch from '2026-07-17 17:07:21'::timestamp) - extract(epoch from '2026-07-17 17:07:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368966 -3.088499)'), GeomFromEWKT('SRID=4674;POINT (-39.368956 -3.088651)'))) / (select extract(epoch from '2026-07-17 17:07:21'::timestamp) - extract(epoch from '2026-07-17 17:07:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.368963 -3.08878)', '2026-07-17 17:07:27', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368956 -3.088651)'), GeomFromEWKT('SRID=4674;POINT (-39.368963 -3.08878)'))) / (select extract(epoch from '2026-07-17 17:07:27'::timestamp) - extract(epoch from '2026-07-17 17:07:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368956 -3.088651)'), GeomFromEWKT('SRID=4674;POINT (-39.368963 -3.08878)'))) / (select extract(epoch from '2026-07-17 17:07:27'::timestamp) - extract(epoch from '2026-07-17 17:07:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.36902 -3.088985)', '2026-07-17 17:07:37', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368963 -3.08878)'), GeomFromEWKT('SRID=4674;POINT (-39.36902 -3.088985)'))) / (select extract(epoch from '2026-07-17 17:07:37'::timestamp) - extract(epoch from '2026-07-17 17:07:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368963 -3.08878)'), GeomFromEWKT('SRID=4674;POINT (-39.36902 -3.088985)'))) / (select extract(epoch from '2026-07-17 17:07:37'::timestamp) - extract(epoch from '2026-07-17 17:07:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369061 -3.089152)', '2026-07-17 17:07:44', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36902 -3.088985)'), GeomFromEWKT('SRID=4674;POINT (-39.369061 -3.089152)'))) / (select extract(epoch from '2026-07-17 17:07:44'::timestamp) - extract(epoch from '2026-07-17 17:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36902 -3.088985)'), GeomFromEWKT('SRID=4674;POINT (-39.369061 -3.089152)'))) / (select extract(epoch from '2026-07-17 17:07:44'::timestamp) - extract(epoch from '2026-07-17 17:07: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'), 47509, 'SRID=4674;POINT (-39.369067 -3.089302)', '2026-07-17 17:07:50', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369061 -3.089152)'), GeomFromEWKT('SRID=4674;POINT (-39.369067 -3.089302)'))) / (select extract(epoch from '2026-07-17 17:07:50'::timestamp) - extract(epoch from '2026-07-17 17:07:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369061 -3.089152)'), GeomFromEWKT('SRID=4674;POINT (-39.369067 -3.089302)'))) / (select extract(epoch from '2026-07-17 17:07:50'::timestamp) - extract(epoch from '2026-07-17 17:07: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'), 47509, 'SRID=4674;POINT (-39.369086 -3.089463)', '2026-07-17 17:07:57', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369067 -3.089302)'), GeomFromEWKT('SRID=4674;POINT (-39.369086 -3.089463)'))) / (select extract(epoch from '2026-07-17 17:07:57'::timestamp) - extract(epoch from '2026-07-17 17:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369067 -3.089302)'), GeomFromEWKT('SRID=4674;POINT (-39.369086 -3.089463)'))) / (select extract(epoch from '2026-07-17 17:07:57'::timestamp) - extract(epoch from '2026-07-17 17:07: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'), 47509, 'SRID=4674;POINT (-39.369125 -3.089622)', '2026-07-17 17:08:04', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369086 -3.089463)'), GeomFromEWKT('SRID=4674;POINT (-39.369125 -3.089622)'))) / (select extract(epoch from '2026-07-17 17:08:04'::timestamp) - extract(epoch from '2026-07-17 17:07:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369086 -3.089463)'), GeomFromEWKT('SRID=4674;POINT (-39.369125 -3.089622)'))) / (select extract(epoch from '2026-07-17 17:08:04'::timestamp) - extract(epoch from '2026-07-17 17:07: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'), 47509, 'SRID=4674;POINT (-39.369189 -3.089819)', '2026-07-17 17:08:12', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369125 -3.089622)'), GeomFromEWKT('SRID=4674;POINT (-39.369189 -3.089819)'))) / (select extract(epoch from '2026-07-17 17:08:12'::timestamp) - extract(epoch from '2026-07-17 17:08:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369125 -3.089622)'), GeomFromEWKT('SRID=4674;POINT (-39.369189 -3.089819)'))) / (select extract(epoch from '2026-07-17 17:08:12'::timestamp) - extract(epoch from '2026-07-17 17:08: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'), 47509, 'SRID=4674;POINT (-39.36922 -3.089985)', '2026-07-17 17:08:19', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369189 -3.089819)'), GeomFromEWKT('SRID=4674;POINT (-39.36922 -3.089985)'))) / (select extract(epoch from '2026-07-17 17:08:19'::timestamp) - extract(epoch from '2026-07-17 17:08:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369189 -3.089819)'), GeomFromEWKT('SRID=4674;POINT (-39.36922 -3.089985)'))) / (select extract(epoch from '2026-07-17 17:08:19'::timestamp) - extract(epoch from '2026-07-17 17:08:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.36922 -3.090201)', '2026-07-17 17:08:27', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36922 -3.089985)'), GeomFromEWKT('SRID=4674;POINT (-39.36922 -3.090201)'))) / (select extract(epoch from '2026-07-17 17:08:27'::timestamp) - extract(epoch from '2026-07-17 17:08:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36922 -3.089985)'), GeomFromEWKT('SRID=4674;POINT (-39.36922 -3.090201)'))) / (select extract(epoch from '2026-07-17 17:08:27'::timestamp) - extract(epoch from '2026-07-17 17:08: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'), 47509, 'SRID=4674;POINT (-39.369227 -3.090398)', '2026-07-17 17:08:35', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36922 -3.090201)'), GeomFromEWKT('SRID=4674;POINT (-39.369227 -3.090398)'))) / (select extract(epoch from '2026-07-17 17:08:35'::timestamp) - extract(epoch from '2026-07-17 17:08:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36922 -3.090201)'), GeomFromEWKT('SRID=4674;POINT (-39.369227 -3.090398)'))) / (select extract(epoch from '2026-07-17 17:08:35'::timestamp) - extract(epoch from '2026-07-17 17:08: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'), 47509, 'SRID=4674;POINT (-39.369278 -3.09056)', '2026-07-17 17:08:42', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369227 -3.090398)'), GeomFromEWKT('SRID=4674;POINT (-39.369278 -3.09056)'))) / (select extract(epoch from '2026-07-17 17:08:42'::timestamp) - extract(epoch from '2026-07-17 17:08:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369227 -3.090398)'), GeomFromEWKT('SRID=4674;POINT (-39.369278 -3.09056)'))) / (select extract(epoch from '2026-07-17 17:08:42'::timestamp) - extract(epoch from '2026-07-17 17:08: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'), 47509, 'SRID=4674;POINT (-39.36932 -3.09073)', '2026-07-17 17:08:50', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369278 -3.09056)'), GeomFromEWKT('SRID=4674;POINT (-39.36932 -3.09073)'))) / (select extract(epoch from '2026-07-17 17:08:50'::timestamp) - extract(epoch from '2026-07-17 17:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369278 -3.09056)'), GeomFromEWKT('SRID=4674;POINT (-39.36932 -3.09073)'))) / (select extract(epoch from '2026-07-17 17:08:50'::timestamp) - extract(epoch from '2026-07-17 17:08: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'), 47509, 'SRID=4674;POINT (-39.36936 -3.090877)', '2026-07-17 17:08:57', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36932 -3.09073)'), GeomFromEWKT('SRID=4674;POINT (-39.36936 -3.090877)'))) / (select extract(epoch from '2026-07-17 17:08:57'::timestamp) - extract(epoch from '2026-07-17 17:08:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36932 -3.09073)'), GeomFromEWKT('SRID=4674;POINT (-39.36936 -3.090877)'))) / (select extract(epoch from '2026-07-17 17:08:57'::timestamp) - extract(epoch from '2026-07-17 17:08:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369419 -3.091038)', '2026-07-17 17:09:05', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36936 -3.090877)'), GeomFromEWKT('SRID=4674;POINT (-39.369419 -3.091038)'))) / (select extract(epoch from '2026-07-17 17:09:05'::timestamp) - extract(epoch from '2026-07-17 17:08:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36936 -3.090877)'), GeomFromEWKT('SRID=4674;POINT (-39.369419 -3.091038)'))) / (select extract(epoch from '2026-07-17 17:09:05'::timestamp) - extract(epoch from '2026-07-17 17:08:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369466 -3.091168)', '2026-07-17 17:09:11', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369419 -3.091038)'), GeomFromEWKT('SRID=4674;POINT (-39.369466 -3.091168)'))) / (select extract(epoch from '2026-07-17 17:09:11'::timestamp) - extract(epoch from '2026-07-17 17:09:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369419 -3.091038)'), GeomFromEWKT('SRID=4674;POINT (-39.369466 -3.091168)'))) / (select extract(epoch from '2026-07-17 17:09:11'::timestamp) - extract(epoch from '2026-07-17 17:09: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'), 47509, 'SRID=4674;POINT (-39.369483 -3.091318)', '2026-07-17 17:09:17', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369466 -3.091168)'), GeomFromEWKT('SRID=4674;POINT (-39.369483 -3.091318)'))) / (select extract(epoch from '2026-07-17 17:09:17'::timestamp) - extract(epoch from '2026-07-17 17:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369466 -3.091168)'), GeomFromEWKT('SRID=4674;POINT (-39.369483 -3.091318)'))) / (select extract(epoch from '2026-07-17 17:09:17'::timestamp) - extract(epoch from '2026-07-17 17:09:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369515 -3.091466)', '2026-07-17 17:09:23', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369483 -3.091318)'), GeomFromEWKT('SRID=4674;POINT (-39.369515 -3.091466)'))) / (select extract(epoch from '2026-07-17 17:09:23'::timestamp) - extract(epoch from '2026-07-17 17:09:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369483 -3.091318)'), GeomFromEWKT('SRID=4674;POINT (-39.369515 -3.091466)'))) / (select extract(epoch from '2026-07-17 17:09:23'::timestamp) - extract(epoch from '2026-07-17 17:09: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'), 47509, 'SRID=4674;POINT (-39.369562 -3.091628)', '2026-07-17 17:09:30', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369515 -3.091466)'), GeomFromEWKT('SRID=4674;POINT (-39.369562 -3.091628)'))) / (select extract(epoch from '2026-07-17 17:09:30'::timestamp) - extract(epoch from '2026-07-17 17:09:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369515 -3.091466)'), GeomFromEWKT('SRID=4674;POINT (-39.369562 -3.091628)'))) / (select extract(epoch from '2026-07-17 17:09:30'::timestamp) - extract(epoch from '2026-07-17 17:09: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'), 47509, 'SRID=4674;POINT (-39.369608 -3.09183)', '2026-07-17 17:09:38', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369562 -3.091628)'), GeomFromEWKT('SRID=4674;POINT (-39.369608 -3.09183)'))) / (select extract(epoch from '2026-07-17 17:09:38'::timestamp) - extract(epoch from '2026-07-17 17:09:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369562 -3.091628)'), GeomFromEWKT('SRID=4674;POINT (-39.369608 -3.09183)'))) / (select extract(epoch from '2026-07-17 17:09:38'::timestamp) - extract(epoch from '2026-07-17 17:09:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369681 -3.092)', '2026-07-17 17:09:45', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369608 -3.09183)'), GeomFromEWKT('SRID=4674;POINT (-39.369681 -3.092)'))) / (select extract(epoch from '2026-07-17 17:09:45'::timestamp) - extract(epoch from '2026-07-17 17:09:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369608 -3.09183)'), GeomFromEWKT('SRID=4674;POINT (-39.369681 -3.092)'))) / (select extract(epoch from '2026-07-17 17:09:45'::timestamp) - extract(epoch from '2026-07-17 17:09: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'), 47509, 'SRID=4674;POINT (-39.369713 -3.092122)', '2026-07-17 17:09:50', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369681 -3.092)'), GeomFromEWKT('SRID=4674;POINT (-39.369713 -3.092122)'))) / (select extract(epoch from '2026-07-17 17:09:50'::timestamp) - extract(epoch from '2026-07-17 17:09:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369681 -3.092)'), GeomFromEWKT('SRID=4674;POINT (-39.369713 -3.092122)'))) / (select extract(epoch from '2026-07-17 17:09:50'::timestamp) - extract(epoch from '2026-07-17 17:09: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'), 47509, 'SRID=4674;POINT (-39.36973 -3.092263)', '2026-07-17 17:09:56', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369713 -3.092122)'), GeomFromEWKT('SRID=4674;POINT (-39.36973 -3.092263)'))) / (select extract(epoch from '2026-07-17 17:09:56'::timestamp) - extract(epoch from '2026-07-17 17:09:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369713 -3.092122)'), GeomFromEWKT('SRID=4674;POINT (-39.36973 -3.092263)'))) / (select extract(epoch from '2026-07-17 17:09:56'::timestamp) - extract(epoch from '2026-07-17 17:09:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369755 -3.09242)', '2026-07-17 17:10:03', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36973 -3.092263)'), GeomFromEWKT('SRID=4674;POINT (-39.369755 -3.09242)'))) / (select extract(epoch from '2026-07-17 17:10:03'::timestamp) - extract(epoch from '2026-07-17 17:09:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36973 -3.092263)'), GeomFromEWKT('SRID=4674;POINT (-39.369755 -3.09242)'))) / (select extract(epoch from '2026-07-17 17:10:03'::timestamp) - extract(epoch from '2026-07-17 17:09:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369752 -3.092607)', '2026-07-17 17:10:10', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369755 -3.09242)'), GeomFromEWKT('SRID=4674;POINT (-39.369752 -3.092607)'))) / (select extract(epoch from '2026-07-17 17:10:10'::timestamp) - extract(epoch from '2026-07-17 17:10:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369755 -3.09242)'), GeomFromEWKT('SRID=4674;POINT (-39.369752 -3.092607)'))) / (select extract(epoch from '2026-07-17 17:10:10'::timestamp) - extract(epoch from '2026-07-17 17:10: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'), 47509, 'SRID=4674;POINT (-39.369776 -3.09277)', '2026-07-17 17:10:16', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369752 -3.092607)'), GeomFromEWKT('SRID=4674;POINT (-39.369776 -3.09277)'))) / (select extract(epoch from '2026-07-17 17:10:16'::timestamp) - extract(epoch from '2026-07-17 17:10:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369752 -3.092607)'), GeomFromEWKT('SRID=4674;POINT (-39.369776 -3.09277)'))) / (select extract(epoch from '2026-07-17 17:10:16'::timestamp) - extract(epoch from '2026-07-17 17:10: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'), 47509, 'SRID=4674;POINT (-39.369821 -3.0929)', '2026-07-17 17:10:22', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369776 -3.09277)'), GeomFromEWKT('SRID=4674;POINT (-39.369821 -3.0929)'))) / (select extract(epoch from '2026-07-17 17:10:22'::timestamp) - extract(epoch from '2026-07-17 17:10:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369776 -3.09277)'), GeomFromEWKT('SRID=4674;POINT (-39.369821 -3.0929)'))) / (select extract(epoch from '2026-07-17 17:10:22'::timestamp) - extract(epoch from '2026-07-17 17:10:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.369889 -3.093093)', '2026-07-17 17:10:30', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369821 -3.0929)'), GeomFromEWKT('SRID=4674;POINT (-39.369889 -3.093093)'))) / (select extract(epoch from '2026-07-17 17:10:30'::timestamp) - extract(epoch from '2026-07-17 17:10:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369821 -3.0929)'), GeomFromEWKT('SRID=4674;POINT (-39.369889 -3.093093)'))) / (select extract(epoch from '2026-07-17 17:10:30'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47509, 'SRID=4674;POINT (-39.369923 -3.09326)', '2026-07-17 17:10:37', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369889 -3.093093)'), GeomFromEWKT('SRID=4674;POINT (-39.369923 -3.09326)'))) / (select extract(epoch from '2026-07-17 17:10:37'::timestamp) - extract(epoch from '2026-07-17 17:10:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369889 -3.093093)'), GeomFromEWKT('SRID=4674;POINT (-39.369923 -3.09326)'))) / (select extract(epoch from '2026-07-17 17:10:37'::timestamp) - extract(epoch from '2026-07-17 17:10: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'), 47509, 'SRID=4674;POINT (-39.369934 -3.093421)', '2026-07-17 17:10:44', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369923 -3.09326)'), GeomFromEWKT('SRID=4674;POINT (-39.369934 -3.093421)'))) / (select extract(epoch from '2026-07-17 17:10:44'::timestamp) - extract(epoch from '2026-07-17 17:10:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369923 -3.09326)'), GeomFromEWKT('SRID=4674;POINT (-39.369934 -3.093421)'))) / (select extract(epoch from '2026-07-17 17:10:44'::timestamp) - extract(epoch from '2026-07-17 17:10: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'), 47509, 'SRID=4674;POINT (-39.369957 -3.093568)', '2026-07-17 17:10:51', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369934 -3.093421)'), GeomFromEWKT('SRID=4674;POINT (-39.369957 -3.093568)'))) / (select extract(epoch from '2026-07-17 17:10:51'::timestamp) - extract(epoch from '2026-07-17 17:10:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369934 -3.093421)'), GeomFromEWKT('SRID=4674;POINT (-39.369957 -3.093568)'))) / (select extract(epoch from '2026-07-17 17:10:51'::timestamp) - extract(epoch from '2026-07-17 17:10: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'), 47509, 'SRID=4674;POINT (-39.370006 -3.093715)', '2026-07-17 17:10:57', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369957 -3.093568)'), GeomFromEWKT('SRID=4674;POINT (-39.370006 -3.093715)'))) / (select extract(epoch from '2026-07-17 17:10:57'::timestamp) - extract(epoch from '2026-07-17 17:10:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369957 -3.093568)'), GeomFromEWKT('SRID=4674;POINT (-39.370006 -3.093715)'))) / (select extract(epoch from '2026-07-17 17:10:57'::timestamp) - extract(epoch from '2026-07-17 17:10: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'), 47509, 'SRID=4674;POINT (-39.37004 -3.093842)', '2026-07-17 17:11:03', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370006 -3.093715)'), GeomFromEWKT('SRID=4674;POINT (-39.37004 -3.093842)'))) / (select extract(epoch from '2026-07-17 17:11:03'::timestamp) - extract(epoch from '2026-07-17 17:10:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370006 -3.093715)'), GeomFromEWKT('SRID=4674;POINT (-39.37004 -3.093842)'))) / (select extract(epoch from '2026-07-17 17:11:03'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47509, 'SRID=4674;POINT (-39.370053 -3.093981)', '2026-07-17 17:11:09', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37004 -3.093842)'), GeomFromEWKT('SRID=4674;POINT (-39.370053 -3.093981)'))) / (select extract(epoch from '2026-07-17 17:11:09'::timestamp) - extract(epoch from '2026-07-17 17:11:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37004 -3.093842)'), GeomFromEWKT('SRID=4674;POINT (-39.370053 -3.093981)'))) / (select extract(epoch from '2026-07-17 17:11:09'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47509, 'SRID=4674;POINT (-39.370093 -3.094156)', '2026-07-17 17:11:16', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370053 -3.093981)'), GeomFromEWKT('SRID=4674;POINT (-39.370093 -3.094156)'))) / (select extract(epoch from '2026-07-17 17:11:16'::timestamp) - extract(epoch from '2026-07-17 17:11:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370053 -3.093981)'), GeomFromEWKT('SRID=4674;POINT (-39.370093 -3.094156)'))) / (select extract(epoch from '2026-07-17 17:11:16'::timestamp) - extract(epoch from '2026-07-17 17:11: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'), 47509, 'SRID=4674;POINT (-39.370132 -3.094309)', '2026-07-17 17:11:23', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370093 -3.094156)'), GeomFromEWKT('SRID=4674;POINT (-39.370132 -3.094309)'))) / (select extract(epoch from '2026-07-17 17:11:23'::timestamp) - extract(epoch from '2026-07-17 17:11:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370093 -3.094156)'), GeomFromEWKT('SRID=4674;POINT (-39.370132 -3.094309)'))) / (select extract(epoch from '2026-07-17 17:11:23'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47509, 'SRID=4674;POINT (-39.370175 -3.094432)', '2026-07-17 17:11:29', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370132 -3.094309)'), GeomFromEWKT('SRID=4674;POINT (-39.370175 -3.094432)'))) / (select extract(epoch from '2026-07-17 17:11:29'::timestamp) - extract(epoch from '2026-07-17 17:11:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370132 -3.094309)'), GeomFromEWKT('SRID=4674;POINT (-39.370175 -3.094432)'))) / (select extract(epoch from '2026-07-17 17:11:29'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47509, 'SRID=4674;POINT (-39.370211 -3.094552)', '2026-07-17 17:11:36', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370175 -3.094432)'), GeomFromEWKT('SRID=4674;POINT (-39.370211 -3.094552)'))) / (select extract(epoch from '2026-07-17 17:11:36'::timestamp) - extract(epoch from '2026-07-17 17:11:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370175 -3.094432)'), GeomFromEWKT('SRID=4674;POINT (-39.370211 -3.094552)'))) / (select extract(epoch from '2026-07-17 17:11:36'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47509, 'SRID=4674;POINT (-39.370244 -3.094702)', '2026-07-17 17:11:43', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370211 -3.094552)'), GeomFromEWKT('SRID=4674;POINT (-39.370244 -3.094702)'))) / (select extract(epoch from '2026-07-17 17:11:43'::timestamp) - extract(epoch from '2026-07-17 17:11:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370211 -3.094552)'), GeomFromEWKT('SRID=4674;POINT (-39.370244 -3.094702)'))) / (select extract(epoch from '2026-07-17 17:11:43'::timestamp) - extract(epoch from '2026-07-17 17:11:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.3703 -3.094877)', '2026-07-17 17:11:51', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370244 -3.094702)'), GeomFromEWKT('SRID=4674;POINT (-39.3703 -3.094877)'))) / (select extract(epoch from '2026-07-17 17:11:51'::timestamp) - extract(epoch from '2026-07-17 17:11:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370244 -3.094702)'), GeomFromEWKT('SRID=4674;POINT (-39.3703 -3.094877)'))) / (select extract(epoch from '2026-07-17 17:11:51'::timestamp) - extract(epoch from '2026-07-17 17:11:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.370339 -3.09502)', '2026-07-17 17:11:57', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3703 -3.094877)'), GeomFromEWKT('SRID=4674;POINT (-39.370339 -3.09502)'))) / (select extract(epoch from '2026-07-17 17:11:57'::timestamp) - extract(epoch from '2026-07-17 17:11:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3703 -3.094877)'), GeomFromEWKT('SRID=4674;POINT (-39.370339 -3.09502)'))) / (select extract(epoch from '2026-07-17 17:11:57'::timestamp) - extract(epoch from '2026-07-17 17:11:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.37039 -3.095191)', '2026-07-17 17:12:04', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370339 -3.09502)'), GeomFromEWKT('SRID=4674;POINT (-39.37039 -3.095191)'))) / (select extract(epoch from '2026-07-17 17:12:04'::timestamp) - extract(epoch from '2026-07-17 17:11:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370339 -3.09502)'), GeomFromEWKT('SRID=4674;POINT (-39.37039 -3.095191)'))) / (select extract(epoch from '2026-07-17 17:12:04'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47509, 'SRID=4674;POINT (-39.370419 -3.095324)', '2026-07-17 17:12:10', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37039 -3.095191)'), GeomFromEWKT('SRID=4674;POINT (-39.370419 -3.095324)'))) / (select extract(epoch from '2026-07-17 17:12:10'::timestamp) - extract(epoch from '2026-07-17 17:12:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37039 -3.095191)'), GeomFromEWKT('SRID=4674;POINT (-39.370419 -3.095324)'))) / (select extract(epoch from '2026-07-17 17:12:10'::timestamp) - extract(epoch from '2026-07-17 17:12:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.370464 -3.095459)', '2026-07-17 17:12:16', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370419 -3.095324)'), GeomFromEWKT('SRID=4674;POINT (-39.370464 -3.095459)'))) / (select extract(epoch from '2026-07-17 17:12:16'::timestamp) - extract(epoch from '2026-07-17 17:12:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370419 -3.095324)'), GeomFromEWKT('SRID=4674;POINT (-39.370464 -3.095459)'))) / (select extract(epoch from '2026-07-17 17:12:16'::timestamp) - extract(epoch from '2026-07-17 17:12: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'), 47509, 'SRID=4674;POINT (-39.370505 -3.095566)', '2026-07-17 17:12:21', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370464 -3.095459)'), GeomFromEWKT('SRID=4674;POINT (-39.370505 -3.095566)'))) / (select extract(epoch from '2026-07-17 17:12:21'::timestamp) - extract(epoch from '2026-07-17 17:12:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370464 -3.095459)'), GeomFromEWKT('SRID=4674;POINT (-39.370505 -3.095566)'))) / (select extract(epoch from '2026-07-17 17:12:21'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47509, 'SRID=4674;POINT (-39.370559 -3.095763)', '2026-07-17 17:12:29', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370505 -3.095566)'), GeomFromEWKT('SRID=4674;POINT (-39.370559 -3.095763)'))) / (select extract(epoch from '2026-07-17 17:12:29'::timestamp) - extract(epoch from '2026-07-17 17:12:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370505 -3.095566)'), GeomFromEWKT('SRID=4674;POINT (-39.370559 -3.095763)'))) / (select extract(epoch from '2026-07-17 17:12:29'::timestamp) - extract(epoch from '2026-07-17 17:12:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.370598 -3.095943)', '2026-07-17 17:12:36', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370559 -3.095763)'), GeomFromEWKT('SRID=4674;POINT (-39.370598 -3.095943)'))) / (select extract(epoch from '2026-07-17 17:12:36'::timestamp) - extract(epoch from '2026-07-17 17:12:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370559 -3.095763)'), GeomFromEWKT('SRID=4674;POINT (-39.370598 -3.095943)'))) / (select extract(epoch from '2026-07-17 17:12:36'::timestamp) - extract(epoch from '2026-07-17 17:12: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'), 47509, 'SRID=4674;POINT (-39.370635 -3.096074)', '2026-07-17 17:12:42', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370598 -3.095943)'), GeomFromEWKT('SRID=4674;POINT (-39.370635 -3.096074)'))) / (select extract(epoch from '2026-07-17 17:12:42'::timestamp) - extract(epoch from '2026-07-17 17:12:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370598 -3.095943)'), GeomFromEWKT('SRID=4674;POINT (-39.370635 -3.096074)'))) / (select extract(epoch from '2026-07-17 17:12:42'::timestamp) - extract(epoch from '2026-07-17 17:12: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'), 47509, 'SRID=4674;POINT (-39.370656 -3.096265)', '2026-07-17 17:12:51', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370635 -3.096074)'), GeomFromEWKT('SRID=4674;POINT (-39.370656 -3.096265)'))) / (select extract(epoch from '2026-07-17 17:12:51'::timestamp) - extract(epoch from '2026-07-17 17:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370635 -3.096074)'), GeomFromEWKT('SRID=4674;POINT (-39.370656 -3.096265)'))) / (select extract(epoch from '2026-07-17 17:12:51'::timestamp) - extract(epoch from '2026-07-17 17:12:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.370668 -3.096404)', '2026-07-17 17:12:57', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370656 -3.096265)'), GeomFromEWKT('SRID=4674;POINT (-39.370668 -3.096404)'))) / (select extract(epoch from '2026-07-17 17:12:57'::timestamp) - extract(epoch from '2026-07-17 17:12:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370656 -3.096265)'), GeomFromEWKT('SRID=4674;POINT (-39.370668 -3.096404)'))) / (select extract(epoch from '2026-07-17 17:12:57'::timestamp) - extract(epoch from '2026-07-17 17:12:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.370717 -3.096598)', '2026-07-17 17:13:05', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370668 -3.096404)'), GeomFromEWKT('SRID=4674;POINT (-39.370717 -3.096598)'))) / (select extract(epoch from '2026-07-17 17:13:05'::timestamp) - extract(epoch from '2026-07-17 17:12:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370668 -3.096404)'), GeomFromEWKT('SRID=4674;POINT (-39.370717 -3.096598)'))) / (select extract(epoch from '2026-07-17 17:13:05'::timestamp) - extract(epoch from '2026-07-17 17:12:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.370763 -3.096776)', '2026-07-17 17:13:12', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370717 -3.096598)'), GeomFromEWKT('SRID=4674;POINT (-39.370763 -3.096776)'))) / (select extract(epoch from '2026-07-17 17:13:12'::timestamp) - extract(epoch from '2026-07-17 17:13:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370717 -3.096598)'), GeomFromEWKT('SRID=4674;POINT (-39.370763 -3.096776)'))) / (select extract(epoch from '2026-07-17 17:13:12'::timestamp) - extract(epoch from '2026-07-17 17:13:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.370797 -3.096904)', '2026-07-17 17:13:18', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370763 -3.096776)'), GeomFromEWKT('SRID=4674;POINT (-39.370797 -3.096904)'))) / (select extract(epoch from '2026-07-17 17:13:18'::timestamp) - extract(epoch from '2026-07-17 17:13:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370763 -3.096776)'), GeomFromEWKT('SRID=4674;POINT (-39.370797 -3.096904)'))) / (select extract(epoch from '2026-07-17 17:13:18'::timestamp) - extract(epoch from '2026-07-17 17:13: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'), 47509, 'SRID=4674;POINT (-39.370815 -3.097066)', '2026-07-17 17:13:24', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370797 -3.096904)'), GeomFromEWKT('SRID=4674;POINT (-39.370815 -3.097066)'))) / (select extract(epoch from '2026-07-17 17:13:24'::timestamp) - extract(epoch from '2026-07-17 17:13:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370797 -3.096904)'), GeomFromEWKT('SRID=4674;POINT (-39.370815 -3.097066)'))) / (select extract(epoch from '2026-07-17 17:13:24'::timestamp) - extract(epoch from '2026-07-17 17:13: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'), 47509, 'SRID=4674;POINT (-39.370854 -3.097204)', '2026-07-17 17:13:30', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370815 -3.097066)'), GeomFromEWKT('SRID=4674;POINT (-39.370854 -3.097204)'))) / (select extract(epoch from '2026-07-17 17:13:30'::timestamp) - extract(epoch from '2026-07-17 17:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370815 -3.097066)'), GeomFromEWKT('SRID=4674;POINT (-39.370854 -3.097204)'))) / (select extract(epoch from '2026-07-17 17:13:30'::timestamp) - extract(epoch from '2026-07-17 17:13:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.370909 -3.097362)', '2026-07-17 17:13:37', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370854 -3.097204)'), GeomFromEWKT('SRID=4674;POINT (-39.370909 -3.097362)'))) / (select extract(epoch from '2026-07-17 17:13:37'::timestamp) - extract(epoch from '2026-07-17 17:13:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370854 -3.097204)'), GeomFromEWKT('SRID=4674;POINT (-39.370909 -3.097362)'))) / (select extract(epoch from '2026-07-17 17:13:37'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47509, 'SRID=4674;POINT (-39.37094 -3.097507)', '2026-07-17 17:13:43', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370909 -3.097362)'), GeomFromEWKT('SRID=4674;POINT (-39.37094 -3.097507)'))) / (select extract(epoch from '2026-07-17 17:13:43'::timestamp) - extract(epoch from '2026-07-17 17:13:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370909 -3.097362)'), GeomFromEWKT('SRID=4674;POINT (-39.37094 -3.097507)'))) / (select extract(epoch from '2026-07-17 17:13:43'::timestamp) - extract(epoch from '2026-07-17 17:13:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
