BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.02559 -3.402093)', '2026-07-28 08:19:26', 13.6, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.025485 -3.402051)', '2026-07-28 08:19:34', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02559 -3.402093)'), GeomFromEWKT('SRID=4674;POINT (-39.025485 -3.402051)'))) / (select extract(epoch from '2026-07-28 08:19:34'::timestamp) - extract(epoch from '2026-07-28 08:19:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02559 -3.402093)'), GeomFromEWKT('SRID=4674;POINT (-39.025485 -3.402051)'))) / (select extract(epoch from '2026-07-28 08:19:34'::timestamp) - extract(epoch from '2026-07-28 08:19: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'), 47422, 'SRID=4674;POINT (-39.025404 -3.402015)', '2026-07-28 08:19:42', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025485 -3.402051)'), GeomFromEWKT('SRID=4674;POINT (-39.025404 -3.402015)'))) / (select extract(epoch from '2026-07-28 08:19:42'::timestamp) - extract(epoch from '2026-07-28 08:19:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025485 -3.402051)'), GeomFromEWKT('SRID=4674;POINT (-39.025404 -3.402015)'))) / (select extract(epoch from '2026-07-28 08:19:42'::timestamp) - extract(epoch from '2026-07-28 08:19: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'), 47422, 'SRID=4674;POINT (-39.025292 -3.40196)', '2026-07-28 08:19:51', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025404 -3.402015)'), GeomFromEWKT('SRID=4674;POINT (-39.025292 -3.40196)'))) / (select extract(epoch from '2026-07-28 08:19:51'::timestamp) - extract(epoch from '2026-07-28 08:19:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025404 -3.402015)'), GeomFromEWKT('SRID=4674;POINT (-39.025292 -3.40196)'))) / (select extract(epoch from '2026-07-28 08:19:51'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47422, 'SRID=4674;POINT (-39.025199 -3.401898)', '2026-07-28 08:19:59', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025292 -3.40196)'), GeomFromEWKT('SRID=4674;POINT (-39.025199 -3.401898)'))) / (select extract(epoch from '2026-07-28 08:19:59'::timestamp) - extract(epoch from '2026-07-28 08:19:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025292 -3.40196)'), GeomFromEWKT('SRID=4674;POINT (-39.025199 -3.401898)'))) / (select extract(epoch from '2026-07-28 08:19:59'::timestamp) - extract(epoch from '2026-07-28 08:19: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'), 47422, 'SRID=4674;POINT (-39.025109 -3.401834)', '2026-07-28 08:20:07', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025199 -3.401898)'), GeomFromEWKT('SRID=4674;POINT (-39.025109 -3.401834)'))) / (select extract(epoch from '2026-07-28 08:20:07'::timestamp) - extract(epoch from '2026-07-28 08:19:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025199 -3.401898)'), GeomFromEWKT('SRID=4674;POINT (-39.025109 -3.401834)'))) / (select extract(epoch from '2026-07-28 08:20:07'::timestamp) - extract(epoch from '2026-07-28 08:19: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'), 47422, 'SRID=4674;POINT (-39.024984 -3.401733)', '2026-07-28 08:20:17', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025109 -3.401834)'), GeomFromEWKT('SRID=4674;POINT (-39.024984 -3.401733)'))) / (select extract(epoch from '2026-07-28 08:20:17'::timestamp) - extract(epoch from '2026-07-28 08:20:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025109 -3.401834)'), GeomFromEWKT('SRID=4674;POINT (-39.024984 -3.401733)'))) / (select extract(epoch from '2026-07-28 08:20:17'::timestamp) - extract(epoch from '2026-07-28 08:20:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.024863 -3.401635)', '2026-07-28 08:20:27', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024984 -3.401733)'), GeomFromEWKT('SRID=4674;POINT (-39.024863 -3.401635)'))) / (select extract(epoch from '2026-07-28 08:20:27'::timestamp) - extract(epoch from '2026-07-28 08:20:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024984 -3.401733)'), GeomFromEWKT('SRID=4674;POINT (-39.024863 -3.401635)'))) / (select extract(epoch from '2026-07-28 08:20:27'::timestamp) - extract(epoch from '2026-07-28 08:20: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'), 47422, 'SRID=4674;POINT (-39.024752 -3.401543)', '2026-07-28 08:20:36', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024863 -3.401635)'), GeomFromEWKT('SRID=4674;POINT (-39.024752 -3.401543)'))) / (select extract(epoch from '2026-07-28 08:20:36'::timestamp) - extract(epoch from '2026-07-28 08:20:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024863 -3.401635)'), GeomFromEWKT('SRID=4674;POINT (-39.024752 -3.401543)'))) / (select extract(epoch from '2026-07-28 08:20:36'::timestamp) - extract(epoch from '2026-07-28 08:20: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'), 47422, 'SRID=4674;POINT (-39.024634 -3.401436)', '2026-07-28 08:20:46', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024752 -3.401543)'), GeomFromEWKT('SRID=4674;POINT (-39.024634 -3.401436)'))) / (select extract(epoch from '2026-07-28 08:20:46'::timestamp) - extract(epoch from '2026-07-28 08:20:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024752 -3.401543)'), GeomFromEWKT('SRID=4674;POINT (-39.024634 -3.401436)'))) / (select extract(epoch from '2026-07-28 08:20:46'::timestamp) - extract(epoch from '2026-07-28 08:20: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'), 47422, 'SRID=4674;POINT (-39.024531 -3.401344)', '2026-07-28 08:20:57', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024634 -3.401436)'), GeomFromEWKT('SRID=4674;POINT (-39.024531 -3.401344)'))) / (select extract(epoch from '2026-07-28 08:20:57'::timestamp) - extract(epoch from '2026-07-28 08:20:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024634 -3.401436)'), GeomFromEWKT('SRID=4674;POINT (-39.024531 -3.401344)'))) / (select extract(epoch from '2026-07-28 08:20:57'::timestamp) - extract(epoch from '2026-07-28 08:20: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'), 47422, 'SRID=4674;POINT (-39.024412 -3.40126)', '2026-07-28 08:21:07', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024531 -3.401344)'), GeomFromEWKT('SRID=4674;POINT (-39.024412 -3.40126)'))) / (select extract(epoch from '2026-07-28 08:21:07'::timestamp) - extract(epoch from '2026-07-28 08:20:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024531 -3.401344)'), GeomFromEWKT('SRID=4674;POINT (-39.024412 -3.40126)'))) / (select extract(epoch from '2026-07-28 08:21:07'::timestamp) - extract(epoch from '2026-07-28 08:20: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'), 47422, 'SRID=4674;POINT (-39.024314 -3.401192)', '2026-07-28 08:21:15', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024412 -3.40126)'), GeomFromEWKT('SRID=4674;POINT (-39.024314 -3.401192)'))) / (select extract(epoch from '2026-07-28 08:21:15'::timestamp) - extract(epoch from '2026-07-28 08:21:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024412 -3.40126)'), GeomFromEWKT('SRID=4674;POINT (-39.024314 -3.401192)'))) / (select extract(epoch from '2026-07-28 08:21:15'::timestamp) - extract(epoch from '2026-07-28 08:21:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.024224 -3.401116)', '2026-07-28 08:21:23', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024314 -3.401192)'), GeomFromEWKT('SRID=4674;POINT (-39.024224 -3.401116)'))) / (select extract(epoch from '2026-07-28 08:21:23'::timestamp) - extract(epoch from '2026-07-28 08:21:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024314 -3.401192)'), GeomFromEWKT('SRID=4674;POINT (-39.024224 -3.401116)'))) / (select extract(epoch from '2026-07-28 08:21:23'::timestamp) - extract(epoch from '2026-07-28 08:21:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.024116 -3.401042)', '2026-07-28 08:21:32', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024224 -3.401116)'), GeomFromEWKT('SRID=4674;POINT (-39.024116 -3.401042)'))) / (select extract(epoch from '2026-07-28 08:21:32'::timestamp) - extract(epoch from '2026-07-28 08:21:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024224 -3.401116)'), GeomFromEWKT('SRID=4674;POINT (-39.024116 -3.401042)'))) / (select extract(epoch from '2026-07-28 08:21:32'::timestamp) - extract(epoch from '2026-07-28 08:21: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'), 47422, 'SRID=4674;POINT (-39.024028 -3.400981)', '2026-07-28 08:21:39', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024116 -3.401042)'), GeomFromEWKT('SRID=4674;POINT (-39.024028 -3.400981)'))) / (select extract(epoch from '2026-07-28 08:21:39'::timestamp) - extract(epoch from '2026-07-28 08:21:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024116 -3.401042)'), GeomFromEWKT('SRID=4674;POINT (-39.024028 -3.400981)'))) / (select extract(epoch from '2026-07-28 08:21:39'::timestamp) - extract(epoch from '2026-07-28 08:21: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'), 47422, 'SRID=4674;POINT (-39.023931 -3.400906)', '2026-07-28 08:21:48', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024028 -3.400981)'), GeomFromEWKT('SRID=4674;POINT (-39.023931 -3.400906)'))) / (select extract(epoch from '2026-07-28 08:21:48'::timestamp) - extract(epoch from '2026-07-28 08:21:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024028 -3.400981)'), GeomFromEWKT('SRID=4674;POINT (-39.023931 -3.400906)'))) / (select extract(epoch from '2026-07-28 08:21:48'::timestamp) - extract(epoch from '2026-07-28 08:21:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.02382 -3.400818)', '2026-07-28 08:21:58', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023931 -3.400906)'), GeomFromEWKT('SRID=4674;POINT (-39.02382 -3.400818)'))) / (select extract(epoch from '2026-07-28 08:21:58'::timestamp) - extract(epoch from '2026-07-28 08:21:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023931 -3.400906)'), GeomFromEWKT('SRID=4674;POINT (-39.02382 -3.400818)'))) / (select extract(epoch from '2026-07-28 08:21:58'::timestamp) - extract(epoch from '2026-07-28 08:21: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'), 47422, 'SRID=4674;POINT (-39.023735 -3.400732)', '2026-07-28 08:22:07', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02382 -3.400818)'), GeomFromEWKT('SRID=4674;POINT (-39.023735 -3.400732)'))) / (select extract(epoch from '2026-07-28 08:22:07'::timestamp) - extract(epoch from '2026-07-28 08:21:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02382 -3.400818)'), GeomFromEWKT('SRID=4674;POINT (-39.023735 -3.400732)'))) / (select extract(epoch from '2026-07-28 08:22:07'::timestamp) - extract(epoch from '2026-07-28 08:21: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'), 47422, 'SRID=4674;POINT (-39.02366 -3.400648)', '2026-07-28 08:22:15', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023735 -3.400732)'), GeomFromEWKT('SRID=4674;POINT (-39.02366 -3.400648)'))) / (select extract(epoch from '2026-07-28 08:22:15'::timestamp) - extract(epoch from '2026-07-28 08:22:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023735 -3.400732)'), GeomFromEWKT('SRID=4674;POINT (-39.02366 -3.400648)'))) / (select extract(epoch from '2026-07-28 08:22:15'::timestamp) - extract(epoch from '2026-07-28 08:22:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.023571 -3.400558)', '2026-07-28 08:22:23', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02366 -3.400648)'), GeomFromEWKT('SRID=4674;POINT (-39.023571 -3.400558)'))) / (select extract(epoch from '2026-07-28 08:22:23'::timestamp) - extract(epoch from '2026-07-28 08:22:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02366 -3.400648)'), GeomFromEWKT('SRID=4674;POINT (-39.023571 -3.400558)'))) / (select extract(epoch from '2026-07-28 08:22:23'::timestamp) - extract(epoch from '2026-07-28 08:22: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'), 47422, 'SRID=4674;POINT (-39.023468 -3.400469)', '2026-07-28 08:22:32', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023571 -3.400558)'), GeomFromEWKT('SRID=4674;POINT (-39.023468 -3.400469)'))) / (select extract(epoch from '2026-07-28 08:22:32'::timestamp) - extract(epoch from '2026-07-28 08:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023571 -3.400558)'), GeomFromEWKT('SRID=4674;POINT (-39.023468 -3.400469)'))) / (select extract(epoch from '2026-07-28 08:22:32'::timestamp) - extract(epoch from '2026-07-28 08:22: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'), 47422, 'SRID=4674;POINT (-39.023406 -3.400401)', '2026-07-28 08:22:38', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023468 -3.400469)'), GeomFromEWKT('SRID=4674;POINT (-39.023406 -3.400401)'))) / (select extract(epoch from '2026-07-28 08:22:38'::timestamp) - extract(epoch from '2026-07-28 08:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023468 -3.400469)'), GeomFromEWKT('SRID=4674;POINT (-39.023406 -3.400401)'))) / (select extract(epoch from '2026-07-28 08:22:38'::timestamp) - extract(epoch from '2026-07-28 08:22: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'), 47422, 'SRID=4674;POINT (-39.023303 -3.400292)', '2026-07-28 08:22:48', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023406 -3.400401)'), GeomFromEWKT('SRID=4674;POINT (-39.023303 -3.400292)'))) / (select extract(epoch from '2026-07-28 08:22:48'::timestamp) - extract(epoch from '2026-07-28 08:22:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023406 -3.400401)'), GeomFromEWKT('SRID=4674;POINT (-39.023303 -3.400292)'))) / (select extract(epoch from '2026-07-28 08:22:48'::timestamp) - extract(epoch from '2026-07-28 08:22:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.023237 -3.400217)', '2026-07-28 08:22:55', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023303 -3.400292)'), GeomFromEWKT('SRID=4674;POINT (-39.023237 -3.400217)'))) / (select extract(epoch from '2026-07-28 08:22:55'::timestamp) - extract(epoch from '2026-07-28 08:22:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023303 -3.400292)'), GeomFromEWKT('SRID=4674;POINT (-39.023237 -3.400217)'))) / (select extract(epoch from '2026-07-28 08:22:55'::timestamp) - extract(epoch from '2026-07-28 08:22: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'), 47422, 'SRID=4674;POINT (-39.023135 -3.40011)', '2026-07-28 08:23:05', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023237 -3.400217)'), GeomFromEWKT('SRID=4674;POINT (-39.023135 -3.40011)'))) / (select extract(epoch from '2026-07-28 08:23:05'::timestamp) - extract(epoch from '2026-07-28 08:22:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023237 -3.400217)'), GeomFromEWKT('SRID=4674;POINT (-39.023135 -3.40011)'))) / (select extract(epoch from '2026-07-28 08:23:05'::timestamp) - extract(epoch from '2026-07-28 08:22:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.02305 -3.400015)', '2026-07-28 08:23:13', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023135 -3.40011)'), GeomFromEWKT('SRID=4674;POINT (-39.02305 -3.400015)'))) / (select extract(epoch from '2026-07-28 08:23:13'::timestamp) - extract(epoch from '2026-07-28 08:23:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023135 -3.40011)'), GeomFromEWKT('SRID=4674;POINT (-39.02305 -3.400015)'))) / (select extract(epoch from '2026-07-28 08:23:13'::timestamp) - extract(epoch from '2026-07-28 08:23:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.022974 -3.399934)', '2026-07-28 08:23:21', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02305 -3.400015)'), GeomFromEWKT('SRID=4674;POINT (-39.022974 -3.399934)'))) / (select extract(epoch from '2026-07-28 08:23:21'::timestamp) - extract(epoch from '2026-07-28 08:23:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02305 -3.400015)'), GeomFromEWKT('SRID=4674;POINT (-39.022974 -3.399934)'))) / (select extract(epoch from '2026-07-28 08:23:21'::timestamp) - extract(epoch from '2026-07-28 08:23: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'), 47422, 'SRID=4674;POINT (-39.022918 -3.399864)', '2026-07-28 08:23:28', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022974 -3.399934)'), GeomFromEWKT('SRID=4674;POINT (-39.022918 -3.399864)'))) / (select extract(epoch from '2026-07-28 08:23:28'::timestamp) - extract(epoch from '2026-07-28 08:23:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022974 -3.399934)'), GeomFromEWKT('SRID=4674;POINT (-39.022918 -3.399864)'))) / (select extract(epoch from '2026-07-28 08:23:28'::timestamp) - extract(epoch from '2026-07-28 08:23: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'), 47422, 'SRID=4674;POINT (-39.022833 -3.399758)', '2026-07-28 08:23:37', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022918 -3.399864)'), GeomFromEWKT('SRID=4674;POINT (-39.022833 -3.399758)'))) / (select extract(epoch from '2026-07-28 08:23:37'::timestamp) - extract(epoch from '2026-07-28 08:23:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022918 -3.399864)'), GeomFromEWKT('SRID=4674;POINT (-39.022833 -3.399758)'))) / (select extract(epoch from '2026-07-28 08:23:37'::timestamp) - extract(epoch from '2026-07-28 08:23: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'), 47422, 'SRID=4674;POINT (-39.022723 -3.39964)', '2026-07-28 08:23:47', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022833 -3.399758)'), GeomFromEWKT('SRID=4674;POINT (-39.022723 -3.39964)'))) / (select extract(epoch from '2026-07-28 08:23:47'::timestamp) - extract(epoch from '2026-07-28 08:23:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022833 -3.399758)'), GeomFromEWKT('SRID=4674;POINT (-39.022723 -3.39964)'))) / (select extract(epoch from '2026-07-28 08:23:47'::timestamp) - extract(epoch from '2026-07-28 08:23:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.022633 -3.399548)', '2026-07-28 08:23:55', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022723 -3.39964)'), GeomFromEWKT('SRID=4674;POINT (-39.022633 -3.399548)'))) / (select extract(epoch from '2026-07-28 08:23:55'::timestamp) - extract(epoch from '2026-07-28 08:23:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022723 -3.39964)'), GeomFromEWKT('SRID=4674;POINT (-39.022633 -3.399548)'))) / (select extract(epoch from '2026-07-28 08:23:55'::timestamp) - extract(epoch from '2026-07-28 08:23:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.022547 -3.399457)', '2026-07-28 08:24:03', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022633 -3.399548)'), GeomFromEWKT('SRID=4674;POINT (-39.022547 -3.399457)'))) / (select extract(epoch from '2026-07-28 08:24:03'::timestamp) - extract(epoch from '2026-07-28 08:23:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022633 -3.399548)'), GeomFromEWKT('SRID=4674;POINT (-39.022547 -3.399457)'))) / (select extract(epoch from '2026-07-28 08:24:03'::timestamp) - extract(epoch from '2026-07-28 08:23: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'), 47422, 'SRID=4674;POINT (-39.022451 -3.399354)', '2026-07-28 08:24:12', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022547 -3.399457)'), GeomFromEWKT('SRID=4674;POINT (-39.022451 -3.399354)'))) / (select extract(epoch from '2026-07-28 08:24:12'::timestamp) - extract(epoch from '2026-07-28 08:24:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022547 -3.399457)'), GeomFromEWKT('SRID=4674;POINT (-39.022451 -3.399354)'))) / (select extract(epoch from '2026-07-28 08:24:12'::timestamp) - extract(epoch from '2026-07-28 08:24: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'), 47422, 'SRID=4674;POINT (-39.02237 -3.399257)', '2026-07-28 08:24:20', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022451 -3.399354)'), GeomFromEWKT('SRID=4674;POINT (-39.02237 -3.399257)'))) / (select extract(epoch from '2026-07-28 08:24:20'::timestamp) - extract(epoch from '2026-07-28 08:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022451 -3.399354)'), GeomFromEWKT('SRID=4674;POINT (-39.02237 -3.399257)'))) / (select extract(epoch from '2026-07-28 08:24:20'::timestamp) - extract(epoch from '2026-07-28 08:24: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'), 47422, 'SRID=4674;POINT (-39.022267 -3.39916)', '2026-07-28 08:24:28', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02237 -3.399257)'), GeomFromEWKT('SRID=4674;POINT (-39.022267 -3.39916)'))) / (select extract(epoch from '2026-07-28 08:24:28'::timestamp) - extract(epoch from '2026-07-28 08:24:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02237 -3.399257)'), GeomFromEWKT('SRID=4674;POINT (-39.022267 -3.39916)'))) / (select extract(epoch from '2026-07-28 08:24:28'::timestamp) - extract(epoch from '2026-07-28 08:24:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.022172 -3.39907)', '2026-07-28 08:24:36', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022267 -3.39916)'), GeomFromEWKT('SRID=4674;POINT (-39.022172 -3.39907)'))) / (select extract(epoch from '2026-07-28 08:24:36'::timestamp) - extract(epoch from '2026-07-28 08:24:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022267 -3.39916)'), GeomFromEWKT('SRID=4674;POINT (-39.022172 -3.39907)'))) / (select extract(epoch from '2026-07-28 08:24:36'::timestamp) - extract(epoch from '2026-07-28 08:24:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.022086 -3.398993)', '2026-07-28 08:24:43', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022172 -3.39907)'), GeomFromEWKT('SRID=4674;POINT (-39.022086 -3.398993)'))) / (select extract(epoch from '2026-07-28 08:24:43'::timestamp) - extract(epoch from '2026-07-28 08:24:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022172 -3.39907)'), GeomFromEWKT('SRID=4674;POINT (-39.022086 -3.398993)'))) / (select extract(epoch from '2026-07-28 08:24:43'::timestamp) - extract(epoch from '2026-07-28 08:24:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.021991 -3.398901)', '2026-07-28 08:24:51', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022086 -3.398993)'), GeomFromEWKT('SRID=4674;POINT (-39.021991 -3.398901)'))) / (select extract(epoch from '2026-07-28 08:24:51'::timestamp) - extract(epoch from '2026-07-28 08:24:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022086 -3.398993)'), GeomFromEWKT('SRID=4674;POINT (-39.021991 -3.398901)'))) / (select extract(epoch from '2026-07-28 08:24:51'::timestamp) - extract(epoch from '2026-07-28 08:24:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.021892 -3.398817)', '2026-07-28 08:24:59', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021991 -3.398901)'), GeomFromEWKT('SRID=4674;POINT (-39.021892 -3.398817)'))) / (select extract(epoch from '2026-07-28 08:24:59'::timestamp) - extract(epoch from '2026-07-28 08:24:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021991 -3.398901)'), GeomFromEWKT('SRID=4674;POINT (-39.021892 -3.398817)'))) / (select extract(epoch from '2026-07-28 08:24:59'::timestamp) - extract(epoch from '2026-07-28 08:24: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'), 47422, 'SRID=4674;POINT (-39.021787 -3.398733)', '2026-07-28 08:25:07', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021892 -3.398817)'), GeomFromEWKT('SRID=4674;POINT (-39.021787 -3.398733)'))) / (select extract(epoch from '2026-07-28 08:25:07'::timestamp) - extract(epoch from '2026-07-28 08:24:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021892 -3.398817)'), GeomFromEWKT('SRID=4674;POINT (-39.021787 -3.398733)'))) / (select extract(epoch from '2026-07-28 08:25:07'::timestamp) - extract(epoch from '2026-07-28 08:24:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.021662 -3.398641)', '2026-07-28 08:25:17', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021787 -3.398733)'), GeomFromEWKT('SRID=4674;POINT (-39.021662 -3.398641)'))) / (select extract(epoch from '2026-07-28 08:25:17'::timestamp) - extract(epoch from '2026-07-28 08:25:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021787 -3.398733)'), GeomFromEWKT('SRID=4674;POINT (-39.021662 -3.398641)'))) / (select extract(epoch from '2026-07-28 08:25:17'::timestamp) - extract(epoch from '2026-07-28 08:25: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'), 47422, 'SRID=4674;POINT (-39.02155 -3.398559)', '2026-07-28 08:25:26', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021662 -3.398641)'), GeomFromEWKT('SRID=4674;POINT (-39.02155 -3.398559)'))) / (select extract(epoch from '2026-07-28 08:25:26'::timestamp) - extract(epoch from '2026-07-28 08:25:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021662 -3.398641)'), GeomFromEWKT('SRID=4674;POINT (-39.02155 -3.398559)'))) / (select extract(epoch from '2026-07-28 08:25:26'::timestamp) - extract(epoch from '2026-07-28 08:25: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'), 47422, 'SRID=4674;POINT (-39.021437 -3.39847)', '2026-07-28 08:25:34', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02155 -3.398559)'), GeomFromEWKT('SRID=4674;POINT (-39.021437 -3.39847)'))) / (select extract(epoch from '2026-07-28 08:25:34'::timestamp) - extract(epoch from '2026-07-28 08:25:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02155 -3.398559)'), GeomFromEWKT('SRID=4674;POINT (-39.021437 -3.39847)'))) / (select extract(epoch from '2026-07-28 08:25:34'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47422, 'SRID=4674;POINT (-39.021335 -3.398385)', '2026-07-28 08:25:43', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021437 -3.39847)'), GeomFromEWKT('SRID=4674;POINT (-39.021335 -3.398385)'))) / (select extract(epoch from '2026-07-28 08:25:43'::timestamp) - extract(epoch from '2026-07-28 08:25:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021437 -3.39847)'), GeomFromEWKT('SRID=4674;POINT (-39.021335 -3.398385)'))) / (select extract(epoch from '2026-07-28 08:25:43'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47422, 'SRID=4674;POINT (-39.021249 -3.398312)', '2026-07-28 08:25:51', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021335 -3.398385)'), GeomFromEWKT('SRID=4674;POINT (-39.021249 -3.398312)'))) / (select extract(epoch from '2026-07-28 08:25:51'::timestamp) - extract(epoch from '2026-07-28 08:25:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021335 -3.398385)'), GeomFromEWKT('SRID=4674;POINT (-39.021249 -3.398312)'))) / (select extract(epoch from '2026-07-28 08:25:51'::timestamp) - extract(epoch from '2026-07-28 08:25: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'), 47422, 'SRID=4674;POINT (-39.021137 -3.398227)', '2026-07-28 08:26:00', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021249 -3.398312)'), GeomFromEWKT('SRID=4674;POINT (-39.021137 -3.398227)'))) / (select extract(epoch from '2026-07-28 08:26:00'::timestamp) - extract(epoch from '2026-07-28 08:25:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021249 -3.398312)'), GeomFromEWKT('SRID=4674;POINT (-39.021137 -3.398227)'))) / (select extract(epoch from '2026-07-28 08:26:00'::timestamp) - extract(epoch from '2026-07-28 08:25: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'), 47422, 'SRID=4674;POINT (-39.021032 -3.398129)', '2026-07-28 08:26:09', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021137 -3.398227)'), GeomFromEWKT('SRID=4674;POINT (-39.021032 -3.398129)'))) / (select extract(epoch from '2026-07-28 08:26:09'::timestamp) - extract(epoch from '2026-07-28 08:26:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021137 -3.398227)'), GeomFromEWKT('SRID=4674;POINT (-39.021032 -3.398129)'))) / (select extract(epoch from '2026-07-28 08:26:09'::timestamp) - extract(epoch from '2026-07-28 08:26:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.020908 -3.398028)', '2026-07-28 08:26:19', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021032 -3.398129)'), GeomFromEWKT('SRID=4674;POINT (-39.020908 -3.398028)'))) / (select extract(epoch from '2026-07-28 08:26:19'::timestamp) - extract(epoch from '2026-07-28 08:26:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021032 -3.398129)'), GeomFromEWKT('SRID=4674;POINT (-39.020908 -3.398028)'))) / (select extract(epoch from '2026-07-28 08:26:19'::timestamp) - extract(epoch from '2026-07-28 08:26:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.020789 -3.397931)', '2026-07-28 08:26:28', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020908 -3.398028)'), GeomFromEWKT('SRID=4674;POINT (-39.020789 -3.397931)'))) / (select extract(epoch from '2026-07-28 08:26:28'::timestamp) - extract(epoch from '2026-07-28 08:26:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020908 -3.398028)'), GeomFromEWKT('SRID=4674;POINT (-39.020789 -3.397931)'))) / (select extract(epoch from '2026-07-28 08:26:28'::timestamp) - extract(epoch from '2026-07-28 08:26: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'), 47422, 'SRID=4674;POINT (-39.020689 -3.397869)', '2026-07-28 08:26:36', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020789 -3.397931)'), GeomFromEWKT('SRID=4674;POINT (-39.020689 -3.397869)'))) / (select extract(epoch from '2026-07-28 08:26:36'::timestamp) - extract(epoch from '2026-07-28 08:26:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020789 -3.397931)'), GeomFromEWKT('SRID=4674;POINT (-39.020689 -3.397869)'))) / (select extract(epoch from '2026-07-28 08:26:36'::timestamp) - extract(epoch from '2026-07-28 08:26: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'), 47422, 'SRID=4674;POINT (-39.020593 -3.397811)', '2026-07-28 08:26:43', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020689 -3.397869)'), GeomFromEWKT('SRID=4674;POINT (-39.020593 -3.397811)'))) / (select extract(epoch from '2026-07-28 08:26:43'::timestamp) - extract(epoch from '2026-07-28 08:26:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020689 -3.397869)'), GeomFromEWKT('SRID=4674;POINT (-39.020593 -3.397811)'))) / (select extract(epoch from '2026-07-28 08:26:43'::timestamp) - extract(epoch from '2026-07-28 08:26:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.020455 -3.39772)', '2026-07-28 08:26:53', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020593 -3.397811)'), GeomFromEWKT('SRID=4674;POINT (-39.020455 -3.39772)'))) / (select extract(epoch from '2026-07-28 08:26:53'::timestamp) - extract(epoch from '2026-07-28 08:26:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020593 -3.397811)'), GeomFromEWKT('SRID=4674;POINT (-39.020455 -3.39772)'))) / (select extract(epoch from '2026-07-28 08:26:53'::timestamp) - extract(epoch from '2026-07-28 08:26: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'), 47422, 'SRID=4674;POINT (-39.020347 -3.397657)', '2026-07-28 08:27:01', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020455 -3.39772)'), GeomFromEWKT('SRID=4674;POINT (-39.020347 -3.397657)'))) / (select extract(epoch from '2026-07-28 08:27:01'::timestamp) - extract(epoch from '2026-07-28 08:26:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020455 -3.39772)'), GeomFromEWKT('SRID=4674;POINT (-39.020347 -3.397657)'))) / (select extract(epoch from '2026-07-28 08:27:01'::timestamp) - extract(epoch from '2026-07-28 08:26:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.020242 -3.397602)', '2026-07-28 08:27:08', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020347 -3.397657)'), GeomFromEWKT('SRID=4674;POINT (-39.020242 -3.397602)'))) / (select extract(epoch from '2026-07-28 08:27:08'::timestamp) - extract(epoch from '2026-07-28 08:27:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020347 -3.397657)'), GeomFromEWKT('SRID=4674;POINT (-39.020242 -3.397602)'))) / (select extract(epoch from '2026-07-28 08:27:08'::timestamp) - extract(epoch from '2026-07-28 08:27: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'), 47422, 'SRID=4674;POINT (-39.020115 -3.397527)', '2026-07-28 08:27:18', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020242 -3.397602)'), GeomFromEWKT('SRID=4674;POINT (-39.020115 -3.397527)'))) / (select extract(epoch from '2026-07-28 08:27:18'::timestamp) - extract(epoch from '2026-07-28 08:27:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020242 -3.397602)'), GeomFromEWKT('SRID=4674;POINT (-39.020115 -3.397527)'))) / (select extract(epoch from '2026-07-28 08:27:18'::timestamp) - extract(epoch from '2026-07-28 08:27: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'), 47422, 'SRID=4674;POINT (-39.020016 -3.397481)', '2026-07-28 08:27:26', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020115 -3.397527)'), GeomFromEWKT('SRID=4674;POINT (-39.020016 -3.397481)'))) / (select extract(epoch from '2026-07-28 08:27:26'::timestamp) - extract(epoch from '2026-07-28 08:27:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020115 -3.397527)'), GeomFromEWKT('SRID=4674;POINT (-39.020016 -3.397481)'))) / (select extract(epoch from '2026-07-28 08:27:26'::timestamp) - extract(epoch from '2026-07-28 08:27:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.019913 -3.397443)', '2026-07-28 08:27:34', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020016 -3.397481)'), GeomFromEWKT('SRID=4674;POINT (-39.019913 -3.397443)'))) / (select extract(epoch from '2026-07-28 08:27:34'::timestamp) - extract(epoch from '2026-07-28 08:27:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020016 -3.397481)'), GeomFromEWKT('SRID=4674;POINT (-39.019913 -3.397443)'))) / (select extract(epoch from '2026-07-28 08:27:34'::timestamp) - extract(epoch from '2026-07-28 08:27: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'), 47422, 'SRID=4674;POINT (-39.01982 -3.397403)', '2026-07-28 08:27:41', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019913 -3.397443)'), GeomFromEWKT('SRID=4674;POINT (-39.01982 -3.397403)'))) / (select extract(epoch from '2026-07-28 08:27:41'::timestamp) - extract(epoch from '2026-07-28 08:27:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019913 -3.397443)'), GeomFromEWKT('SRID=4674;POINT (-39.01982 -3.397403)'))) / (select extract(epoch from '2026-07-28 08:27:41'::timestamp) - extract(epoch from '2026-07-28 08:27: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'), 47422, 'SRID=4674;POINT (-39.0197 -3.397346)', '2026-07-28 08:27:50', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01982 -3.397403)'), GeomFromEWKT('SRID=4674;POINT (-39.0197 -3.397346)'))) / (select extract(epoch from '2026-07-28 08:27:50'::timestamp) - extract(epoch from '2026-07-28 08:27:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01982 -3.397403)'), GeomFromEWKT('SRID=4674;POINT (-39.0197 -3.397346)'))) / (select extract(epoch from '2026-07-28 08:27:50'::timestamp) - extract(epoch from '2026-07-28 08:27:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.019624 -3.397299)', '2026-07-28 08:27:57', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0197 -3.397346)'), GeomFromEWKT('SRID=4674;POINT (-39.019624 -3.397299)'))) / (select extract(epoch from '2026-07-28 08:27:57'::timestamp) - extract(epoch from '2026-07-28 08:27:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0197 -3.397346)'), GeomFromEWKT('SRID=4674;POINT (-39.019624 -3.397299)'))) / (select extract(epoch from '2026-07-28 08:27:57'::timestamp) - extract(epoch from '2026-07-28 08:27: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'), 47422, 'SRID=4674;POINT (-39.019538 -3.397246)', '2026-07-28 08:28:04', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019624 -3.397299)'), GeomFromEWKT('SRID=4674;POINT (-39.019538 -3.397246)'))) / (select extract(epoch from '2026-07-28 08:28:04'::timestamp) - extract(epoch from '2026-07-28 08:27:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019624 -3.397299)'), GeomFromEWKT('SRID=4674;POINT (-39.019538 -3.397246)'))) / (select extract(epoch from '2026-07-28 08:28:04'::timestamp) - extract(epoch from '2026-07-28 08:27:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.019447 -3.397189)', '2026-07-28 08:28:11', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019538 -3.397246)'), GeomFromEWKT('SRID=4674;POINT (-39.019447 -3.397189)'))) / (select extract(epoch from '2026-07-28 08:28:11'::timestamp) - extract(epoch from '2026-07-28 08:28:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019538 -3.397246)'), GeomFromEWKT('SRID=4674;POINT (-39.019447 -3.397189)'))) / (select extract(epoch from '2026-07-28 08:28:11'::timestamp) - extract(epoch from '2026-07-28 08:28: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'), 47422, 'SRID=4674;POINT (-39.019353 -3.397132)', '2026-07-28 08:28:19', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019447 -3.397189)'), GeomFromEWKT('SRID=4674;POINT (-39.019353 -3.397132)'))) / (select extract(epoch from '2026-07-28 08:28:19'::timestamp) - extract(epoch from '2026-07-28 08:28:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019447 -3.397189)'), GeomFromEWKT('SRID=4674;POINT (-39.019353 -3.397132)'))) / (select extract(epoch from '2026-07-28 08:28:19'::timestamp) - extract(epoch from '2026-07-28 08:28: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'), 47422, 'SRID=4674;POINT (-39.019265 -3.397054)', '2026-07-28 08:28:28', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019353 -3.397132)'), GeomFromEWKT('SRID=4674;POINT (-39.019265 -3.397054)'))) / (select extract(epoch from '2026-07-28 08:28:28'::timestamp) - extract(epoch from '2026-07-28 08:28:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019353 -3.397132)'), GeomFromEWKT('SRID=4674;POINT (-39.019265 -3.397054)'))) / (select extract(epoch from '2026-07-28 08:28:28'::timestamp) - extract(epoch from '2026-07-28 08:28: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'), 47422, 'SRID=4674;POINT (-39.019177 -3.396994)', '2026-07-28 08:28:36', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019265 -3.397054)'), GeomFromEWKT('SRID=4674;POINT (-39.019177 -3.396994)'))) / (select extract(epoch from '2026-07-28 08:28:36'::timestamp) - extract(epoch from '2026-07-28 08:28:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019265 -3.397054)'), GeomFromEWKT('SRID=4674;POINT (-39.019177 -3.396994)'))) / (select extract(epoch from '2026-07-28 08:28:36'::timestamp) - extract(epoch from '2026-07-28 08:28: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'), 47422, 'SRID=4674;POINT (-39.019077 -3.396945)', '2026-07-28 08:28:45', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019177 -3.396994)'), GeomFromEWKT('SRID=4674;POINT (-39.019077 -3.396945)'))) / (select extract(epoch from '2026-07-28 08:28:45'::timestamp) - extract(epoch from '2026-07-28 08:28:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019177 -3.396994)'), GeomFromEWKT('SRID=4674;POINT (-39.019077 -3.396945)'))) / (select extract(epoch from '2026-07-28 08:28:45'::timestamp) - extract(epoch from '2026-07-28 08:28: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'), 47422, 'SRID=4674;POINT (-39.018985 -3.396892)', '2026-07-28 08:28:53', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019077 -3.396945)'), GeomFromEWKT('SRID=4674;POINT (-39.018985 -3.396892)'))) / (select extract(epoch from '2026-07-28 08:28:53'::timestamp) - extract(epoch from '2026-07-28 08:28:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019077 -3.396945)'), GeomFromEWKT('SRID=4674;POINT (-39.018985 -3.396892)'))) / (select extract(epoch from '2026-07-28 08:28:53'::timestamp) - extract(epoch from '2026-07-28 08:28: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'), 47422, 'SRID=4674;POINT (-39.01889 -3.396832)', '2026-07-28 08:29:00', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018985 -3.396892)'), GeomFromEWKT('SRID=4674;POINT (-39.01889 -3.396832)'))) / (select extract(epoch from '2026-07-28 08:29:00'::timestamp) - extract(epoch from '2026-07-28 08:28:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018985 -3.396892)'), GeomFromEWKT('SRID=4674;POINT (-39.01889 -3.396832)'))) / (select extract(epoch from '2026-07-28 08:29:00'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47422, 'SRID=4674;POINT (-39.018772 -3.396758)', '2026-07-28 08:29:09', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01889 -3.396832)'), GeomFromEWKT('SRID=4674;POINT (-39.018772 -3.396758)'))) / (select extract(epoch from '2026-07-28 08:29:09'::timestamp) - extract(epoch from '2026-07-28 08:29:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01889 -3.396832)'), GeomFromEWKT('SRID=4674;POINT (-39.018772 -3.396758)'))) / (select extract(epoch from '2026-07-28 08:29:09'::timestamp) - extract(epoch from '2026-07-28 08:29:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.01867 -3.396674)', '2026-07-28 08:29:19', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018772 -3.396758)'), GeomFromEWKT('SRID=4674;POINT (-39.01867 -3.396674)'))) / (select extract(epoch from '2026-07-28 08:29:19'::timestamp) - extract(epoch from '2026-07-28 08:29:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018772 -3.396758)'), GeomFromEWKT('SRID=4674;POINT (-39.01867 -3.396674)'))) / (select extract(epoch from '2026-07-28 08:29:19'::timestamp) - extract(epoch from '2026-07-28 08:29: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'), 47422, 'SRID=4674;POINT (-39.018576 -3.396615)', '2026-07-28 08:29:28', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01867 -3.396674)'), GeomFromEWKT('SRID=4674;POINT (-39.018576 -3.396615)'))) / (select extract(epoch from '2026-07-28 08:29:28'::timestamp) - extract(epoch from '2026-07-28 08:29:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01867 -3.396674)'), GeomFromEWKT('SRID=4674;POINT (-39.018576 -3.396615)'))) / (select extract(epoch from '2026-07-28 08:29:28'::timestamp) - extract(epoch from '2026-07-28 08:29: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'), 47422, 'SRID=4674;POINT (-39.01851 -3.396555)', '2026-07-28 08:29:35', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018576 -3.396615)'), GeomFromEWKT('SRID=4674;POINT (-39.01851 -3.396555)'))) / (select extract(epoch from '2026-07-28 08:29:35'::timestamp) - extract(epoch from '2026-07-28 08:29:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018576 -3.396615)'), GeomFromEWKT('SRID=4674;POINT (-39.01851 -3.396555)'))) / (select extract(epoch from '2026-07-28 08:29:35'::timestamp) - extract(epoch from '2026-07-28 08:29:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018431 -3.396482)', '2026-07-28 08:29:43', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01851 -3.396555)'), GeomFromEWKT('SRID=4674;POINT (-39.018431 -3.396482)'))) / (select extract(epoch from '2026-07-28 08:29:43'::timestamp) - extract(epoch from '2026-07-28 08:29:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01851 -3.396555)'), GeomFromEWKT('SRID=4674;POINT (-39.018431 -3.396482)'))) / (select extract(epoch from '2026-07-28 08:29:43'::timestamp) - extract(epoch from '2026-07-28 08:29:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018326 -3.39639)', '2026-07-28 08:29:53', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018431 -3.396482)'), GeomFromEWKT('SRID=4674;POINT (-39.018326 -3.39639)'))) / (select extract(epoch from '2026-07-28 08:29:53'::timestamp) - extract(epoch from '2026-07-28 08:29:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018431 -3.396482)'), GeomFromEWKT('SRID=4674;POINT (-39.018326 -3.39639)'))) / (select extract(epoch from '2026-07-28 08:29:53'::timestamp) - extract(epoch from '2026-07-28 08:29:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018254 -3.396319)', '2026-07-28 08:30:01', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018326 -3.39639)'), GeomFromEWKT('SRID=4674;POINT (-39.018254 -3.396319)'))) / (select extract(epoch from '2026-07-28 08:30:01'::timestamp) - extract(epoch from '2026-07-28 08:29:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018326 -3.39639)'), GeomFromEWKT('SRID=4674;POINT (-39.018254 -3.396319)'))) / (select extract(epoch from '2026-07-28 08:30:01'::timestamp) - extract(epoch from '2026-07-28 08:29: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'), 47422, 'SRID=4674;POINT (-39.018163 -3.396243)', '2026-07-28 08:30:09', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018254 -3.396319)'), GeomFromEWKT('SRID=4674;POINT (-39.018163 -3.396243)'))) / (select extract(epoch from '2026-07-28 08:30:09'::timestamp) - extract(epoch from '2026-07-28 08:30:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018254 -3.396319)'), GeomFromEWKT('SRID=4674;POINT (-39.018163 -3.396243)'))) / (select extract(epoch from '2026-07-28 08:30:09'::timestamp) - extract(epoch from '2026-07-28 08:30: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'), 47422, 'SRID=4674;POINT (-39.018091 -3.396173)', '2026-07-28 08:30:16', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018163 -3.396243)'), GeomFromEWKT('SRID=4674;POINT (-39.018091 -3.396173)'))) / (select extract(epoch from '2026-07-28 08:30:16'::timestamp) - extract(epoch from '2026-07-28 08:30:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018163 -3.396243)'), GeomFromEWKT('SRID=4674;POINT (-39.018091 -3.396173)'))) / (select extract(epoch from '2026-07-28 08:30:16'::timestamp) - extract(epoch from '2026-07-28 08:30:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.017971 -3.396068)', '2026-07-28 08:30:28', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018091 -3.396173)'), GeomFromEWKT('SRID=4674;POINT (-39.017971 -3.396068)'))) / (select extract(epoch from '2026-07-28 08:30:28'::timestamp) - extract(epoch from '2026-07-28 08:30:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018091 -3.396173)'), GeomFromEWKT('SRID=4674;POINT (-39.017971 -3.396068)'))) / (select extract(epoch from '2026-07-28 08:30:28'::timestamp) - extract(epoch from '2026-07-28 08:30:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.017895 -3.395977)', '2026-07-28 08:30:37', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017971 -3.396068)'), GeomFromEWKT('SRID=4674;POINT (-39.017895 -3.395977)'))) / (select extract(epoch from '2026-07-28 08:30:37'::timestamp) - extract(epoch from '2026-07-28 08:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017971 -3.396068)'), GeomFromEWKT('SRID=4674;POINT (-39.017895 -3.395977)'))) / (select extract(epoch from '2026-07-28 08:30:37'::timestamp) - extract(epoch from '2026-07-28 08:30: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'), 47422, 'SRID=4674;POINT (-39.017787 -3.395879)', '2026-07-28 08:30:46', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017895 -3.395977)'), GeomFromEWKT('SRID=4674;POINT (-39.017787 -3.395879)'))) / (select extract(epoch from '2026-07-28 08:30:46'::timestamp) - extract(epoch from '2026-07-28 08:30:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017895 -3.395977)'), GeomFromEWKT('SRID=4674;POINT (-39.017787 -3.395879)'))) / (select extract(epoch from '2026-07-28 08:30:46'::timestamp) - extract(epoch from '2026-07-28 08:30:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.017699 -3.395797)', '2026-07-28 08:30:54', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017787 -3.395879)'), GeomFromEWKT('SRID=4674;POINT (-39.017699 -3.395797)'))) / (select extract(epoch from '2026-07-28 08:30:54'::timestamp) - extract(epoch from '2026-07-28 08:30:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017787 -3.395879)'), GeomFromEWKT('SRID=4674;POINT (-39.017699 -3.395797)'))) / (select extract(epoch from '2026-07-28 08:30:54'::timestamp) - extract(epoch from '2026-07-28 08:30: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'), 47422, 'SRID=4674;POINT (-39.017611 -3.395739)', '2026-07-28 08:31:01', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017699 -3.395797)'), GeomFromEWKT('SRID=4674;POINT (-39.017611 -3.395739)'))) / (select extract(epoch from '2026-07-28 08:31:01'::timestamp) - extract(epoch from '2026-07-28 08:30:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017699 -3.395797)'), GeomFromEWKT('SRID=4674;POINT (-39.017611 -3.395739)'))) / (select extract(epoch from '2026-07-28 08:31:01'::timestamp) - extract(epoch from '2026-07-28 08:30:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.017524 -3.39567)', '2026-07-28 08:31:09', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017611 -3.395739)'), GeomFromEWKT('SRID=4674;POINT (-39.017524 -3.39567)'))) / (select extract(epoch from '2026-07-28 08:31:09'::timestamp) - extract(epoch from '2026-07-28 08:31:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017611 -3.395739)'), GeomFromEWKT('SRID=4674;POINT (-39.017524 -3.39567)'))) / (select extract(epoch from '2026-07-28 08:31:09'::timestamp) - extract(epoch from '2026-07-28 08:31: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'), 47422, 'SRID=4674;POINT (-39.017411 -3.395598)', '2026-07-28 08:31:18', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017524 -3.39567)'), GeomFromEWKT('SRID=4674;POINT (-39.017411 -3.395598)'))) / (select extract(epoch from '2026-07-28 08:31:18'::timestamp) - extract(epoch from '2026-07-28 08:31:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017524 -3.39567)'), GeomFromEWKT('SRID=4674;POINT (-39.017411 -3.395598)'))) / (select extract(epoch from '2026-07-28 08:31:18'::timestamp) - extract(epoch from '2026-07-28 08:31: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'), 47422, 'SRID=4674;POINT (-39.017327 -3.395541)', '2026-07-28 08:31:27', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017411 -3.395598)'), GeomFromEWKT('SRID=4674;POINT (-39.017327 -3.395541)'))) / (select extract(epoch from '2026-07-28 08:31:27'::timestamp) - extract(epoch from '2026-07-28 08:31:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017411 -3.395598)'), GeomFromEWKT('SRID=4674;POINT (-39.017327 -3.395541)'))) / (select extract(epoch from '2026-07-28 08:31:27'::timestamp) - extract(epoch from '2026-07-28 08:31:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.017208 -3.395452)', '2026-07-28 08:31:37', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017327 -3.395541)'), GeomFromEWKT('SRID=4674;POINT (-39.017208 -3.395452)'))) / (select extract(epoch from '2026-07-28 08:31:37'::timestamp) - extract(epoch from '2026-07-28 08:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017327 -3.395541)'), GeomFromEWKT('SRID=4674;POINT (-39.017208 -3.395452)'))) / (select extract(epoch from '2026-07-28 08:31:37'::timestamp) - extract(epoch from '2026-07-28 08:31: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'), 47422, 'SRID=4674;POINT (-39.017141 -3.395393)', '2026-07-28 08:31:44', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017208 -3.395452)'), GeomFromEWKT('SRID=4674;POINT (-39.017141 -3.395393)'))) / (select extract(epoch from '2026-07-28 08:31:44'::timestamp) - extract(epoch from '2026-07-28 08:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017208 -3.395452)'), GeomFromEWKT('SRID=4674;POINT (-39.017141 -3.395393)'))) / (select extract(epoch from '2026-07-28 08:31:44'::timestamp) - extract(epoch from '2026-07-28 08:31: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'), 47422, 'SRID=4674;POINT (-39.017042 -3.395314)', '2026-07-28 08:31:52', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017141 -3.395393)'), GeomFromEWKT('SRID=4674;POINT (-39.017042 -3.395314)'))) / (select extract(epoch from '2026-07-28 08:31:52'::timestamp) - extract(epoch from '2026-07-28 08:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017141 -3.395393)'), GeomFromEWKT('SRID=4674;POINT (-39.017042 -3.395314)'))) / (select extract(epoch from '2026-07-28 08:31:52'::timestamp) - extract(epoch from '2026-07-28 08:31:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.016945 -3.395248)', '2026-07-28 08:32:00', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017042 -3.395314)'), GeomFromEWKT('SRID=4674;POINT (-39.016945 -3.395248)'))) / (select extract(epoch from '2026-07-28 08:32:00'::timestamp) - extract(epoch from '2026-07-28 08:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017042 -3.395314)'), GeomFromEWKT('SRID=4674;POINT (-39.016945 -3.395248)'))) / (select extract(epoch from '2026-07-28 08:32:00'::timestamp) - extract(epoch from '2026-07-28 08:31:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.016874 -3.395168)', '2026-07-28 08:32:07', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016945 -3.395248)'), GeomFromEWKT('SRID=4674;POINT (-39.016874 -3.395168)'))) / (select extract(epoch from '2026-07-28 08:32:07'::timestamp) - extract(epoch from '2026-07-28 08:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016945 -3.395248)'), GeomFromEWKT('SRID=4674;POINT (-39.016874 -3.395168)'))) / (select extract(epoch from '2026-07-28 08:32:07'::timestamp) - extract(epoch from '2026-07-28 08:32: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'), 47422, 'SRID=4674;POINT (-39.016814 -3.39509)', '2026-07-28 08:32:14', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016874 -3.395168)'), GeomFromEWKT('SRID=4674;POINT (-39.016814 -3.39509)'))) / (select extract(epoch from '2026-07-28 08:32:14'::timestamp) - extract(epoch from '2026-07-28 08:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016874 -3.395168)'), GeomFromEWKT('SRID=4674;POINT (-39.016814 -3.39509)'))) / (select extract(epoch from '2026-07-28 08:32:14'::timestamp) - extract(epoch from '2026-07-28 08:32:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.016751 -3.395007)', '2026-07-28 08:32:22', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016814 -3.39509)'), GeomFromEWKT('SRID=4674;POINT (-39.016751 -3.395007)'))) / (select extract(epoch from '2026-07-28 08:32:22'::timestamp) - extract(epoch from '2026-07-28 08:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016814 -3.39509)'), GeomFromEWKT('SRID=4674;POINT (-39.016751 -3.395007)'))) / (select extract(epoch from '2026-07-28 08:32:22'::timestamp) - extract(epoch from '2026-07-28 08:32:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.016692 -3.394933)', '2026-07-28 08:32:30', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016751 -3.395007)'), GeomFromEWKT('SRID=4674;POINT (-39.016692 -3.394933)'))) / (select extract(epoch from '2026-07-28 08:32:30'::timestamp) - extract(epoch from '2026-07-28 08:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016751 -3.395007)'), GeomFromEWKT('SRID=4674;POINT (-39.016692 -3.394933)'))) / (select extract(epoch from '2026-07-28 08:32:30'::timestamp) - extract(epoch from '2026-07-28 08:32:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.016619 -3.394841)', '2026-07-28 08:32:38', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016692 -3.394933)'), GeomFromEWKT('SRID=4674;POINT (-39.016619 -3.394841)'))) / (select extract(epoch from '2026-07-28 08:32:38'::timestamp) - extract(epoch from '2026-07-28 08:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016692 -3.394933)'), GeomFromEWKT('SRID=4674;POINT (-39.016619 -3.394841)'))) / (select extract(epoch from '2026-07-28 08:32:38'::timestamp) - extract(epoch from '2026-07-28 08:32:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.016541 -3.394754)', '2026-07-28 08:32:46', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016619 -3.394841)'), GeomFromEWKT('SRID=4674;POINT (-39.016541 -3.394754)'))) / (select extract(epoch from '2026-07-28 08:32:46'::timestamp) - extract(epoch from '2026-07-28 08:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016619 -3.394841)'), GeomFromEWKT('SRID=4674;POINT (-39.016541 -3.394754)'))) / (select extract(epoch from '2026-07-28 08:32:46'::timestamp) - extract(epoch from '2026-07-28 08:32: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'), 47422, 'SRID=4674;POINT (-39.016468 -3.394662)', '2026-07-28 08:32:54', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016541 -3.394754)'), GeomFromEWKT('SRID=4674;POINT (-39.016468 -3.394662)'))) / (select extract(epoch from '2026-07-28 08:32:54'::timestamp) - extract(epoch from '2026-07-28 08:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016541 -3.394754)'), GeomFromEWKT('SRID=4674;POINT (-39.016468 -3.394662)'))) / (select extract(epoch from '2026-07-28 08:32:54'::timestamp) - extract(epoch from '2026-07-28 08:32:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.016413 -3.394589)', '2026-07-28 08:33:01', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016468 -3.394662)'), GeomFromEWKT('SRID=4674;POINT (-39.016413 -3.394589)'))) / (select extract(epoch from '2026-07-28 08:33:01'::timestamp) - extract(epoch from '2026-07-28 08:32:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016468 -3.394662)'), GeomFromEWKT('SRID=4674;POINT (-39.016413 -3.394589)'))) / (select extract(epoch from '2026-07-28 08:33:01'::timestamp) - extract(epoch from '2026-07-28 08:32: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'), 47422, 'SRID=4674;POINT (-39.016345 -3.39451)', '2026-07-28 08:33:09', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016413 -3.394589)'), GeomFromEWKT('SRID=4674;POINT (-39.016345 -3.39451)'))) / (select extract(epoch from '2026-07-28 08:33:09'::timestamp) - extract(epoch from '2026-07-28 08:33:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016413 -3.394589)'), GeomFromEWKT('SRID=4674;POINT (-39.016345 -3.39451)'))) / (select extract(epoch from '2026-07-28 08:33:09'::timestamp) - extract(epoch from '2026-07-28 08:33:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.016279 -3.394431)', '2026-07-28 08:33:16', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016345 -3.39451)'), GeomFromEWKT('SRID=4674;POINT (-39.016279 -3.394431)'))) / (select extract(epoch from '2026-07-28 08:33:16'::timestamp) - extract(epoch from '2026-07-28 08:33:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016345 -3.39451)'), GeomFromEWKT('SRID=4674;POINT (-39.016279 -3.394431)'))) / (select extract(epoch from '2026-07-28 08:33:16'::timestamp) - extract(epoch from '2026-07-28 08:33: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'), 47422, 'SRID=4674;POINT (-39.016219 -3.394356)', '2026-07-28 08:33:24', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016279 -3.394431)'), GeomFromEWKT('SRID=4674;POINT (-39.016219 -3.394356)'))) / (select extract(epoch from '2026-07-28 08:33:24'::timestamp) - extract(epoch from '2026-07-28 08:33:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016279 -3.394431)'), GeomFromEWKT('SRID=4674;POINT (-39.016219 -3.394356)'))) / (select extract(epoch from '2026-07-28 08:33:24'::timestamp) - extract(epoch from '2026-07-28 08:33: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'), 47422, 'SRID=4674;POINT (-39.016139 -3.394268)', '2026-07-28 08:33:33', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016219 -3.394356)'), GeomFromEWKT('SRID=4674;POINT (-39.016139 -3.394268)'))) / (select extract(epoch from '2026-07-28 08:33:33'::timestamp) - extract(epoch from '2026-07-28 08:33:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016219 -3.394356)'), GeomFromEWKT('SRID=4674;POINT (-39.016139 -3.394268)'))) / (select extract(epoch from '2026-07-28 08:33:33'::timestamp) - extract(epoch from '2026-07-28 08:33: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'), 47422, 'SRID=4674;POINT (-39.016088 -3.394173)', '2026-07-28 08:33:41', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016139 -3.394268)'), GeomFromEWKT('SRID=4674;POINT (-39.016088 -3.394173)'))) / (select extract(epoch from '2026-07-28 08:33:41'::timestamp) - extract(epoch from '2026-07-28 08:33:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016139 -3.394268)'), GeomFromEWKT('SRID=4674;POINT (-39.016088 -3.394173)'))) / (select extract(epoch from '2026-07-28 08:33:41'::timestamp) - extract(epoch from '2026-07-28 08:33: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'), 47422, 'SRID=4674;POINT (-39.016011 -3.394074)', '2026-07-28 08:33:49', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016088 -3.394173)'), GeomFromEWKT('SRID=4674;POINT (-39.016011 -3.394074)'))) / (select extract(epoch from '2026-07-28 08:33:49'::timestamp) - extract(epoch from '2026-07-28 08:33:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016088 -3.394173)'), GeomFromEWKT('SRID=4674;POINT (-39.016011 -3.394074)'))) / (select extract(epoch from '2026-07-28 08:33:49'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47422, 'SRID=4674;POINT (-39.015957 -3.393957)', '2026-07-28 08:33:58', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016011 -3.394074)'), GeomFromEWKT('SRID=4674;POINT (-39.015957 -3.393957)'))) / (select extract(epoch from '2026-07-28 08:33:58'::timestamp) - extract(epoch from '2026-07-28 08:33:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016011 -3.394074)'), GeomFromEWKT('SRID=4674;POINT (-39.015957 -3.393957)'))) / (select extract(epoch from '2026-07-28 08:33:58'::timestamp) - extract(epoch from '2026-07-28 08:33:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.015919 -3.393874)', '2026-07-28 08:34:06', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015957 -3.393957)'), GeomFromEWKT('SRID=4674;POINT (-39.015919 -3.393874)'))) / (select extract(epoch from '2026-07-28 08:34:06'::timestamp) - extract(epoch from '2026-07-28 08:33:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015957 -3.393957)'), GeomFromEWKT('SRID=4674;POINT (-39.015919 -3.393874)'))) / (select extract(epoch from '2026-07-28 08:34:06'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47422, 'SRID=4674;POINT (-39.015871 -3.393824)', '2026-07-28 08:34:13', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015919 -3.393874)'), GeomFromEWKT('SRID=4674;POINT (-39.015871 -3.393824)'))) / (select extract(epoch from '2026-07-28 08:34:13'::timestamp) - extract(epoch from '2026-07-28 08:34:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015919 -3.393874)'), GeomFromEWKT('SRID=4674;POINT (-39.015871 -3.393824)'))) / (select extract(epoch from '2026-07-28 08:34:13'::timestamp) - extract(epoch from '2026-07-28 08:34: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'), 47422, 'SRID=4674;POINT (-39.0158 -3.393752)', '2026-07-28 08:34:22', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015871 -3.393824)'), GeomFromEWKT('SRID=4674;POINT (-39.0158 -3.393752)'))) / (select extract(epoch from '2026-07-28 08:34:22'::timestamp) - extract(epoch from '2026-07-28 08:34:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015871 -3.393824)'), GeomFromEWKT('SRID=4674;POINT (-39.0158 -3.393752)'))) / (select extract(epoch from '2026-07-28 08:34:22'::timestamp) - extract(epoch from '2026-07-28 08:34:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.015747 -3.393744)', '2026-07-28 08:34:27', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0158 -3.393752)'), GeomFromEWKT('SRID=4674;POINT (-39.015747 -3.393744)'))) / (select extract(epoch from '2026-07-28 08:34:27'::timestamp) - extract(epoch from '2026-07-28 08:34:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0158 -3.393752)'), GeomFromEWKT('SRID=4674;POINT (-39.015747 -3.393744)'))) / (select extract(epoch from '2026-07-28 08:34:27'::timestamp) - extract(epoch from '2026-07-28 08:34:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.015736 -3.393746)', '2026-07-28 08:34:28', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015747 -3.393744)'), GeomFromEWKT('SRID=4674;POINT (-39.015736 -3.393746)'))) / (select extract(epoch from '2026-07-28 08:34:28'::timestamp) - extract(epoch from '2026-07-28 08:34:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015747 -3.393744)'), GeomFromEWKT('SRID=4674;POINT (-39.015736 -3.393746)'))) / (select extract(epoch from '2026-07-28 08:34:28'::timestamp) - extract(epoch from '2026-07-28 08:34:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.015697 -3.393778)', '2026-07-28 08:34:35', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015736 -3.393746)'), GeomFromEWKT('SRID=4674;POINT (-39.015697 -3.393778)'))) / (select extract(epoch from '2026-07-28 08:34:35'::timestamp) - extract(epoch from '2026-07-28 08:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015736 -3.393746)'), GeomFromEWKT('SRID=4674;POINT (-39.015697 -3.393778)'))) / (select extract(epoch from '2026-07-28 08:34:35'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47422, 'SRID=4674;POINT (-39.015701 -3.393788)', '2026-07-28 08:34:43', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015697 -3.393778)'), GeomFromEWKT('SRID=4674;POINT (-39.015701 -3.393788)'))) / (select extract(epoch from '2026-07-28 08:34:43'::timestamp) - extract(epoch from '2026-07-28 08:34:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015697 -3.393778)'), GeomFromEWKT('SRID=4674;POINT (-39.015701 -3.393788)'))) / (select extract(epoch from '2026-07-28 08:34:43'::timestamp) - extract(epoch from '2026-07-28 08:34: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'), 47422, 'SRID=4674;POINT (-39.015726 -3.393809)', '2026-07-28 08:34:51', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015701 -3.393788)'), GeomFromEWKT('SRID=4674;POINT (-39.015726 -3.393809)'))) / (select extract(epoch from '2026-07-28 08:34:51'::timestamp) - extract(epoch from '2026-07-28 08:34:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015701 -3.393788)'), GeomFromEWKT('SRID=4674;POINT (-39.015726 -3.393809)'))) / (select extract(epoch from '2026-07-28 08:34:51'::timestamp) - extract(epoch from '2026-07-28 08:34:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.015753 -3.393831)', '2026-07-28 08:34:59', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015726 -3.393809)'), GeomFromEWKT('SRID=4674;POINT (-39.015753 -3.393831)'))) / (select extract(epoch from '2026-07-28 08:34:59'::timestamp) - extract(epoch from '2026-07-28 08:34:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015726 -3.393809)'), GeomFromEWKT('SRID=4674;POINT (-39.015753 -3.393831)'))) / (select extract(epoch from '2026-07-28 08:34:59'::timestamp) - extract(epoch from '2026-07-28 08:34:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.015828 -3.39384)', '2026-07-28 08:35:14', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015753 -3.393831)'), GeomFromEWKT('SRID=4674;POINT (-39.015828 -3.39384)'))) / (select extract(epoch from '2026-07-28 08:35:14'::timestamp) - extract(epoch from '2026-07-28 08:34:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015753 -3.393831)'), GeomFromEWKT('SRID=4674;POINT (-39.015828 -3.39384)'))) / (select extract(epoch from '2026-07-28 08:35:14'::timestamp) - extract(epoch from '2026-07-28 08:34:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.015837 -3.393833)', '2026-07-28 08:35:21', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015828 -3.39384)'), GeomFromEWKT('SRID=4674;POINT (-39.015837 -3.393833)'))) / (select extract(epoch from '2026-07-28 08:35:21'::timestamp) - extract(epoch from '2026-07-28 08:35:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015828 -3.39384)'), GeomFromEWKT('SRID=4674;POINT (-39.015837 -3.393833)'))) / (select extract(epoch from '2026-07-28 08:35:21'::timestamp) - extract(epoch from '2026-07-28 08:35: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'), 47422, 'SRID=4674;POINT (-39.015879 -3.393827)', '2026-07-28 08:35:35', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015837 -3.393833)'), GeomFromEWKT('SRID=4674;POINT (-39.015879 -3.393827)'))) / (select extract(epoch from '2026-07-28 08:35:35'::timestamp) - extract(epoch from '2026-07-28 08:35:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015837 -3.393833)'), GeomFromEWKT('SRID=4674;POINT (-39.015879 -3.393827)'))) / (select extract(epoch from '2026-07-28 08:35:35'::timestamp) - extract(epoch from '2026-07-28 08:35: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'), 47422, 'SRID=4674;POINT (-39.01591 -3.393801)', '2026-07-28 08:35:50', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015879 -3.393827)'), GeomFromEWKT('SRID=4674;POINT (-39.01591 -3.393801)'))) / (select extract(epoch from '2026-07-28 08:35:50'::timestamp) - extract(epoch from '2026-07-28 08:35:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015879 -3.393827)'), GeomFromEWKT('SRID=4674;POINT (-39.01591 -3.393801)'))) / (select extract(epoch from '2026-07-28 08:35:50'::timestamp) - extract(epoch from '2026-07-28 08:35:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.015993 -3.393784)', '2026-07-28 08:36:04', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01591 -3.393801)'), GeomFromEWKT('SRID=4674;POINT (-39.015993 -3.393784)'))) / (select extract(epoch from '2026-07-28 08:36:04'::timestamp) - extract(epoch from '2026-07-28 08:35:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01591 -3.393801)'), GeomFromEWKT('SRID=4674;POINT (-39.015993 -3.393784)'))) / (select extract(epoch from '2026-07-28 08:36:04'::timestamp) - extract(epoch from '2026-07-28 08:35:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.016032 -3.393749)', '2026-07-28 08:36:17', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015993 -3.393784)'), GeomFromEWKT('SRID=4674;POINT (-39.016032 -3.393749)'))) / (select extract(epoch from '2026-07-28 08:36:17'::timestamp) - extract(epoch from '2026-07-28 08:36:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015993 -3.393784)'), GeomFromEWKT('SRID=4674;POINT (-39.016032 -3.393749)'))) / (select extract(epoch from '2026-07-28 08:36:17'::timestamp) - extract(epoch from '2026-07-28 08:36:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.016106 -3.393729)', '2026-07-28 08:36:34', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016032 -3.393749)'), GeomFromEWKT('SRID=4674;POINT (-39.016106 -3.393729)'))) / (select extract(epoch from '2026-07-28 08:36:34'::timestamp) - extract(epoch from '2026-07-28 08:36:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016032 -3.393749)'), GeomFromEWKT('SRID=4674;POINT (-39.016106 -3.393729)'))) / (select extract(epoch from '2026-07-28 08:36:34'::timestamp) - extract(epoch from '2026-07-28 08:36: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'), 47422, 'SRID=4674;POINT (-39.016179 -3.393729)', '2026-07-28 08:36:52', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016106 -3.393729)'), GeomFromEWKT('SRID=4674;POINT (-39.016179 -3.393729)'))) / (select extract(epoch from '2026-07-28 08:36:52'::timestamp) - extract(epoch from '2026-07-28 08:36:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016106 -3.393729)'), GeomFromEWKT('SRID=4674;POINT (-39.016179 -3.393729)'))) / (select extract(epoch from '2026-07-28 08:36:52'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47422, 'SRID=4674;POINT (-39.016233 -3.393703)', '2026-07-28 08:37:09', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016179 -3.393729)'), GeomFromEWKT('SRID=4674;POINT (-39.016233 -3.393703)'))) / (select extract(epoch from '2026-07-28 08:37:09'::timestamp) - extract(epoch from '2026-07-28 08:36:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016179 -3.393729)'), GeomFromEWKT('SRID=4674;POINT (-39.016233 -3.393703)'))) / (select extract(epoch from '2026-07-28 08:37:09'::timestamp) - extract(epoch from '2026-07-28 08:36:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.016268 -3.393706)', '2026-07-28 08:37:16', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016233 -3.393703)'), GeomFromEWKT('SRID=4674;POINT (-39.016268 -3.393706)'))) / (select extract(epoch from '2026-07-28 08:37:16'::timestamp) - extract(epoch from '2026-07-28 08:37:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016233 -3.393703)'), GeomFromEWKT('SRID=4674;POINT (-39.016268 -3.393706)'))) / (select extract(epoch from '2026-07-28 08:37:16'::timestamp) - extract(epoch from '2026-07-28 08:37: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'), 47422, 'SRID=4674;POINT (-39.016285 -3.393696)', '2026-07-28 08:37:24', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016268 -3.393706)'), GeomFromEWKT('SRID=4674;POINT (-39.016285 -3.393696)'))) / (select extract(epoch from '2026-07-28 08:37:24'::timestamp) - extract(epoch from '2026-07-28 08:37:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016268 -3.393706)'), GeomFromEWKT('SRID=4674;POINT (-39.016285 -3.393696)'))) / (select extract(epoch from '2026-07-28 08:37:24'::timestamp) - extract(epoch from '2026-07-28 08:37: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'), 47422, 'SRID=4674;POINT (-39.016323 -3.393669)', '2026-07-28 08:37:34', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016285 -3.393696)'), GeomFromEWKT('SRID=4674;POINT (-39.016323 -3.393669)'))) / (select extract(epoch from '2026-07-28 08:37:34'::timestamp) - extract(epoch from '2026-07-28 08:37:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016285 -3.393696)'), GeomFromEWKT('SRID=4674;POINT (-39.016323 -3.393669)'))) / (select extract(epoch from '2026-07-28 08:37:34'::timestamp) - extract(epoch from '2026-07-28 08:37: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'), 47422, 'SRID=4674;POINT (-39.016345 -3.393659)', '2026-07-28 08:37:42', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016323 -3.393669)'), GeomFromEWKT('SRID=4674;POINT (-39.016345 -3.393659)'))) / (select extract(epoch from '2026-07-28 08:37:42'::timestamp) - extract(epoch from '2026-07-28 08:37:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016323 -3.393669)'), GeomFromEWKT('SRID=4674;POINT (-39.016345 -3.393659)'))) / (select extract(epoch from '2026-07-28 08:37:42'::timestamp) - extract(epoch from '2026-07-28 08:37: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'), 47422, 'SRID=4674;POINT (-39.016369 -3.393647)', '2026-07-28 08:37:54', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016345 -3.393659)'), GeomFromEWKT('SRID=4674;POINT (-39.016369 -3.393647)'))) / (select extract(epoch from '2026-07-28 08:37:54'::timestamp) - extract(epoch from '2026-07-28 08:37:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016345 -3.393659)'), GeomFromEWKT('SRID=4674;POINT (-39.016369 -3.393647)'))) / (select extract(epoch from '2026-07-28 08:37:54'::timestamp) - extract(epoch from '2026-07-28 08:37: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'), 47422, 'SRID=4674;POINT (-39.016442 -3.393621)', '2026-07-28 08:38:09', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016369 -3.393647)'), GeomFromEWKT('SRID=4674;POINT (-39.016442 -3.393621)'))) / (select extract(epoch from '2026-07-28 08:38:09'::timestamp) - extract(epoch from '2026-07-28 08:37:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016369 -3.393647)'), GeomFromEWKT('SRID=4674;POINT (-39.016442 -3.393621)'))) / (select extract(epoch from '2026-07-28 08:38:09'::timestamp) - extract(epoch from '2026-07-28 08:37:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.01648 -3.393605)', '2026-07-28 08:38:23', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016442 -3.393621)'), GeomFromEWKT('SRID=4674;POINT (-39.01648 -3.393605)'))) / (select extract(epoch from '2026-07-28 08:38:23'::timestamp) - extract(epoch from '2026-07-28 08:38:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016442 -3.393621)'), GeomFromEWKT('SRID=4674;POINT (-39.01648 -3.393605)'))) / (select extract(epoch from '2026-07-28 08:38:23'::timestamp) - extract(epoch from '2026-07-28 08:38: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'), 47422, 'SRID=4674;POINT (-39.016523 -3.393579)', '2026-07-28 08:38:40', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01648 -3.393605)'), GeomFromEWKT('SRID=4674;POINT (-39.016523 -3.393579)'))) / (select extract(epoch from '2026-07-28 08:38:40'::timestamp) - extract(epoch from '2026-07-28 08:38:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01648 -3.393605)'), GeomFromEWKT('SRID=4674;POINT (-39.016523 -3.393579)'))) / (select extract(epoch from '2026-07-28 08:38:40'::timestamp) - extract(epoch from '2026-07-28 08:38: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'), 47422, 'SRID=4674;POINT (-39.016582 -3.393553)', '2026-07-28 08:39:01', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016523 -3.393579)'), GeomFromEWKT('SRID=4674;POINT (-39.016582 -3.393553)'))) / (select extract(epoch from '2026-07-28 08:39:01'::timestamp) - extract(epoch from '2026-07-28 08:38:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016523 -3.393579)'), GeomFromEWKT('SRID=4674;POINT (-39.016582 -3.393553)'))) / (select extract(epoch from '2026-07-28 08:39:01'::timestamp) - extract(epoch from '2026-07-28 08:38:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.016614 -3.393545)', '2026-07-28 08:39:12', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016582 -3.393553)'), GeomFromEWKT('SRID=4674;POINT (-39.016614 -3.393545)'))) / (select extract(epoch from '2026-07-28 08:39:12'::timestamp) - extract(epoch from '2026-07-28 08:39:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016582 -3.393553)'), GeomFromEWKT('SRID=4674;POINT (-39.016614 -3.393545)'))) / (select extract(epoch from '2026-07-28 08:39:12'::timestamp) - extract(epoch from '2026-07-28 08:39: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'), 47422, 'SRID=4674;POINT (-39.016669 -3.393518)', '2026-07-28 08:39:25', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016614 -3.393545)'), GeomFromEWKT('SRID=4674;POINT (-39.016669 -3.393518)'))) / (select extract(epoch from '2026-07-28 08:39:25'::timestamp) - extract(epoch from '2026-07-28 08:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016614 -3.393545)'), GeomFromEWKT('SRID=4674;POINT (-39.016669 -3.393518)'))) / (select extract(epoch from '2026-07-28 08:39:25'::timestamp) - extract(epoch from '2026-07-28 08:39:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.016716 -3.393506)', '2026-07-28 08:39:38', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016669 -3.393518)'), GeomFromEWKT('SRID=4674;POINT (-39.016716 -3.393506)'))) / (select extract(epoch from '2026-07-28 08:39:38'::timestamp) - extract(epoch from '2026-07-28 08:39:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016669 -3.393518)'), GeomFromEWKT('SRID=4674;POINT (-39.016716 -3.393506)'))) / (select extract(epoch from '2026-07-28 08:39:38'::timestamp) - extract(epoch from '2026-07-28 08:39: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'), 47422, 'SRID=4674;POINT (-39.016768 -3.393478)', '2026-07-28 08:39:53', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016716 -3.393506)'), GeomFromEWKT('SRID=4674;POINT (-39.016768 -3.393478)'))) / (select extract(epoch from '2026-07-28 08:39:53'::timestamp) - extract(epoch from '2026-07-28 08:39:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016716 -3.393506)'), GeomFromEWKT('SRID=4674;POINT (-39.016768 -3.393478)'))) / (select extract(epoch from '2026-07-28 08:39:53'::timestamp) - extract(epoch from '2026-07-28 08:39:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.016829 -3.393448)', '2026-07-28 08:40:12', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016768 -3.393478)'), GeomFromEWKT('SRID=4674;POINT (-39.016829 -3.393448)'))) / (select extract(epoch from '2026-07-28 08:40:12'::timestamp) - extract(epoch from '2026-07-28 08:39:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016768 -3.393478)'), GeomFromEWKT('SRID=4674;POINT (-39.016829 -3.393448)'))) / (select extract(epoch from '2026-07-28 08:40:12'::timestamp) - extract(epoch from '2026-07-28 08:39: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'), 47422, 'SRID=4674;POINT (-39.016847 -3.393455)', '2026-07-28 08:40:27', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016829 -3.393448)'), GeomFromEWKT('SRID=4674;POINT (-39.016847 -3.393455)'))) / (select extract(epoch from '2026-07-28 08:40:27'::timestamp) - extract(epoch from '2026-07-28 08:40:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016829 -3.393448)'), GeomFromEWKT('SRID=4674;POINT (-39.016847 -3.393455)'))) / (select extract(epoch from '2026-07-28 08:40:27'::timestamp) - extract(epoch from '2026-07-28 08:40:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.016843 -3.393464)', '2026-07-28 08:40:39', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016847 -3.393455)'), GeomFromEWKT('SRID=4674;POINT (-39.016843 -3.393464)'))) / (select extract(epoch from '2026-07-28 08:40:39'::timestamp) - extract(epoch from '2026-07-28 08:40:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016847 -3.393455)'), GeomFromEWKT('SRID=4674;POINT (-39.016843 -3.393464)'))) / (select extract(epoch from '2026-07-28 08:40:39'::timestamp) - extract(epoch from '2026-07-28 08:40: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'), 47422, 'SRID=4674;POINT (-39.016837 -3.393463)', '2026-07-28 08:40:51', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016843 -3.393464)'), GeomFromEWKT('SRID=4674;POINT (-39.016837 -3.393463)'))) / (select extract(epoch from '2026-07-28 08:40:51'::timestamp) - extract(epoch from '2026-07-28 08:40:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016843 -3.393464)'), GeomFromEWKT('SRID=4674;POINT (-39.016837 -3.393463)'))) / (select extract(epoch from '2026-07-28 08:40:51'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47422, 'SRID=4674;POINT (-39.01684 -3.393457)', '2026-07-28 08:41:01', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016837 -3.393463)'), GeomFromEWKT('SRID=4674;POINT (-39.01684 -3.393457)'))) / (select extract(epoch from '2026-07-28 08:41:01'::timestamp) - extract(epoch from '2026-07-28 08:40:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016837 -3.393463)'), GeomFromEWKT('SRID=4674;POINT (-39.01684 -3.393457)'))) / (select extract(epoch from '2026-07-28 08:41:01'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47422, 'SRID=4674;POINT (-39.016848 -3.393436)', '2026-07-28 08:41:13', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01684 -3.393457)'), GeomFromEWKT('SRID=4674;POINT (-39.016848 -3.393436)'))) / (select extract(epoch from '2026-07-28 08:41:13'::timestamp) - extract(epoch from '2026-07-28 08:41:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01684 -3.393457)'), GeomFromEWKT('SRID=4674;POINT (-39.016848 -3.393436)'))) / (select extract(epoch from '2026-07-28 08:41:13'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47422, 'SRID=4674;POINT (-39.016883 -3.393412)', '2026-07-28 08:41:28', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016848 -3.393436)'), GeomFromEWKT('SRID=4674;POINT (-39.016883 -3.393412)'))) / (select extract(epoch from '2026-07-28 08:41:28'::timestamp) - extract(epoch from '2026-07-28 08:41:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016848 -3.393436)'), GeomFromEWKT('SRID=4674;POINT (-39.016883 -3.393412)'))) / (select extract(epoch from '2026-07-28 08:41:28'::timestamp) - extract(epoch from '2026-07-28 08:41: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'), 47422, 'SRID=4674;POINT (-39.016937 -3.39337)', '2026-07-28 08:41:45', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016883 -3.393412)'), GeomFromEWKT('SRID=4674;POINT (-39.016937 -3.39337)'))) / (select extract(epoch from '2026-07-28 08:41:45'::timestamp) - extract(epoch from '2026-07-28 08:41:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016883 -3.393412)'), GeomFromEWKT('SRID=4674;POINT (-39.016937 -3.39337)'))) / (select extract(epoch from '2026-07-28 08:41:45'::timestamp) - extract(epoch from '2026-07-28 08:41: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'), 47422, 'SRID=4674;POINT (-39.016967 -3.393359)', '2026-07-28 08:41:57', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016937 -3.39337)'), GeomFromEWKT('SRID=4674;POINT (-39.016967 -3.393359)'))) / (select extract(epoch from '2026-07-28 08:41:57'::timestamp) - extract(epoch from '2026-07-28 08:41:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016937 -3.39337)'), GeomFromEWKT('SRID=4674;POINT (-39.016967 -3.393359)'))) / (select extract(epoch from '2026-07-28 08:41:57'::timestamp) - extract(epoch from '2026-07-28 08:41:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.017016 -3.393325)', '2026-07-28 08:42:10', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016967 -3.393359)'), GeomFromEWKT('SRID=4674;POINT (-39.017016 -3.393325)'))) / (select extract(epoch from '2026-07-28 08:42:10'::timestamp) - extract(epoch from '2026-07-28 08:41:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016967 -3.393359)'), GeomFromEWKT('SRID=4674;POINT (-39.017016 -3.393325)'))) / (select extract(epoch from '2026-07-28 08:42:10'::timestamp) - extract(epoch from '2026-07-28 08:41: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'), 47422, 'SRID=4674;POINT (-39.017062 -3.393272)', '2026-07-28 08:42:24', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017016 -3.393325)'), GeomFromEWKT('SRID=4674;POINT (-39.017062 -3.393272)'))) / (select extract(epoch from '2026-07-28 08:42:24'::timestamp) - extract(epoch from '2026-07-28 08:42:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017016 -3.393325)'), GeomFromEWKT('SRID=4674;POINT (-39.017062 -3.393272)'))) / (select extract(epoch from '2026-07-28 08:42:24'::timestamp) - extract(epoch from '2026-07-28 08:42:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.017105 -3.393234)', '2026-07-28 08:42:39', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017062 -3.393272)'), GeomFromEWKT('SRID=4674;POINT (-39.017105 -3.393234)'))) / (select extract(epoch from '2026-07-28 08:42:39'::timestamp) - extract(epoch from '2026-07-28 08:42:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017062 -3.393272)'), GeomFromEWKT('SRID=4674;POINT (-39.017105 -3.393234)'))) / (select extract(epoch from '2026-07-28 08:42:39'::timestamp) - extract(epoch from '2026-07-28 08:42: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'), 47422, 'SRID=4674;POINT (-39.017128 -3.393207)', '2026-07-28 08:42:49', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017105 -3.393234)'), GeomFromEWKT('SRID=4674;POINT (-39.017128 -3.393207)'))) / (select extract(epoch from '2026-07-28 08:42:49'::timestamp) - extract(epoch from '2026-07-28 08:42:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017105 -3.393234)'), GeomFromEWKT('SRID=4674;POINT (-39.017128 -3.393207)'))) / (select extract(epoch from '2026-07-28 08:42:49'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47422, 'SRID=4674;POINT (-39.017144 -3.393203)', '2026-07-28 08:42:59', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017128 -3.393207)'), GeomFromEWKT('SRID=4674;POINT (-39.017144 -3.393203)'))) / (select extract(epoch from '2026-07-28 08:42:59'::timestamp) - extract(epoch from '2026-07-28 08:42:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017128 -3.393207)'), GeomFromEWKT('SRID=4674;POINT (-39.017144 -3.393203)'))) / (select extract(epoch from '2026-07-28 08:42:59'::timestamp) - extract(epoch from '2026-07-28 08:42: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'), 47422, 'SRID=4674;POINT (-39.017162 -3.393192)', '2026-07-28 08:43:09', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017144 -3.393203)'), GeomFromEWKT('SRID=4674;POINT (-39.017162 -3.393192)'))) / (select extract(epoch from '2026-07-28 08:43:09'::timestamp) - extract(epoch from '2026-07-28 08:42:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017144 -3.393203)'), GeomFromEWKT('SRID=4674;POINT (-39.017162 -3.393192)'))) / (select extract(epoch from '2026-07-28 08:43:09'::timestamp) - extract(epoch from '2026-07-28 08:42:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.017197 -3.393157)', '2026-07-28 08:43:23', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017162 -3.393192)'), GeomFromEWKT('SRID=4674;POINT (-39.017197 -3.393157)'))) / (select extract(epoch from '2026-07-28 08:43:23'::timestamp) - extract(epoch from '2026-07-28 08:43:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017162 -3.393192)'), GeomFromEWKT('SRID=4674;POINT (-39.017197 -3.393157)'))) / (select extract(epoch from '2026-07-28 08:43:23'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47422, 'SRID=4674;POINT (-39.017225 -3.393124)', '2026-07-28 08:43:32', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017197 -3.393157)'), GeomFromEWKT('SRID=4674;POINT (-39.017225 -3.393124)'))) / (select extract(epoch from '2026-07-28 08:43:32'::timestamp) - extract(epoch from '2026-07-28 08:43:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017197 -3.393157)'), GeomFromEWKT('SRID=4674;POINT (-39.017225 -3.393124)'))) / (select extract(epoch from '2026-07-28 08:43:32'::timestamp) - extract(epoch from '2026-07-28 08:43:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.017257 -3.393083)', '2026-07-28 08:43:47', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017225 -3.393124)'), GeomFromEWKT('SRID=4674;POINT (-39.017257 -3.393083)'))) / (select extract(epoch from '2026-07-28 08:43:47'::timestamp) - extract(epoch from '2026-07-28 08:43:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017225 -3.393124)'), GeomFromEWKT('SRID=4674;POINT (-39.017257 -3.393083)'))) / (select extract(epoch from '2026-07-28 08:43:47'::timestamp) - extract(epoch from '2026-07-28 08:43: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'), 47422, 'SRID=4674;POINT (-39.017316 -3.393046)', '2026-07-28 08:44:02', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017257 -3.393083)'), GeomFromEWKT('SRID=4674;POINT (-39.017316 -3.393046)'))) / (select extract(epoch from '2026-07-28 08:44:02'::timestamp) - extract(epoch from '2026-07-28 08:43:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017257 -3.393083)'), GeomFromEWKT('SRID=4674;POINT (-39.017316 -3.393046)'))) / (select extract(epoch from '2026-07-28 08:44:02'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47422, 'SRID=4674;POINT (-39.017367 -3.393005)', '2026-07-28 08:44:19', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017316 -3.393046)'), GeomFromEWKT('SRID=4674;POINT (-39.017367 -3.393005)'))) / (select extract(epoch from '2026-07-28 08:44:19'::timestamp) - extract(epoch from '2026-07-28 08:44:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017316 -3.393046)'), GeomFromEWKT('SRID=4674;POINT (-39.017367 -3.393005)'))) / (select extract(epoch from '2026-07-28 08:44:19'::timestamp) - extract(epoch from '2026-07-28 08:44: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'), 47422, 'SRID=4674;POINT (-39.017386 -3.392963)', '2026-07-28 08:44:33', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017367 -3.393005)'), GeomFromEWKT('SRID=4674;POINT (-39.017386 -3.392963)'))) / (select extract(epoch from '2026-07-28 08:44:33'::timestamp) - extract(epoch from '2026-07-28 08:44:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017367 -3.393005)'), GeomFromEWKT('SRID=4674;POINT (-39.017386 -3.392963)'))) / (select extract(epoch from '2026-07-28 08:44:33'::timestamp) - extract(epoch from '2026-07-28 08:44: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'), 47422, 'SRID=4674;POINT (-39.017416 -3.392929)', '2026-07-28 08:44:47', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017386 -3.392963)'), GeomFromEWKT('SRID=4674;POINT (-39.017416 -3.392929)'))) / (select extract(epoch from '2026-07-28 08:44:47'::timestamp) - extract(epoch from '2026-07-28 08:44:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017386 -3.392963)'), GeomFromEWKT('SRID=4674;POINT (-39.017416 -3.392929)'))) / (select extract(epoch from '2026-07-28 08:44:47'::timestamp) - extract(epoch from '2026-07-28 08:44: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'), 47422, 'SRID=4674;POINT (-39.017437 -3.392921)', '2026-07-28 08:44:57', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017416 -3.392929)'), GeomFromEWKT('SRID=4674;POINT (-39.017437 -3.392921)'))) / (select extract(epoch from '2026-07-28 08:44:57'::timestamp) - extract(epoch from '2026-07-28 08:44:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017416 -3.392929)'), GeomFromEWKT('SRID=4674;POINT (-39.017437 -3.392921)'))) / (select extract(epoch from '2026-07-28 08:44:57'::timestamp) - extract(epoch from '2026-07-28 08:44:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.017468 -3.392906)', '2026-07-28 08:45:08', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017437 -3.392921)'), GeomFromEWKT('SRID=4674;POINT (-39.017468 -3.392906)'))) / (select extract(epoch from '2026-07-28 08:45:08'::timestamp) - extract(epoch from '2026-07-28 08:44:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017437 -3.392921)'), GeomFromEWKT('SRID=4674;POINT (-39.017468 -3.392906)'))) / (select extract(epoch from '2026-07-28 08:45:08'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47422, 'SRID=4674;POINT (-39.017486 -3.392886)', '2026-07-28 08:45:15', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017468 -3.392906)'), GeomFromEWKT('SRID=4674;POINT (-39.017486 -3.392886)'))) / (select extract(epoch from '2026-07-28 08:45:15'::timestamp) - extract(epoch from '2026-07-28 08:45:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017468 -3.392906)'), GeomFromEWKT('SRID=4674;POINT (-39.017486 -3.392886)'))) / (select extract(epoch from '2026-07-28 08:45:15'::timestamp) - extract(epoch from '2026-07-28 08:45: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'), 47422, 'SRID=4674;POINT (-39.017509 -3.392873)', '2026-07-28 08:45:26', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017486 -3.392886)'), GeomFromEWKT('SRID=4674;POINT (-39.017509 -3.392873)'))) / (select extract(epoch from '2026-07-28 08:45:26'::timestamp) - extract(epoch from '2026-07-28 08:45:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017486 -3.392886)'), GeomFromEWKT('SRID=4674;POINT (-39.017509 -3.392873)'))) / (select extract(epoch from '2026-07-28 08:45:26'::timestamp) - extract(epoch from '2026-07-28 08:45: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'), 47422, 'SRID=4674;POINT (-39.017554 -3.392828)', '2026-07-28 08:45:41', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017509 -3.392873)'), GeomFromEWKT('SRID=4674;POINT (-39.017554 -3.392828)'))) / (select extract(epoch from '2026-07-28 08:45:41'::timestamp) - extract(epoch from '2026-07-28 08:45:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017509 -3.392873)'), GeomFromEWKT('SRID=4674;POINT (-39.017554 -3.392828)'))) / (select extract(epoch from '2026-07-28 08:45:41'::timestamp) - extract(epoch from '2026-07-28 08:45: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'), 47422, 'SRID=4674;POINT (-39.0176 -3.392797)', '2026-07-28 08:45:52', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017554 -3.392828)'), GeomFromEWKT('SRID=4674;POINT (-39.0176 -3.392797)'))) / (select extract(epoch from '2026-07-28 08:45:52'::timestamp) - extract(epoch from '2026-07-28 08:45:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017554 -3.392828)'), GeomFromEWKT('SRID=4674;POINT (-39.0176 -3.392797)'))) / (select extract(epoch from '2026-07-28 08:45:52'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47422, 'SRID=4674;POINT (-39.017606 -3.392793)', '2026-07-28 08:45:53', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0176 -3.392797)'), GeomFromEWKT('SRID=4674;POINT (-39.017606 -3.392793)'))) / (select extract(epoch from '2026-07-28 08:45:53'::timestamp) - extract(epoch from '2026-07-28 08:45:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0176 -3.392797)'), GeomFromEWKT('SRID=4674;POINT (-39.017606 -3.392793)'))) / (select extract(epoch from '2026-07-28 08:45:53'::timestamp) - extract(epoch from '2026-07-28 08:45: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'), 47422, 'SRID=4674;POINT (-39.017637 -3.392766)', '2026-07-28 08:46:01', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017606 -3.392793)'), GeomFromEWKT('SRID=4674;POINT (-39.017637 -3.392766)'))) / (select extract(epoch from '2026-07-28 08:46:01'::timestamp) - extract(epoch from '2026-07-28 08:45:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017606 -3.392793)'), GeomFromEWKT('SRID=4674;POINT (-39.017637 -3.392766)'))) / (select extract(epoch from '2026-07-28 08:46:01'::timestamp) - extract(epoch from '2026-07-28 08:45:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.017651 -3.392752)', '2026-07-28 08:46:09', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017637 -3.392766)'), GeomFromEWKT('SRID=4674;POINT (-39.017651 -3.392752)'))) / (select extract(epoch from '2026-07-28 08:46:09'::timestamp) - extract(epoch from '2026-07-28 08:46:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017637 -3.392766)'), GeomFromEWKT('SRID=4674;POINT (-39.017651 -3.392752)'))) / (select extract(epoch from '2026-07-28 08:46:09'::timestamp) - extract(epoch from '2026-07-28 08:46:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.017671 -3.392732)', '2026-07-28 08:46:17', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017651 -3.392752)'), GeomFromEWKT('SRID=4674;POINT (-39.017671 -3.392732)'))) / (select extract(epoch from '2026-07-28 08:46:17'::timestamp) - extract(epoch from '2026-07-28 08:46:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017651 -3.392752)'), GeomFromEWKT('SRID=4674;POINT (-39.017671 -3.392732)'))) / (select extract(epoch from '2026-07-28 08:46:17'::timestamp) - extract(epoch from '2026-07-28 08:46: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'), 47422, 'SRID=4674;POINT (-39.017715 -3.392701)', '2026-07-28 08:46:29', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017671 -3.392732)'), GeomFromEWKT('SRID=4674;POINT (-39.017715 -3.392701)'))) / (select extract(epoch from '2026-07-28 08:46:29'::timestamp) - extract(epoch from '2026-07-28 08:46:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017671 -3.392732)'), GeomFromEWKT('SRID=4674;POINT (-39.017715 -3.392701)'))) / (select extract(epoch from '2026-07-28 08:46:29'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47422, 'SRID=4674;POINT (-39.017754 -3.392642)', '2026-07-28 08:46:44', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017715 -3.392701)'), GeomFromEWKT('SRID=4674;POINT (-39.017754 -3.392642)'))) / (select extract(epoch from '2026-07-28 08:46:44'::timestamp) - extract(epoch from '2026-07-28 08:46:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017715 -3.392701)'), GeomFromEWKT('SRID=4674;POINT (-39.017754 -3.392642)'))) / (select extract(epoch from '2026-07-28 08:46:44'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47422, 'SRID=4674;POINT (-39.017796 -3.392577)', '2026-07-28 08:47:00', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017754 -3.392642)'), GeomFromEWKT('SRID=4674;POINT (-39.017796 -3.392577)'))) / (select extract(epoch from '2026-07-28 08:47:00'::timestamp) - extract(epoch from '2026-07-28 08:46:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017754 -3.392642)'), GeomFromEWKT('SRID=4674;POINT (-39.017796 -3.392577)'))) / (select extract(epoch from '2026-07-28 08:47:00'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47422, 'SRID=4674;POINT (-39.017826 -3.392553)', '2026-07-28 08:47:13', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017796 -3.392577)'), GeomFromEWKT('SRID=4674;POINT (-39.017826 -3.392553)'))) / (select extract(epoch from '2026-07-28 08:47:13'::timestamp) - extract(epoch from '2026-07-28 08:47:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017796 -3.392577)'), GeomFromEWKT('SRID=4674;POINT (-39.017826 -3.392553)'))) / (select extract(epoch from '2026-07-28 08:47:13'::timestamp) - extract(epoch from '2026-07-28 08:47: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'), 47422, 'SRID=4674;POINT (-39.017851 -3.392512)', '2026-07-28 08:47:30', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017826 -3.392553)'), GeomFromEWKT('SRID=4674;POINT (-39.017851 -3.392512)'))) / (select extract(epoch from '2026-07-28 08:47:30'::timestamp) - extract(epoch from '2026-07-28 08:47:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017826 -3.392553)'), GeomFromEWKT('SRID=4674;POINT (-39.017851 -3.392512)'))) / (select extract(epoch from '2026-07-28 08:47:30'::timestamp) - extract(epoch from '2026-07-28 08:47: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'), 47422, 'SRID=4674;POINT (-39.01785 -3.392492)', '2026-07-28 08:47:44', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017851 -3.392512)'), GeomFromEWKT('SRID=4674;POINT (-39.01785 -3.392492)'))) / (select extract(epoch from '2026-07-28 08:47:44'::timestamp) - extract(epoch from '2026-07-28 08:47:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017851 -3.392512)'), GeomFromEWKT('SRID=4674;POINT (-39.01785 -3.392492)'))) / (select extract(epoch from '2026-07-28 08:47:44'::timestamp) - extract(epoch from '2026-07-28 08:47: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'), 47422, 'SRID=4674;POINT (-39.017865 -3.392471)', '2026-07-28 08:47:58', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01785 -3.392492)'), GeomFromEWKT('SRID=4674;POINT (-39.017865 -3.392471)'))) / (select extract(epoch from '2026-07-28 08:47:58'::timestamp) - extract(epoch from '2026-07-28 08:47:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01785 -3.392492)'), GeomFromEWKT('SRID=4674;POINT (-39.017865 -3.392471)'))) / (select extract(epoch from '2026-07-28 08:47:58'::timestamp) - extract(epoch from '2026-07-28 08:47:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.017911 -3.392445)', '2026-07-28 08:48:12', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017865 -3.392471)'), GeomFromEWKT('SRID=4674;POINT (-39.017911 -3.392445)'))) / (select extract(epoch from '2026-07-28 08:48:12'::timestamp) - extract(epoch from '2026-07-28 08:47:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017865 -3.392471)'), GeomFromEWKT('SRID=4674;POINT (-39.017911 -3.392445)'))) / (select extract(epoch from '2026-07-28 08:48:12'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47422, 'SRID=4674;POINT (-39.017941 -3.392426)', '2026-07-28 08:48:22', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017911 -3.392445)'), GeomFromEWKT('SRID=4674;POINT (-39.017941 -3.392426)'))) / (select extract(epoch from '2026-07-28 08:48:22'::timestamp) - extract(epoch from '2026-07-28 08:48:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017911 -3.392445)'), GeomFromEWKT('SRID=4674;POINT (-39.017941 -3.392426)'))) / (select extract(epoch from '2026-07-28 08:48:22'::timestamp) - extract(epoch from '2026-07-28 08:48: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'), 47422, 'SRID=4674;POINT (-39.018012 -3.392382)', '2026-07-28 08:48:38', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017941 -3.392426)'), GeomFromEWKT('SRID=4674;POINT (-39.018012 -3.392382)'))) / (select extract(epoch from '2026-07-28 08:48:38'::timestamp) - extract(epoch from '2026-07-28 08:48:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017941 -3.392426)'), GeomFromEWKT('SRID=4674;POINT (-39.018012 -3.392382)'))) / (select extract(epoch from '2026-07-28 08:48:38'::timestamp) - extract(epoch from '2026-07-28 08:48:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018045 -3.392348)', '2026-07-28 08:48:52', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018012 -3.392382)'), GeomFromEWKT('SRID=4674;POINT (-39.018045 -3.392348)'))) / (select extract(epoch from '2026-07-28 08:48:52'::timestamp) - extract(epoch from '2026-07-28 08:48:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018012 -3.392382)'), GeomFromEWKT('SRID=4674;POINT (-39.018045 -3.392348)'))) / (select extract(epoch from '2026-07-28 08:48:52'::timestamp) - extract(epoch from '2026-07-28 08:48: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'), 47422, 'SRID=4674;POINT (-39.018092 -3.392329)', '2026-07-28 08:49:08', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018045 -3.392348)'), GeomFromEWKT('SRID=4674;POINT (-39.018092 -3.392329)'))) / (select extract(epoch from '2026-07-28 08:49:08'::timestamp) - extract(epoch from '2026-07-28 08:48:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018045 -3.392348)'), GeomFromEWKT('SRID=4674;POINT (-39.018092 -3.392329)'))) / (select extract(epoch from '2026-07-28 08:49:08'::timestamp) - extract(epoch from '2026-07-28 08:48:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018119 -3.392297)', '2026-07-28 08:49:23', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018092 -3.392329)'), GeomFromEWKT('SRID=4674;POINT (-39.018119 -3.392297)'))) / (select extract(epoch from '2026-07-28 08:49:23'::timestamp) - extract(epoch from '2026-07-28 08:49:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018092 -3.392329)'), GeomFromEWKT('SRID=4674;POINT (-39.018119 -3.392297)'))) / (select extract(epoch from '2026-07-28 08:49:23'::timestamp) - extract(epoch from '2026-07-28 08:49:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018147 -3.392264)', '2026-07-28 08:49:37', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018119 -3.392297)'), GeomFromEWKT('SRID=4674;POINT (-39.018147 -3.392264)'))) / (select extract(epoch from '2026-07-28 08:49:37'::timestamp) - extract(epoch from '2026-07-28 08:49:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018119 -3.392297)'), GeomFromEWKT('SRID=4674;POINT (-39.018147 -3.392264)'))) / (select extract(epoch from '2026-07-28 08:49:37'::timestamp) - extract(epoch from '2026-07-28 08:49: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'), 47422, 'SRID=4674;POINT (-39.01817 -3.392245)', '2026-07-28 08:49:50', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018147 -3.392264)'), GeomFromEWKT('SRID=4674;POINT (-39.01817 -3.392245)'))) / (select extract(epoch from '2026-07-28 08:49:50'::timestamp) - extract(epoch from '2026-07-28 08:49:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018147 -3.392264)'), GeomFromEWKT('SRID=4674;POINT (-39.01817 -3.392245)'))) / (select extract(epoch from '2026-07-28 08:49:50'::timestamp) - extract(epoch from '2026-07-28 08:49: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'), 47422, 'SRID=4674;POINT (-39.018196 -3.392225)', '2026-07-28 08:50:03', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01817 -3.392245)'), GeomFromEWKT('SRID=4674;POINT (-39.018196 -3.392225)'))) / (select extract(epoch from '2026-07-28 08:50:03'::timestamp) - extract(epoch from '2026-07-28 08:49:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01817 -3.392245)'), GeomFromEWKT('SRID=4674;POINT (-39.018196 -3.392225)'))) / (select extract(epoch from '2026-07-28 08:50:03'::timestamp) - extract(epoch from '2026-07-28 08:49: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'), 47422, 'SRID=4674;POINT (-39.018245 -3.392185)', '2026-07-28 08:50:18', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018196 -3.392225)'), GeomFromEWKT('SRID=4674;POINT (-39.018245 -3.392185)'))) / (select extract(epoch from '2026-07-28 08:50:18'::timestamp) - extract(epoch from '2026-07-28 08:50:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018196 -3.392225)'), GeomFromEWKT('SRID=4674;POINT (-39.018245 -3.392185)'))) / (select extract(epoch from '2026-07-28 08:50:18'::timestamp) - extract(epoch from '2026-07-28 08:50: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'), 47422, 'SRID=4674;POINT (-39.018284 -3.392157)', '2026-07-28 08:50:31', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018245 -3.392185)'), GeomFromEWKT('SRID=4674;POINT (-39.018284 -3.392157)'))) / (select extract(epoch from '2026-07-28 08:50:31'::timestamp) - extract(epoch from '2026-07-28 08:50:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018245 -3.392185)'), GeomFromEWKT('SRID=4674;POINT (-39.018284 -3.392157)'))) / (select extract(epoch from '2026-07-28 08:50:31'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47422, 'SRID=4674;POINT (-39.01831 -3.392141)', '2026-07-28 08:50:44', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018284 -3.392157)'), GeomFromEWKT('SRID=4674;POINT (-39.01831 -3.392141)'))) / (select extract(epoch from '2026-07-28 08:50:44'::timestamp) - extract(epoch from '2026-07-28 08:50:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018284 -3.392157)'), GeomFromEWKT('SRID=4674;POINT (-39.01831 -3.392141)'))) / (select extract(epoch from '2026-07-28 08:50:44'::timestamp) - extract(epoch from '2026-07-28 08:50: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'), 47422, 'SRID=4674;POINT (-39.018358 -3.392131)', '2026-07-28 08:50:59', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01831 -3.392141)'), GeomFromEWKT('SRID=4674;POINT (-39.018358 -3.392131)'))) / (select extract(epoch from '2026-07-28 08:50:59'::timestamp) - extract(epoch from '2026-07-28 08:50:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01831 -3.392141)'), GeomFromEWKT('SRID=4674;POINT (-39.018358 -3.392131)'))) / (select extract(epoch from '2026-07-28 08:50:59'::timestamp) - extract(epoch from '2026-07-28 08:50:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018368 -3.39212)', '2026-07-28 08:51:11', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018358 -3.392131)'), GeomFromEWKT('SRID=4674;POINT (-39.018368 -3.39212)'))) / (select extract(epoch from '2026-07-28 08:51:11'::timestamp) - extract(epoch from '2026-07-28 08:50:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018358 -3.392131)'), GeomFromEWKT('SRID=4674;POINT (-39.018368 -3.39212)'))) / (select extract(epoch from '2026-07-28 08:51:11'::timestamp) - extract(epoch from '2026-07-28 08:50: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'), 47422, 'SRID=4674;POINT (-39.018376 -3.392122)', '2026-07-28 08:51:19', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018368 -3.39212)'), GeomFromEWKT('SRID=4674;POINT (-39.018376 -3.392122)'))) / (select extract(epoch from '2026-07-28 08:51:19'::timestamp) - extract(epoch from '2026-07-28 08:51:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018368 -3.39212)'), GeomFromEWKT('SRID=4674;POINT (-39.018376 -3.392122)'))) / (select extract(epoch from '2026-07-28 08:51:19'::timestamp) - extract(epoch from '2026-07-28 08:51:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018393 -3.392117)', '2026-07-28 08:51:29', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018376 -3.392122)'), GeomFromEWKT('SRID=4674;POINT (-39.018393 -3.392117)'))) / (select extract(epoch from '2026-07-28 08:51:29'::timestamp) - extract(epoch from '2026-07-28 08:51:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018376 -3.392122)'), GeomFromEWKT('SRID=4674;POINT (-39.018393 -3.392117)'))) / (select extract(epoch from '2026-07-28 08:51:29'::timestamp) - extract(epoch from '2026-07-28 08:51:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018405 -3.39211)', '2026-07-28 08:51:39', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018393 -3.392117)'), GeomFromEWKT('SRID=4674;POINT (-39.018405 -3.39211)'))) / (select extract(epoch from '2026-07-28 08:51:39'::timestamp) - extract(epoch from '2026-07-28 08:51:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018393 -3.392117)'), GeomFromEWKT('SRID=4674;POINT (-39.018405 -3.39211)'))) / (select extract(epoch from '2026-07-28 08:51:39'::timestamp) - extract(epoch from '2026-07-28 08:51: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'), 47422, 'SRID=4674;POINT (-39.01847 -3.39205)', '2026-07-28 08:51:56', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018405 -3.39211)'), GeomFromEWKT('SRID=4674;POINT (-39.01847 -3.39205)'))) / (select extract(epoch from '2026-07-28 08:51:56'::timestamp) - extract(epoch from '2026-07-28 08:51:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018405 -3.39211)'), GeomFromEWKT('SRID=4674;POINT (-39.01847 -3.39205)'))) / (select extract(epoch from '2026-07-28 08:51:56'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47422, 'SRID=4674;POINT (-39.018523 -3.391992)', '2026-07-28 08:52:15', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01847 -3.39205)'), GeomFromEWKT('SRID=4674;POINT (-39.018523 -3.391992)'))) / (select extract(epoch from '2026-07-28 08:52:15'::timestamp) - extract(epoch from '2026-07-28 08:51:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01847 -3.39205)'), GeomFromEWKT('SRID=4674;POINT (-39.018523 -3.391992)'))) / (select extract(epoch from '2026-07-28 08:52:15'::timestamp) - extract(epoch from '2026-07-28 08:51:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018549 -3.391938)', '2026-07-28 08:52:29', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018523 -3.391992)'), GeomFromEWKT('SRID=4674;POINT (-39.018549 -3.391938)'))) / (select extract(epoch from '2026-07-28 08:52:29'::timestamp) - extract(epoch from '2026-07-28 08:52:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018523 -3.391992)'), GeomFromEWKT('SRID=4674;POINT (-39.018549 -3.391938)'))) / (select extract(epoch from '2026-07-28 08:52:29'::timestamp) - extract(epoch from '2026-07-28 08:52: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'), 47422, 'SRID=4674;POINT (-39.018593 -3.391901)', '2026-07-28 08:52:45', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018549 -3.391938)'), GeomFromEWKT('SRID=4674;POINT (-39.018593 -3.391901)'))) / (select extract(epoch from '2026-07-28 08:52:45'::timestamp) - extract(epoch from '2026-07-28 08:52:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018549 -3.391938)'), GeomFromEWKT('SRID=4674;POINT (-39.018593 -3.391901)'))) / (select extract(epoch from '2026-07-28 08:52:45'::timestamp) - extract(epoch from '2026-07-28 08:52:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018622 -3.391853)', '2026-07-28 08:52:59', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018593 -3.391901)'), GeomFromEWKT('SRID=4674;POINT (-39.018622 -3.391853)'))) / (select extract(epoch from '2026-07-28 08:52:59'::timestamp) - extract(epoch from '2026-07-28 08:52:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018593 -3.391901)'), GeomFromEWKT('SRID=4674;POINT (-39.018622 -3.391853)'))) / (select extract(epoch from '2026-07-28 08:52:59'::timestamp) - extract(epoch from '2026-07-28 08:52: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'), 47422, 'SRID=4674;POINT (-39.018658 -3.391825)', '2026-07-28 08:53:09', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018622 -3.391853)'), GeomFromEWKT('SRID=4674;POINT (-39.018658 -3.391825)'))) / (select extract(epoch from '2026-07-28 08:53:09'::timestamp) - extract(epoch from '2026-07-28 08:52:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018622 -3.391853)'), GeomFromEWKT('SRID=4674;POINT (-39.018658 -3.391825)'))) / (select extract(epoch from '2026-07-28 08:53:09'::timestamp) - extract(epoch from '2026-07-28 08:52:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018669 -3.391814)', '2026-07-28 08:53:20', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018658 -3.391825)'), GeomFromEWKT('SRID=4674;POINT (-39.018669 -3.391814)'))) / (select extract(epoch from '2026-07-28 08:53:20'::timestamp) - extract(epoch from '2026-07-28 08:53:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018658 -3.391825)'), GeomFromEWKT('SRID=4674;POINT (-39.018669 -3.391814)'))) / (select extract(epoch from '2026-07-28 08:53:20'::timestamp) - extract(epoch from '2026-07-28 08:53:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018693 -3.391792)', '2026-07-28 08:53:30', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018669 -3.391814)'), GeomFromEWKT('SRID=4674;POINT (-39.018693 -3.391792)'))) / (select extract(epoch from '2026-07-28 08:53:30'::timestamp) - extract(epoch from '2026-07-28 08:53:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018669 -3.391814)'), GeomFromEWKT('SRID=4674;POINT (-39.018693 -3.391792)'))) / (select extract(epoch from '2026-07-28 08:53:30'::timestamp) - extract(epoch from '2026-07-28 08:53:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018695 -3.391777)', '2026-07-28 08:53:42', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018693 -3.391792)'), GeomFromEWKT('SRID=4674;POINT (-39.018695 -3.391777)'))) / (select extract(epoch from '2026-07-28 08:53:42'::timestamp) - extract(epoch from '2026-07-28 08:53:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018693 -3.391792)'), GeomFromEWKT('SRID=4674;POINT (-39.018695 -3.391777)'))) / (select extract(epoch from '2026-07-28 08:53:42'::timestamp) - extract(epoch from '2026-07-28 08:53:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018701 -3.39177)', '2026-07-28 08:53:51', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018695 -3.391777)'), GeomFromEWKT('SRID=4674;POINT (-39.018701 -3.39177)'))) / (select extract(epoch from '2026-07-28 08:53:51'::timestamp) - extract(epoch from '2026-07-28 08:53:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018695 -3.391777)'), GeomFromEWKT('SRID=4674;POINT (-39.018701 -3.39177)'))) / (select extract(epoch from '2026-07-28 08:53:51'::timestamp) - extract(epoch from '2026-07-28 08:53:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018702 -3.391767)', '2026-07-28 08:53:59', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018701 -3.39177)'), GeomFromEWKT('SRID=4674;POINT (-39.018702 -3.391767)'))) / (select extract(epoch from '2026-07-28 08:53:59'::timestamp) - extract(epoch from '2026-07-28 08:53:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018701 -3.39177)'), GeomFromEWKT('SRID=4674;POINT (-39.018702 -3.391767)'))) / (select extract(epoch from '2026-07-28 08:53:59'::timestamp) - extract(epoch from '2026-07-28 08:53:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018709 -3.391767)', '2026-07-28 08:54:11', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018702 -3.391767)'), GeomFromEWKT('SRID=4674;POINT (-39.018709 -3.391767)'))) / (select extract(epoch from '2026-07-28 08:54:11'::timestamp) - extract(epoch from '2026-07-28 08:53:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018702 -3.391767)'), GeomFromEWKT('SRID=4674;POINT (-39.018709 -3.391767)'))) / (select extract(epoch from '2026-07-28 08:54:11'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47422, 'SRID=4674;POINT (-39.018728 -3.391763)', '2026-07-28 08:54:24', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018709 -3.391767)'), GeomFromEWKT('SRID=4674;POINT (-39.018728 -3.391763)'))) / (select extract(epoch from '2026-07-28 08:54:24'::timestamp) - extract(epoch from '2026-07-28 08:54:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018709 -3.391767)'), GeomFromEWKT('SRID=4674;POINT (-39.018728 -3.391763)'))) / (select extract(epoch from '2026-07-28 08:54:24'::timestamp) - extract(epoch from '2026-07-28 08:54:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.018756 -3.391752)', '2026-07-28 08:54:36', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018728 -3.391763)'), GeomFromEWKT('SRID=4674;POINT (-39.018756 -3.391752)'))) / (select extract(epoch from '2026-07-28 08:54:36'::timestamp) - extract(epoch from '2026-07-28 08:54:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018728 -3.391763)'), GeomFromEWKT('SRID=4674;POINT (-39.018756 -3.391752)'))) / (select extract(epoch from '2026-07-28 08:54:36'::timestamp) - extract(epoch from '2026-07-28 08:54: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'), 47422, 'SRID=4674;POINT (-39.018812 -3.391734)', '2026-07-28 08:54:54', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018756 -3.391752)'), GeomFromEWKT('SRID=4674;POINT (-39.018812 -3.391734)'))) / (select extract(epoch from '2026-07-28 08:54:54'::timestamp) - extract(epoch from '2026-07-28 08:54:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018756 -3.391752)'), GeomFromEWKT('SRID=4674;POINT (-39.018812 -3.391734)'))) / (select extract(epoch from '2026-07-28 08:54:54'::timestamp) - extract(epoch from '2026-07-28 08:54: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'), 47422, 'SRID=4674;POINT (-39.018847 -3.391725)', '2026-07-28 08:55:05', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018812 -3.391734)'), GeomFromEWKT('SRID=4674;POINT (-39.018847 -3.391725)'))) / (select extract(epoch from '2026-07-28 08:55:05'::timestamp) - extract(epoch from '2026-07-28 08:54:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018812 -3.391734)'), GeomFromEWKT('SRID=4674;POINT (-39.018847 -3.391725)'))) / (select extract(epoch from '2026-07-28 08:55:05'::timestamp) - extract(epoch from '2026-07-28 08:54: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'), 47422, 'SRID=4674;POINT (-39.018872 -3.391721)', '2026-07-28 08:55:17', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018847 -3.391725)'), GeomFromEWKT('SRID=4674;POINT (-39.018872 -3.391721)'))) / (select extract(epoch from '2026-07-28 08:55:17'::timestamp) - extract(epoch from '2026-07-28 08:55:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018847 -3.391725)'), GeomFromEWKT('SRID=4674;POINT (-39.018872 -3.391721)'))) / (select extract(epoch from '2026-07-28 08:55:17'::timestamp) - extract(epoch from '2026-07-28 08:55: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'), 47422, 'SRID=4674;POINT (-39.018935 -3.391685)', '2026-07-28 08:55:33', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018872 -3.391721)'), GeomFromEWKT('SRID=4674;POINT (-39.018935 -3.391685)'))) / (select extract(epoch from '2026-07-28 08:55:33'::timestamp) - extract(epoch from '2026-07-28 08:55:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018872 -3.391721)'), GeomFromEWKT('SRID=4674;POINT (-39.018935 -3.391685)'))) / (select extract(epoch from '2026-07-28 08:55:33'::timestamp) - extract(epoch from '2026-07-28 08:55:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.019006 -3.391669)', '2026-07-28 08:55:48', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018935 -3.391685)'), GeomFromEWKT('SRID=4674;POINT (-39.019006 -3.391669)'))) / (select extract(epoch from '2026-07-28 08:55:48'::timestamp) - extract(epoch from '2026-07-28 08:55:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018935 -3.391685)'), GeomFromEWKT('SRID=4674;POINT (-39.019006 -3.391669)'))) / (select extract(epoch from '2026-07-28 08:55:48'::timestamp) - extract(epoch from '2026-07-28 08:55:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.019049 -3.391666)', '2026-07-28 08:55:59', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019006 -3.391669)'), GeomFromEWKT('SRID=4674;POINT (-39.019049 -3.391666)'))) / (select extract(epoch from '2026-07-28 08:55:59'::timestamp) - extract(epoch from '2026-07-28 08:55:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019006 -3.391669)'), GeomFromEWKT('SRID=4674;POINT (-39.019049 -3.391666)'))) / (select extract(epoch from '2026-07-28 08:55:59'::timestamp) - extract(epoch from '2026-07-28 08:55: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'), 47422, 'SRID=4674;POINT (-39.019076 -3.391661)', '2026-07-28 08:56:07', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019049 -3.391666)'), GeomFromEWKT('SRID=4674;POINT (-39.019076 -3.391661)'))) / (select extract(epoch from '2026-07-28 08:56:07'::timestamp) - extract(epoch from '2026-07-28 08:55:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019049 -3.391666)'), GeomFromEWKT('SRID=4674;POINT (-39.019076 -3.391661)'))) / (select extract(epoch from '2026-07-28 08:56:07'::timestamp) - extract(epoch from '2026-07-28 08:55: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'), 47422, 'SRID=4674;POINT (-39.019126 -3.391649)', '2026-07-28 08:56:18', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019076 -3.391661)'), GeomFromEWKT('SRID=4674;POINT (-39.019126 -3.391649)'))) / (select extract(epoch from '2026-07-28 08:56:18'::timestamp) - extract(epoch from '2026-07-28 08:56:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019076 -3.391661)'), GeomFromEWKT('SRID=4674;POINT (-39.019126 -3.391649)'))) / (select extract(epoch from '2026-07-28 08:56:18'::timestamp) - extract(epoch from '2026-07-28 08:56:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.019191 -3.39163)', '2026-07-28 08:56:34', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019126 -3.391649)'), GeomFromEWKT('SRID=4674;POINT (-39.019191 -3.39163)'))) / (select extract(epoch from '2026-07-28 08:56:34'::timestamp) - extract(epoch from '2026-07-28 08:56:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019126 -3.391649)'), GeomFromEWKT('SRID=4674;POINT (-39.019191 -3.39163)'))) / (select extract(epoch from '2026-07-28 08:56:34'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47422, 'SRID=4674;POINT (-39.019215 -3.391614)', '2026-07-28 08:56:46', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019191 -3.39163)'), GeomFromEWKT('SRID=4674;POINT (-39.019215 -3.391614)'))) / (select extract(epoch from '2026-07-28 08:56:46'::timestamp) - extract(epoch from '2026-07-28 08:56:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019191 -3.39163)'), GeomFromEWKT('SRID=4674;POINT (-39.019215 -3.391614)'))) / (select extract(epoch from '2026-07-28 08:56:46'::timestamp) - extract(epoch from '2026-07-28 08:56: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'), 47422, 'SRID=4674;POINT (-39.019275 -3.391592)', '2026-07-28 08:57:01', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019215 -3.391614)'), GeomFromEWKT('SRID=4674;POINT (-39.019275 -3.391592)'))) / (select extract(epoch from '2026-07-28 08:57:01'::timestamp) - extract(epoch from '2026-07-28 08:56:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019215 -3.391614)'), GeomFromEWKT('SRID=4674;POINT (-39.019275 -3.391592)'))) / (select extract(epoch from '2026-07-28 08:57:01'::timestamp) - extract(epoch from '2026-07-28 08:56:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.019344 -3.391572)', '2026-07-28 08:57:18', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019275 -3.391592)'), GeomFromEWKT('SRID=4674;POINT (-39.019344 -3.391572)'))) / (select extract(epoch from '2026-07-28 08:57:18'::timestamp) - extract(epoch from '2026-07-28 08:57:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019275 -3.391592)'), GeomFromEWKT('SRID=4674;POINT (-39.019344 -3.391572)'))) / (select extract(epoch from '2026-07-28 08:57:18'::timestamp) - extract(epoch from '2026-07-28 08:57: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'), 47422, 'SRID=4674;POINT (-39.019408 -3.391552)', '2026-07-28 08:57:36', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019344 -3.391572)'), GeomFromEWKT('SRID=4674;POINT (-39.019408 -3.391552)'))) / (select extract(epoch from '2026-07-28 08:57:36'::timestamp) - extract(epoch from '2026-07-28 08:57:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019344 -3.391572)'), GeomFromEWKT('SRID=4674;POINT (-39.019408 -3.391552)'))) / (select extract(epoch from '2026-07-28 08:57:36'::timestamp) - extract(epoch from '2026-07-28 08:57:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.019492 -3.391545)', '2026-07-28 08:57:50', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019408 -3.391552)'), GeomFromEWKT('SRID=4674;POINT (-39.019492 -3.391545)'))) / (select extract(epoch from '2026-07-28 08:57:50'::timestamp) - extract(epoch from '2026-07-28 08:57:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019408 -3.391552)'), GeomFromEWKT('SRID=4674;POINT (-39.019492 -3.391545)'))) / (select extract(epoch from '2026-07-28 08:57:50'::timestamp) - extract(epoch from '2026-07-28 08:57: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'), 47422, 'SRID=4674;POINT (-39.019529 -3.391536)', '2026-07-28 08:57:59', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019492 -3.391545)'), GeomFromEWKT('SRID=4674;POINT (-39.019529 -3.391536)'))) / (select extract(epoch from '2026-07-28 08:57:59'::timestamp) - extract(epoch from '2026-07-28 08:57:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019492 -3.391545)'), GeomFromEWKT('SRID=4674;POINT (-39.019529 -3.391536)'))) / (select extract(epoch from '2026-07-28 08:57:59'::timestamp) - extract(epoch from '2026-07-28 08:57: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'), 47422, 'SRID=4674;POINT (-39.019603 -3.391508)', '2026-07-28 08:58:17', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019529 -3.391536)'), GeomFromEWKT('SRID=4674;POINT (-39.019603 -3.391508)'))) / (select extract(epoch from '2026-07-28 08:58:17'::timestamp) - extract(epoch from '2026-07-28 08:57:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019529 -3.391536)'), GeomFromEWKT('SRID=4674;POINT (-39.019603 -3.391508)'))) / (select extract(epoch from '2026-07-28 08:58:17'::timestamp) - extract(epoch from '2026-07-28 08:57:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.019655 -3.3915)', '2026-07-28 08:58:31', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019603 -3.391508)'), GeomFromEWKT('SRID=4674;POINT (-39.019655 -3.3915)'))) / (select extract(epoch from '2026-07-28 08:58:31'::timestamp) - extract(epoch from '2026-07-28 08:58:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019603 -3.391508)'), GeomFromEWKT('SRID=4674;POINT (-39.019655 -3.3915)'))) / (select extract(epoch from '2026-07-28 08:58:31'::timestamp) - extract(epoch from '2026-07-28 08:58: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'), 47422, 'SRID=4674;POINT (-39.01971 -3.391489)', '2026-07-28 08:58:42', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019655 -3.3915)'), GeomFromEWKT('SRID=4674;POINT (-39.01971 -3.391489)'))) / (select extract(epoch from '2026-07-28 08:58:42'::timestamp) - extract(epoch from '2026-07-28 08:58:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019655 -3.3915)'), GeomFromEWKT('SRID=4674;POINT (-39.01971 -3.391489)'))) / (select extract(epoch from '2026-07-28 08:58:42'::timestamp) - extract(epoch from '2026-07-28 08:58:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.019751 -3.391474)', '2026-07-28 08:58:57', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01971 -3.391489)'), GeomFromEWKT('SRID=4674;POINT (-39.019751 -3.391474)'))) / (select extract(epoch from '2026-07-28 08:58:57'::timestamp) - extract(epoch from '2026-07-28 08:58:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01971 -3.391489)'), GeomFromEWKT('SRID=4674;POINT (-39.019751 -3.391474)'))) / (select extract(epoch from '2026-07-28 08:58:57'::timestamp) - extract(epoch from '2026-07-28 08:58:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.019794 -3.391456)', '2026-07-28 08:59:12', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019751 -3.391474)'), GeomFromEWKT('SRID=4674;POINT (-39.019794 -3.391456)'))) / (select extract(epoch from '2026-07-28 08:59:12'::timestamp) - extract(epoch from '2026-07-28 08:58:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019751 -3.391474)'), GeomFromEWKT('SRID=4674;POINT (-39.019794 -3.391456)'))) / (select extract(epoch from '2026-07-28 08:59:12'::timestamp) - extract(epoch from '2026-07-28 08:58: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'), 47422, 'SRID=4674;POINT (-39.019858 -3.391435)', '2026-07-28 08:59:24', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019794 -3.391456)'), GeomFromEWKT('SRID=4674;POINT (-39.019858 -3.391435)'))) / (select extract(epoch from '2026-07-28 08:59:24'::timestamp) - extract(epoch from '2026-07-28 08:59:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019794 -3.391456)'), GeomFromEWKT('SRID=4674;POINT (-39.019858 -3.391435)'))) / (select extract(epoch from '2026-07-28 08:59:24'::timestamp) - extract(epoch from '2026-07-28 08:59: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'), 47422, 'SRID=4674;POINT (-39.019919 -3.391419)', '2026-07-28 08:59:37', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019858 -3.391435)'), GeomFromEWKT('SRID=4674;POINT (-39.019919 -3.391419)'))) / (select extract(epoch from '2026-07-28 08:59:37'::timestamp) - extract(epoch from '2026-07-28 08:59:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019858 -3.391435)'), GeomFromEWKT('SRID=4674;POINT (-39.019919 -3.391419)'))) / (select extract(epoch from '2026-07-28 08:59:37'::timestamp) - extract(epoch from '2026-07-28 08:59:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.019966 -3.3914)', '2026-07-28 08:59:51', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019919 -3.391419)'), GeomFromEWKT('SRID=4674;POINT (-39.019966 -3.3914)'))) / (select extract(epoch from '2026-07-28 08:59:51'::timestamp) - extract(epoch from '2026-07-28 08:59:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019919 -3.391419)'), GeomFromEWKT('SRID=4674;POINT (-39.019966 -3.3914)'))) / (select extract(epoch from '2026-07-28 08:59:51'::timestamp) - extract(epoch from '2026-07-28 08:59: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'), 47422, 'SRID=4674;POINT (-39.020027 -3.391391)', '2026-07-28 09:00:06', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019966 -3.3914)'), GeomFromEWKT('SRID=4674;POINT (-39.020027 -3.391391)'))) / (select extract(epoch from '2026-07-28 09:00:06'::timestamp) - extract(epoch from '2026-07-28 08:59:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019966 -3.3914)'), GeomFromEWKT('SRID=4674;POINT (-39.020027 -3.391391)'))) / (select extract(epoch from '2026-07-28 09:00:06'::timestamp) - extract(epoch from '2026-07-28 08:59:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.020096 -3.391364)', '2026-07-28 09:00:22', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020027 -3.391391)'), GeomFromEWKT('SRID=4674;POINT (-39.020096 -3.391364)'))) / (select extract(epoch from '2026-07-28 09:00:22'::timestamp) - extract(epoch from '2026-07-28 09:00:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020027 -3.391391)'), GeomFromEWKT('SRID=4674;POINT (-39.020096 -3.391364)'))) / (select extract(epoch from '2026-07-28 09:00:22'::timestamp) - extract(epoch from '2026-07-28 09:00: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'), 47422, 'SRID=4674;POINT (-39.020143 -3.391359)', '2026-07-28 09:00:36', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020096 -3.391364)'), GeomFromEWKT('SRID=4674;POINT (-39.020143 -3.391359)'))) / (select extract(epoch from '2026-07-28 09:00:36'::timestamp) - extract(epoch from '2026-07-28 09:00:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020096 -3.391364)'), GeomFromEWKT('SRID=4674;POINT (-39.020143 -3.391359)'))) / (select extract(epoch from '2026-07-28 09:00:36'::timestamp) - extract(epoch from '2026-07-28 09:00:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.020198 -3.391341)', '2026-07-28 09:00:50', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020143 -3.391359)'), GeomFromEWKT('SRID=4674;POINT (-39.020198 -3.391341)'))) / (select extract(epoch from '2026-07-28 09:00:50'::timestamp) - extract(epoch from '2026-07-28 09:00:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020143 -3.391359)'), GeomFromEWKT('SRID=4674;POINT (-39.020198 -3.391341)'))) / (select extract(epoch from '2026-07-28 09:00:50'::timestamp) - extract(epoch from '2026-07-28 09:00:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.020236 -3.391331)', '2026-07-28 09:01:02', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020198 -3.391341)'), GeomFromEWKT('SRID=4674;POINT (-39.020236 -3.391331)'))) / (select extract(epoch from '2026-07-28 09:01:02'::timestamp) - extract(epoch from '2026-07-28 09:00:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020198 -3.391341)'), GeomFromEWKT('SRID=4674;POINT (-39.020236 -3.391331)'))) / (select extract(epoch from '2026-07-28 09:01:02'::timestamp) - extract(epoch from '2026-07-28 09: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'), 47422, 'SRID=4674;POINT (-39.020271 -3.391323)', '2026-07-28 09:01:13', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020236 -3.391331)'), GeomFromEWKT('SRID=4674;POINT (-39.020271 -3.391323)'))) / (select extract(epoch from '2026-07-28 09:01:13'::timestamp) - extract(epoch from '2026-07-28 09:01:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020236 -3.391331)'), GeomFromEWKT('SRID=4674;POINT (-39.020271 -3.391323)'))) / (select extract(epoch from '2026-07-28 09:01:13'::timestamp) - extract(epoch from '2026-07-28 09:01: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'), 47422, 'SRID=4674;POINT (-39.020319 -3.391317)', '2026-07-28 09:01:24', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020271 -3.391323)'), GeomFromEWKT('SRID=4674;POINT (-39.020319 -3.391317)'))) / (select extract(epoch from '2026-07-28 09:01:24'::timestamp) - extract(epoch from '2026-07-28 09:01:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020271 -3.391323)'), GeomFromEWKT('SRID=4674;POINT (-39.020319 -3.391317)'))) / (select extract(epoch from '2026-07-28 09:01:24'::timestamp) - extract(epoch from '2026-07-28 09:01: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'), 47422, 'SRID=4674;POINT (-39.020385 -3.391307)', '2026-07-28 09:01:38', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020319 -3.391317)'), GeomFromEWKT('SRID=4674;POINT (-39.020385 -3.391307)'))) / (select extract(epoch from '2026-07-28 09:01:38'::timestamp) - extract(epoch from '2026-07-28 09:01:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020319 -3.391317)'), GeomFromEWKT('SRID=4674;POINT (-39.020385 -3.391307)'))) / (select extract(epoch from '2026-07-28 09:01:38'::timestamp) - extract(epoch from '2026-07-28 09:01: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'), 47422, 'SRID=4674;POINT (-39.020437 -3.391292)', '2026-07-28 09:01:51', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020385 -3.391307)'), GeomFromEWKT('SRID=4674;POINT (-39.020437 -3.391292)'))) / (select extract(epoch from '2026-07-28 09:01:51'::timestamp) - extract(epoch from '2026-07-28 09:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020385 -3.391307)'), GeomFromEWKT('SRID=4674;POINT (-39.020437 -3.391292)'))) / (select extract(epoch from '2026-07-28 09:01:51'::timestamp) - extract(epoch from '2026-07-28 09:01:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.02049 -3.39129)', '2026-07-28 09:02:04', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020437 -3.391292)'), GeomFromEWKT('SRID=4674;POINT (-39.02049 -3.39129)'))) / (select extract(epoch from '2026-07-28 09:02:04'::timestamp) - extract(epoch from '2026-07-28 09:01:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020437 -3.391292)'), GeomFromEWKT('SRID=4674;POINT (-39.02049 -3.39129)'))) / (select extract(epoch from '2026-07-28 09:02:04'::timestamp) - extract(epoch from '2026-07-28 09: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'), 47422, 'SRID=4674;POINT (-39.020564 -3.391275)', '2026-07-28 09:02:17', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02049 -3.39129)'), GeomFromEWKT('SRID=4674;POINT (-39.020564 -3.391275)'))) / (select extract(epoch from '2026-07-28 09:02:17'::timestamp) - extract(epoch from '2026-07-28 09:02:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02049 -3.39129)'), GeomFromEWKT('SRID=4674;POINT (-39.020564 -3.391275)'))) / (select extract(epoch from '2026-07-28 09:02:17'::timestamp) - extract(epoch from '2026-07-28 09:02: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'), 47422, 'SRID=4674;POINT (-39.020603 -3.391269)', '2026-07-28 09:02:26', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020564 -3.391275)'), GeomFromEWKT('SRID=4674;POINT (-39.020603 -3.391269)'))) / (select extract(epoch from '2026-07-28 09:02:26'::timestamp) - extract(epoch from '2026-07-28 09:02:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020564 -3.391275)'), GeomFromEWKT('SRID=4674;POINT (-39.020603 -3.391269)'))) / (select extract(epoch from '2026-07-28 09:02:26'::timestamp) - extract(epoch from '2026-07-28 09:02: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'), 47422, 'SRID=4674;POINT (-39.020621 -3.391259)', '2026-07-28 09:02:34', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020603 -3.391269)'), GeomFromEWKT('SRID=4674;POINT (-39.020621 -3.391259)'))) / (select extract(epoch from '2026-07-28 09:02:34'::timestamp) - extract(epoch from '2026-07-28 09:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020603 -3.391269)'), GeomFromEWKT('SRID=4674;POINT (-39.020621 -3.391259)'))) / (select extract(epoch from '2026-07-28 09:02:34'::timestamp) - extract(epoch from '2026-07-28 09:02:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.020667 -3.391243)', '2026-07-28 09:02:46', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020621 -3.391259)'), GeomFromEWKT('SRID=4674;POINT (-39.020667 -3.391243)'))) / (select extract(epoch from '2026-07-28 09:02:46'::timestamp) - extract(epoch from '2026-07-28 09:02:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020621 -3.391259)'), GeomFromEWKT('SRID=4674;POINT (-39.020667 -3.391243)'))) / (select extract(epoch from '2026-07-28 09:02:46'::timestamp) - extract(epoch from '2026-07-28 09:02:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.020729 -3.391238)', '2026-07-28 09:03:05', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020667 -3.391243)'), GeomFromEWKT('SRID=4674;POINT (-39.020729 -3.391238)'))) / (select extract(epoch from '2026-07-28 09:03:05'::timestamp) - extract(epoch from '2026-07-28 09:02:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020667 -3.391243)'), GeomFromEWKT('SRID=4674;POINT (-39.020729 -3.391238)'))) / (select extract(epoch from '2026-07-28 09:03:05'::timestamp) - extract(epoch from '2026-07-28 09:02: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'), 47422, 'SRID=4674;POINT (-39.020784 -3.391231)', '2026-07-28 09:03:13', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020729 -3.391238)'), GeomFromEWKT('SRID=4674;POINT (-39.020784 -3.391231)'))) / (select extract(epoch from '2026-07-28 09:03:13'::timestamp) - extract(epoch from '2026-07-28 09:03:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020729 -3.391238)'), GeomFromEWKT('SRID=4674;POINT (-39.020784 -3.391231)'))) / (select extract(epoch from '2026-07-28 09:03:13'::timestamp) - extract(epoch from '2026-07-28 09:03:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.020854 -3.391186)', '2026-07-28 09:03:28', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020784 -3.391231)'), GeomFromEWKT('SRID=4674;POINT (-39.020854 -3.391186)'))) / (select extract(epoch from '2026-07-28 09:03:28'::timestamp) - extract(epoch from '2026-07-28 09:03:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020784 -3.391231)'), GeomFromEWKT('SRID=4674;POINT (-39.020854 -3.391186)'))) / (select extract(epoch from '2026-07-28 09:03:28'::timestamp) - extract(epoch from '2026-07-28 09: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'), 47422, 'SRID=4674;POINT (-39.020899 -3.391167)', '2026-07-28 09:03:42', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020854 -3.391186)'), GeomFromEWKT('SRID=4674;POINT (-39.020899 -3.391167)'))) / (select extract(epoch from '2026-07-28 09:03:42'::timestamp) - extract(epoch from '2026-07-28 09:03:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020854 -3.391186)'), GeomFromEWKT('SRID=4674;POINT (-39.020899 -3.391167)'))) / (select extract(epoch from '2026-07-28 09:03:42'::timestamp) - extract(epoch from '2026-07-28 09:03:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.020932 -3.391161)', '2026-07-28 09:03:55', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020899 -3.391167)'), GeomFromEWKT('SRID=4674;POINT (-39.020932 -3.391161)'))) / (select extract(epoch from '2026-07-28 09:03:55'::timestamp) - extract(epoch from '2026-07-28 09:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020899 -3.391167)'), GeomFromEWKT('SRID=4674;POINT (-39.020932 -3.391161)'))) / (select extract(epoch from '2026-07-28 09:03:55'::timestamp) - extract(epoch from '2026-07-28 09:03:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.02097 -3.391154)', '2026-07-28 09:04:06', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020932 -3.391161)'), GeomFromEWKT('SRID=4674;POINT (-39.02097 -3.391154)'))) / (select extract(epoch from '2026-07-28 09:04:06'::timestamp) - extract(epoch from '2026-07-28 09:03:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020932 -3.391161)'), GeomFromEWKT('SRID=4674;POINT (-39.02097 -3.391154)'))) / (select extract(epoch from '2026-07-28 09:04:06'::timestamp) - extract(epoch from '2026-07-28 09:03:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.021037 -3.391144)', '2026-07-28 09:04:19', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02097 -3.391154)'), GeomFromEWKT('SRID=4674;POINT (-39.021037 -3.391144)'))) / (select extract(epoch from '2026-07-28 09:04:19'::timestamp) - extract(epoch from '2026-07-28 09:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02097 -3.391154)'), GeomFromEWKT('SRID=4674;POINT (-39.021037 -3.391144)'))) / (select extract(epoch from '2026-07-28 09:04:19'::timestamp) - extract(epoch from '2026-07-28 09: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'), 47422, 'SRID=4674;POINT (-39.021105 -3.391131)', '2026-07-28 09:04:33', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021037 -3.391144)'), GeomFromEWKT('SRID=4674;POINT (-39.021105 -3.391131)'))) / (select extract(epoch from '2026-07-28 09:04:33'::timestamp) - extract(epoch from '2026-07-28 09:04:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021037 -3.391144)'), GeomFromEWKT('SRID=4674;POINT (-39.021105 -3.391131)'))) / (select extract(epoch from '2026-07-28 09:04:33'::timestamp) - extract(epoch from '2026-07-28 09:04: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'), 47422, 'SRID=4674;POINT (-39.021161 -3.391131)', '2026-07-28 09:04:45', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021105 -3.391131)'), GeomFromEWKT('SRID=4674;POINT (-39.021161 -3.391131)'))) / (select extract(epoch from '2026-07-28 09:04:45'::timestamp) - extract(epoch from '2026-07-28 09:04:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021105 -3.391131)'), GeomFromEWKT('SRID=4674;POINT (-39.021161 -3.391131)'))) / (select extract(epoch from '2026-07-28 09:04:45'::timestamp) - extract(epoch from '2026-07-28 09:04: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'), 47422, 'SRID=4674;POINT (-39.021198 -3.391129)', '2026-07-28 09:04:56', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021161 -3.391131)'), GeomFromEWKT('SRID=4674;POINT (-39.021198 -3.391129)'))) / (select extract(epoch from '2026-07-28 09:04:56'::timestamp) - extract(epoch from '2026-07-28 09:04:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021161 -3.391131)'), GeomFromEWKT('SRID=4674;POINT (-39.021198 -3.391129)'))) / (select extract(epoch from '2026-07-28 09:04:56'::timestamp) - extract(epoch from '2026-07-28 09:04: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'), 47422, 'SRID=4674;POINT (-39.021242 -3.391137)', '2026-07-28 09:05:07', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021198 -3.391129)'), GeomFromEWKT('SRID=4674;POINT (-39.021242 -3.391137)'))) / (select extract(epoch from '2026-07-28 09:05:07'::timestamp) - extract(epoch from '2026-07-28 09:04:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021198 -3.391129)'), GeomFromEWKT('SRID=4674;POINT (-39.021242 -3.391137)'))) / (select extract(epoch from '2026-07-28 09:05:07'::timestamp) - extract(epoch from '2026-07-28 09: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'), 47422, 'SRID=4674;POINT (-39.021292 -3.391125)', '2026-07-28 09:05:19', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021242 -3.391137)'), GeomFromEWKT('SRID=4674;POINT (-39.021292 -3.391125)'))) / (select extract(epoch from '2026-07-28 09:05:19'::timestamp) - extract(epoch from '2026-07-28 09:05:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021242 -3.391137)'), GeomFromEWKT('SRID=4674;POINT (-39.021292 -3.391125)'))) / (select extract(epoch from '2026-07-28 09:05:19'::timestamp) - extract(epoch from '2026-07-28 09: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'), 47422, 'SRID=4674;POINT (-39.021342 -3.391099)', '2026-07-28 09:05:34', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021292 -3.391125)'), GeomFromEWKT('SRID=4674;POINT (-39.021342 -3.391099)'))) / (select extract(epoch from '2026-07-28 09:05:34'::timestamp) - extract(epoch from '2026-07-28 09:05:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021292 -3.391125)'), GeomFromEWKT('SRID=4674;POINT (-39.021342 -3.391099)'))) / (select extract(epoch from '2026-07-28 09:05:34'::timestamp) - extract(epoch from '2026-07-28 09:05:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.021397 -3.391086)', '2026-07-28 09:05:51', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021342 -3.391099)'), GeomFromEWKT('SRID=4674;POINT (-39.021397 -3.391086)'))) / (select extract(epoch from '2026-07-28 09:05:51'::timestamp) - extract(epoch from '2026-07-28 09:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021342 -3.391099)'), GeomFromEWKT('SRID=4674;POINT (-39.021397 -3.391086)'))) / (select extract(epoch from '2026-07-28 09:05:51'::timestamp) - extract(epoch from '2026-07-28 09:05:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.021438 -3.391078)', '2026-07-28 09:06:03', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021397 -3.391086)'), GeomFromEWKT('SRID=4674;POINT (-39.021438 -3.391078)'))) / (select extract(epoch from '2026-07-28 09:06:03'::timestamp) - extract(epoch from '2026-07-28 09:05:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021397 -3.391086)'), GeomFromEWKT('SRID=4674;POINT (-39.021438 -3.391078)'))) / (select extract(epoch from '2026-07-28 09:06:03'::timestamp) - extract(epoch from '2026-07-28 09:05: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'), 47422, 'SRID=4674;POINT (-39.02152 -3.391081)', '2026-07-28 09:06:20', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021438 -3.391078)'), GeomFromEWKT('SRID=4674;POINT (-39.02152 -3.391081)'))) / (select extract(epoch from '2026-07-28 09:06:20'::timestamp) - extract(epoch from '2026-07-28 09:06:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021438 -3.391078)'), GeomFromEWKT('SRID=4674;POINT (-39.02152 -3.391081)'))) / (select extract(epoch from '2026-07-28 09:06:20'::timestamp) - extract(epoch from '2026-07-28 09:06: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'), 47422, 'SRID=4674;POINT (-39.021535 -3.391079)', '2026-07-28 09:06:29', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02152 -3.391081)'), GeomFromEWKT('SRID=4674;POINT (-39.021535 -3.391079)'))) / (select extract(epoch from '2026-07-28 09:06:29'::timestamp) - extract(epoch from '2026-07-28 09:06:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02152 -3.391081)'), GeomFromEWKT('SRID=4674;POINT (-39.021535 -3.391079)'))) / (select extract(epoch from '2026-07-28 09:06:29'::timestamp) - extract(epoch from '2026-07-28 09:06: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'), 47422, 'SRID=4674;POINT (-39.021589 -3.391075)', '2026-07-28 09:06:40', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021535 -3.391079)'), GeomFromEWKT('SRID=4674;POINT (-39.021589 -3.391075)'))) / (select extract(epoch from '2026-07-28 09:06:40'::timestamp) - extract(epoch from '2026-07-28 09:06:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021535 -3.391079)'), GeomFromEWKT('SRID=4674;POINT (-39.021589 -3.391075)'))) / (select extract(epoch from '2026-07-28 09:06:40'::timestamp) - extract(epoch from '2026-07-28 09:06: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'), 47422, 'SRID=4674;POINT (-39.021633 -3.39107)', '2026-07-28 09:06:51', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021589 -3.391075)'), GeomFromEWKT('SRID=4674;POINT (-39.021633 -3.39107)'))) / (select extract(epoch from '2026-07-28 09:06:51'::timestamp) - extract(epoch from '2026-07-28 09:06:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021589 -3.391075)'), GeomFromEWKT('SRID=4674;POINT (-39.021633 -3.39107)'))) / (select extract(epoch from '2026-07-28 09:06:51'::timestamp) - extract(epoch from '2026-07-28 09: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'), 47422, 'SRID=4674;POINT (-39.021694 -3.391068)', '2026-07-28 09:07:07', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021633 -3.39107)'), GeomFromEWKT('SRID=4674;POINT (-39.021694 -3.391068)'))) / (select extract(epoch from '2026-07-28 09:07:07'::timestamp) - extract(epoch from '2026-07-28 09:06:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021633 -3.39107)'), GeomFromEWKT('SRID=4674;POINT (-39.021694 -3.391068)'))) / (select extract(epoch from '2026-07-28 09:07:07'::timestamp) - extract(epoch from '2026-07-28 09:06:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.021739 -3.391067)', '2026-07-28 09:07:19', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021694 -3.391068)'), GeomFromEWKT('SRID=4674;POINT (-39.021739 -3.391067)'))) / (select extract(epoch from '2026-07-28 09:07:19'::timestamp) - extract(epoch from '2026-07-28 09:07:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021694 -3.391068)'), GeomFromEWKT('SRID=4674;POINT (-39.021739 -3.391067)'))) / (select extract(epoch from '2026-07-28 09:07:19'::timestamp) - extract(epoch from '2026-07-28 09:07: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'), 47422, 'SRID=4674;POINT (-39.021798 -3.391057)', '2026-07-28 09:07:35', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021739 -3.391067)'), GeomFromEWKT('SRID=4674;POINT (-39.021798 -3.391057)'))) / (select extract(epoch from '2026-07-28 09:07:35'::timestamp) - extract(epoch from '2026-07-28 09:07:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021739 -3.391067)'), GeomFromEWKT('SRID=4674;POINT (-39.021798 -3.391057)'))) / (select extract(epoch from '2026-07-28 09:07:35'::timestamp) - extract(epoch from '2026-07-28 09:07: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'), 47422, 'SRID=4674;POINT (-39.021849 -3.391043)', '2026-07-28 09:07:49', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021798 -3.391057)'), GeomFromEWKT('SRID=4674;POINT (-39.021849 -3.391043)'))) / (select extract(epoch from '2026-07-28 09:07:49'::timestamp) - extract(epoch from '2026-07-28 09:07:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021798 -3.391057)'), GeomFromEWKT('SRID=4674;POINT (-39.021849 -3.391043)'))) / (select extract(epoch from '2026-07-28 09:07:49'::timestamp) - extract(epoch from '2026-07-28 09:07:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.021901 -3.39104)', '2026-07-28 09:08:02', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021849 -3.391043)'), GeomFromEWKT('SRID=4674;POINT (-39.021901 -3.39104)'))) / (select extract(epoch from '2026-07-28 09:08:02'::timestamp) - extract(epoch from '2026-07-28 09:07:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021849 -3.391043)'), GeomFromEWKT('SRID=4674;POINT (-39.021901 -3.39104)'))) / (select extract(epoch from '2026-07-28 09:08:02'::timestamp) - extract(epoch from '2026-07-28 09:07:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.021969 -3.391041)', '2026-07-28 09:08:17', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021901 -3.39104)'), GeomFromEWKT('SRID=4674;POINT (-39.021969 -3.391041)'))) / (select extract(epoch from '2026-07-28 09:08:17'::timestamp) - extract(epoch from '2026-07-28 09:08:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021901 -3.39104)'), GeomFromEWKT('SRID=4674;POINT (-39.021969 -3.391041)'))) / (select extract(epoch from '2026-07-28 09:08:17'::timestamp) - extract(epoch from '2026-07-28 09:08: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'), 47422, 'SRID=4674;POINT (-39.022041 -3.391035)', '2026-07-28 09:08:35', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021969 -3.391041)'), GeomFromEWKT('SRID=4674;POINT (-39.022041 -3.391035)'))) / (select extract(epoch from '2026-07-28 09:08:35'::timestamp) - extract(epoch from '2026-07-28 09:08:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021969 -3.391041)'), GeomFromEWKT('SRID=4674;POINT (-39.022041 -3.391035)'))) / (select extract(epoch from '2026-07-28 09:08:35'::timestamp) - extract(epoch from '2026-07-28 09:08:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.022091 -3.391013)', '2026-07-28 09:08:49', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022041 -3.391035)'), GeomFromEWKT('SRID=4674;POINT (-39.022091 -3.391013)'))) / (select extract(epoch from '2026-07-28 09:08:49'::timestamp) - extract(epoch from '2026-07-28 09:08:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022041 -3.391035)'), GeomFromEWKT('SRID=4674;POINT (-39.022091 -3.391013)'))) / (select extract(epoch from '2026-07-28 09:08:49'::timestamp) - extract(epoch from '2026-07-28 09: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'), 47422, 'SRID=4674;POINT (-39.022147 -3.391002)', '2026-07-28 09:09:02', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022091 -3.391013)'), GeomFromEWKT('SRID=4674;POINT (-39.022147 -3.391002)'))) / (select extract(epoch from '2026-07-28 09:09:02'::timestamp) - extract(epoch from '2026-07-28 09:08:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022091 -3.391013)'), GeomFromEWKT('SRID=4674;POINT (-39.022147 -3.391002)'))) / (select extract(epoch from '2026-07-28 09:09:02'::timestamp) - extract(epoch from '2026-07-28 09:08: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'), 47422, 'SRID=4674;POINT (-39.022194 -3.391007)', '2026-07-28 09:09:14', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022147 -3.391002)'), GeomFromEWKT('SRID=4674;POINT (-39.022194 -3.391007)'))) / (select extract(epoch from '2026-07-28 09:09:14'::timestamp) - extract(epoch from '2026-07-28 09:09:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022147 -3.391002)'), GeomFromEWKT('SRID=4674;POINT (-39.022194 -3.391007)'))) / (select extract(epoch from '2026-07-28 09:09:14'::timestamp) - extract(epoch from '2026-07-28 09:09:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.022242 -3.391)', '2026-07-28 09:09:30', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022194 -3.391007)'), GeomFromEWKT('SRID=4674;POINT (-39.022242 -3.391)'))) / (select extract(epoch from '2026-07-28 09:09:30'::timestamp) - extract(epoch from '2026-07-28 09:09:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022194 -3.391007)'), GeomFromEWKT('SRID=4674;POINT (-39.022242 -3.391)'))) / (select extract(epoch from '2026-07-28 09:09:30'::timestamp) - extract(epoch from '2026-07-28 09:09: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'), 47422, 'SRID=4674;POINT (-39.0223 -3.390998)', '2026-07-28 09:09:43', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022242 -3.391)'), GeomFromEWKT('SRID=4674;POINT (-39.0223 -3.390998)'))) / (select extract(epoch from '2026-07-28 09:09:43'::timestamp) - extract(epoch from '2026-07-28 09:09:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022242 -3.391)'), GeomFromEWKT('SRID=4674;POINT (-39.0223 -3.390998)'))) / (select extract(epoch from '2026-07-28 09:09:43'::timestamp) - extract(epoch from '2026-07-28 09:09:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.022364 -3.390976)', '2026-07-28 09:09:56', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0223 -3.390998)'), GeomFromEWKT('SRID=4674;POINT (-39.022364 -3.390976)'))) / (select extract(epoch from '2026-07-28 09:09:56'::timestamp) - extract(epoch from '2026-07-28 09:09:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0223 -3.390998)'), GeomFromEWKT('SRID=4674;POINT (-39.022364 -3.390976)'))) / (select extract(epoch from '2026-07-28 09:09:56'::timestamp) - extract(epoch from '2026-07-28 09:09:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.022386 -3.390981)', '2026-07-28 09:10:08', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022364 -3.390976)'), GeomFromEWKT('SRID=4674;POINT (-39.022386 -3.390981)'))) / (select extract(epoch from '2026-07-28 09:10:08'::timestamp) - extract(epoch from '2026-07-28 09:09:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022364 -3.390976)'), GeomFromEWKT('SRID=4674;POINT (-39.022386 -3.390981)'))) / (select extract(epoch from '2026-07-28 09:10:08'::timestamp) - extract(epoch from '2026-07-28 09: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'), 47422, 'SRID=4674;POINT (-39.022415 -3.390975)', '2026-07-28 09:10:19', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022386 -3.390981)'), GeomFromEWKT('SRID=4674;POINT (-39.022415 -3.390975)'))) / (select extract(epoch from '2026-07-28 09:10:19'::timestamp) - extract(epoch from '2026-07-28 09:10:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022386 -3.390981)'), GeomFromEWKT('SRID=4674;POINT (-39.022415 -3.390975)'))) / (select extract(epoch from '2026-07-28 09:10:19'::timestamp) - extract(epoch from '2026-07-28 09:10: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'), 47422, 'SRID=4674;POINT (-39.022447 -3.390971)', '2026-07-28 09:10:30', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022415 -3.390975)'), GeomFromEWKT('SRID=4674;POINT (-39.022447 -3.390971)'))) / (select extract(epoch from '2026-07-28 09:10:30'::timestamp) - extract(epoch from '2026-07-28 09:10:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022415 -3.390975)'), GeomFromEWKT('SRID=4674;POINT (-39.022447 -3.390971)'))) / (select extract(epoch from '2026-07-28 09:10:30'::timestamp) - extract(epoch from '2026-07-28 09:10: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'), 47422, 'SRID=4674;POINT (-39.022512 -3.390972)', '2026-07-28 09:10:47', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022447 -3.390971)'), GeomFromEWKT('SRID=4674;POINT (-39.022512 -3.390972)'))) / (select extract(epoch from '2026-07-28 09:10:47'::timestamp) - extract(epoch from '2026-07-28 09:10:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022447 -3.390971)'), GeomFromEWKT('SRID=4674;POINT (-39.022512 -3.390972)'))) / (select extract(epoch from '2026-07-28 09:10:47'::timestamp) - extract(epoch from '2026-07-28 09: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'), 47422, 'SRID=4674;POINT (-39.02255 -3.390956)', '2026-07-28 09:11:03', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022512 -3.390972)'), GeomFromEWKT('SRID=4674;POINT (-39.02255 -3.390956)'))) / (select extract(epoch from '2026-07-28 09:11:03'::timestamp) - extract(epoch from '2026-07-28 09:10:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022512 -3.390972)'), GeomFromEWKT('SRID=4674;POINT (-39.02255 -3.390956)'))) / (select extract(epoch from '2026-07-28 09:11:03'::timestamp) - extract(epoch from '2026-07-28 09:10:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.022598 -3.390934)', '2026-07-28 09:11:17', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02255 -3.390956)'), GeomFromEWKT('SRID=4674;POINT (-39.022598 -3.390934)'))) / (select extract(epoch from '2026-07-28 09:11:17'::timestamp) - extract(epoch from '2026-07-28 09:11:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02255 -3.390956)'), GeomFromEWKT('SRID=4674;POINT (-39.022598 -3.390934)'))) / (select extract(epoch from '2026-07-28 09:11:17'::timestamp) - extract(epoch from '2026-07-28 09: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'), 47422, 'SRID=4674;POINT (-39.022646 -3.390939)', '2026-07-28 09:11:31', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022598 -3.390934)'), GeomFromEWKT('SRID=4674;POINT (-39.022646 -3.390939)'))) / (select extract(epoch from '2026-07-28 09:11:31'::timestamp) - extract(epoch from '2026-07-28 09:11:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022598 -3.390934)'), GeomFromEWKT('SRID=4674;POINT (-39.022646 -3.390939)'))) / (select extract(epoch from '2026-07-28 09:11:31'::timestamp) - extract(epoch from '2026-07-28 09:11: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'), 47422, 'SRID=4674;POINT (-39.022683 -3.39094)', '2026-07-28 09:11:44', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022646 -3.390939)'), GeomFromEWKT('SRID=4674;POINT (-39.022683 -3.39094)'))) / (select extract(epoch from '2026-07-28 09:11:44'::timestamp) - extract(epoch from '2026-07-28 09:11:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022646 -3.390939)'), GeomFromEWKT('SRID=4674;POINT (-39.022683 -3.39094)'))) / (select extract(epoch from '2026-07-28 09:11:44'::timestamp) - extract(epoch from '2026-07-28 09:11: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'), 47422, 'SRID=4674;POINT (-39.02274 -3.390931)', '2026-07-28 09:11:58', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022683 -3.39094)'), GeomFromEWKT('SRID=4674;POINT (-39.02274 -3.390931)'))) / (select extract(epoch from '2026-07-28 09:11:58'::timestamp) - extract(epoch from '2026-07-28 09:11:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022683 -3.39094)'), GeomFromEWKT('SRID=4674;POINT (-39.02274 -3.390931)'))) / (select extract(epoch from '2026-07-28 09:11:58'::timestamp) - extract(epoch from '2026-07-28 09:11: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'), 47422, 'SRID=4674;POINT (-39.022781 -3.390924)', '2026-07-28 09:12:08', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02274 -3.390931)'), GeomFromEWKT('SRID=4674;POINT (-39.022781 -3.390924)'))) / (select extract(epoch from '2026-07-28 09:12:08'::timestamp) - extract(epoch from '2026-07-28 09:11:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02274 -3.390931)'), GeomFromEWKT('SRID=4674;POINT (-39.022781 -3.390924)'))) / (select extract(epoch from '2026-07-28 09:12:08'::timestamp) - extract(epoch from '2026-07-28 09:11: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'), 47422, 'SRID=4674;POINT (-39.022818 -3.390909)', '2026-07-28 09:12:20', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022781 -3.390924)'), GeomFromEWKT('SRID=4674;POINT (-39.022818 -3.390909)'))) / (select extract(epoch from '2026-07-28 09:12:20'::timestamp) - extract(epoch from '2026-07-28 09:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022781 -3.390924)'), GeomFromEWKT('SRID=4674;POINT (-39.022818 -3.390909)'))) / (select extract(epoch from '2026-07-28 09:12:20'::timestamp) - extract(epoch from '2026-07-28 09:12: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'), 47422, 'SRID=4674;POINT (-39.022866 -3.390904)', '2026-07-28 09:12:30', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022818 -3.390909)'), GeomFromEWKT('SRID=4674;POINT (-39.022866 -3.390904)'))) / (select extract(epoch from '2026-07-28 09:12:30'::timestamp) - extract(epoch from '2026-07-28 09:12:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022818 -3.390909)'), GeomFromEWKT('SRID=4674;POINT (-39.022866 -3.390904)'))) / (select extract(epoch from '2026-07-28 09:12:30'::timestamp) - extract(epoch from '2026-07-28 09:12: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'), 47422, 'SRID=4674;POINT (-39.022908 -3.390901)', '2026-07-28 09:12:43', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022866 -3.390904)'), GeomFromEWKT('SRID=4674;POINT (-39.022908 -3.390901)'))) / (select extract(epoch from '2026-07-28 09:12:43'::timestamp) - extract(epoch from '2026-07-28 09:12:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022866 -3.390904)'), GeomFromEWKT('SRID=4674;POINT (-39.022908 -3.390901)'))) / (select extract(epoch from '2026-07-28 09:12:43'::timestamp) - extract(epoch from '2026-07-28 09:12:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.022975 -3.390893)', '2026-07-28 09:12:56', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022908 -3.390901)'), GeomFromEWKT('SRID=4674;POINT (-39.022975 -3.390893)'))) / (select extract(epoch from '2026-07-28 09:12:56'::timestamp) - extract(epoch from '2026-07-28 09:12:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022908 -3.390901)'), GeomFromEWKT('SRID=4674;POINT (-39.022975 -3.390893)'))) / (select extract(epoch from '2026-07-28 09:12:56'::timestamp) - extract(epoch from '2026-07-28 09:12: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'), 47422, 'SRID=4674;POINT (-39.023049 -3.390885)', '2026-07-28 09:13:11', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022975 -3.390893)'), GeomFromEWKT('SRID=4674;POINT (-39.023049 -3.390885)'))) / (select extract(epoch from '2026-07-28 09:13:11'::timestamp) - extract(epoch from '2026-07-28 09:12:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022975 -3.390893)'), GeomFromEWKT('SRID=4674;POINT (-39.023049 -3.390885)'))) / (select extract(epoch from '2026-07-28 09:13:11'::timestamp) - extract(epoch from '2026-07-28 09:12: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'), 47422, 'SRID=4674;POINT (-39.023079 -3.390888)', '2026-07-28 09:13:22', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023049 -3.390885)'), GeomFromEWKT('SRID=4674;POINT (-39.023079 -3.390888)'))) / (select extract(epoch from '2026-07-28 09:13:22'::timestamp) - extract(epoch from '2026-07-28 09:13:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023049 -3.390885)'), GeomFromEWKT('SRID=4674;POINT (-39.023079 -3.390888)'))) / (select extract(epoch from '2026-07-28 09:13:22'::timestamp) - extract(epoch from '2026-07-28 09:13:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.023144 -3.39088)', '2026-07-28 09:13:32', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023079 -3.390888)'), GeomFromEWKT('SRID=4674;POINT (-39.023144 -3.39088)'))) / (select extract(epoch from '2026-07-28 09:13:32'::timestamp) - extract(epoch from '2026-07-28 09:13:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023079 -3.390888)'), GeomFromEWKT('SRID=4674;POINT (-39.023144 -3.39088)'))) / (select extract(epoch from '2026-07-28 09:13:32'::timestamp) - extract(epoch from '2026-07-28 09:13: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'), 47422, 'SRID=4674;POINT (-39.023181 -3.390868)', '2026-07-28 09:13:45', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023144 -3.39088)'), GeomFromEWKT('SRID=4674;POINT (-39.023181 -3.390868)'))) / (select extract(epoch from '2026-07-28 09:13:45'::timestamp) - extract(epoch from '2026-07-28 09:13:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023144 -3.39088)'), GeomFromEWKT('SRID=4674;POINT (-39.023181 -3.390868)'))) / (select extract(epoch from '2026-07-28 09:13:45'::timestamp) - extract(epoch from '2026-07-28 09:13: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'), 47422, 'SRID=4674;POINT (-39.023206 -3.390857)', '2026-07-28 09:13:58', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023181 -3.390868)'), GeomFromEWKT('SRID=4674;POINT (-39.023206 -3.390857)'))) / (select extract(epoch from '2026-07-28 09:13:58'::timestamp) - extract(epoch from '2026-07-28 09:13:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023181 -3.390868)'), GeomFromEWKT('SRID=4674;POINT (-39.023206 -3.390857)'))) / (select extract(epoch from '2026-07-28 09:13:58'::timestamp) - extract(epoch from '2026-07-28 09:13: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'), 47422, 'SRID=4674;POINT (-39.023249 -3.390855)', '2026-07-28 09:14:09', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023206 -3.390857)'), GeomFromEWKT('SRID=4674;POINT (-39.023249 -3.390855)'))) / (select extract(epoch from '2026-07-28 09:14:09'::timestamp) - extract(epoch from '2026-07-28 09:13:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023206 -3.390857)'), GeomFromEWKT('SRID=4674;POINT (-39.023249 -3.390855)'))) / (select extract(epoch from '2026-07-28 09:14:09'::timestamp) - extract(epoch from '2026-07-28 09:13: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'), 47422, 'SRID=4674;POINT (-39.02329 -3.390846)', '2026-07-28 09:14:20', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023249 -3.390855)'), GeomFromEWKT('SRID=4674;POINT (-39.02329 -3.390846)'))) / (select extract(epoch from '2026-07-28 09:14:20'::timestamp) - extract(epoch from '2026-07-28 09:14:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023249 -3.390855)'), GeomFromEWKT('SRID=4674;POINT (-39.02329 -3.390846)'))) / (select extract(epoch from '2026-07-28 09:14:20'::timestamp) - extract(epoch from '2026-07-28 09:14:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.023324 -3.390846)', '2026-07-28 09:14:32', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02329 -3.390846)'), GeomFromEWKT('SRID=4674;POINT (-39.023324 -3.390846)'))) / (select extract(epoch from '2026-07-28 09:14:32'::timestamp) - extract(epoch from '2026-07-28 09:14:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02329 -3.390846)'), GeomFromEWKT('SRID=4674;POINT (-39.023324 -3.390846)'))) / (select extract(epoch from '2026-07-28 09:14:32'::timestamp) - extract(epoch from '2026-07-28 09:14:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.0234 -3.390843)', '2026-07-28 09:14:47', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023324 -3.390846)'), GeomFromEWKT('SRID=4674;POINT (-39.0234 -3.390843)'))) / (select extract(epoch from '2026-07-28 09:14:47'::timestamp) - extract(epoch from '2026-07-28 09:14:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023324 -3.390846)'), GeomFromEWKT('SRID=4674;POINT (-39.0234 -3.390843)'))) / (select extract(epoch from '2026-07-28 09:14:47'::timestamp) - extract(epoch from '2026-07-28 09:14: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'), 47422, 'SRID=4674;POINT (-39.023453 -3.390833)', '2026-07-28 09:14:58', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0234 -3.390843)'), GeomFromEWKT('SRID=4674;POINT (-39.023453 -3.390833)'))) / (select extract(epoch from '2026-07-28 09:14:58'::timestamp) - extract(epoch from '2026-07-28 09:14:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0234 -3.390843)'), GeomFromEWKT('SRID=4674;POINT (-39.023453 -3.390833)'))) / (select extract(epoch from '2026-07-28 09:14:58'::timestamp) - extract(epoch from '2026-07-28 09:14: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'), 47422, 'SRID=4674;POINT (-39.023502 -3.390818)', '2026-07-28 09:15:09', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023453 -3.390833)'), GeomFromEWKT('SRID=4674;POINT (-39.023502 -3.390818)'))) / (select extract(epoch from '2026-07-28 09:15:09'::timestamp) - extract(epoch from '2026-07-28 09:14:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023453 -3.390833)'), GeomFromEWKT('SRID=4674;POINT (-39.023502 -3.390818)'))) / (select extract(epoch from '2026-07-28 09:15:09'::timestamp) - extract(epoch from '2026-07-28 09:14: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'), 47422, 'SRID=4674;POINT (-39.023552 -3.390813)', '2026-07-28 09:15:18', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023502 -3.390818)'), GeomFromEWKT('SRID=4674;POINT (-39.023552 -3.390813)'))) / (select extract(epoch from '2026-07-28 09:15:18'::timestamp) - extract(epoch from '2026-07-28 09:15:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023502 -3.390818)'), GeomFromEWKT('SRID=4674;POINT (-39.023552 -3.390813)'))) / (select extract(epoch from '2026-07-28 09:15:18'::timestamp) - extract(epoch from '2026-07-28 09:15: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'), 47422, 'SRID=4674;POINT (-39.023591 -3.390799)', '2026-07-28 09:15:27', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023552 -3.390813)'), GeomFromEWKT('SRID=4674;POINT (-39.023591 -3.390799)'))) / (select extract(epoch from '2026-07-28 09:15:27'::timestamp) - extract(epoch from '2026-07-28 09:15:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023552 -3.390813)'), GeomFromEWKT('SRID=4674;POINT (-39.023591 -3.390799)'))) / (select extract(epoch from '2026-07-28 09:15:27'::timestamp) - extract(epoch from '2026-07-28 09:15:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.023676 -3.390773)', '2026-07-28 09:15:42', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023591 -3.390799)'), GeomFromEWKT('SRID=4674;POINT (-39.023676 -3.390773)'))) / (select extract(epoch from '2026-07-28 09:15:42'::timestamp) - extract(epoch from '2026-07-28 09:15:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023591 -3.390799)'), GeomFromEWKT('SRID=4674;POINT (-39.023676 -3.390773)'))) / (select extract(epoch from '2026-07-28 09:15:42'::timestamp) - extract(epoch from '2026-07-28 09:15: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'), 47422, 'SRID=4674;POINT (-39.023761 -3.390745)', '2026-07-28 09:15:51', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023676 -3.390773)'), GeomFromEWKT('SRID=4674;POINT (-39.023761 -3.390745)'))) / (select extract(epoch from '2026-07-28 09:15:51'::timestamp) - extract(epoch from '2026-07-28 09:15:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023676 -3.390773)'), GeomFromEWKT('SRID=4674;POINT (-39.023761 -3.390745)'))) / (select extract(epoch from '2026-07-28 09:15:51'::timestamp) - extract(epoch from '2026-07-28 09:15: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'), 47422, 'SRID=4674;POINT (-39.023802 -3.390745)', '2026-07-28 09:16:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023761 -3.390745)'), GeomFromEWKT('SRID=4674;POINT (-39.023802 -3.390745)'))) / (select extract(epoch from '2026-07-28 09:16:00'::timestamp) - extract(epoch from '2026-07-28 09:15:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023761 -3.390745)'), GeomFromEWKT('SRID=4674;POINT (-39.023802 -3.390745)'))) / (select extract(epoch from '2026-07-28 09:16:00'::timestamp) - extract(epoch from '2026-07-28 09:15: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'), 47422, 'SRID=4674;POINT (-39.023842 -3.390728)', '2026-07-28 09:16:11', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023802 -3.390745)'), GeomFromEWKT('SRID=4674;POINT (-39.023842 -3.390728)'))) / (select extract(epoch from '2026-07-28 09:16:11'::timestamp) - extract(epoch from '2026-07-28 09:16:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023802 -3.390745)'), GeomFromEWKT('SRID=4674;POINT (-39.023842 -3.390728)'))) / (select extract(epoch from '2026-07-28 09:16:11'::timestamp) - extract(epoch from '2026-07-28 09:16: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'), 47422, 'SRID=4674;POINT (-39.023912 -3.390719)', '2026-07-28 09:16:25', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023842 -3.390728)'), GeomFromEWKT('SRID=4674;POINT (-39.023912 -3.390719)'))) / (select extract(epoch from '2026-07-28 09:16:25'::timestamp) - extract(epoch from '2026-07-28 09:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023842 -3.390728)'), GeomFromEWKT('SRID=4674;POINT (-39.023912 -3.390719)'))) / (select extract(epoch from '2026-07-28 09:16:25'::timestamp) - extract(epoch from '2026-07-28 09:16: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'), 47422, 'SRID=4674;POINT (-39.023949 -3.390707)', '2026-07-28 09:16:36', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023912 -3.390719)'), GeomFromEWKT('SRID=4674;POINT (-39.023949 -3.390707)'))) / (select extract(epoch from '2026-07-28 09:16:36'::timestamp) - extract(epoch from '2026-07-28 09:16:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023912 -3.390719)'), GeomFromEWKT('SRID=4674;POINT (-39.023949 -3.390707)'))) / (select extract(epoch from '2026-07-28 09:16:36'::timestamp) - extract(epoch from '2026-07-28 09:16: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'), 47422, 'SRID=4674;POINT (-39.024036 -3.390672)', '2026-07-28 09:16:51', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023949 -3.390707)'), GeomFromEWKT('SRID=4674;POINT (-39.024036 -3.390672)'))) / (select extract(epoch from '2026-07-28 09:16:51'::timestamp) - extract(epoch from '2026-07-28 09:16:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023949 -3.390707)'), GeomFromEWKT('SRID=4674;POINT (-39.024036 -3.390672)'))) / (select extract(epoch from '2026-07-28 09:16:51'::timestamp) - extract(epoch from '2026-07-28 09:16: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'), 47422, 'SRID=4674;POINT (-39.024075 -3.390662)', '2026-07-28 09:17:02', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024036 -3.390672)'), GeomFromEWKT('SRID=4674;POINT (-39.024075 -3.390662)'))) / (select extract(epoch from '2026-07-28 09:17:02'::timestamp) - extract(epoch from '2026-07-28 09:16:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024036 -3.390672)'), GeomFromEWKT('SRID=4674;POINT (-39.024075 -3.390662)'))) / (select extract(epoch from '2026-07-28 09:17:02'::timestamp) - extract(epoch from '2026-07-28 09:16: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'), 47422, 'SRID=4674;POINT (-39.02411 -3.390637)', '2026-07-28 09:17:16', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024075 -3.390662)'), GeomFromEWKT('SRID=4674;POINT (-39.02411 -3.390637)'))) / (select extract(epoch from '2026-07-28 09:17:16'::timestamp) - extract(epoch from '2026-07-28 09:17:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024075 -3.390662)'), GeomFromEWKT('SRID=4674;POINT (-39.02411 -3.390637)'))) / (select extract(epoch from '2026-07-28 09:17:16'::timestamp) - extract(epoch from '2026-07-28 09:17:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.024178 -3.39062)', '2026-07-28 09:17:29', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02411 -3.390637)'), GeomFromEWKT('SRID=4674;POINT (-39.024178 -3.39062)'))) / (select extract(epoch from '2026-07-28 09:17:29'::timestamp) - extract(epoch from '2026-07-28 09:17:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02411 -3.390637)'), GeomFromEWKT('SRID=4674;POINT (-39.024178 -3.39062)'))) / (select extract(epoch from '2026-07-28 09:17:29'::timestamp) - extract(epoch from '2026-07-28 09:17: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'), 47422, 'SRID=4674;POINT (-39.024258 -3.390591)', '2026-07-28 09:17:42', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024178 -3.39062)'), GeomFromEWKT('SRID=4674;POINT (-39.024258 -3.390591)'))) / (select extract(epoch from '2026-07-28 09:17:42'::timestamp) - extract(epoch from '2026-07-28 09:17:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024178 -3.39062)'), GeomFromEWKT('SRID=4674;POINT (-39.024258 -3.390591)'))) / (select extract(epoch from '2026-07-28 09:17:42'::timestamp) - extract(epoch from '2026-07-28 09:17: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'), 47422, 'SRID=4674;POINT (-39.024338 -3.390568)', '2026-07-28 09:17:55', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024258 -3.390591)'), GeomFromEWKT('SRID=4674;POINT (-39.024338 -3.390568)'))) / (select extract(epoch from '2026-07-28 09:17:55'::timestamp) - extract(epoch from '2026-07-28 09:17:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024258 -3.390591)'), GeomFromEWKT('SRID=4674;POINT (-39.024338 -3.390568)'))) / (select extract(epoch from '2026-07-28 09:17:55'::timestamp) - extract(epoch from '2026-07-28 09:17: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'), 47422, 'SRID=4674;POINT (-39.0244 -3.390544)', '2026-07-28 09:18:09', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024338 -3.390568)'), GeomFromEWKT('SRID=4674;POINT (-39.0244 -3.390544)'))) / (select extract(epoch from '2026-07-28 09:18:09'::timestamp) - extract(epoch from '2026-07-28 09:17:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024338 -3.390568)'), GeomFromEWKT('SRID=4674;POINT (-39.0244 -3.390544)'))) / (select extract(epoch from '2026-07-28 09:18:09'::timestamp) - extract(epoch from '2026-07-28 09:17: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'), 47422, 'SRID=4674;POINT (-39.024449 -3.390543)', '2026-07-28 09:18:22', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0244 -3.390544)'), GeomFromEWKT('SRID=4674;POINT (-39.024449 -3.390543)'))) / (select extract(epoch from '2026-07-28 09:18:22'::timestamp) - extract(epoch from '2026-07-28 09:18:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0244 -3.390544)'), GeomFromEWKT('SRID=4674;POINT (-39.024449 -3.390543)'))) / (select extract(epoch from '2026-07-28 09:18:22'::timestamp) - extract(epoch from '2026-07-28 09:18:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.024488 -3.390537)', '2026-07-28 09:18:35', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024449 -3.390543)'), GeomFromEWKT('SRID=4674;POINT (-39.024488 -3.390537)'))) / (select extract(epoch from '2026-07-28 09:18:35'::timestamp) - extract(epoch from '2026-07-28 09:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024449 -3.390543)'), GeomFromEWKT('SRID=4674;POINT (-39.024488 -3.390537)'))) / (select extract(epoch from '2026-07-28 09:18:35'::timestamp) - extract(epoch from '2026-07-28 09:18:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.02456 -3.390514)', '2026-07-28 09:18:46', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024488 -3.390537)'), GeomFromEWKT('SRID=4674;POINT (-39.02456 -3.390514)'))) / (select extract(epoch from '2026-07-28 09:18:46'::timestamp) - extract(epoch from '2026-07-28 09:18:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024488 -3.390537)'), GeomFromEWKT('SRID=4674;POINT (-39.02456 -3.390514)'))) / (select extract(epoch from '2026-07-28 09:18:46'::timestamp) - extract(epoch from '2026-07-28 09:18:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.024609 -3.390503)', '2026-07-28 09:18:57', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02456 -3.390514)'), GeomFromEWKT('SRID=4674;POINT (-39.024609 -3.390503)'))) / (select extract(epoch from '2026-07-28 09:18:57'::timestamp) - extract(epoch from '2026-07-28 09:18:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02456 -3.390514)'), GeomFromEWKT('SRID=4674;POINT (-39.024609 -3.390503)'))) / (select extract(epoch from '2026-07-28 09:18:57'::timestamp) - extract(epoch from '2026-07-28 09:18: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'), 47422, 'SRID=4674;POINT (-39.024653 -3.390497)', '2026-07-28 09:19:08', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024609 -3.390503)'), GeomFromEWKT('SRID=4674;POINT (-39.024653 -3.390497)'))) / (select extract(epoch from '2026-07-28 09:19:08'::timestamp) - extract(epoch from '2026-07-28 09:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024609 -3.390503)'), GeomFromEWKT('SRID=4674;POINT (-39.024653 -3.390497)'))) / (select extract(epoch from '2026-07-28 09:19:08'::timestamp) - extract(epoch from '2026-07-28 09:18:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.024703 -3.390484)', '2026-07-28 09:19:20', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024653 -3.390497)'), GeomFromEWKT('SRID=4674;POINT (-39.024703 -3.390484)'))) / (select extract(epoch from '2026-07-28 09:19:20'::timestamp) - extract(epoch from '2026-07-28 09:19:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024653 -3.390497)'), GeomFromEWKT('SRID=4674;POINT (-39.024703 -3.390484)'))) / (select extract(epoch from '2026-07-28 09:19:20'::timestamp) - extract(epoch from '2026-07-28 09:19: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'), 47422, 'SRID=4674;POINT (-39.024738 -3.390462)', '2026-07-28 09:19:33', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024703 -3.390484)'), GeomFromEWKT('SRID=4674;POINT (-39.024738 -3.390462)'))) / (select extract(epoch from '2026-07-28 09:19:33'::timestamp) - extract(epoch from '2026-07-28 09:19:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024703 -3.390484)'), GeomFromEWKT('SRID=4674;POINT (-39.024738 -3.390462)'))) / (select extract(epoch from '2026-07-28 09:19:33'::timestamp) - extract(epoch from '2026-07-28 09:19: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'), 47422, 'SRID=4674;POINT (-39.024777 -3.390463)', '2026-07-28 09:19:50', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024738 -3.390462)'), GeomFromEWKT('SRID=4674;POINT (-39.024777 -3.390463)'))) / (select extract(epoch from '2026-07-28 09:19:50'::timestamp) - extract(epoch from '2026-07-28 09:19:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024738 -3.390462)'), GeomFromEWKT('SRID=4674;POINT (-39.024777 -3.390463)'))) / (select extract(epoch from '2026-07-28 09:19:50'::timestamp) - extract(epoch from '2026-07-28 09:19:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.024838 -3.390451)', '2026-07-28 09:20:03', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024777 -3.390463)'), GeomFromEWKT('SRID=4674;POINT (-39.024838 -3.390451)'))) / (select extract(epoch from '2026-07-28 09:20:03'::timestamp) - extract(epoch from '2026-07-28 09:19:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024777 -3.390463)'), GeomFromEWKT('SRID=4674;POINT (-39.024838 -3.390451)'))) / (select extract(epoch from '2026-07-28 09:20:03'::timestamp) - extract(epoch from '2026-07-28 09:19:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.024885 -3.390445)', '2026-07-28 09:20:11', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024838 -3.390451)'), GeomFromEWKT('SRID=4674;POINT (-39.024885 -3.390445)'))) / (select extract(epoch from '2026-07-28 09:20:11'::timestamp) - extract(epoch from '2026-07-28 09:20:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024838 -3.390451)'), GeomFromEWKT('SRID=4674;POINT (-39.024885 -3.390445)'))) / (select extract(epoch from '2026-07-28 09:20:11'::timestamp) - extract(epoch from '2026-07-28 09:20: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'), 47422, 'SRID=4674;POINT (-39.024934 -3.390449)', '2026-07-28 09:20:22', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024885 -3.390445)'), GeomFromEWKT('SRID=4674;POINT (-39.024934 -3.390449)'))) / (select extract(epoch from '2026-07-28 09:20:22'::timestamp) - extract(epoch from '2026-07-28 09:20:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024885 -3.390445)'), GeomFromEWKT('SRID=4674;POINT (-39.024934 -3.390449)'))) / (select extract(epoch from '2026-07-28 09:20:22'::timestamp) - extract(epoch from '2026-07-28 09:20:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.024991 -3.390452)', '2026-07-28 09:20:32', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024934 -3.390449)'), GeomFromEWKT('SRID=4674;POINT (-39.024991 -3.390452)'))) / (select extract(epoch from '2026-07-28 09:20:32'::timestamp) - extract(epoch from '2026-07-28 09:20:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024934 -3.390449)'), GeomFromEWKT('SRID=4674;POINT (-39.024991 -3.390452)'))) / (select extract(epoch from '2026-07-28 09:20:32'::timestamp) - extract(epoch from '2026-07-28 09:20:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.02508 -3.39046)', '2026-07-28 09:20:49', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024991 -3.390452)'), GeomFromEWKT('SRID=4674;POINT (-39.02508 -3.39046)'))) / (select extract(epoch from '2026-07-28 09:20:49'::timestamp) - extract(epoch from '2026-07-28 09:20:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024991 -3.390452)'), GeomFromEWKT('SRID=4674;POINT (-39.02508 -3.39046)'))) / (select extract(epoch from '2026-07-28 09:20:49'::timestamp) - extract(epoch from '2026-07-28 09:20: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'), 47422, 'SRID=4674;POINT (-39.025137 -3.390435)', '2026-07-28 09:21:05', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02508 -3.39046)'), GeomFromEWKT('SRID=4674;POINT (-39.025137 -3.390435)'))) / (select extract(epoch from '2026-07-28 09:21:05'::timestamp) - extract(epoch from '2026-07-28 09:20:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02508 -3.39046)'), GeomFromEWKT('SRID=4674;POINT (-39.025137 -3.390435)'))) / (select extract(epoch from '2026-07-28 09:21:05'::timestamp) - extract(epoch from '2026-07-28 09:20: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'), 47422, 'SRID=4674;POINT (-39.025202 -3.390412)', '2026-07-28 09:21:18', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025137 -3.390435)'), GeomFromEWKT('SRID=4674;POINT (-39.025202 -3.390412)'))) / (select extract(epoch from '2026-07-28 09:21:18'::timestamp) - extract(epoch from '2026-07-28 09:21:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025137 -3.390435)'), GeomFromEWKT('SRID=4674;POINT (-39.025202 -3.390412)'))) / (select extract(epoch from '2026-07-28 09:21:18'::timestamp) - extract(epoch from '2026-07-28 09:21: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'), 47422, 'SRID=4674;POINT (-39.025264 -3.39042)', '2026-07-28 09:21:27', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025202 -3.390412)'), GeomFromEWKT('SRID=4674;POINT (-39.025264 -3.39042)'))) / (select extract(epoch from '2026-07-28 09:21:27'::timestamp) - extract(epoch from '2026-07-28 09:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025202 -3.390412)'), GeomFromEWKT('SRID=4674;POINT (-39.025264 -3.39042)'))) / (select extract(epoch from '2026-07-28 09:21:27'::timestamp) - extract(epoch from '2026-07-28 09:21: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'), 47422, 'SRID=4674;POINT (-39.025304 -3.390422)', '2026-07-28 09:21:33', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025264 -3.39042)'), GeomFromEWKT('SRID=4674;POINT (-39.025304 -3.390422)'))) / (select extract(epoch from '2026-07-28 09:21:33'::timestamp) - extract(epoch from '2026-07-28 09:21:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025264 -3.39042)'), GeomFromEWKT('SRID=4674;POINT (-39.025304 -3.390422)'))) / (select extract(epoch from '2026-07-28 09:21:33'::timestamp) - extract(epoch from '2026-07-28 09:21:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.02536 -3.390408)', '2026-07-28 09:21:43', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025304 -3.390422)'), GeomFromEWKT('SRID=4674;POINT (-39.02536 -3.390408)'))) / (select extract(epoch from '2026-07-28 09:21:43'::timestamp) - extract(epoch from '2026-07-28 09:21:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025304 -3.390422)'), GeomFromEWKT('SRID=4674;POINT (-39.02536 -3.390408)'))) / (select extract(epoch from '2026-07-28 09:21:43'::timestamp) - extract(epoch from '2026-07-28 09:21: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'), 47422, 'SRID=4674;POINT (-39.025428 -3.3904)', '2026-07-28 09:21:57', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02536 -3.390408)'), GeomFromEWKT('SRID=4674;POINT (-39.025428 -3.3904)'))) / (select extract(epoch from '2026-07-28 09:21:57'::timestamp) - extract(epoch from '2026-07-28 09:21:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02536 -3.390408)'), GeomFromEWKT('SRID=4674;POINT (-39.025428 -3.3904)'))) / (select extract(epoch from '2026-07-28 09:21:57'::timestamp) - extract(epoch from '2026-07-28 09:21: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'), 47422, 'SRID=4674;POINT (-39.025485 -3.39039)', '2026-07-28 09:22:11', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025428 -3.3904)'), GeomFromEWKT('SRID=4674;POINT (-39.025485 -3.39039)'))) / (select extract(epoch from '2026-07-28 09:22:11'::timestamp) - extract(epoch from '2026-07-28 09:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025428 -3.3904)'), GeomFromEWKT('SRID=4674;POINT (-39.025485 -3.39039)'))) / (select extract(epoch from '2026-07-28 09:22:11'::timestamp) - extract(epoch from '2026-07-28 09:21:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.025533 -3.390386)', '2026-07-28 09:22:25', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025485 -3.39039)'), GeomFromEWKT('SRID=4674;POINT (-39.025533 -3.390386)'))) / (select extract(epoch from '2026-07-28 09:22:25'::timestamp) - extract(epoch from '2026-07-28 09:22:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025485 -3.39039)'), GeomFromEWKT('SRID=4674;POINT (-39.025533 -3.390386)'))) / (select extract(epoch from '2026-07-28 09:22:25'::timestamp) - extract(epoch from '2026-07-28 09:22:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.025566 -3.390386)', '2026-07-28 09:22:32', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025533 -3.390386)'), GeomFromEWKT('SRID=4674;POINT (-39.025566 -3.390386)'))) / (select extract(epoch from '2026-07-28 09:22:32'::timestamp) - extract(epoch from '2026-07-28 09:22:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025533 -3.390386)'), GeomFromEWKT('SRID=4674;POINT (-39.025566 -3.390386)'))) / (select extract(epoch from '2026-07-28 09:22:32'::timestamp) - extract(epoch from '2026-07-28 09:22:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.025647 -3.390376)', '2026-07-28 09:22:47', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025566 -3.390386)'), GeomFromEWKT('SRID=4674;POINT (-39.025647 -3.390376)'))) / (select extract(epoch from '2026-07-28 09:22:47'::timestamp) - extract(epoch from '2026-07-28 09:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025566 -3.390386)'), GeomFromEWKT('SRID=4674;POINT (-39.025647 -3.390376)'))) / (select extract(epoch from '2026-07-28 09:22:47'::timestamp) - extract(epoch from '2026-07-28 09:22: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'), 47422, 'SRID=4674;POINT (-39.025709 -3.39036)', '2026-07-28 09:23:01', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025647 -3.390376)'), GeomFromEWKT('SRID=4674;POINT (-39.025709 -3.39036)'))) / (select extract(epoch from '2026-07-28 09:23:01'::timestamp) - extract(epoch from '2026-07-28 09:22:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025647 -3.390376)'), GeomFromEWKT('SRID=4674;POINT (-39.025709 -3.39036)'))) / (select extract(epoch from '2026-07-28 09:23:01'::timestamp) - extract(epoch from '2026-07-28 09:22:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.025759 -3.390348)', '2026-07-28 09:23:14', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025709 -3.39036)'), GeomFromEWKT('SRID=4674;POINT (-39.025759 -3.390348)'))) / (select extract(epoch from '2026-07-28 09:23:14'::timestamp) - extract(epoch from '2026-07-28 09:23:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025709 -3.39036)'), GeomFromEWKT('SRID=4674;POINT (-39.025759 -3.390348)'))) / (select extract(epoch from '2026-07-28 09:23:14'::timestamp) - extract(epoch from '2026-07-28 09:23: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'), 47422, 'SRID=4674;POINT (-39.025801 -3.390336)', '2026-07-28 09:23:20', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025759 -3.390348)'), GeomFromEWKT('SRID=4674;POINT (-39.025801 -3.390336)'))) / (select extract(epoch from '2026-07-28 09:23:20'::timestamp) - extract(epoch from '2026-07-28 09:23:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025759 -3.390348)'), GeomFromEWKT('SRID=4674;POINT (-39.025801 -3.390336)'))) / (select extract(epoch from '2026-07-28 09:23:20'::timestamp) - extract(epoch from '2026-07-28 09:23: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'), 47422, 'SRID=4674;POINT (-39.025866 -3.390318)', '2026-07-28 09:23:31', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025801 -3.390336)'), GeomFromEWKT('SRID=4674;POINT (-39.025866 -3.390318)'))) / (select extract(epoch from '2026-07-28 09:23:31'::timestamp) - extract(epoch from '2026-07-28 09:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025801 -3.390336)'), GeomFromEWKT('SRID=4674;POINT (-39.025866 -3.390318)'))) / (select extract(epoch from '2026-07-28 09:23:31'::timestamp) - extract(epoch from '2026-07-28 09:23: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'), 47422, 'SRID=4674;POINT (-39.025927 -3.390304)', '2026-07-28 09:23:41', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025866 -3.390318)'), GeomFromEWKT('SRID=4674;POINT (-39.025927 -3.390304)'))) / (select extract(epoch from '2026-07-28 09:23:41'::timestamp) - extract(epoch from '2026-07-28 09:23:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025866 -3.390318)'), GeomFromEWKT('SRID=4674;POINT (-39.025927 -3.390304)'))) / (select extract(epoch from '2026-07-28 09:23:41'::timestamp) - extract(epoch from '2026-07-28 09:23:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.026004 -3.390282)', '2026-07-28 09:23:56', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025927 -3.390304)'), GeomFromEWKT('SRID=4674;POINT (-39.026004 -3.390282)'))) / (select extract(epoch from '2026-07-28 09:23:56'::timestamp) - extract(epoch from '2026-07-28 09:23:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025927 -3.390304)'), GeomFromEWKT('SRID=4674;POINT (-39.026004 -3.390282)'))) / (select extract(epoch from '2026-07-28 09:23:56'::timestamp) - extract(epoch from '2026-07-28 09: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'), 47422, 'SRID=4674;POINT (-39.026056 -3.390271)', '2026-07-28 09:24:06', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026004 -3.390282)'), GeomFromEWKT('SRID=4674;POINT (-39.026056 -3.390271)'))) / (select extract(epoch from '2026-07-28 09:24:06'::timestamp) - extract(epoch from '2026-07-28 09:23:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026004 -3.390282)'), GeomFromEWKT('SRID=4674;POINT (-39.026056 -3.390271)'))) / (select extract(epoch from '2026-07-28 09:24:06'::timestamp) - extract(epoch from '2026-07-28 09:23: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'), 47422, 'SRID=4674;POINT (-39.026109 -3.390274)', '2026-07-28 09:24:21', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026056 -3.390271)'), GeomFromEWKT('SRID=4674;POINT (-39.026109 -3.390274)'))) / (select extract(epoch from '2026-07-28 09:24:21'::timestamp) - extract(epoch from '2026-07-28 09:24:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026056 -3.390271)'), GeomFromEWKT('SRID=4674;POINT (-39.026109 -3.390274)'))) / (select extract(epoch from '2026-07-28 09:24:21'::timestamp) - extract(epoch from '2026-07-28 09:24: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'), 47422, 'SRID=4674;POINT (-39.026145 -3.390259)', '2026-07-28 09:24:34', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026109 -3.390274)'), GeomFromEWKT('SRID=4674;POINT (-39.026145 -3.390259)'))) / (select extract(epoch from '2026-07-28 09:24:34'::timestamp) - extract(epoch from '2026-07-28 09:24:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026109 -3.390274)'), GeomFromEWKT('SRID=4674;POINT (-39.026145 -3.390259)'))) / (select extract(epoch from '2026-07-28 09:24:34'::timestamp) - extract(epoch from '2026-07-28 09:24: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'), 47422, 'SRID=4674;POINT (-39.026202 -3.390257)', '2026-07-28 09:24:47', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026145 -3.390259)'), GeomFromEWKT('SRID=4674;POINT (-39.026202 -3.390257)'))) / (select extract(epoch from '2026-07-28 09:24:47'::timestamp) - extract(epoch from '2026-07-28 09:24:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026145 -3.390259)'), GeomFromEWKT('SRID=4674;POINT (-39.026202 -3.390257)'))) / (select extract(epoch from '2026-07-28 09:24:47'::timestamp) - extract(epoch from '2026-07-28 09:24: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'), 47422, 'SRID=4674;POINT (-39.026268 -3.390252)', '2026-07-28 09:25:01', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026202 -3.390257)'), GeomFromEWKT('SRID=4674;POINT (-39.026268 -3.390252)'))) / (select extract(epoch from '2026-07-28 09:25:01'::timestamp) - extract(epoch from '2026-07-28 09:24:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026202 -3.390257)'), GeomFromEWKT('SRID=4674;POINT (-39.026268 -3.390252)'))) / (select extract(epoch from '2026-07-28 09:25:01'::timestamp) - extract(epoch from '2026-07-28 09:24: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'), 47422, 'SRID=4674;POINT (-39.026323 -3.390236)', '2026-07-28 09:25:15', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026268 -3.390252)'), GeomFromEWKT('SRID=4674;POINT (-39.026323 -3.390236)'))) / (select extract(epoch from '2026-07-28 09:25:15'::timestamp) - extract(epoch from '2026-07-28 09:25:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026268 -3.390252)'), GeomFromEWKT('SRID=4674;POINT (-39.026323 -3.390236)'))) / (select extract(epoch from '2026-07-28 09:25:15'::timestamp) - extract(epoch from '2026-07-28 09:25: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'), 47422, 'SRID=4674;POINT (-39.026377 -3.390237)', '2026-07-28 09:25:26', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026323 -3.390236)'), GeomFromEWKT('SRID=4674;POINT (-39.026377 -3.390237)'))) / (select extract(epoch from '2026-07-28 09:25:26'::timestamp) - extract(epoch from '2026-07-28 09:25:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026323 -3.390236)'), GeomFromEWKT('SRID=4674;POINT (-39.026377 -3.390237)'))) / (select extract(epoch from '2026-07-28 09:25:26'::timestamp) - extract(epoch from '2026-07-28 09: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'), 47422, 'SRID=4674;POINT (-39.026406 -3.390244)', '2026-07-28 09:25:32', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026377 -3.390237)'), GeomFromEWKT('SRID=4674;POINT (-39.026406 -3.390244)'))) / (select extract(epoch from '2026-07-28 09:25:32'::timestamp) - extract(epoch from '2026-07-28 09:25:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026377 -3.390237)'), GeomFromEWKT('SRID=4674;POINT (-39.026406 -3.390244)'))) / (select extract(epoch from '2026-07-28 09:25:32'::timestamp) - extract(epoch from '2026-07-28 09: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'), 47422, 'SRID=4674;POINT (-39.02648 -3.390265)', '2026-07-28 09:25:46', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026406 -3.390244)'), GeomFromEWKT('SRID=4674;POINT (-39.02648 -3.390265)'))) / (select extract(epoch from '2026-07-28 09:25:46'::timestamp) - extract(epoch from '2026-07-28 09:25:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026406 -3.390244)'), GeomFromEWKT('SRID=4674;POINT (-39.02648 -3.390265)'))) / (select extract(epoch from '2026-07-28 09:25:46'::timestamp) - extract(epoch from '2026-07-28 09:25: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'), 47422, 'SRID=4674;POINT (-39.02656 -3.390252)', '2026-07-28 09:26:03', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02648 -3.390265)'), GeomFromEWKT('SRID=4674;POINT (-39.02656 -3.390252)'))) / (select extract(epoch from '2026-07-28 09:26:03'::timestamp) - extract(epoch from '2026-07-28 09:25:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02648 -3.390265)'), GeomFromEWKT('SRID=4674;POINT (-39.02656 -3.390252)'))) / (select extract(epoch from '2026-07-28 09:26:03'::timestamp) - extract(epoch from '2026-07-28 09:25: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'), 47422, 'SRID=4674;POINT (-39.026614 -3.390232)', '2026-07-28 09:26:15', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02656 -3.390252)'), GeomFromEWKT('SRID=4674;POINT (-39.026614 -3.390232)'))) / (select extract(epoch from '2026-07-28 09:26:15'::timestamp) - extract(epoch from '2026-07-28 09:26:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02656 -3.390252)'), GeomFromEWKT('SRID=4674;POINT (-39.026614 -3.390232)'))) / (select extract(epoch from '2026-07-28 09:26:15'::timestamp) - extract(epoch from '2026-07-28 09:26: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'), 47422, 'SRID=4674;POINT (-39.026681 -3.390226)', '2026-07-28 09:26:26', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026614 -3.390232)'), GeomFromEWKT('SRID=4674;POINT (-39.026681 -3.390226)'))) / (select extract(epoch from '2026-07-28 09:26:26'::timestamp) - extract(epoch from '2026-07-28 09:26:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026614 -3.390232)'), GeomFromEWKT('SRID=4674;POINT (-39.026681 -3.390226)'))) / (select extract(epoch from '2026-07-28 09:26:26'::timestamp) - extract(epoch from '2026-07-28 09:26: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'), 47422, 'SRID=4674;POINT (-39.026719 -3.390216)', '2026-07-28 09:26:36', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026681 -3.390226)'), GeomFromEWKT('SRID=4674;POINT (-39.026719 -3.390216)'))) / (select extract(epoch from '2026-07-28 09:26:36'::timestamp) - extract(epoch from '2026-07-28 09:26:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026681 -3.390226)'), GeomFromEWKT('SRID=4674;POINT (-39.026719 -3.390216)'))) / (select extract(epoch from '2026-07-28 09:26:36'::timestamp) - extract(epoch from '2026-07-28 09:26: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'), 47422, 'SRID=4674;POINT (-39.026771 -3.390214)', '2026-07-28 09:26:45', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026719 -3.390216)'), GeomFromEWKT('SRID=4674;POINT (-39.026771 -3.390214)'))) / (select extract(epoch from '2026-07-28 09:26:45'::timestamp) - extract(epoch from '2026-07-28 09:26:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026719 -3.390216)'), GeomFromEWKT('SRID=4674;POINT (-39.026771 -3.390214)'))) / (select extract(epoch from '2026-07-28 09:26:45'::timestamp) - extract(epoch from '2026-07-28 09:26:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.02679 -3.390208)', '2026-07-28 09:26:52', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026771 -3.390214)'), GeomFromEWKT('SRID=4674;POINT (-39.02679 -3.390208)'))) / (select extract(epoch from '2026-07-28 09:26:52'::timestamp) - extract(epoch from '2026-07-28 09:26:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026771 -3.390214)'), GeomFromEWKT('SRID=4674;POINT (-39.02679 -3.390208)'))) / (select extract(epoch from '2026-07-28 09:26:52'::timestamp) - extract(epoch from '2026-07-28 09:26:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.02686 -3.390198)', '2026-07-28 09:27:04', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02679 -3.390208)'), GeomFromEWKT('SRID=4674;POINT (-39.02686 -3.390198)'))) / (select extract(epoch from '2026-07-28 09:27:04'::timestamp) - extract(epoch from '2026-07-28 09:26:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02679 -3.390208)'), GeomFromEWKT('SRID=4674;POINT (-39.02686 -3.390198)'))) / (select extract(epoch from '2026-07-28 09:27:04'::timestamp) - extract(epoch from '2026-07-28 09:26: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'), 47422, 'SRID=4674;POINT (-39.02694 -3.390194)', '2026-07-28 09:27:21', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02686 -3.390198)'), GeomFromEWKT('SRID=4674;POINT (-39.02694 -3.390194)'))) / (select extract(epoch from '2026-07-28 09:27:21'::timestamp) - extract(epoch from '2026-07-28 09:27:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02686 -3.390198)'), GeomFromEWKT('SRID=4674;POINT (-39.02694 -3.390194)'))) / (select extract(epoch from '2026-07-28 09:27:21'::timestamp) - extract(epoch from '2026-07-28 09:27:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.026994 -3.39019)', '2026-07-28 09:27:34', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02694 -3.390194)'), GeomFromEWKT('SRID=4674;POINT (-39.026994 -3.39019)'))) / (select extract(epoch from '2026-07-28 09:27:34'::timestamp) - extract(epoch from '2026-07-28 09:27:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02694 -3.390194)'), GeomFromEWKT('SRID=4674;POINT (-39.026994 -3.39019)'))) / (select extract(epoch from '2026-07-28 09:27:34'::timestamp) - extract(epoch from '2026-07-28 09:27:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027048 -3.390186)', '2026-07-28 09:27:46', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026994 -3.39019)'), GeomFromEWKT('SRID=4674;POINT (-39.027048 -3.390186)'))) / (select extract(epoch from '2026-07-28 09:27:46'::timestamp) - extract(epoch from '2026-07-28 09:27:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026994 -3.39019)'), GeomFromEWKT('SRID=4674;POINT (-39.027048 -3.390186)'))) / (select extract(epoch from '2026-07-28 09:27:46'::timestamp) - extract(epoch from '2026-07-28 09:27: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'), 47422, 'SRID=4674;POINT (-39.027129 -3.390179)', '2026-07-28 09:28:01', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027048 -3.390186)'), GeomFromEWKT('SRID=4674;POINT (-39.027129 -3.390179)'))) / (select extract(epoch from '2026-07-28 09:28:01'::timestamp) - extract(epoch from '2026-07-28 09:27:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027048 -3.390186)'), GeomFromEWKT('SRID=4674;POINT (-39.027129 -3.390179)'))) / (select extract(epoch from '2026-07-28 09:28:01'::timestamp) - extract(epoch from '2026-07-28 09:27:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027192 -3.390194)', '2026-07-28 09:28:13', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027129 -3.390179)'), GeomFromEWKT('SRID=4674;POINT (-39.027192 -3.390194)'))) / (select extract(epoch from '2026-07-28 09:28:13'::timestamp) - extract(epoch from '2026-07-28 09:28:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027129 -3.390179)'), GeomFromEWKT('SRID=4674;POINT (-39.027192 -3.390194)'))) / (select extract(epoch from '2026-07-28 09:28:13'::timestamp) - extract(epoch from '2026-07-28 09: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'), 47422, 'SRID=4674;POINT (-39.027267 -3.390188)', '2026-07-28 09:28:26', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027192 -3.390194)'), GeomFromEWKT('SRID=4674;POINT (-39.027267 -3.390188)'))) / (select extract(epoch from '2026-07-28 09:28:26'::timestamp) - extract(epoch from '2026-07-28 09:28:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027192 -3.390194)'), GeomFromEWKT('SRID=4674;POINT (-39.027267 -3.390188)'))) / (select extract(epoch from '2026-07-28 09:28:26'::timestamp) - extract(epoch from '2026-07-28 09:28: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'), 47422, 'SRID=4674;POINT (-39.027321 -3.390177)', '2026-07-28 09:28:37', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027267 -3.390188)'), GeomFromEWKT('SRID=4674;POINT (-39.027321 -3.390177)'))) / (select extract(epoch from '2026-07-28 09:28:37'::timestamp) - extract(epoch from '2026-07-28 09:28:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027267 -3.390188)'), GeomFromEWKT('SRID=4674;POINT (-39.027321 -3.390177)'))) / (select extract(epoch from '2026-07-28 09:28:37'::timestamp) - extract(epoch from '2026-07-28 09: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'), 47422, 'SRID=4674;POINT (-39.027393 -3.390169)', '2026-07-28 09:28:51', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027321 -3.390177)'), GeomFromEWKT('SRID=4674;POINT (-39.027393 -3.390169)'))) / (select extract(epoch from '2026-07-28 09:28:51'::timestamp) - extract(epoch from '2026-07-28 09:28:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027321 -3.390177)'), GeomFromEWKT('SRID=4674;POINT (-39.027393 -3.390169)'))) / (select extract(epoch from '2026-07-28 09:28:51'::timestamp) - extract(epoch from '2026-07-28 09:28:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027481 -3.390167)', '2026-07-28 09:29:07', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027393 -3.390169)'), GeomFromEWKT('SRID=4674;POINT (-39.027481 -3.390167)'))) / (select extract(epoch from '2026-07-28 09:29:07'::timestamp) - extract(epoch from '2026-07-28 09:28:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027393 -3.390169)'), GeomFromEWKT('SRID=4674;POINT (-39.027481 -3.390167)'))) / (select extract(epoch from '2026-07-28 09:29:07'::timestamp) - extract(epoch from '2026-07-28 09:28:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027544 -3.390167)', '2026-07-28 09:29:19', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027481 -3.390167)'), GeomFromEWKT('SRID=4674;POINT (-39.027544 -3.390167)'))) / (select extract(epoch from '2026-07-28 09:29:19'::timestamp) - extract(epoch from '2026-07-28 09:29:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027481 -3.390167)'), GeomFromEWKT('SRID=4674;POINT (-39.027544 -3.390167)'))) / (select extract(epoch from '2026-07-28 09:29:19'::timestamp) - extract(epoch from '2026-07-28 09:29:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027597 -3.39015)', '2026-07-28 09:29:31', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027544 -3.390167)'), GeomFromEWKT('SRID=4674;POINT (-39.027597 -3.39015)'))) / (select extract(epoch from '2026-07-28 09:29:31'::timestamp) - extract(epoch from '2026-07-28 09:29:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027544 -3.390167)'), GeomFromEWKT('SRID=4674;POINT (-39.027597 -3.39015)'))) / (select extract(epoch from '2026-07-28 09:29:31'::timestamp) - extract(epoch from '2026-07-28 09:29: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'), 47422, 'SRID=4674;POINT (-39.027664 -3.390148)', '2026-07-28 09:29:43', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027597 -3.39015)'), GeomFromEWKT('SRID=4674;POINT (-39.027664 -3.390148)'))) / (select extract(epoch from '2026-07-28 09:29:43'::timestamp) - extract(epoch from '2026-07-28 09:29:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027597 -3.39015)'), GeomFromEWKT('SRID=4674;POINT (-39.027664 -3.390148)'))) / (select extract(epoch from '2026-07-28 09:29:43'::timestamp) - extract(epoch from '2026-07-28 09:29:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027693 -3.390153)', '2026-07-28 09:29:48', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027664 -3.390148)'), GeomFromEWKT('SRID=4674;POINT (-39.027693 -3.390153)'))) / (select extract(epoch from '2026-07-28 09:29:48'::timestamp) - extract(epoch from '2026-07-28 09:29:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027664 -3.390148)'), GeomFromEWKT('SRID=4674;POINT (-39.027693 -3.390153)'))) / (select extract(epoch from '2026-07-28 09:29:48'::timestamp) - extract(epoch from '2026-07-28 09:29:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.02776 -3.390145)', '2026-07-28 09:30:03', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027693 -3.390153)'), GeomFromEWKT('SRID=4674;POINT (-39.02776 -3.390145)'))) / (select extract(epoch from '2026-07-28 09:30:03'::timestamp) - extract(epoch from '2026-07-28 09:29:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027693 -3.390153)'), GeomFromEWKT('SRID=4674;POINT (-39.02776 -3.390145)'))) / (select extract(epoch from '2026-07-28 09:30:03'::timestamp) - extract(epoch from '2026-07-28 09:29:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.02782 -3.390138)', '2026-07-28 09:30:13', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02776 -3.390145)'), GeomFromEWKT('SRID=4674;POINT (-39.02782 -3.390138)'))) / (select extract(epoch from '2026-07-28 09:30:13'::timestamp) - extract(epoch from '2026-07-28 09:30:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02776 -3.390145)'), GeomFromEWKT('SRID=4674;POINT (-39.02782 -3.390138)'))) / (select extract(epoch from '2026-07-28 09:30:13'::timestamp) - extract(epoch from '2026-07-28 09:30: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'), 47422, 'SRID=4674;POINT (-39.027868 -3.390127)', '2026-07-28 09:30:24', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02782 -3.390138)'), GeomFromEWKT('SRID=4674;POINT (-39.027868 -3.390127)'))) / (select extract(epoch from '2026-07-28 09:30:24'::timestamp) - extract(epoch from '2026-07-28 09:30:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02782 -3.390138)'), GeomFromEWKT('SRID=4674;POINT (-39.027868 -3.390127)'))) / (select extract(epoch from '2026-07-28 09:30:24'::timestamp) - extract(epoch from '2026-07-28 09:30: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'), 47422, 'SRID=4674;POINT (-39.027911 -3.390126)', '2026-07-28 09:30:33', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027868 -3.390127)'), GeomFromEWKT('SRID=4674;POINT (-39.027911 -3.390126)'))) / (select extract(epoch from '2026-07-28 09:30:33'::timestamp) - extract(epoch from '2026-07-28 09:30:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027868 -3.390127)'), GeomFromEWKT('SRID=4674;POINT (-39.027911 -3.390126)'))) / (select extract(epoch from '2026-07-28 09:30:33'::timestamp) - extract(epoch from '2026-07-28 09:30:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027983 -3.390126)', '2026-07-28 09:30:46', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027911 -3.390126)'), GeomFromEWKT('SRID=4674;POINT (-39.027983 -3.390126)'))) / (select extract(epoch from '2026-07-28 09:30:46'::timestamp) - extract(epoch from '2026-07-28 09:30:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027911 -3.390126)'), GeomFromEWKT('SRID=4674;POINT (-39.027983 -3.390126)'))) / (select extract(epoch from '2026-07-28 09:30:46'::timestamp) - extract(epoch from '2026-07-28 09:30:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.02804 -3.390117)', '2026-07-28 09:30:59', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027983 -3.390126)'), GeomFromEWKT('SRID=4674;POINT (-39.02804 -3.390117)'))) / (select extract(epoch from '2026-07-28 09:30:59'::timestamp) - extract(epoch from '2026-07-28 09:30:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027983 -3.390126)'), GeomFromEWKT('SRID=4674;POINT (-39.02804 -3.390117)'))) / (select extract(epoch from '2026-07-28 09:30:59'::timestamp) - extract(epoch from '2026-07-28 09:30: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'), 47422, 'SRID=4674;POINT (-39.028106 -3.390103)', '2026-07-28 09:31:13', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02804 -3.390117)'), GeomFromEWKT('SRID=4674;POINT (-39.028106 -3.390103)'))) / (select extract(epoch from '2026-07-28 09:31:13'::timestamp) - extract(epoch from '2026-07-28 09:30:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02804 -3.390117)'), GeomFromEWKT('SRID=4674;POINT (-39.028106 -3.390103)'))) / (select extract(epoch from '2026-07-28 09:31:13'::timestamp) - extract(epoch from '2026-07-28 09:30:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.02818 -3.390096)', '2026-07-28 09:31:28', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028106 -3.390103)'), GeomFromEWKT('SRID=4674;POINT (-39.02818 -3.390096)'))) / (select extract(epoch from '2026-07-28 09:31:28'::timestamp) - extract(epoch from '2026-07-28 09:31:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028106 -3.390103)'), GeomFromEWKT('SRID=4674;POINT (-39.02818 -3.390096)'))) / (select extract(epoch from '2026-07-28 09:31:28'::timestamp) - extract(epoch from '2026-07-28 09:31:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.028234 -3.390088)', '2026-07-28 09:31:36', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02818 -3.390096)'), GeomFromEWKT('SRID=4674;POINT (-39.028234 -3.390088)'))) / (select extract(epoch from '2026-07-28 09:31:36'::timestamp) - extract(epoch from '2026-07-28 09:31:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02818 -3.390096)'), GeomFromEWKT('SRID=4674;POINT (-39.028234 -3.390088)'))) / (select extract(epoch from '2026-07-28 09:31:36'::timestamp) - extract(epoch from '2026-07-28 09:31: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'), 47422, 'SRID=4674;POINT (-39.028279 -3.39009)', '2026-07-28 09:31:44', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028234 -3.390088)'), GeomFromEWKT('SRID=4674;POINT (-39.028279 -3.39009)'))) / (select extract(epoch from '2026-07-28 09:31:44'::timestamp) - extract(epoch from '2026-07-28 09:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028234 -3.390088)'), GeomFromEWKT('SRID=4674;POINT (-39.028279 -3.39009)'))) / (select extract(epoch from '2026-07-28 09:31:44'::timestamp) - extract(epoch from '2026-07-28 09:31:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.028338 -3.390097)', '2026-07-28 09:31:57', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028279 -3.39009)'), GeomFromEWKT('SRID=4674;POINT (-39.028338 -3.390097)'))) / (select extract(epoch from '2026-07-28 09:31:57'::timestamp) - extract(epoch from '2026-07-28 09:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028279 -3.39009)'), GeomFromEWKT('SRID=4674;POINT (-39.028338 -3.390097)'))) / (select extract(epoch from '2026-07-28 09:31:57'::timestamp) - extract(epoch from '2026-07-28 09:31:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.028402 -3.390094)', '2026-07-28 09:32:08', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028338 -3.390097)'), GeomFromEWKT('SRID=4674;POINT (-39.028402 -3.390094)'))) / (select extract(epoch from '2026-07-28 09:32:08'::timestamp) - extract(epoch from '2026-07-28 09:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028338 -3.390097)'), GeomFromEWKT('SRID=4674;POINT (-39.028402 -3.390094)'))) / (select extract(epoch from '2026-07-28 09:32:08'::timestamp) - extract(epoch from '2026-07-28 09:31: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'), 47422, 'SRID=4674;POINT (-39.028464 -3.390171)', '2026-07-28 09:32:15', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028402 -3.390094)'), GeomFromEWKT('SRID=4674;POINT (-39.028464 -3.390171)'))) / (select extract(epoch from '2026-07-28 09:32:15'::timestamp) - extract(epoch from '2026-07-28 09:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028402 -3.390094)'), GeomFromEWKT('SRID=4674;POINT (-39.028464 -3.390171)'))) / (select extract(epoch from '2026-07-28 09:32:15'::timestamp) - extract(epoch from '2026-07-28 09:32: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'), 47422, 'SRID=4674;POINT (-39.028443 -3.390235)', '2026-07-28 09:32:21', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028464 -3.390171)'), GeomFromEWKT('SRID=4674;POINT (-39.028443 -3.390235)'))) / (select extract(epoch from '2026-07-28 09:32:21'::timestamp) - extract(epoch from '2026-07-28 09:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028464 -3.390171)'), GeomFromEWKT('SRID=4674;POINT (-39.028443 -3.390235)'))) / (select extract(epoch from '2026-07-28 09:32:21'::timestamp) - extract(epoch from '2026-07-28 09:32:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.028441 -3.390247)', '2026-07-28 09:32:22', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028443 -3.390235)'), GeomFromEWKT('SRID=4674;POINT (-39.028441 -3.390247)'))) / (select extract(epoch from '2026-07-28 09:32:22'::timestamp) - extract(epoch from '2026-07-28 09:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028443 -3.390235)'), GeomFromEWKT('SRID=4674;POINT (-39.028441 -3.390247)'))) / (select extract(epoch from '2026-07-28 09:32:22'::timestamp) - extract(epoch from '2026-07-28 09:32:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.028414 -3.390295)', '2026-07-28 09:32:27', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028441 -3.390247)'), GeomFromEWKT('SRID=4674;POINT (-39.028414 -3.390295)'))) / (select extract(epoch from '2026-07-28 09:32:27'::timestamp) - extract(epoch from '2026-07-28 09:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028441 -3.390247)'), GeomFromEWKT('SRID=4674;POINT (-39.028414 -3.390295)'))) / (select extract(epoch from '2026-07-28 09:32:27'::timestamp) - extract(epoch from '2026-07-28 09:32:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.028404 -3.390301)', '2026-07-28 09:32:28', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028414 -3.390295)'), GeomFromEWKT('SRID=4674;POINT (-39.028404 -3.390301)'))) / (select extract(epoch from '2026-07-28 09:32:28'::timestamp) - extract(epoch from '2026-07-28 09:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028414 -3.390295)'), GeomFromEWKT('SRID=4674;POINT (-39.028404 -3.390301)'))) / (select extract(epoch from '2026-07-28 09:32:28'::timestamp) - extract(epoch from '2026-07-28 09:32: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'), 47422, 'SRID=4674;POINT (-39.028364 -3.390309)', '2026-07-28 09:32:32', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028404 -3.390301)'), GeomFromEWKT('SRID=4674;POINT (-39.028364 -3.390309)'))) / (select extract(epoch from '2026-07-28 09:32:32'::timestamp) - extract(epoch from '2026-07-28 09:32:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028404 -3.390301)'), GeomFromEWKT('SRID=4674;POINT (-39.028364 -3.390309)'))) / (select extract(epoch from '2026-07-28 09:32:32'::timestamp) - extract(epoch from '2026-07-28 09: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'), 47422, 'SRID=4674;POINT (-39.028295 -3.390324)', '2026-07-28 09:32:38', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028364 -3.390309)'), GeomFromEWKT('SRID=4674;POINT (-39.028295 -3.390324)'))) / (select extract(epoch from '2026-07-28 09:32:38'::timestamp) - extract(epoch from '2026-07-28 09:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028364 -3.390309)'), GeomFromEWKT('SRID=4674;POINT (-39.028295 -3.390324)'))) / (select extract(epoch from '2026-07-28 09:32:38'::timestamp) - extract(epoch from '2026-07-28 09:32:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.028231 -3.390315)', '2026-07-28 09:32:44', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028295 -3.390324)'), GeomFromEWKT('SRID=4674;POINT (-39.028231 -3.390315)'))) / (select extract(epoch from '2026-07-28 09:32:44'::timestamp) - extract(epoch from '2026-07-28 09:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028295 -3.390324)'), GeomFromEWKT('SRID=4674;POINT (-39.028231 -3.390315)'))) / (select extract(epoch from '2026-07-28 09:32:44'::timestamp) - extract(epoch from '2026-07-28 09:32: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'), 47422, 'SRID=4674;POINT (-39.028149 -3.390302)', '2026-07-28 09:32:52', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028231 -3.390315)'), GeomFromEWKT('SRID=4674;POINT (-39.028149 -3.390302)'))) / (select extract(epoch from '2026-07-28 09:32:52'::timestamp) - extract(epoch from '2026-07-28 09:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028231 -3.390315)'), GeomFromEWKT('SRID=4674;POINT (-39.028149 -3.390302)'))) / (select extract(epoch from '2026-07-28 09:32:52'::timestamp) - extract(epoch from '2026-07-28 09:32: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'), 47422, 'SRID=4674;POINT (-39.028092 -3.390324)', '2026-07-28 09:32:59', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028149 -3.390302)'), GeomFromEWKT('SRID=4674;POINT (-39.028092 -3.390324)'))) / (select extract(epoch from '2026-07-28 09:32:59'::timestamp) - extract(epoch from '2026-07-28 09:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028149 -3.390302)'), GeomFromEWKT('SRID=4674;POINT (-39.028092 -3.390324)'))) / (select extract(epoch from '2026-07-28 09:32:59'::timestamp) - extract(epoch from '2026-07-28 09:32: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'), 47422, 'SRID=4674;POINT (-39.028081 -3.390327)', '2026-07-28 09:33:00', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028092 -3.390324)'), GeomFromEWKT('SRID=4674;POINT (-39.028081 -3.390327)'))) / (select extract(epoch from '2026-07-28 09:33:00'::timestamp) - extract(epoch from '2026-07-28 09:32:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028092 -3.390324)'), GeomFromEWKT('SRID=4674;POINT (-39.028081 -3.390327)'))) / (select extract(epoch from '2026-07-28 09:33:00'::timestamp) - extract(epoch from '2026-07-28 09:32: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'), 47422, 'SRID=4674;POINT (-39.028072 -3.390332)', '2026-07-28 09:33:01', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028081 -3.390327)'), GeomFromEWKT('SRID=4674;POINT (-39.028072 -3.390332)'))) / (select extract(epoch from '2026-07-28 09:33:01'::timestamp) - extract(epoch from '2026-07-28 09:33:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028081 -3.390327)'), GeomFromEWKT('SRID=4674;POINT (-39.028072 -3.390332)'))) / (select extract(epoch from '2026-07-28 09:33:01'::timestamp) - extract(epoch from '2026-07-28 09:33: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'), 47422, 'SRID=4674;POINT (-39.028046 -3.390371)', '2026-07-28 09:33:06', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028072 -3.390332)'), GeomFromEWKT('SRID=4674;POINT (-39.028046 -3.390371)'))) / (select extract(epoch from '2026-07-28 09:33:06'::timestamp) - extract(epoch from '2026-07-28 09:33:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028072 -3.390332)'), GeomFromEWKT('SRID=4674;POINT (-39.028046 -3.390371)'))) / (select extract(epoch from '2026-07-28 09:33:06'::timestamp) - extract(epoch from '2026-07-28 09:33:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.028025 -3.39044)', '2026-07-28 09:33:12', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028046 -3.390371)'), GeomFromEWKT('SRID=4674;POINT (-39.028025 -3.39044)'))) / (select extract(epoch from '2026-07-28 09:33:12'::timestamp) - extract(epoch from '2026-07-28 09:33:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028046 -3.390371)'), GeomFromEWKT('SRID=4674;POINT (-39.028025 -3.39044)'))) / (select extract(epoch from '2026-07-28 09:33:12'::timestamp) - extract(epoch from '2026-07-28 09:33:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.028019 -3.39045)', '2026-07-28 09:33:13', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028025 -3.39044)'), GeomFromEWKT('SRID=4674;POINT (-39.028019 -3.39045)'))) / (select extract(epoch from '2026-07-28 09:33:13'::timestamp) - extract(epoch from '2026-07-28 09:33:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028025 -3.39044)'), GeomFromEWKT('SRID=4674;POINT (-39.028019 -3.39045)'))) / (select extract(epoch from '2026-07-28 09:33:13'::timestamp) - extract(epoch from '2026-07-28 09:33:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.028011 -3.390474)', '2026-07-28 09:33:15', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028019 -3.39045)'), GeomFromEWKT('SRID=4674;POINT (-39.028011 -3.390474)'))) / (select extract(epoch from '2026-07-28 09:33:15'::timestamp) - extract(epoch from '2026-07-28 09:33:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028019 -3.39045)'), GeomFromEWKT('SRID=4674;POINT (-39.028011 -3.390474)'))) / (select extract(epoch from '2026-07-28 09:33:15'::timestamp) - extract(epoch from '2026-07-28 09:33:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.028004 -3.390527)', '2026-07-28 09:33:19', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028011 -3.390474)'), GeomFromEWKT('SRID=4674;POINT (-39.028004 -3.390527)'))) / (select extract(epoch from '2026-07-28 09:33:19'::timestamp) - extract(epoch from '2026-07-28 09:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028011 -3.390474)'), GeomFromEWKT('SRID=4674;POINT (-39.028004 -3.390527)'))) / (select extract(epoch from '2026-07-28 09:33:19'::timestamp) - extract(epoch from '2026-07-28 09:33: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'), 47422, 'SRID=4674;POINT (-39.027985 -3.390623)', '2026-07-28 09:33:27', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028004 -3.390527)'), GeomFromEWKT('SRID=4674;POINT (-39.027985 -3.390623)'))) / (select extract(epoch from '2026-07-28 09:33:27'::timestamp) - extract(epoch from '2026-07-28 09:33:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028004 -3.390527)'), GeomFromEWKT('SRID=4674;POINT (-39.027985 -3.390623)'))) / (select extract(epoch from '2026-07-28 09:33:27'::timestamp) - extract(epoch from '2026-07-28 09:33:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027992 -3.390695)', '2026-07-28 09:33:32', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027985 -3.390623)'), GeomFromEWKT('SRID=4674;POINT (-39.027992 -3.390695)'))) / (select extract(epoch from '2026-07-28 09:33:32'::timestamp) - extract(epoch from '2026-07-28 09:33:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027985 -3.390623)'), GeomFromEWKT('SRID=4674;POINT (-39.027992 -3.390695)'))) / (select extract(epoch from '2026-07-28 09:33:32'::timestamp) - extract(epoch from '2026-07-28 09:33: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'), 47422, 'SRID=4674;POINT (-39.028018 -3.390792)', '2026-07-28 09:33:38', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027992 -3.390695)'), GeomFromEWKT('SRID=4674;POINT (-39.028018 -3.390792)'))) / (select extract(epoch from '2026-07-28 09:33:38'::timestamp) - extract(epoch from '2026-07-28 09:33:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027992 -3.390695)'), GeomFromEWKT('SRID=4674;POINT (-39.028018 -3.390792)'))) / (select extract(epoch from '2026-07-28 09:33:38'::timestamp) - extract(epoch from '2026-07-28 09:33: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'), 47422, 'SRID=4674;POINT (-39.028036 -3.390888)', '2026-07-28 09:33:44', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028018 -3.390792)'), GeomFromEWKT('SRID=4674;POINT (-39.028036 -3.390888)'))) / (select extract(epoch from '2026-07-28 09:33:44'::timestamp) - extract(epoch from '2026-07-28 09:33:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028018 -3.390792)'), GeomFromEWKT('SRID=4674;POINT (-39.028036 -3.390888)'))) / (select extract(epoch from '2026-07-28 09:33:44'::timestamp) - extract(epoch from '2026-07-28 09:33: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'), 47422, 'SRID=4674;POINT (-39.02805 -3.39101)', '2026-07-28 09:33:52', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028036 -3.390888)'), GeomFromEWKT('SRID=4674;POINT (-39.02805 -3.39101)'))) / (select extract(epoch from '2026-07-28 09:33:52'::timestamp) - extract(epoch from '2026-07-28 09:33:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028036 -3.390888)'), GeomFromEWKT('SRID=4674;POINT (-39.02805 -3.39101)'))) / (select extract(epoch from '2026-07-28 09:33:52'::timestamp) - extract(epoch from '2026-07-28 09:33: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'), 47422, 'SRID=4674;POINT (-39.028055 -3.391096)', '2026-07-28 09:33:58', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02805 -3.39101)'), GeomFromEWKT('SRID=4674;POINT (-39.028055 -3.391096)'))) / (select extract(epoch from '2026-07-28 09:33:58'::timestamp) - extract(epoch from '2026-07-28 09:33:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02805 -3.39101)'), GeomFromEWKT('SRID=4674;POINT (-39.028055 -3.391096)'))) / (select extract(epoch from '2026-07-28 09:33:58'::timestamp) - extract(epoch from '2026-07-28 09:33: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'), 47422, 'SRID=4674;POINT (-39.028064 -3.391198)', '2026-07-28 09:34:05', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028055 -3.391096)'), GeomFromEWKT('SRID=4674;POINT (-39.028064 -3.391198)'))) / (select extract(epoch from '2026-07-28 09:34:05'::timestamp) - extract(epoch from '2026-07-28 09:33:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028055 -3.391096)'), GeomFromEWKT('SRID=4674;POINT (-39.028064 -3.391198)'))) / (select extract(epoch from '2026-07-28 09:34:05'::timestamp) - extract(epoch from '2026-07-28 09: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'), 47422, 'SRID=4674;POINT (-39.02807 -3.391231)', '2026-07-28 09:34:07', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028064 -3.391198)'), GeomFromEWKT('SRID=4674;POINT (-39.02807 -3.391231)'))) / (select extract(epoch from '2026-07-28 09:34:07'::timestamp) - extract(epoch from '2026-07-28 09:34:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028064 -3.391198)'), GeomFromEWKT('SRID=4674;POINT (-39.02807 -3.391231)'))) / (select extract(epoch from '2026-07-28 09:34:07'::timestamp) - extract(epoch from '2026-07-28 09:34:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.028073 -3.391256)', '2026-07-28 09:34:09', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02807 -3.391231)'), GeomFromEWKT('SRID=4674;POINT (-39.028073 -3.391256)'))) / (select extract(epoch from '2026-07-28 09:34:09'::timestamp) - extract(epoch from '2026-07-28 09:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02807 -3.391231)'), GeomFromEWKT('SRID=4674;POINT (-39.028073 -3.391256)'))) / (select extract(epoch from '2026-07-28 09:34:09'::timestamp) - extract(epoch from '2026-07-28 09:34: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'), 47422, 'SRID=4674;POINT (-39.028081 -3.391271)', '2026-07-28 09:34:10', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028073 -3.391256)'), GeomFromEWKT('SRID=4674;POINT (-39.028081 -3.391271)'))) / (select extract(epoch from '2026-07-28 09:34:10'::timestamp) - extract(epoch from '2026-07-28 09:34:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028073 -3.391256)'), GeomFromEWKT('SRID=4674;POINT (-39.028081 -3.391271)'))) / (select extract(epoch from '2026-07-28 09:34:10'::timestamp) - extract(epoch from '2026-07-28 09:34:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.028092 -3.391337)', '2026-07-28 09:34:14', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028081 -3.391271)'), GeomFromEWKT('SRID=4674;POINT (-39.028092 -3.391337)'))) / (select extract(epoch from '2026-07-28 09:34:14'::timestamp) - extract(epoch from '2026-07-28 09:34:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028081 -3.391271)'), GeomFromEWKT('SRID=4674;POINT (-39.028092 -3.391337)'))) / (select extract(epoch from '2026-07-28 09:34:14'::timestamp) - extract(epoch from '2026-07-28 09:34:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.028091 -3.391369)', '2026-07-28 09:34:16', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028092 -3.391337)'), GeomFromEWKT('SRID=4674;POINT (-39.028091 -3.391369)'))) / (select extract(epoch from '2026-07-28 09:34:16'::timestamp) - extract(epoch from '2026-07-28 09:34:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028092 -3.391337)'), GeomFromEWKT('SRID=4674;POINT (-39.028091 -3.391369)'))) / (select extract(epoch from '2026-07-28 09:34:16'::timestamp) - extract(epoch from '2026-07-28 09:34: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'), 47422, 'SRID=4674;POINT (-39.028091 -3.391481)', '2026-07-28 09:34:23', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028091 -3.391369)'), GeomFromEWKT('SRID=4674;POINT (-39.028091 -3.391481)'))) / (select extract(epoch from '2026-07-28 09:34:23'::timestamp) - extract(epoch from '2026-07-28 09:34:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028091 -3.391369)'), GeomFromEWKT('SRID=4674;POINT (-39.028091 -3.391481)'))) / (select extract(epoch from '2026-07-28 09:34:23'::timestamp) - extract(epoch from '2026-07-28 09:34: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'), 47422, 'SRID=4674;POINT (-39.028084 -3.391568)', '2026-07-28 09:34:29', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028091 -3.391481)'), GeomFromEWKT('SRID=4674;POINT (-39.028084 -3.391568)'))) / (select extract(epoch from '2026-07-28 09:34:29'::timestamp) - extract(epoch from '2026-07-28 09:34:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028091 -3.391481)'), GeomFromEWKT('SRID=4674;POINT (-39.028084 -3.391568)'))) / (select extract(epoch from '2026-07-28 09:34:29'::timestamp) - extract(epoch from '2026-07-28 09:34:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.028069 -3.391653)', '2026-07-28 09:34:35', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028084 -3.391568)'), GeomFromEWKT('SRID=4674;POINT (-39.028069 -3.391653)'))) / (select extract(epoch from '2026-07-28 09:34:35'::timestamp) - extract(epoch from '2026-07-28 09:34:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028084 -3.391568)'), GeomFromEWKT('SRID=4674;POINT (-39.028069 -3.391653)'))) / (select extract(epoch from '2026-07-28 09:34:35'::timestamp) - extract(epoch from '2026-07-28 09:34:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.028049 -3.391751)', '2026-07-28 09:34:42', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028069 -3.391653)'), GeomFromEWKT('SRID=4674;POINT (-39.028049 -3.391751)'))) / (select extract(epoch from '2026-07-28 09:34:42'::timestamp) - extract(epoch from '2026-07-28 09:34:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028069 -3.391653)'), GeomFromEWKT('SRID=4674;POINT (-39.028049 -3.391751)'))) / (select extract(epoch from '2026-07-28 09:34:42'::timestamp) - extract(epoch from '2026-07-28 09:34: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'), 47422, 'SRID=4674;POINT (-39.028022 -3.391834)', '2026-07-28 09:34:48', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028049 -3.391751)'), GeomFromEWKT('SRID=4674;POINT (-39.028022 -3.391834)'))) / (select extract(epoch from '2026-07-28 09:34:48'::timestamp) - extract(epoch from '2026-07-28 09:34:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028049 -3.391751)'), GeomFromEWKT('SRID=4674;POINT (-39.028022 -3.391834)'))) / (select extract(epoch from '2026-07-28 09:34:48'::timestamp) - extract(epoch from '2026-07-28 09:34:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.028022 -3.391852)', '2026-07-28 09:34:49', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028022 -3.391834)'), GeomFromEWKT('SRID=4674;POINT (-39.028022 -3.391852)'))) / (select extract(epoch from '2026-07-28 09:34:49'::timestamp) - extract(epoch from '2026-07-28 09:34:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028022 -3.391834)'), GeomFromEWKT('SRID=4674;POINT (-39.028022 -3.391852)'))) / (select extract(epoch from '2026-07-28 09:34:49'::timestamp) - extract(epoch from '2026-07-28 09:34:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.028001 -3.391938)', '2026-07-28 09:34:55', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028022 -3.391852)'), GeomFromEWKT('SRID=4674;POINT (-39.028001 -3.391938)'))) / (select extract(epoch from '2026-07-28 09:34:55'::timestamp) - extract(epoch from '2026-07-28 09:34:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028022 -3.391852)'), GeomFromEWKT('SRID=4674;POINT (-39.028001 -3.391938)'))) / (select extract(epoch from '2026-07-28 09:34:55'::timestamp) - extract(epoch from '2026-07-28 09:34: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'), 47422, 'SRID=4674;POINT (-39.02798 -3.392037)', '2026-07-28 09:35:02', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028001 -3.391938)'), GeomFromEWKT('SRID=4674;POINT (-39.02798 -3.392037)'))) / (select extract(epoch from '2026-07-28 09:35:02'::timestamp) - extract(epoch from '2026-07-28 09:34:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028001 -3.391938)'), GeomFromEWKT('SRID=4674;POINT (-39.02798 -3.392037)'))) / (select extract(epoch from '2026-07-28 09:35:02'::timestamp) - extract(epoch from '2026-07-28 09:34: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'), 47422, 'SRID=4674;POINT (-39.027954 -3.392141)', '2026-07-28 09:35:09', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02798 -3.392037)'), GeomFromEWKT('SRID=4674;POINT (-39.027954 -3.392141)'))) / (select extract(epoch from '2026-07-28 09:35:09'::timestamp) - extract(epoch from '2026-07-28 09:35:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02798 -3.392037)'), GeomFromEWKT('SRID=4674;POINT (-39.027954 -3.392141)'))) / (select extract(epoch from '2026-07-28 09:35:09'::timestamp) - extract(epoch from '2026-07-28 09:35:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027936 -3.392246)', '2026-07-28 09:35:16', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027954 -3.392141)'), GeomFromEWKT('SRID=4674;POINT (-39.027936 -3.392246)'))) / (select extract(epoch from '2026-07-28 09:35:16'::timestamp) - extract(epoch from '2026-07-28 09:35:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027954 -3.392141)'), GeomFromEWKT('SRID=4674;POINT (-39.027936 -3.392246)'))) / (select extract(epoch from '2026-07-28 09:35:16'::timestamp) - extract(epoch from '2026-07-28 09:35:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027926 -3.39235)', '2026-07-28 09:35:23', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027936 -3.392246)'), GeomFromEWKT('SRID=4674;POINT (-39.027926 -3.39235)'))) / (select extract(epoch from '2026-07-28 09:35:23'::timestamp) - extract(epoch from '2026-07-28 09:35:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027936 -3.392246)'), GeomFromEWKT('SRID=4674;POINT (-39.027926 -3.39235)'))) / (select extract(epoch from '2026-07-28 09:35:23'::timestamp) - extract(epoch from '2026-07-28 09:35:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027918 -3.392376)', '2026-07-28 09:35:25', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027926 -3.39235)'), GeomFromEWKT('SRID=4674;POINT (-39.027918 -3.392376)'))) / (select extract(epoch from '2026-07-28 09:35:25'::timestamp) - extract(epoch from '2026-07-28 09:35:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027926 -3.39235)'), GeomFromEWKT('SRID=4674;POINT (-39.027918 -3.392376)'))) / (select extract(epoch from '2026-07-28 09:35:25'::timestamp) - extract(epoch from '2026-07-28 09:35:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027909 -3.392438)', '2026-07-28 09:35:29', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027918 -3.392376)'), GeomFromEWKT('SRID=4674;POINT (-39.027909 -3.392438)'))) / (select extract(epoch from '2026-07-28 09:35:29'::timestamp) - extract(epoch from '2026-07-28 09:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027918 -3.392376)'), GeomFromEWKT('SRID=4674;POINT (-39.027909 -3.392438)'))) / (select extract(epoch from '2026-07-28 09:35:29'::timestamp) - extract(epoch from '2026-07-28 09:35: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'), 47422, 'SRID=4674;POINT (-39.027889 -3.392551)', '2026-07-28 09:35:37', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027909 -3.392438)'), GeomFromEWKT('SRID=4674;POINT (-39.027889 -3.392551)'))) / (select extract(epoch from '2026-07-28 09:35:37'::timestamp) - extract(epoch from '2026-07-28 09:35:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027909 -3.392438)'), GeomFromEWKT('SRID=4674;POINT (-39.027889 -3.392551)'))) / (select extract(epoch from '2026-07-28 09:35:37'::timestamp) - extract(epoch from '2026-07-28 09:35:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027871 -3.392671)', '2026-07-28 09:35:45', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027889 -3.392551)'), GeomFromEWKT('SRID=4674;POINT (-39.027871 -3.392671)'))) / (select extract(epoch from '2026-07-28 09:35:45'::timestamp) - extract(epoch from '2026-07-28 09:35:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027889 -3.392551)'), GeomFromEWKT('SRID=4674;POINT (-39.027871 -3.392671)'))) / (select extract(epoch from '2026-07-28 09:35:45'::timestamp) - extract(epoch from '2026-07-28 09:35:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027863 -3.392697)', '2026-07-28 09:35:47', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027871 -3.392671)'), GeomFromEWKT('SRID=4674;POINT (-39.027863 -3.392697)'))) / (select extract(epoch from '2026-07-28 09:35:47'::timestamp) - extract(epoch from '2026-07-28 09:35:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027871 -3.392671)'), GeomFromEWKT('SRID=4674;POINT (-39.027863 -3.392697)'))) / (select extract(epoch from '2026-07-28 09:35:47'::timestamp) - extract(epoch from '2026-07-28 09:35:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027864 -3.392759)', '2026-07-28 09:35:51', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027863 -3.392697)'), GeomFromEWKT('SRID=4674;POINT (-39.027864 -3.392759)'))) / (select extract(epoch from '2026-07-28 09:35:51'::timestamp) - extract(epoch from '2026-07-28 09:35:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027863 -3.392697)'), GeomFromEWKT('SRID=4674;POINT (-39.027864 -3.392759)'))) / (select extract(epoch from '2026-07-28 09:35:51'::timestamp) - extract(epoch from '2026-07-28 09: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'), 47422, 'SRID=4674;POINT (-39.027857 -3.392881)', '2026-07-28 09:35:59', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027864 -3.392759)'), GeomFromEWKT('SRID=4674;POINT (-39.027857 -3.392881)'))) / (select extract(epoch from '2026-07-28 09:35:59'::timestamp) - extract(epoch from '2026-07-28 09:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027864 -3.392759)'), GeomFromEWKT('SRID=4674;POINT (-39.027857 -3.392881)'))) / (select extract(epoch from '2026-07-28 09:35:59'::timestamp) - extract(epoch from '2026-07-28 09:35:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027851 -3.392985)', '2026-07-28 09:36:06', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027857 -3.392881)'), GeomFromEWKT('SRID=4674;POINT (-39.027851 -3.392985)'))) / (select extract(epoch from '2026-07-28 09:36:06'::timestamp) - extract(epoch from '2026-07-28 09:35:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027857 -3.392881)'), GeomFromEWKT('SRID=4674;POINT (-39.027851 -3.392985)'))) / (select extract(epoch from '2026-07-28 09:36:06'::timestamp) - extract(epoch from '2026-07-28 09:35:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027837 -3.393108)', '2026-07-28 09:36:14', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027851 -3.392985)'), GeomFromEWKT('SRID=4674;POINT (-39.027837 -3.393108)'))) / (select extract(epoch from '2026-07-28 09:36:14'::timestamp) - extract(epoch from '2026-07-28 09:36:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027851 -3.392985)'), GeomFromEWKT('SRID=4674;POINT (-39.027837 -3.393108)'))) / (select extract(epoch from '2026-07-28 09:36:14'::timestamp) - extract(epoch from '2026-07-28 09:36: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'), 47422, 'SRID=4674;POINT (-39.027833 -3.393197)', '2026-07-28 09:36:20', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027837 -3.393108)'), GeomFromEWKT('SRID=4674;POINT (-39.027833 -3.393197)'))) / (select extract(epoch from '2026-07-28 09:36:20'::timestamp) - extract(epoch from '2026-07-28 09:36:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027837 -3.393108)'), GeomFromEWKT('SRID=4674;POINT (-39.027833 -3.393197)'))) / (select extract(epoch from '2026-07-28 09:36:20'::timestamp) - extract(epoch from '2026-07-28 09:36: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'), 47422, 'SRID=4674;POINT (-39.027817 -3.39331)', '2026-07-28 09:36:28', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027833 -3.393197)'), GeomFromEWKT('SRID=4674;POINT (-39.027817 -3.39331)'))) / (select extract(epoch from '2026-07-28 09:36:28'::timestamp) - extract(epoch from '2026-07-28 09:36:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027833 -3.393197)'), GeomFromEWKT('SRID=4674;POINT (-39.027817 -3.39331)'))) / (select extract(epoch from '2026-07-28 09:36:28'::timestamp) - extract(epoch from '2026-07-28 09:36:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027802 -3.393395)', '2026-07-28 09:36:34', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027817 -3.39331)'), GeomFromEWKT('SRID=4674;POINT (-39.027802 -3.393395)'))) / (select extract(epoch from '2026-07-28 09:36:34'::timestamp) - extract(epoch from '2026-07-28 09:36:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027817 -3.39331)'), GeomFromEWKT('SRID=4674;POINT (-39.027802 -3.393395)'))) / (select extract(epoch from '2026-07-28 09:36:34'::timestamp) - extract(epoch from '2026-07-28 09:36: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'), 47422, 'SRID=4674;POINT (-39.027796 -3.393456)', '2026-07-28 09:36:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027802 -3.393395)'), GeomFromEWKT('SRID=4674;POINT (-39.027796 -3.393456)'))) / (select extract(epoch from '2026-07-28 09:36:38'::timestamp) - extract(epoch from '2026-07-28 09:36:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027802 -3.393395)'), GeomFromEWKT('SRID=4674;POINT (-39.027796 -3.393456)'))) / (select extract(epoch from '2026-07-28 09:36:38'::timestamp) - extract(epoch from '2026-07-28 09: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'), 47422, 'SRID=4674;POINT (-39.027789 -3.393484)', '2026-07-28 09:36:40', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027796 -3.393456)'), GeomFromEWKT('SRID=4674;POINT (-39.027789 -3.393484)'))) / (select extract(epoch from '2026-07-28 09:36:40'::timestamp) - extract(epoch from '2026-07-28 09:36:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027796 -3.393456)'), GeomFromEWKT('SRID=4674;POINT (-39.027789 -3.393484)'))) / (select extract(epoch from '2026-07-28 09:36:40'::timestamp) - extract(epoch from '2026-07-28 09: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'), 47422, 'SRID=4674;POINT (-39.02779 -3.39353)', '2026-07-28 09:36:43', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027789 -3.393484)'), GeomFromEWKT('SRID=4674;POINT (-39.02779 -3.39353)'))) / (select extract(epoch from '2026-07-28 09:36:43'::timestamp) - extract(epoch from '2026-07-28 09:36:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027789 -3.393484)'), GeomFromEWKT('SRID=4674;POINT (-39.02779 -3.39353)'))) / (select extract(epoch from '2026-07-28 09:36:43'::timestamp) - extract(epoch from '2026-07-28 09:36:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027775 -3.393567)', '2026-07-28 09:36:46', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02779 -3.39353)'), GeomFromEWKT('SRID=4674;POINT (-39.027775 -3.393567)'))) / (select extract(epoch from '2026-07-28 09:36:46'::timestamp) - extract(epoch from '2026-07-28 09:36:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02779 -3.39353)'), GeomFromEWKT('SRID=4674;POINT (-39.027775 -3.393567)'))) / (select extract(epoch from '2026-07-28 09:36:46'::timestamp) - extract(epoch from '2026-07-28 09: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'), 47422, 'SRID=4674;POINT (-39.027745 -3.393688)', '2026-07-28 09:36:54', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027775 -3.393567)'), GeomFromEWKT('SRID=4674;POINT (-39.027745 -3.393688)'))) / (select extract(epoch from '2026-07-28 09:36:54'::timestamp) - extract(epoch from '2026-07-28 09:36:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027775 -3.393567)'), GeomFromEWKT('SRID=4674;POINT (-39.027745 -3.393688)'))) / (select extract(epoch from '2026-07-28 09:36:54'::timestamp) - extract(epoch from '2026-07-28 09:36: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'), 47422, 'SRID=4674;POINT (-39.027715 -3.393822)', '2026-07-28 09:37:03', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027745 -3.393688)'), GeomFromEWKT('SRID=4674;POINT (-39.027715 -3.393822)'))) / (select extract(epoch from '2026-07-28 09:37:03'::timestamp) - extract(epoch from '2026-07-28 09:36:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027745 -3.393688)'), GeomFromEWKT('SRID=4674;POINT (-39.027715 -3.393822)'))) / (select extract(epoch from '2026-07-28 09:37:03'::timestamp) - extract(epoch from '2026-07-28 09:36:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027707 -3.393846)', '2026-07-28 09:37:05', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027715 -3.393822)'), GeomFromEWKT('SRID=4674;POINT (-39.027707 -3.393846)'))) / (select extract(epoch from '2026-07-28 09:37:05'::timestamp) - extract(epoch from '2026-07-28 09:37:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027715 -3.393822)'), GeomFromEWKT('SRID=4674;POINT (-39.027707 -3.393846)'))) / (select extract(epoch from '2026-07-28 09:37:05'::timestamp) - extract(epoch from '2026-07-28 09:37:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027714 -3.393891)', '2026-07-28 09:37:08', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027707 -3.393846)'), GeomFromEWKT('SRID=4674;POINT (-39.027714 -3.393891)'))) / (select extract(epoch from '2026-07-28 09:37:08'::timestamp) - extract(epoch from '2026-07-28 09:37:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027707 -3.393846)'), GeomFromEWKT('SRID=4674;POINT (-39.027714 -3.393891)'))) / (select extract(epoch from '2026-07-28 09:37:08'::timestamp) - extract(epoch from '2026-07-28 09: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'), 47422, 'SRID=4674;POINT (-39.027696 -3.394005)', '2026-07-28 09:37:16', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027714 -3.393891)'), GeomFromEWKT('SRID=4674;POINT (-39.027696 -3.394005)'))) / (select extract(epoch from '2026-07-28 09:37:16'::timestamp) - extract(epoch from '2026-07-28 09:37:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027714 -3.393891)'), GeomFromEWKT('SRID=4674;POINT (-39.027696 -3.394005)'))) / (select extract(epoch from '2026-07-28 09:37:16'::timestamp) - extract(epoch from '2026-07-28 09:37:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.02768 -3.394118)', '2026-07-28 09:37:24', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027696 -3.394005)'), GeomFromEWKT('SRID=4674;POINT (-39.02768 -3.394118)'))) / (select extract(epoch from '2026-07-28 09:37:24'::timestamp) - extract(epoch from '2026-07-28 09:37:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027696 -3.394005)'), GeomFromEWKT('SRID=4674;POINT (-39.02768 -3.394118)'))) / (select extract(epoch from '2026-07-28 09:37:24'::timestamp) - extract(epoch from '2026-07-28 09:37: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'), 47422, 'SRID=4674;POINT (-39.027667 -3.394199)', '2026-07-28 09:37:30', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02768 -3.394118)'), GeomFromEWKT('SRID=4674;POINT (-39.027667 -3.394199)'))) / (select extract(epoch from '2026-07-28 09:37:30'::timestamp) - extract(epoch from '2026-07-28 09:37:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02768 -3.394118)'), GeomFromEWKT('SRID=4674;POINT (-39.027667 -3.394199)'))) / (select extract(epoch from '2026-07-28 09:37:30'::timestamp) - extract(epoch from '2026-07-28 09:37: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'), 47422, 'SRID=4674;POINT (-39.027661 -3.394231)', '2026-07-28 09:37:32', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027667 -3.394199)'), GeomFromEWKT('SRID=4674;POINT (-39.027661 -3.394231)'))) / (select extract(epoch from '2026-07-28 09:37:32'::timestamp) - extract(epoch from '2026-07-28 09:37:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027667 -3.394199)'), GeomFromEWKT('SRID=4674;POINT (-39.027661 -3.394231)'))) / (select extract(epoch from '2026-07-28 09:37:32'::timestamp) - extract(epoch from '2026-07-28 09: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'), 47422, 'SRID=4674;POINT (-39.027656 -3.394273)', '2026-07-28 09:37:35', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027661 -3.394231)'), GeomFromEWKT('SRID=4674;POINT (-39.027656 -3.394273)'))) / (select extract(epoch from '2026-07-28 09:37:35'::timestamp) - extract(epoch from '2026-07-28 09:37:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027661 -3.394231)'), GeomFromEWKT('SRID=4674;POINT (-39.027656 -3.394273)'))) / (select extract(epoch from '2026-07-28 09:37:35'::timestamp) - extract(epoch from '2026-07-28 09:37:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027624 -3.39439)', '2026-07-28 09:37:43', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027656 -3.394273)'), GeomFromEWKT('SRID=4674;POINT (-39.027624 -3.39439)'))) / (select extract(epoch from '2026-07-28 09:37:43'::timestamp) - extract(epoch from '2026-07-28 09:37:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027656 -3.394273)'), GeomFromEWKT('SRID=4674;POINT (-39.027624 -3.39439)'))) / (select extract(epoch from '2026-07-28 09:37:43'::timestamp) - extract(epoch from '2026-07-28 09:37:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027605 -3.394492)', '2026-07-28 09:37:50', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027624 -3.39439)'), GeomFromEWKT('SRID=4674;POINT (-39.027605 -3.394492)'))) / (select extract(epoch from '2026-07-28 09:37:50'::timestamp) - extract(epoch from '2026-07-28 09:37:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027624 -3.39439)'), GeomFromEWKT('SRID=4674;POINT (-39.027605 -3.394492)'))) / (select extract(epoch from '2026-07-28 09:37:50'::timestamp) - extract(epoch from '2026-07-28 09:37:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027587 -3.394606)', '2026-07-28 09:37:58', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027605 -3.394492)'), GeomFromEWKT('SRID=4674;POINT (-39.027587 -3.394606)'))) / (select extract(epoch from '2026-07-28 09:37:58'::timestamp) - extract(epoch from '2026-07-28 09:37:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027605 -3.394492)'), GeomFromEWKT('SRID=4674;POINT (-39.027587 -3.394606)'))) / (select extract(epoch from '2026-07-28 09:37:58'::timestamp) - extract(epoch from '2026-07-28 09:37:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027569 -3.394706)', '2026-07-28 09:38:05', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027587 -3.394606)'), GeomFromEWKT('SRID=4674;POINT (-39.027569 -3.394706)'))) / (select extract(epoch from '2026-07-28 09:38:05'::timestamp) - extract(epoch from '2026-07-28 09:37:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027587 -3.394606)'), GeomFromEWKT('SRID=4674;POINT (-39.027569 -3.394706)'))) / (select extract(epoch from '2026-07-28 09:38:05'::timestamp) - extract(epoch from '2026-07-28 09:37: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'), 47422, 'SRID=4674;POINT (-39.027564 -3.394737)', '2026-07-28 09:38:07', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027569 -3.394706)'), GeomFromEWKT('SRID=4674;POINT (-39.027564 -3.394737)'))) / (select extract(epoch from '2026-07-28 09:38:07'::timestamp) - extract(epoch from '2026-07-28 09:38:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027569 -3.394706)'), GeomFromEWKT('SRID=4674;POINT (-39.027564 -3.394737)'))) / (select extract(epoch from '2026-07-28 09:38:07'::timestamp) - extract(epoch from '2026-07-28 09:38:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027557 -3.39478)', '2026-07-28 09:38:10', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027564 -3.394737)'), GeomFromEWKT('SRID=4674;POINT (-39.027557 -3.39478)'))) / (select extract(epoch from '2026-07-28 09:38:10'::timestamp) - extract(epoch from '2026-07-28 09:38:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027564 -3.394737)'), GeomFromEWKT('SRID=4674;POINT (-39.027557 -3.39478)'))) / (select extract(epoch from '2026-07-28 09:38:10'::timestamp) - extract(epoch from '2026-07-28 09:38: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'), 47422, 'SRID=4674;POINT (-39.027544 -3.394869)', '2026-07-28 09:38:16', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027557 -3.39478)'), GeomFromEWKT('SRID=4674;POINT (-39.027544 -3.394869)'))) / (select extract(epoch from '2026-07-28 09:38:16'::timestamp) - extract(epoch from '2026-07-28 09:38:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027557 -3.39478)'), GeomFromEWKT('SRID=4674;POINT (-39.027544 -3.394869)'))) / (select extract(epoch from '2026-07-28 09:38:16'::timestamp) - extract(epoch from '2026-07-28 09: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'), 47422, 'SRID=4674;POINT (-39.027522 -3.394974)', '2026-07-28 09:38:23', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027544 -3.394869)'), GeomFromEWKT('SRID=4674;POINT (-39.027522 -3.394974)'))) / (select extract(epoch from '2026-07-28 09:38:23'::timestamp) - extract(epoch from '2026-07-28 09:38:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027544 -3.394869)'), GeomFromEWKT('SRID=4674;POINT (-39.027522 -3.394974)'))) / (select extract(epoch from '2026-07-28 09:38:23'::timestamp) - extract(epoch from '2026-07-28 09:38: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'), 47422, 'SRID=4674;POINT (-39.027501 -3.395079)', '2026-07-28 09:38:30', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027522 -3.394974)'), GeomFromEWKT('SRID=4674;POINT (-39.027501 -3.395079)'))) / (select extract(epoch from '2026-07-28 09:38:30'::timestamp) - extract(epoch from '2026-07-28 09:38:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027522 -3.394974)'), GeomFromEWKT('SRID=4674;POINT (-39.027501 -3.395079)'))) / (select extract(epoch from '2026-07-28 09:38:30'::timestamp) - extract(epoch from '2026-07-28 09:38: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'), 47422, 'SRID=4674;POINT (-39.02749 -3.395121)', '2026-07-28 09:38:33', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027501 -3.395079)'), GeomFromEWKT('SRID=4674;POINT (-39.02749 -3.395121)'))) / (select extract(epoch from '2026-07-28 09:38:33'::timestamp) - extract(epoch from '2026-07-28 09:38:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027501 -3.395079)'), GeomFromEWKT('SRID=4674;POINT (-39.02749 -3.395121)'))) / (select extract(epoch from '2026-07-28 09:38:33'::timestamp) - extract(epoch from '2026-07-28 09:38: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'), 47422, 'SRID=4674;POINT (-39.027483 -3.395167)', '2026-07-28 09:38:36', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02749 -3.395121)'), GeomFromEWKT('SRID=4674;POINT (-39.027483 -3.395167)'))) / (select extract(epoch from '2026-07-28 09:38:36'::timestamp) - extract(epoch from '2026-07-28 09:38:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02749 -3.395121)'), GeomFromEWKT('SRID=4674;POINT (-39.027483 -3.395167)'))) / (select extract(epoch from '2026-07-28 09:38:36'::timestamp) - extract(epoch from '2026-07-28 09:38:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027457 -3.395282)', '2026-07-28 09:38:44', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027483 -3.395167)'), GeomFromEWKT('SRID=4674;POINT (-39.027457 -3.395282)'))) / (select extract(epoch from '2026-07-28 09:38:44'::timestamp) - extract(epoch from '2026-07-28 09:38:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027483 -3.395167)'), GeomFromEWKT('SRID=4674;POINT (-39.027457 -3.395282)'))) / (select extract(epoch from '2026-07-28 09:38:44'::timestamp) - extract(epoch from '2026-07-28 09:38:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027433 -3.3954)', '2026-07-28 09:38:52', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027457 -3.395282)'), GeomFromEWKT('SRID=4674;POINT (-39.027433 -3.3954)'))) / (select extract(epoch from '2026-07-28 09:38:52'::timestamp) - extract(epoch from '2026-07-28 09:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027457 -3.395282)'), GeomFromEWKT('SRID=4674;POINT (-39.027433 -3.3954)'))) / (select extract(epoch from '2026-07-28 09:38:52'::timestamp) - extract(epoch from '2026-07-28 09:38:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027408 -3.395503)', '2026-07-28 09:38:59', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027433 -3.3954)'), GeomFromEWKT('SRID=4674;POINT (-39.027408 -3.395503)'))) / (select extract(epoch from '2026-07-28 09:38:59'::timestamp) - extract(epoch from '2026-07-28 09:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027433 -3.3954)'), GeomFromEWKT('SRID=4674;POINT (-39.027408 -3.395503)'))) / (select extract(epoch from '2026-07-28 09:38:59'::timestamp) - extract(epoch from '2026-07-28 09:38:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027381 -3.395631)', '2026-07-28 09:39:08', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027408 -3.395503)'), GeomFromEWKT('SRID=4674;POINT (-39.027381 -3.395631)'))) / (select extract(epoch from '2026-07-28 09:39:08'::timestamp) - extract(epoch from '2026-07-28 09:38:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027408 -3.395503)'), GeomFromEWKT('SRID=4674;POINT (-39.027381 -3.395631)'))) / (select extract(epoch from '2026-07-28 09:39:08'::timestamp) - extract(epoch from '2026-07-28 09:38:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027358 -3.395744)', '2026-07-28 09:39:16', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027381 -3.395631)'), GeomFromEWKT('SRID=4674;POINT (-39.027358 -3.395744)'))) / (select extract(epoch from '2026-07-28 09:39:16'::timestamp) - extract(epoch from '2026-07-28 09:39:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027381 -3.395631)'), GeomFromEWKT('SRID=4674;POINT (-39.027358 -3.395744)'))) / (select extract(epoch from '2026-07-28 09:39:16'::timestamp) - extract(epoch from '2026-07-28 09: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'), 47422, 'SRID=4674;POINT (-39.027348 -3.395835)', '2026-07-28 09:39:23', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027358 -3.395744)'), GeomFromEWKT('SRID=4674;POINT (-39.027348 -3.395835)'))) / (select extract(epoch from '2026-07-28 09:39:23'::timestamp) - extract(epoch from '2026-07-28 09:39:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027358 -3.395744)'), GeomFromEWKT('SRID=4674;POINT (-39.027348 -3.395835)'))) / (select extract(epoch from '2026-07-28 09:39:23'::timestamp) - extract(epoch from '2026-07-28 09:39:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027331 -3.39594)', '2026-07-28 09:39:30', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027348 -3.395835)'), GeomFromEWKT('SRID=4674;POINT (-39.027331 -3.39594)'))) / (select extract(epoch from '2026-07-28 09:39:30'::timestamp) - extract(epoch from '2026-07-28 09:39:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027348 -3.395835)'), GeomFromEWKT('SRID=4674;POINT (-39.027331 -3.39594)'))) / (select extract(epoch from '2026-07-28 09:39:30'::timestamp) - extract(epoch from '2026-07-28 09:39:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027316 -3.396012)', '2026-07-28 09:39:35', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027331 -3.39594)'), GeomFromEWKT('SRID=4674;POINT (-39.027316 -3.396012)'))) / (select extract(epoch from '2026-07-28 09:39:35'::timestamp) - extract(epoch from '2026-07-28 09:39:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027331 -3.39594)'), GeomFromEWKT('SRID=4674;POINT (-39.027316 -3.396012)'))) / (select extract(epoch from '2026-07-28 09:39:35'::timestamp) - extract(epoch from '2026-07-28 09:39:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.0273 -3.396102)', '2026-07-28 09:39:41', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027316 -3.396012)'), GeomFromEWKT('SRID=4674;POINT (-39.0273 -3.396102)'))) / (select extract(epoch from '2026-07-28 09:39:41'::timestamp) - extract(epoch from '2026-07-28 09:39:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027316 -3.396012)'), GeomFromEWKT('SRID=4674;POINT (-39.0273 -3.396102)'))) / (select extract(epoch from '2026-07-28 09:39:41'::timestamp) - extract(epoch from '2026-07-28 09:39:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027275 -3.396214)', '2026-07-28 09:39:49', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0273 -3.396102)'), GeomFromEWKT('SRID=4674;POINT (-39.027275 -3.396214)'))) / (select extract(epoch from '2026-07-28 09:39:49'::timestamp) - extract(epoch from '2026-07-28 09:39:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0273 -3.396102)'), GeomFromEWKT('SRID=4674;POINT (-39.027275 -3.396214)'))) / (select extract(epoch from '2026-07-28 09:39:49'::timestamp) - extract(epoch from '2026-07-28 09: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'), 47422, 'SRID=4674;POINT (-39.027253 -3.396318)', '2026-07-28 09:39:56', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027275 -3.396214)'), GeomFromEWKT('SRID=4674;POINT (-39.027253 -3.396318)'))) / (select extract(epoch from '2026-07-28 09:39:56'::timestamp) - extract(epoch from '2026-07-28 09:39:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027275 -3.396214)'), GeomFromEWKT('SRID=4674;POINT (-39.027253 -3.396318)'))) / (select extract(epoch from '2026-07-28 09:39:56'::timestamp) - extract(epoch from '2026-07-28 09: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'), 47422, 'SRID=4674;POINT (-39.027263 -3.396394)', '2026-07-28 09:40:02', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027253 -3.396318)'), GeomFromEWKT('SRID=4674;POINT (-39.027263 -3.396394)'))) / (select extract(epoch from '2026-07-28 09:40:02'::timestamp) - extract(epoch from '2026-07-28 09:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027253 -3.396318)'), GeomFromEWKT('SRID=4674;POINT (-39.027263 -3.396394)'))) / (select extract(epoch from '2026-07-28 09:40:02'::timestamp) - extract(epoch from '2026-07-28 09:39:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
