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'), 47828, 'SRID=4674;POINT (-40.363713 -2.74837)', '2026-07-06 07:54:20', 61.2, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363763 -2.748356)', '2026-07-06 07:54:25', 42, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363713 -2.74837)'), GeomFromEWKT('SRID=4674;POINT (-40.363763 -2.748356)'))) / (select extract(epoch from '2026-07-06 07:54:25'::timestamp) - extract(epoch from '2026-07-06 07:54:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363713 -2.74837)'), GeomFromEWKT('SRID=4674;POINT (-40.363763 -2.748356)'))) / (select extract(epoch from '2026-07-06 07:54:25'::timestamp) - extract(epoch from '2026-07-06 07:54:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363734 -2.748383)', '2026-07-06 07:54:28', 37, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363763 -2.748356)'), GeomFromEWKT('SRID=4674;POINT (-40.363734 -2.748383)'))) / (select extract(epoch from '2026-07-06 07:54:28'::timestamp) - extract(epoch from '2026-07-06 07:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363763 -2.748356)'), GeomFromEWKT('SRID=4674;POINT (-40.363734 -2.748383)'))) / (select extract(epoch from '2026-07-06 07:54:28'::timestamp) - extract(epoch from '2026-07-06 07:54:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.36371 -2.748386)', '2026-07-06 07:54:31', 35, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363734 -2.748383)'), GeomFromEWKT('SRID=4674;POINT (-40.36371 -2.748386)'))) / (select extract(epoch from '2026-07-06 07:54:31'::timestamp) - extract(epoch from '2026-07-06 07:54:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363734 -2.748383)'), GeomFromEWKT('SRID=4674;POINT (-40.36371 -2.748386)'))) / (select extract(epoch from '2026-07-06 07:54:31'::timestamp) - extract(epoch from '2026-07-06 07:54:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363628 -2.74843)', '2026-07-06 07:54:38', 29.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36371 -2.748386)'), GeomFromEWKT('SRID=4674;POINT (-40.363628 -2.74843)'))) / (select extract(epoch from '2026-07-06 07:54:38'::timestamp) - extract(epoch from '2026-07-06 07:54:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36371 -2.748386)'), GeomFromEWKT('SRID=4674;POINT (-40.363628 -2.74843)'))) / (select extract(epoch from '2026-07-06 07:54:38'::timestamp) - extract(epoch from '2026-07-06 07:54:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363621 -2.748434)', '2026-07-06 07:54:39', 28, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363628 -2.74843)'), GeomFromEWKT('SRID=4674;POINT (-40.363621 -2.748434)'))) / (select extract(epoch from '2026-07-06 07:54:39'::timestamp) - extract(epoch from '2026-07-06 07:54:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363628 -2.74843)'), GeomFromEWKT('SRID=4674;POINT (-40.363621 -2.748434)'))) / (select extract(epoch from '2026-07-06 07:54:39'::timestamp) - extract(epoch from '2026-07-06 07:54:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363609 -2.748433)', '2026-07-06 07:54:44', 26.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363621 -2.748434)'), GeomFromEWKT('SRID=4674;POINT (-40.363609 -2.748433)'))) / (select extract(epoch from '2026-07-06 07:54:44'::timestamp) - extract(epoch from '2026-07-06 07:54:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363621 -2.748434)'), GeomFromEWKT('SRID=4674;POINT (-40.363609 -2.748433)'))) / (select extract(epoch from '2026-07-06 07:54:44'::timestamp) - extract(epoch from '2026-07-06 07:54:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363596 -2.748419)', '2026-07-06 07:54:49', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363609 -2.748433)'), GeomFromEWKT('SRID=4674;POINT (-40.363596 -2.748419)'))) / (select extract(epoch from '2026-07-06 07:54:49'::timestamp) - extract(epoch from '2026-07-06 07:54:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363609 -2.748433)'), GeomFromEWKT('SRID=4674;POINT (-40.363596 -2.748419)'))) / (select extract(epoch from '2026-07-06 07:54:49'::timestamp) - extract(epoch from '2026-07-06 07:54: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'), 47828, 'SRID=4674;POINT (-40.363586 -2.748412)', '2026-07-06 07:54:51', 23.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363596 -2.748419)'), GeomFromEWKT('SRID=4674;POINT (-40.363586 -2.748412)'))) / (select extract(epoch from '2026-07-06 07:54:51'::timestamp) - extract(epoch from '2026-07-06 07:54:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363596 -2.748419)'), GeomFromEWKT('SRID=4674;POINT (-40.363586 -2.748412)'))) / (select extract(epoch from '2026-07-06 07:54:51'::timestamp) - extract(epoch from '2026-07-06 07:54: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'), 47828, 'SRID=4674;POINT (-40.363567 -2.748392)', '2026-07-06 07:54:55', 22.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363586 -2.748412)'), GeomFromEWKT('SRID=4674;POINT (-40.363567 -2.748392)'))) / (select extract(epoch from '2026-07-06 07:54:55'::timestamp) - extract(epoch from '2026-07-06 07:54:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363586 -2.748412)'), GeomFromEWKT('SRID=4674;POINT (-40.363567 -2.748392)'))) / (select extract(epoch from '2026-07-06 07:54:55'::timestamp) - extract(epoch from '2026-07-06 07:54: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'), 47828, 'SRID=4674;POINT (-40.363528 -2.748353)', '2026-07-06 07:55:02', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363567 -2.748392)'), GeomFromEWKT('SRID=4674;POINT (-40.363528 -2.748353)'))) / (select extract(epoch from '2026-07-06 07:55:02'::timestamp) - extract(epoch from '2026-07-06 07:54:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363567 -2.748392)'), GeomFromEWKT('SRID=4674;POINT (-40.363528 -2.748353)'))) / (select extract(epoch from '2026-07-06 07:55:02'::timestamp) - extract(epoch from '2026-07-06 07:54:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363493 -2.748328)', '2026-07-06 07:55:09', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363528 -2.748353)'), GeomFromEWKT('SRID=4674;POINT (-40.363493 -2.748328)'))) / (select extract(epoch from '2026-07-06 07:55:09'::timestamp) - extract(epoch from '2026-07-06 07:55:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363528 -2.748353)'), GeomFromEWKT('SRID=4674;POINT (-40.363493 -2.748328)'))) / (select extract(epoch from '2026-07-06 07:55:09'::timestamp) - extract(epoch from '2026-07-06 07:55: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'), 47828, 'SRID=4674;POINT (-40.36343 -2.748305)', '2026-07-06 07:55:17', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363493 -2.748328)'), GeomFromEWKT('SRID=4674;POINT (-40.36343 -2.748305)'))) / (select extract(epoch from '2026-07-06 07:55:17'::timestamp) - extract(epoch from '2026-07-06 07:55:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363493 -2.748328)'), GeomFromEWKT('SRID=4674;POINT (-40.36343 -2.748305)'))) / (select extract(epoch from '2026-07-06 07:55:17'::timestamp) - extract(epoch from '2026-07-06 07:55: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'), 47828, 'SRID=4674;POINT (-40.363385 -2.748303)', '2026-07-06 07:55:23', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36343 -2.748305)'), GeomFromEWKT('SRID=4674;POINT (-40.363385 -2.748303)'))) / (select extract(epoch from '2026-07-06 07:55:23'::timestamp) - extract(epoch from '2026-07-06 07:55:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36343 -2.748305)'), GeomFromEWKT('SRID=4674;POINT (-40.363385 -2.748303)'))) / (select extract(epoch from '2026-07-06 07:55:23'::timestamp) - extract(epoch from '2026-07-06 07: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'), 47828, 'SRID=4674;POINT (-40.363306 -2.748308)', '2026-07-06 07:55:32', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363385 -2.748303)'), GeomFromEWKT('SRID=4674;POINT (-40.363306 -2.748308)'))) / (select extract(epoch from '2026-07-06 07:55:32'::timestamp) - extract(epoch from '2026-07-06 07:55:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363385 -2.748303)'), GeomFromEWKT('SRID=4674;POINT (-40.363306 -2.748308)'))) / (select extract(epoch from '2026-07-06 07:55:32'::timestamp) - extract(epoch from '2026-07-06 07:55: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'), 47828, 'SRID=4674;POINT (-40.363266 -2.748319)', '2026-07-06 07:55:37', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363306 -2.748308)'), GeomFromEWKT('SRID=4674;POINT (-40.363266 -2.748319)'))) / (select extract(epoch from '2026-07-06 07:55:37'::timestamp) - extract(epoch from '2026-07-06 07:55:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363306 -2.748308)'), GeomFromEWKT('SRID=4674;POINT (-40.363266 -2.748319)'))) / (select extract(epoch from '2026-07-06 07:55:37'::timestamp) - extract(epoch from '2026-07-06 07:55: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'), 47828, 'SRID=4674;POINT (-40.363249 -2.748321)', '2026-07-06 07:55:39', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363266 -2.748319)'), GeomFromEWKT('SRID=4674;POINT (-40.363249 -2.748321)'))) / (select extract(epoch from '2026-07-06 07:55:39'::timestamp) - extract(epoch from '2026-07-06 07:55:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363266 -2.748319)'), GeomFromEWKT('SRID=4674;POINT (-40.363249 -2.748321)'))) / (select extract(epoch from '2026-07-06 07:55:39'::timestamp) - extract(epoch from '2026-07-06 07:55:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363233 -2.748323)', '2026-07-06 07:55:41', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363249 -2.748321)'), GeomFromEWKT('SRID=4674;POINT (-40.363233 -2.748323)'))) / (select extract(epoch from '2026-07-06 07:55:41'::timestamp) - extract(epoch from '2026-07-06 07:55:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363249 -2.748321)'), GeomFromEWKT('SRID=4674;POINT (-40.363233 -2.748323)'))) / (select extract(epoch from '2026-07-06 07:55:41'::timestamp) - extract(epoch from '2026-07-06 07:55:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363201 -2.748332)', '2026-07-06 07:55:45', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363233 -2.748323)'), GeomFromEWKT('SRID=4674;POINT (-40.363201 -2.748332)'))) / (select extract(epoch from '2026-07-06 07:55:45'::timestamp) - extract(epoch from '2026-07-06 07:55:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363233 -2.748323)'), GeomFromEWKT('SRID=4674;POINT (-40.363201 -2.748332)'))) / (select extract(epoch from '2026-07-06 07:55:45'::timestamp) - extract(epoch from '2026-07-06 07:55: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'), 47828, 'SRID=4674;POINT (-40.363121 -2.748356)', '2026-07-06 07:55:54', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363201 -2.748332)'), GeomFromEWKT('SRID=4674;POINT (-40.363121 -2.748356)'))) / (select extract(epoch from '2026-07-06 07:55:54'::timestamp) - extract(epoch from '2026-07-06 07:55:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363201 -2.748332)'), GeomFromEWKT('SRID=4674;POINT (-40.363121 -2.748356)'))) / (select extract(epoch from '2026-07-06 07:55:54'::timestamp) - extract(epoch from '2026-07-06 07:55:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363075 -2.748383)', '2026-07-06 07:56:01', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363121 -2.748356)'), GeomFromEWKT('SRID=4674;POINT (-40.363075 -2.748383)'))) / (select extract(epoch from '2026-07-06 07:56:01'::timestamp) - extract(epoch from '2026-07-06 07:55:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363121 -2.748356)'), GeomFromEWKT('SRID=4674;POINT (-40.363075 -2.748383)'))) / (select extract(epoch from '2026-07-06 07:56:01'::timestamp) - extract(epoch from '2026-07-06 07:55: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'), 47828, 'SRID=4674;POINT (-40.363038 -2.748399)', '2026-07-06 07:56:07', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363075 -2.748383)'), GeomFromEWKT('SRID=4674;POINT (-40.363038 -2.748399)'))) / (select extract(epoch from '2026-07-06 07:56:07'::timestamp) - extract(epoch from '2026-07-06 07:56:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363075 -2.748383)'), GeomFromEWKT('SRID=4674;POINT (-40.363038 -2.748399)'))) / (select extract(epoch from '2026-07-06 07:56:07'::timestamp) - extract(epoch from '2026-07-06 07:56: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'), 47828, 'SRID=4674;POINT (-40.363021 -2.748391)', '2026-07-06 07:56:10', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363038 -2.748399)'), GeomFromEWKT('SRID=4674;POINT (-40.363021 -2.748391)'))) / (select extract(epoch from '2026-07-06 07:56:10'::timestamp) - extract(epoch from '2026-07-06 07:56:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363038 -2.748399)'), GeomFromEWKT('SRID=4674;POINT (-40.363021 -2.748391)'))) / (select extract(epoch from '2026-07-06 07:56:10'::timestamp) - extract(epoch from '2026-07-06 07: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'), 47828, 'SRID=4674;POINT (-40.362967 -2.748357)', '2026-07-06 07:56:18', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363021 -2.748391)'), GeomFromEWKT('SRID=4674;POINT (-40.362967 -2.748357)'))) / (select extract(epoch from '2026-07-06 07:56:18'::timestamp) - extract(epoch from '2026-07-06 07:56:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363021 -2.748391)'), GeomFromEWKT('SRID=4674;POINT (-40.362967 -2.748357)'))) / (select extract(epoch from '2026-07-06 07:56:18'::timestamp) - extract(epoch from '2026-07-06 07:56: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'), 47828, 'SRID=4674;POINT (-40.362904 -2.748311)', '2026-07-06 07:56:26', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362967 -2.748357)'), GeomFromEWKT('SRID=4674;POINT (-40.362904 -2.748311)'))) / (select extract(epoch from '2026-07-06 07:56:26'::timestamp) - extract(epoch from '2026-07-06 07:56:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362967 -2.748357)'), GeomFromEWKT('SRID=4674;POINT (-40.362904 -2.748311)'))) / (select extract(epoch from '2026-07-06 07:56:26'::timestamp) - extract(epoch from '2026-07-06 07: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'), 47828, 'SRID=4674;POINT (-40.362825 -2.74826)', '2026-07-06 07:56:34', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362904 -2.748311)'), GeomFromEWKT('SRID=4674;POINT (-40.362825 -2.74826)'))) / (select extract(epoch from '2026-07-06 07:56:34'::timestamp) - extract(epoch from '2026-07-06 07:56:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362904 -2.748311)'), GeomFromEWKT('SRID=4674;POINT (-40.362825 -2.74826)'))) / (select extract(epoch from '2026-07-06 07:56:34'::timestamp) - extract(epoch from '2026-07-06 07:56: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'), 47828, 'SRID=4674;POINT (-40.362747 -2.748218)', '2026-07-06 07:56:41', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362825 -2.74826)'), GeomFromEWKT('SRID=4674;POINT (-40.362747 -2.748218)'))) / (select extract(epoch from '2026-07-06 07:56:41'::timestamp) - extract(epoch from '2026-07-06 07:56:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362825 -2.74826)'), GeomFromEWKT('SRID=4674;POINT (-40.362747 -2.748218)'))) / (select extract(epoch from '2026-07-06 07:56:41'::timestamp) - extract(epoch from '2026-07-06 07: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'), 47828, 'SRID=4674;POINT (-40.362683 -2.748196)', '2026-07-06 07:56:48', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362747 -2.748218)'), GeomFromEWKT('SRID=4674;POINT (-40.362683 -2.748196)'))) / (select extract(epoch from '2026-07-06 07:56:48'::timestamp) - extract(epoch from '2026-07-06 07:56:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362747 -2.748218)'), GeomFromEWKT('SRID=4674;POINT (-40.362683 -2.748196)'))) / (select extract(epoch from '2026-07-06 07:56:48'::timestamp) - extract(epoch from '2026-07-06 07:56:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.362652 -2.748224)', '2026-07-06 07:56:54', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362683 -2.748196)'), GeomFromEWKT('SRID=4674;POINT (-40.362652 -2.748224)'))) / (select extract(epoch from '2026-07-06 07:56:54'::timestamp) - extract(epoch from '2026-07-06 07:56:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362683 -2.748196)'), GeomFromEWKT('SRID=4674;POINT (-40.362652 -2.748224)'))) / (select extract(epoch from '2026-07-06 07:56:54'::timestamp) - extract(epoch from '2026-07-06 07:56: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'), 47828, 'SRID=4674;POINT (-40.362683 -2.748284)', '2026-07-06 07:57:03', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362652 -2.748224)'), GeomFromEWKT('SRID=4674;POINT (-40.362683 -2.748284)'))) / (select extract(epoch from '2026-07-06 07:57:03'::timestamp) - extract(epoch from '2026-07-06 07:56:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362652 -2.748224)'), GeomFromEWKT('SRID=4674;POINT (-40.362683 -2.748284)'))) / (select extract(epoch from '2026-07-06 07:57:03'::timestamp) - extract(epoch from '2026-07-06 07:56: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'), 47828, 'SRID=4674;POINT (-40.362691 -2.748288)', '2026-07-06 07:57:04', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362683 -2.748284)'), GeomFromEWKT('SRID=4674;POINT (-40.362691 -2.748288)'))) / (select extract(epoch from '2026-07-06 07:57:04'::timestamp) - extract(epoch from '2026-07-06 07:57:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362683 -2.748284)'), GeomFromEWKT('SRID=4674;POINT (-40.362691 -2.748288)'))) / (select extract(epoch from '2026-07-06 07:57:04'::timestamp) - extract(epoch from '2026-07-06 07:57: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'), 47828, 'SRID=4674;POINT (-40.362742 -2.748328)', '2026-07-06 07:57:10', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362691 -2.748288)'), GeomFromEWKT('SRID=4674;POINT (-40.362742 -2.748328)'))) / (select extract(epoch from '2026-07-06 07:57:10'::timestamp) - extract(epoch from '2026-07-06 07:57:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362691 -2.748288)'), GeomFromEWKT('SRID=4674;POINT (-40.362742 -2.748328)'))) / (select extract(epoch from '2026-07-06 07:57:10'::timestamp) - extract(epoch from '2026-07-06 07:57:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.362765 -2.748397)', '2026-07-06 07:57:19', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362742 -2.748328)'), GeomFromEWKT('SRID=4674;POINT (-40.362765 -2.748397)'))) / (select extract(epoch from '2026-07-06 07:57:19'::timestamp) - extract(epoch from '2026-07-06 07:57:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362742 -2.748328)'), GeomFromEWKT('SRID=4674;POINT (-40.362765 -2.748397)'))) / (select extract(epoch from '2026-07-06 07:57:19'::timestamp) - extract(epoch from '2026-07-06 07:57: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'), 47828, 'SRID=4674;POINT (-40.362772 -2.748421)', '2026-07-06 07:57:22', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362765 -2.748397)'), GeomFromEWKT('SRID=4674;POINT (-40.362772 -2.748421)'))) / (select extract(epoch from '2026-07-06 07:57:22'::timestamp) - extract(epoch from '2026-07-06 07:57:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362765 -2.748397)'), GeomFromEWKT('SRID=4674;POINT (-40.362772 -2.748421)'))) / (select extract(epoch from '2026-07-06 07:57:22'::timestamp) - extract(epoch from '2026-07-06 07:57: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'), 47828, 'SRID=4674;POINT (-40.362797 -2.748459)', '2026-07-06 07:57:27', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362772 -2.748421)'), GeomFromEWKT('SRID=4674;POINT (-40.362797 -2.748459)'))) / (select extract(epoch from '2026-07-06 07:57:27'::timestamp) - extract(epoch from '2026-07-06 07:57:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362772 -2.748421)'), GeomFromEWKT('SRID=4674;POINT (-40.362797 -2.748459)'))) / (select extract(epoch from '2026-07-06 07:57:27'::timestamp) - extract(epoch from '2026-07-06 07:57:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.362877 -2.748485)', '2026-07-06 07:57:34', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362797 -2.748459)'), GeomFromEWKT('SRID=4674;POINT (-40.362877 -2.748485)'))) / (select extract(epoch from '2026-07-06 07:57:34'::timestamp) - extract(epoch from '2026-07-06 07:57:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362797 -2.748459)'), GeomFromEWKT('SRID=4674;POINT (-40.362877 -2.748485)'))) / (select extract(epoch from '2026-07-06 07:57:34'::timestamp) - extract(epoch from '2026-07-06 07:57: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'), 47828, 'SRID=4674;POINT (-40.362916 -2.748534)', '2026-07-06 07:57:40', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362877 -2.748485)'), GeomFromEWKT('SRID=4674;POINT (-40.362916 -2.748534)'))) / (select extract(epoch from '2026-07-06 07:57:40'::timestamp) - extract(epoch from '2026-07-06 07:57:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362877 -2.748485)'), GeomFromEWKT('SRID=4674;POINT (-40.362916 -2.748534)'))) / (select extract(epoch from '2026-07-06 07:57:40'::timestamp) - extract(epoch from '2026-07-06 07:57: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'), 47828, 'SRID=4674;POINT (-40.362951 -2.748579)', '2026-07-06 07:57:46', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362916 -2.748534)'), GeomFromEWKT('SRID=4674;POINT (-40.362951 -2.748579)'))) / (select extract(epoch from '2026-07-06 07:57:46'::timestamp) - extract(epoch from '2026-07-06 07:57:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362916 -2.748534)'), GeomFromEWKT('SRID=4674;POINT (-40.362951 -2.748579)'))) / (select extract(epoch from '2026-07-06 07:57:46'::timestamp) - extract(epoch from '2026-07-06 07:57:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.362966 -2.748583)', '2026-07-06 07:57:48', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362951 -2.748579)'), GeomFromEWKT('SRID=4674;POINT (-40.362966 -2.748583)'))) / (select extract(epoch from '2026-07-06 07:57:48'::timestamp) - extract(epoch from '2026-07-06 07:57:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362951 -2.748579)'), GeomFromEWKT('SRID=4674;POINT (-40.362966 -2.748583)'))) / (select extract(epoch from '2026-07-06 07:57:48'::timestamp) - extract(epoch from '2026-07-06 07:57:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363038 -2.748591)', '2026-07-06 07:57:57', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362966 -2.748583)'), GeomFromEWKT('SRID=4674;POINT (-40.363038 -2.748591)'))) / (select extract(epoch from '2026-07-06 07:57:57'::timestamp) - extract(epoch from '2026-07-06 07:57:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362966 -2.748583)'), GeomFromEWKT('SRID=4674;POINT (-40.363038 -2.748591)'))) / (select extract(epoch from '2026-07-06 07:57:57'::timestamp) - extract(epoch from '2026-07-06 07:57: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'), 47828, 'SRID=4674;POINT (-40.363073 -2.748561)', '2026-07-06 07:58:04', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363038 -2.748591)'), GeomFromEWKT('SRID=4674;POINT (-40.363073 -2.748561)'))) / (select extract(epoch from '2026-07-06 07:58:04'::timestamp) - extract(epoch from '2026-07-06 07:57:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363038 -2.748591)'), GeomFromEWKT('SRID=4674;POINT (-40.363073 -2.748561)'))) / (select extract(epoch from '2026-07-06 07:58:04'::timestamp) - extract(epoch from '2026-07-06 07:57: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'), 47828, 'SRID=4674;POINT (-40.363089 -2.748497)', '2026-07-06 07:58:14', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363073 -2.748561)'), GeomFromEWKT('SRID=4674;POINT (-40.363089 -2.748497)'))) / (select extract(epoch from '2026-07-06 07:58:14'::timestamp) - extract(epoch from '2026-07-06 07:58:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363073 -2.748561)'), GeomFromEWKT('SRID=4674;POINT (-40.363089 -2.748497)'))) / (select extract(epoch from '2026-07-06 07:58:14'::timestamp) - extract(epoch from '2026-07-06 07:58: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'), 47828, 'SRID=4674;POINT (-40.363095 -2.748445)', '2026-07-06 07:58:23', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363089 -2.748497)'), GeomFromEWKT('SRID=4674;POINT (-40.363095 -2.748445)'))) / (select extract(epoch from '2026-07-06 07:58:23'::timestamp) - extract(epoch from '2026-07-06 07:58:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363089 -2.748497)'), GeomFromEWKT('SRID=4674;POINT (-40.363095 -2.748445)'))) / (select extract(epoch from '2026-07-06 07:58:23'::timestamp) - extract(epoch from '2026-07-06 07:58: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'), 47828, 'SRID=4674;POINT (-40.363089 -2.748418)', '2026-07-06 07:58:33', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363095 -2.748445)'), GeomFromEWKT('SRID=4674;POINT (-40.363089 -2.748418)'))) / (select extract(epoch from '2026-07-06 07:58:33'::timestamp) - extract(epoch from '2026-07-06 07:58:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363095 -2.748445)'), GeomFromEWKT('SRID=4674;POINT (-40.363089 -2.748418)'))) / (select extract(epoch from '2026-07-06 07:58:33'::timestamp) - extract(epoch from '2026-07-06 07:58: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'), 47828, 'SRID=4674;POINT (-40.363072 -2.748403)', '2026-07-06 07:58:41', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363089 -2.748418)'), GeomFromEWKT('SRID=4674;POINT (-40.363072 -2.748403)'))) / (select extract(epoch from '2026-07-06 07:58:41'::timestamp) - extract(epoch from '2026-07-06 07:58:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363089 -2.748418)'), GeomFromEWKT('SRID=4674;POINT (-40.363072 -2.748403)'))) / (select extract(epoch from '2026-07-06 07:58:41'::timestamp) - extract(epoch from '2026-07-06 07:58:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363046 -2.748421)', '2026-07-06 07:58:51', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363072 -2.748403)'), GeomFromEWKT('SRID=4674;POINT (-40.363046 -2.748421)'))) / (select extract(epoch from '2026-07-06 07:58:51'::timestamp) - extract(epoch from '2026-07-06 07:58:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363072 -2.748403)'), GeomFromEWKT('SRID=4674;POINT (-40.363046 -2.748421)'))) / (select extract(epoch from '2026-07-06 07:58:51'::timestamp) - extract(epoch from '2026-07-06 07:58: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'), 47828, 'SRID=4674;POINT (-40.363025 -2.748451)', '2026-07-06 07:59:00', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363046 -2.748421)'), GeomFromEWKT('SRID=4674;POINT (-40.363025 -2.748451)'))) / (select extract(epoch from '2026-07-06 07:59:00'::timestamp) - extract(epoch from '2026-07-06 07:58:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363046 -2.748421)'), GeomFromEWKT('SRID=4674;POINT (-40.363025 -2.748451)'))) / (select extract(epoch from '2026-07-06 07:59:00'::timestamp) - extract(epoch from '2026-07-06 07:58: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'), 47828, 'SRID=4674;POINT (-40.362996 -2.748484)', '2026-07-06 07:59:10', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363025 -2.748451)'), GeomFromEWKT('SRID=4674;POINT (-40.362996 -2.748484)'))) / (select extract(epoch from '2026-07-06 07:59:10'::timestamp) - extract(epoch from '2026-07-06 07:59:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363025 -2.748451)'), GeomFromEWKT('SRID=4674;POINT (-40.362996 -2.748484)'))) / (select extract(epoch from '2026-07-06 07:59:10'::timestamp) - extract(epoch from '2026-07-06 07:59: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'), 47828, 'SRID=4674;POINT (-40.362994 -2.748542)', '2026-07-06 07:59:19', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362996 -2.748484)'), GeomFromEWKT('SRID=4674;POINT (-40.362994 -2.748542)'))) / (select extract(epoch from '2026-07-06 07:59:19'::timestamp) - extract(epoch from '2026-07-06 07:59:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362996 -2.748484)'), GeomFromEWKT('SRID=4674;POINT (-40.362994 -2.748542)'))) / (select extract(epoch from '2026-07-06 07:59:19'::timestamp) - extract(epoch from '2026-07-06 07:59: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'), 47828, 'SRID=4674;POINT (-40.363014 -2.74861)', '2026-07-06 07:59:28', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362994 -2.748542)'), GeomFromEWKT('SRID=4674;POINT (-40.363014 -2.74861)'))) / (select extract(epoch from '2026-07-06 07:59:28'::timestamp) - extract(epoch from '2026-07-06 07:59:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362994 -2.748542)'), GeomFromEWKT('SRID=4674;POINT (-40.363014 -2.74861)'))) / (select extract(epoch from '2026-07-06 07:59:28'::timestamp) - extract(epoch from '2026-07-06 07:59:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363016 -2.748618)', '2026-07-06 07:59:29', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363014 -2.74861)'), GeomFromEWKT('SRID=4674;POINT (-40.363016 -2.748618)'))) / (select extract(epoch from '2026-07-06 07:59:29'::timestamp) - extract(epoch from '2026-07-06 07:59:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363014 -2.74861)'), GeomFromEWKT('SRID=4674;POINT (-40.363016 -2.748618)'))) / (select extract(epoch from '2026-07-06 07:59:29'::timestamp) - extract(epoch from '2026-07-06 07:59: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'), 47828, 'SRID=4674;POINT (-40.363022 -2.748668)', '2026-07-06 07:59:36', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363016 -2.748618)'), GeomFromEWKT('SRID=4674;POINT (-40.363022 -2.748668)'))) / (select extract(epoch from '2026-07-06 07:59:36'::timestamp) - extract(epoch from '2026-07-06 07:59:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363016 -2.748618)'), GeomFromEWKT('SRID=4674;POINT (-40.363022 -2.748668)'))) / (select extract(epoch from '2026-07-06 07:59:36'::timestamp) - extract(epoch from '2026-07-06 07:59: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'), 47828, 'SRID=4674;POINT (-40.363038 -2.748731)', '2026-07-06 07:59:45', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363022 -2.748668)'), GeomFromEWKT('SRID=4674;POINT (-40.363038 -2.748731)'))) / (select extract(epoch from '2026-07-06 07:59:45'::timestamp) - extract(epoch from '2026-07-06 07:59:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363022 -2.748668)'), GeomFromEWKT('SRID=4674;POINT (-40.363038 -2.748731)'))) / (select extract(epoch from '2026-07-06 07:59:45'::timestamp) - extract(epoch from '2026-07-06 07:59: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'), 47828, 'SRID=4674;POINT (-40.363093 -2.748765)', '2026-07-06 07:59:54', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363038 -2.748731)'), GeomFromEWKT('SRID=4674;POINT (-40.363093 -2.748765)'))) / (select extract(epoch from '2026-07-06 07:59:54'::timestamp) - extract(epoch from '2026-07-06 07:59:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363038 -2.748731)'), GeomFromEWKT('SRID=4674;POINT (-40.363093 -2.748765)'))) / (select extract(epoch from '2026-07-06 07:59:54'::timestamp) - extract(epoch from '2026-07-06 07:59:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.36314 -2.748756)', '2026-07-06 08:00:01', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363093 -2.748765)'), GeomFromEWKT('SRID=4674;POINT (-40.36314 -2.748756)'))) / (select extract(epoch from '2026-07-06 08:00:01'::timestamp) - extract(epoch from '2026-07-06 07:59:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363093 -2.748765)'), GeomFromEWKT('SRID=4674;POINT (-40.36314 -2.748756)'))) / (select extract(epoch from '2026-07-06 08:00:01'::timestamp) - extract(epoch from '2026-07-06 07:59:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363192 -2.748742)', '2026-07-06 08:00:09', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36314 -2.748756)'), GeomFromEWKT('SRID=4674;POINT (-40.363192 -2.748742)'))) / (select extract(epoch from '2026-07-06 08:00:09'::timestamp) - extract(epoch from '2026-07-06 08:00:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36314 -2.748756)'), GeomFromEWKT('SRID=4674;POINT (-40.363192 -2.748742)'))) / (select extract(epoch from '2026-07-06 08:00:09'::timestamp) - extract(epoch from '2026-07-06 08:00: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'), 47828, 'SRID=4674;POINT (-40.363245 -2.748744)', '2026-07-06 08:00:16', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363192 -2.748742)'), GeomFromEWKT('SRID=4674;POINT (-40.363245 -2.748744)'))) / (select extract(epoch from '2026-07-06 08:00:16'::timestamp) - extract(epoch from '2026-07-06 08:00:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363192 -2.748742)'), GeomFromEWKT('SRID=4674;POINT (-40.363245 -2.748744)'))) / (select extract(epoch from '2026-07-06 08:00:16'::timestamp) - extract(epoch from '2026-07-06 08:00: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'), 47828, 'SRID=4674;POINT (-40.363305 -2.748756)', '2026-07-06 08:00:25', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363245 -2.748744)'), GeomFromEWKT('SRID=4674;POINT (-40.363305 -2.748756)'))) / (select extract(epoch from '2026-07-06 08:00:25'::timestamp) - extract(epoch from '2026-07-06 08:00:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363245 -2.748744)'), GeomFromEWKT('SRID=4674;POINT (-40.363305 -2.748756)'))) / (select extract(epoch from '2026-07-06 08:00:25'::timestamp) - extract(epoch from '2026-07-06 08:00:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363349 -2.748769)', '2026-07-06 08:00:33', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363305 -2.748756)'), GeomFromEWKT('SRID=4674;POINT (-40.363349 -2.748769)'))) / (select extract(epoch from '2026-07-06 08:00:33'::timestamp) - extract(epoch from '2026-07-06 08:00:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363305 -2.748756)'), GeomFromEWKT('SRID=4674;POINT (-40.363349 -2.748769)'))) / (select extract(epoch from '2026-07-06 08:00:33'::timestamp) - extract(epoch from '2026-07-06 08:00:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363394 -2.748775)', '2026-07-06 08:00:41', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363349 -2.748769)'), GeomFromEWKT('SRID=4674;POINT (-40.363394 -2.748775)'))) / (select extract(epoch from '2026-07-06 08:00:41'::timestamp) - extract(epoch from '2026-07-06 08:00:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363349 -2.748769)'), GeomFromEWKT('SRID=4674;POINT (-40.363394 -2.748775)'))) / (select extract(epoch from '2026-07-06 08:00:41'::timestamp) - extract(epoch from '2026-07-06 08:00: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'), 47828, 'SRID=4674;POINT (-40.36344 -2.748769)', '2026-07-06 08:00:50', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363394 -2.748775)'), GeomFromEWKT('SRID=4674;POINT (-40.36344 -2.748769)'))) / (select extract(epoch from '2026-07-06 08:00:50'::timestamp) - extract(epoch from '2026-07-06 08:00:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363394 -2.748775)'), GeomFromEWKT('SRID=4674;POINT (-40.36344 -2.748769)'))) / (select extract(epoch from '2026-07-06 08:00:50'::timestamp) - extract(epoch from '2026-07-06 08:00: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'), 47828, 'SRID=4674;POINT (-40.363482 -2.74876)', '2026-07-06 08:00:58', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36344 -2.748769)'), GeomFromEWKT('SRID=4674;POINT (-40.363482 -2.74876)'))) / (select extract(epoch from '2026-07-06 08:00:58'::timestamp) - extract(epoch from '2026-07-06 08:00:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36344 -2.748769)'), GeomFromEWKT('SRID=4674;POINT (-40.363482 -2.74876)'))) / (select extract(epoch from '2026-07-06 08:00:58'::timestamp) - extract(epoch from '2026-07-06 08: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'), 47828, 'SRID=4674;POINT (-40.363524 -2.748743)', '2026-07-06 08:01:07', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363482 -2.74876)'), GeomFromEWKT('SRID=4674;POINT (-40.363524 -2.748743)'))) / (select extract(epoch from '2026-07-06 08:01:07'::timestamp) - extract(epoch from '2026-07-06 08:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363482 -2.74876)'), GeomFromEWKT('SRID=4674;POINT (-40.363524 -2.748743)'))) / (select extract(epoch from '2026-07-06 08:01:07'::timestamp) - extract(epoch from '2026-07-06 08:00: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'), 47828, 'SRID=4674;POINT (-40.363561 -2.748718)', '2026-07-06 08:01:14', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363524 -2.748743)'), GeomFromEWKT('SRID=4674;POINT (-40.363561 -2.748718)'))) / (select extract(epoch from '2026-07-06 08:01:14'::timestamp) - extract(epoch from '2026-07-06 08:01:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363524 -2.748743)'), GeomFromEWKT('SRID=4674;POINT (-40.363561 -2.748718)'))) / (select extract(epoch from '2026-07-06 08:01:14'::timestamp) - extract(epoch from '2026-07-06 08:01:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363583 -2.748674)', '2026-07-06 08:01:21', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363561 -2.748718)'), GeomFromEWKT('SRID=4674;POINT (-40.363583 -2.748674)'))) / (select extract(epoch from '2026-07-06 08:01:21'::timestamp) - extract(epoch from '2026-07-06 08:01:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363561 -2.748718)'), GeomFromEWKT('SRID=4674;POINT (-40.363583 -2.748674)'))) / (select extract(epoch from '2026-07-06 08:01:21'::timestamp) - extract(epoch from '2026-07-06 08:01:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363577 -2.748628)', '2026-07-06 08:01:29', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363583 -2.748674)'), GeomFromEWKT('SRID=4674;POINT (-40.363577 -2.748628)'))) / (select extract(epoch from '2026-07-06 08:01:29'::timestamp) - extract(epoch from '2026-07-06 08:01:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363583 -2.748674)'), GeomFromEWKT('SRID=4674;POINT (-40.363577 -2.748628)'))) / (select extract(epoch from '2026-07-06 08:01:29'::timestamp) - extract(epoch from '2026-07-06 08:01: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'), 47828, 'SRID=4674;POINT (-40.363549 -2.74857)', '2026-07-06 08:01:39', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363577 -2.748628)'), GeomFromEWKT('SRID=4674;POINT (-40.363549 -2.74857)'))) / (select extract(epoch from '2026-07-06 08:01:39'::timestamp) - extract(epoch from '2026-07-06 08:01:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363577 -2.748628)'), GeomFromEWKT('SRID=4674;POINT (-40.363549 -2.74857)'))) / (select extract(epoch from '2026-07-06 08:01:39'::timestamp) - extract(epoch from '2026-07-06 08:01: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'), 47828, 'SRID=4674;POINT (-40.363513 -2.748536)', '2026-07-06 08:01:47', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363549 -2.74857)'), GeomFromEWKT('SRID=4674;POINT (-40.363513 -2.748536)'))) / (select extract(epoch from '2026-07-06 08:01:47'::timestamp) - extract(epoch from '2026-07-06 08:01:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363549 -2.74857)'), GeomFromEWKT('SRID=4674;POINT (-40.363513 -2.748536)'))) / (select extract(epoch from '2026-07-06 08:01:47'::timestamp) - extract(epoch from '2026-07-06 08:01:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363459 -2.748524)', '2026-07-06 08:01:56', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363513 -2.748536)'), GeomFromEWKT('SRID=4674;POINT (-40.363459 -2.748524)'))) / (select extract(epoch from '2026-07-06 08:01:56'::timestamp) - extract(epoch from '2026-07-06 08:01:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363513 -2.748536)'), GeomFromEWKT('SRID=4674;POINT (-40.363459 -2.748524)'))) / (select extract(epoch from '2026-07-06 08:01:56'::timestamp) - extract(epoch from '2026-07-06 08:01: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'), 47828, 'SRID=4674;POINT (-40.363429 -2.748525)', '2026-07-06 08:02:06', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363459 -2.748524)'), GeomFromEWKT('SRID=4674;POINT (-40.363429 -2.748525)'))) / (select extract(epoch from '2026-07-06 08:02:06'::timestamp) - extract(epoch from '2026-07-06 08:01:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363459 -2.748524)'), GeomFromEWKT('SRID=4674;POINT (-40.363429 -2.748525)'))) / (select extract(epoch from '2026-07-06 08:02:06'::timestamp) - extract(epoch from '2026-07-06 08:01: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'), 47828, 'SRID=4674;POINT (-40.36344 -2.748521)', '2026-07-06 08:02:21', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363429 -2.748525)'), GeomFromEWKT('SRID=4674;POINT (-40.36344 -2.748521)'))) / (select extract(epoch from '2026-07-06 08:02:21'::timestamp) - extract(epoch from '2026-07-06 08:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363429 -2.748525)'), GeomFromEWKT('SRID=4674;POINT (-40.36344 -2.748521)'))) / (select extract(epoch from '2026-07-06 08:02:21'::timestamp) - extract(epoch from '2026-07-06 08:02:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363463 -2.748516)', '2026-07-06 08:02:30', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36344 -2.748521)'), GeomFromEWKT('SRID=4674;POINT (-40.363463 -2.748516)'))) / (select extract(epoch from '2026-07-06 08:02:30'::timestamp) - extract(epoch from '2026-07-06 08:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36344 -2.748521)'), GeomFromEWKT('SRID=4674;POINT (-40.363463 -2.748516)'))) / (select extract(epoch from '2026-07-06 08:02:30'::timestamp) - extract(epoch from '2026-07-06 08:02: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'), 47828, 'SRID=4674;POINT (-40.363476 -2.748513)', '2026-07-06 08:02:39', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363463 -2.748516)'), GeomFromEWKT('SRID=4674;POINT (-40.363476 -2.748513)'))) / (select extract(epoch from '2026-07-06 08:02:39'::timestamp) - extract(epoch from '2026-07-06 08:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363463 -2.748516)'), GeomFromEWKT('SRID=4674;POINT (-40.363476 -2.748513)'))) / (select extract(epoch from '2026-07-06 08:02:39'::timestamp) - extract(epoch from '2026-07-06 08:02: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'), 47828, 'SRID=4674;POINT (-40.363496 -2.748506)', '2026-07-06 08:02:50', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363476 -2.748513)'), GeomFromEWKT('SRID=4674;POINT (-40.363496 -2.748506)'))) / (select extract(epoch from '2026-07-06 08:02:50'::timestamp) - extract(epoch from '2026-07-06 08:02:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363476 -2.748513)'), GeomFromEWKT('SRID=4674;POINT (-40.363496 -2.748506)'))) / (select extract(epoch from '2026-07-06 08:02:50'::timestamp) - extract(epoch from '2026-07-06 08:02: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'), 47828, 'SRID=4674;POINT (-40.363519 -2.748506)', '2026-07-06 08:02:58', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363496 -2.748506)'), GeomFromEWKT('SRID=4674;POINT (-40.363519 -2.748506)'))) / (select extract(epoch from '2026-07-06 08:02:58'::timestamp) - extract(epoch from '2026-07-06 08:02:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363496 -2.748506)'), GeomFromEWKT('SRID=4674;POINT (-40.363519 -2.748506)'))) / (select extract(epoch from '2026-07-06 08:02:58'::timestamp) - extract(epoch from '2026-07-06 08:02: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'), 47828, 'SRID=4674;POINT (-40.363546 -2.748498)', '2026-07-06 08:03:10', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363519 -2.748506)'), GeomFromEWKT('SRID=4674;POINT (-40.363546 -2.748498)'))) / (select extract(epoch from '2026-07-06 08:03:10'::timestamp) - extract(epoch from '2026-07-06 08:02:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363519 -2.748506)'), GeomFromEWKT('SRID=4674;POINT (-40.363546 -2.748498)'))) / (select extract(epoch from '2026-07-06 08:03:10'::timestamp) - extract(epoch from '2026-07-06 08:02:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363577 -2.748489)', '2026-07-06 08:03:18', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363546 -2.748498)'), GeomFromEWKT('SRID=4674;POINT (-40.363577 -2.748489)'))) / (select extract(epoch from '2026-07-06 08:03:18'::timestamp) - extract(epoch from '2026-07-06 08:03:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363546 -2.748498)'), GeomFromEWKT('SRID=4674;POINT (-40.363577 -2.748489)'))) / (select extract(epoch from '2026-07-06 08:03:18'::timestamp) - extract(epoch from '2026-07-06 08:03:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363601 -2.748482)', '2026-07-06 08:03:30', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363577 -2.748489)'), GeomFromEWKT('SRID=4674;POINT (-40.363601 -2.748482)'))) / (select extract(epoch from '2026-07-06 08:03:30'::timestamp) - extract(epoch from '2026-07-06 08:03:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363577 -2.748489)'), GeomFromEWKT('SRID=4674;POINT (-40.363601 -2.748482)'))) / (select extract(epoch from '2026-07-06 08:03:30'::timestamp) - extract(epoch from '2026-07-06 08:03: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'), 47828, 'SRID=4674;POINT (-40.363627 -2.748478)', '2026-07-06 08:03:42', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363601 -2.748482)'), GeomFromEWKT('SRID=4674;POINT (-40.363627 -2.748478)'))) / (select extract(epoch from '2026-07-06 08:03:42'::timestamp) - extract(epoch from '2026-07-06 08:03:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363601 -2.748482)'), GeomFromEWKT('SRID=4674;POINT (-40.363627 -2.748478)'))) / (select extract(epoch from '2026-07-06 08:03:42'::timestamp) - extract(epoch from '2026-07-06 08:03:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363655 -2.748476)', '2026-07-06 08:03:53', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363627 -2.748478)'), GeomFromEWKT('SRID=4674;POINT (-40.363655 -2.748476)'))) / (select extract(epoch from '2026-07-06 08:03:53'::timestamp) - extract(epoch from '2026-07-06 08:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363627 -2.748478)'), GeomFromEWKT('SRID=4674;POINT (-40.363655 -2.748476)'))) / (select extract(epoch from '2026-07-06 08:03:53'::timestamp) - extract(epoch from '2026-07-06 08: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'), 47828, 'SRID=4674;POINT (-40.363683 -2.748475)', '2026-07-06 08:04:03', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363655 -2.748476)'), GeomFromEWKT('SRID=4674;POINT (-40.363683 -2.748475)'))) / (select extract(epoch from '2026-07-06 08:04:03'::timestamp) - extract(epoch from '2026-07-06 08:03:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363655 -2.748476)'), GeomFromEWKT('SRID=4674;POINT (-40.363683 -2.748475)'))) / (select extract(epoch from '2026-07-06 08:04:03'::timestamp) - extract(epoch from '2026-07-06 08:03: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'), 47828, 'SRID=4674;POINT (-40.363708 -2.748457)', '2026-07-06 08:04:10', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363683 -2.748475)'), GeomFromEWKT('SRID=4674;POINT (-40.363708 -2.748457)'))) / (select extract(epoch from '2026-07-06 08:04:10'::timestamp) - extract(epoch from '2026-07-06 08:04:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363683 -2.748475)'), GeomFromEWKT('SRID=4674;POINT (-40.363708 -2.748457)'))) / (select extract(epoch from '2026-07-06 08:04:10'::timestamp) - extract(epoch from '2026-07-06 08:04:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363713 -2.748408)', '2026-07-06 08:04:18', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363708 -2.748457)'), GeomFromEWKT('SRID=4674;POINT (-40.363713 -2.748408)'))) / (select extract(epoch from '2026-07-06 08:04:18'::timestamp) - extract(epoch from '2026-07-06 08:04:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363708 -2.748457)'), GeomFromEWKT('SRID=4674;POINT (-40.363713 -2.748408)'))) / (select extract(epoch from '2026-07-06 08:04:18'::timestamp) - extract(epoch from '2026-07-06 08:04:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.3637 -2.74836)', '2026-07-06 08:04:24', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363713 -2.748408)'), GeomFromEWKT('SRID=4674;POINT (-40.3637 -2.74836)'))) / (select extract(epoch from '2026-07-06 08:04:24'::timestamp) - extract(epoch from '2026-07-06 08:04:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363713 -2.748408)'), GeomFromEWKT('SRID=4674;POINT (-40.3637 -2.74836)'))) / (select extract(epoch from '2026-07-06 08:04:24'::timestamp) - extract(epoch from '2026-07-06 08:04: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'), 47828, 'SRID=4674;POINT (-40.363689 -2.748343)', '2026-07-06 08:04:26', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3637 -2.74836)'), GeomFromEWKT('SRID=4674;POINT (-40.363689 -2.748343)'))) / (select extract(epoch from '2026-07-06 08:04:26'::timestamp) - extract(epoch from '2026-07-06 08:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3637 -2.74836)'), GeomFromEWKT('SRID=4674;POINT (-40.363689 -2.748343)'))) / (select extract(epoch from '2026-07-06 08:04:26'::timestamp) - extract(epoch from '2026-07-06 08:04: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'), 47828, 'SRID=4674;POINT (-40.363618 -2.748301)', '2026-07-06 08:04:35', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363689 -2.748343)'), GeomFromEWKT('SRID=4674;POINT (-40.363618 -2.748301)'))) / (select extract(epoch from '2026-07-06 08:04:35'::timestamp) - extract(epoch from '2026-07-06 08:04:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363689 -2.748343)'), GeomFromEWKT('SRID=4674;POINT (-40.363618 -2.748301)'))) / (select extract(epoch from '2026-07-06 08:04:35'::timestamp) - extract(epoch from '2026-07-06 08:04: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'), 47828, 'SRID=4674;POINT (-40.36353 -2.748294)', '2026-07-06 08:04:43', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363618 -2.748301)'), GeomFromEWKT('SRID=4674;POINT (-40.36353 -2.748294)'))) / (select extract(epoch from '2026-07-06 08:04:43'::timestamp) - extract(epoch from '2026-07-06 08:04:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363618 -2.748301)'), GeomFromEWKT('SRID=4674;POINT (-40.36353 -2.748294)'))) / (select extract(epoch from '2026-07-06 08:04:43'::timestamp) - extract(epoch from '2026-07-06 08:04:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363457 -2.748308)', '2026-07-06 08:04:49', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36353 -2.748294)'), GeomFromEWKT('SRID=4674;POINT (-40.363457 -2.748308)'))) / (select extract(epoch from '2026-07-06 08:04:49'::timestamp) - extract(epoch from '2026-07-06 08:04:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36353 -2.748294)'), GeomFromEWKT('SRID=4674;POINT (-40.363457 -2.748308)'))) / (select extract(epoch from '2026-07-06 08:04:49'::timestamp) - extract(epoch from '2026-07-06 08:04: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'), 47828, 'SRID=4674;POINT (-40.363357 -2.748337)', '2026-07-06 08:04:57', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363457 -2.748308)'), GeomFromEWKT('SRID=4674;POINT (-40.363357 -2.748337)'))) / (select extract(epoch from '2026-07-06 08:04:57'::timestamp) - extract(epoch from '2026-07-06 08:04:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363457 -2.748308)'), GeomFromEWKT('SRID=4674;POINT (-40.363357 -2.748337)'))) / (select extract(epoch from '2026-07-06 08:04:57'::timestamp) - extract(epoch from '2026-07-06 08:04: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'), 47828, 'SRID=4674;POINT (-40.363282 -2.748364)', '2026-07-06 08:05:03', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363357 -2.748337)'), GeomFromEWKT('SRID=4674;POINT (-40.363282 -2.748364)'))) / (select extract(epoch from '2026-07-06 08:05:03'::timestamp) - extract(epoch from '2026-07-06 08:04:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363357 -2.748337)'), GeomFromEWKT('SRID=4674;POINT (-40.363282 -2.748364)'))) / (select extract(epoch from '2026-07-06 08:05:03'::timestamp) - extract(epoch from '2026-07-06 08:04: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'), 47828, 'SRID=4674;POINT (-40.36323 -2.748382)', '2026-07-06 08:05:08', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363282 -2.748364)'), GeomFromEWKT('SRID=4674;POINT (-40.36323 -2.748382)'))) / (select extract(epoch from '2026-07-06 08:05:08'::timestamp) - extract(epoch from '2026-07-06 08:05:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363282 -2.748364)'), GeomFromEWKT('SRID=4674;POINT (-40.36323 -2.748382)'))) / (select extract(epoch from '2026-07-06 08:05:08'::timestamp) - extract(epoch from '2026-07-06 08:05: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'), 47828, 'SRID=4674;POINT (-40.363162 -2.748412)', '2026-07-06 08:05:15', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36323 -2.748382)'), GeomFromEWKT('SRID=4674;POINT (-40.363162 -2.748412)'))) / (select extract(epoch from '2026-07-06 08:05:15'::timestamp) - extract(epoch from '2026-07-06 08:05:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36323 -2.748382)'), GeomFromEWKT('SRID=4674;POINT (-40.363162 -2.748412)'))) / (select extract(epoch from '2026-07-06 08:05:15'::timestamp) - extract(epoch from '2026-07-06 08:05:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363097 -2.74845)', '2026-07-06 08:05:21', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363162 -2.748412)'), GeomFromEWKT('SRID=4674;POINT (-40.363097 -2.74845)'))) / (select extract(epoch from '2026-07-06 08:05:21'::timestamp) - extract(epoch from '2026-07-06 08:05:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363162 -2.748412)'), GeomFromEWKT('SRID=4674;POINT (-40.363097 -2.74845)'))) / (select extract(epoch from '2026-07-06 08:05:21'::timestamp) - extract(epoch from '2026-07-06 08:05:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363033 -2.748482)', '2026-07-06 08:05:27', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363097 -2.74845)'), GeomFromEWKT('SRID=4674;POINT (-40.363033 -2.748482)'))) / (select extract(epoch from '2026-07-06 08:05:27'::timestamp) - extract(epoch from '2026-07-06 08:05:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363097 -2.74845)'), GeomFromEWKT('SRID=4674;POINT (-40.363033 -2.748482)'))) / (select extract(epoch from '2026-07-06 08:05:27'::timestamp) - extract(epoch from '2026-07-06 08:05: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'), 47828, 'SRID=4674;POINT (-40.36302 -2.748486)', '2026-07-06 08:05:28', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363033 -2.748482)'), GeomFromEWKT('SRID=4674;POINT (-40.36302 -2.748486)'))) / (select extract(epoch from '2026-07-06 08:05:28'::timestamp) - extract(epoch from '2026-07-06 08:05:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363033 -2.748482)'), GeomFromEWKT('SRID=4674;POINT (-40.36302 -2.748486)'))) / (select extract(epoch from '2026-07-06 08:05:28'::timestamp) - extract(epoch from '2026-07-06 08:05:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.36294 -2.748521)', '2026-07-06 08:05:35', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36302 -2.748486)'), GeomFromEWKT('SRID=4674;POINT (-40.36294 -2.748521)'))) / (select extract(epoch from '2026-07-06 08:05:35'::timestamp) - extract(epoch from '2026-07-06 08:05:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36302 -2.748486)'), GeomFromEWKT('SRID=4674;POINT (-40.36294 -2.748521)'))) / (select extract(epoch from '2026-07-06 08:05:35'::timestamp) - extract(epoch from '2026-07-06 08:05: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'), 47828, 'SRID=4674;POINT (-40.362846 -2.748543)', '2026-07-06 08:05:42', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36294 -2.748521)'), GeomFromEWKT('SRID=4674;POINT (-40.362846 -2.748543)'))) / (select extract(epoch from '2026-07-06 08:05:42'::timestamp) - extract(epoch from '2026-07-06 08:05:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36294 -2.748521)'), GeomFromEWKT('SRID=4674;POINT (-40.362846 -2.748543)'))) / (select extract(epoch from '2026-07-06 08:05:42'::timestamp) - extract(epoch from '2026-07-06 08:05: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'), 47828, 'SRID=4674;POINT (-40.362745 -2.748548)', '2026-07-06 08:05:49', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362846 -2.748543)'), GeomFromEWKT('SRID=4674;POINT (-40.362745 -2.748548)'))) / (select extract(epoch from '2026-07-06 08:05:49'::timestamp) - extract(epoch from '2026-07-06 08:05:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362846 -2.748543)'), GeomFromEWKT('SRID=4674;POINT (-40.362745 -2.748548)'))) / (select extract(epoch from '2026-07-06 08:05:49'::timestamp) - extract(epoch from '2026-07-06 08:05: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'), 47828, 'SRID=4674;POINT (-40.362649 -2.748559)', '2026-07-06 08:05:56', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362745 -2.748548)'), GeomFromEWKT('SRID=4674;POINT (-40.362649 -2.748559)'))) / (select extract(epoch from '2026-07-06 08:05:56'::timestamp) - extract(epoch from '2026-07-06 08:05:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362745 -2.748548)'), GeomFromEWKT('SRID=4674;POINT (-40.362649 -2.748559)'))) / (select extract(epoch from '2026-07-06 08:05:56'::timestamp) - extract(epoch from '2026-07-06 08:05: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'), 47828, 'SRID=4674;POINT (-40.362538 -2.748592)', '2026-07-06 08:06:04', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362649 -2.748559)'), GeomFromEWKT('SRID=4674;POINT (-40.362538 -2.748592)'))) / (select extract(epoch from '2026-07-06 08:06:04'::timestamp) - extract(epoch from '2026-07-06 08:05:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362649 -2.748559)'), GeomFromEWKT('SRID=4674;POINT (-40.362538 -2.748592)'))) / (select extract(epoch from '2026-07-06 08:06:04'::timestamp) - extract(epoch from '2026-07-06 08:05: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'), 47828, 'SRID=4674;POINT (-40.362448 -2.748631)', '2026-07-06 08:06:11', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362538 -2.748592)'), GeomFromEWKT('SRID=4674;POINT (-40.362448 -2.748631)'))) / (select extract(epoch from '2026-07-06 08:06:11'::timestamp) - extract(epoch from '2026-07-06 08:06:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362538 -2.748592)'), GeomFromEWKT('SRID=4674;POINT (-40.362448 -2.748631)'))) / (select extract(epoch from '2026-07-06 08:06:11'::timestamp) - extract(epoch from '2026-07-06 08:06:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.362373 -2.74868)', '2026-07-06 08:06:17', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362448 -2.748631)'), GeomFromEWKT('SRID=4674;POINT (-40.362373 -2.74868)'))) / (select extract(epoch from '2026-07-06 08:06:17'::timestamp) - extract(epoch from '2026-07-06 08:06:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362448 -2.748631)'), GeomFromEWKT('SRID=4674;POINT (-40.362373 -2.74868)'))) / (select extract(epoch from '2026-07-06 08:06:17'::timestamp) - extract(epoch from '2026-07-06 08:06: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'), 47828, 'SRID=4674;POINT (-40.362304 -2.748726)', '2026-07-06 08:06:23', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362373 -2.74868)'), GeomFromEWKT('SRID=4674;POINT (-40.362304 -2.748726)'))) / (select extract(epoch from '2026-07-06 08:06:23'::timestamp) - extract(epoch from '2026-07-06 08:06:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362373 -2.74868)'), GeomFromEWKT('SRID=4674;POINT (-40.362304 -2.748726)'))) / (select extract(epoch from '2026-07-06 08:06:23'::timestamp) - extract(epoch from '2026-07-06 08:06: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'), 47828, 'SRID=4674;POINT (-40.362259 -2.748755)', '2026-07-06 08:06:27', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362304 -2.748726)'), GeomFromEWKT('SRID=4674;POINT (-40.362259 -2.748755)'))) / (select extract(epoch from '2026-07-06 08:06:27'::timestamp) - extract(epoch from '2026-07-06 08:06:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362304 -2.748726)'), GeomFromEWKT('SRID=4674;POINT (-40.362259 -2.748755)'))) / (select extract(epoch from '2026-07-06 08:06:27'::timestamp) - extract(epoch from '2026-07-06 08:06: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'), 47828, 'SRID=4674;POINT (-40.362247 -2.74876)', '2026-07-06 08:06:28', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362259 -2.748755)'), GeomFromEWKT('SRID=4674;POINT (-40.362247 -2.74876)'))) / (select extract(epoch from '2026-07-06 08:06:28'::timestamp) - extract(epoch from '2026-07-06 08:06:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362259 -2.748755)'), GeomFromEWKT('SRID=4674;POINT (-40.362247 -2.74876)'))) / (select extract(epoch from '2026-07-06 08:06:28'::timestamp) - extract(epoch from '2026-07-06 08:06: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'), 47828, 'SRID=4674;POINT (-40.362167 -2.748785)', '2026-07-06 08:06:35', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362247 -2.74876)'), GeomFromEWKT('SRID=4674;POINT (-40.362167 -2.748785)'))) / (select extract(epoch from '2026-07-06 08:06:35'::timestamp) - extract(epoch from '2026-07-06 08:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362247 -2.74876)'), GeomFromEWKT('SRID=4674;POINT (-40.362167 -2.748785)'))) / (select extract(epoch from '2026-07-06 08:06:35'::timestamp) - extract(epoch from '2026-07-06 08:06:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.36213 -2.748791)', '2026-07-06 08:06:38', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362167 -2.748785)'), GeomFromEWKT('SRID=4674;POINT (-40.36213 -2.748791)'))) / (select extract(epoch from '2026-07-06 08:06:38'::timestamp) - extract(epoch from '2026-07-06 08:06:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362167 -2.748785)'), GeomFromEWKT('SRID=4674;POINT (-40.36213 -2.748791)'))) / (select extract(epoch from '2026-07-06 08:06:38'::timestamp) - extract(epoch from '2026-07-06 08:06: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'), 47828, 'SRID=4674;POINT (-40.362091 -2.748792)', '2026-07-06 08:06:41', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36213 -2.748791)'), GeomFromEWKT('SRID=4674;POINT (-40.362091 -2.748792)'))) / (select extract(epoch from '2026-07-06 08:06:41'::timestamp) - extract(epoch from '2026-07-06 08:06:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36213 -2.748791)'), GeomFromEWKT('SRID=4674;POINT (-40.362091 -2.748792)'))) / (select extract(epoch from '2026-07-06 08:06:41'::timestamp) - extract(epoch from '2026-07-06 08:06: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'), 47828, 'SRID=4674;POINT (-40.361976 -2.748795)', '2026-07-06 08:06:49', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362091 -2.748792)'), GeomFromEWKT('SRID=4674;POINT (-40.361976 -2.748795)'))) / (select extract(epoch from '2026-07-06 08:06:49'::timestamp) - extract(epoch from '2026-07-06 08:06:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362091 -2.748792)'), GeomFromEWKT('SRID=4674;POINT (-40.361976 -2.748795)'))) / (select extract(epoch from '2026-07-06 08:06:49'::timestamp) - extract(epoch from '2026-07-06 08:06:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.361891 -2.748817)', '2026-07-06 08:06:57', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361976 -2.748795)'), GeomFromEWKT('SRID=4674;POINT (-40.361891 -2.748817)'))) / (select extract(epoch from '2026-07-06 08:06:57'::timestamp) - extract(epoch from '2026-07-06 08:06:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361976 -2.748795)'), GeomFromEWKT('SRID=4674;POINT (-40.361891 -2.748817)'))) / (select extract(epoch from '2026-07-06 08:06:57'::timestamp) - extract(epoch from '2026-07-06 08:06: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'), 47828, 'SRID=4674;POINT (-40.361866 -2.74883)', '2026-07-06 08:07:00', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361891 -2.748817)'), GeomFromEWKT('SRID=4674;POINT (-40.361866 -2.74883)'))) / (select extract(epoch from '2026-07-06 08:07:00'::timestamp) - extract(epoch from '2026-07-06 08:06:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361891 -2.748817)'), GeomFromEWKT('SRID=4674;POINT (-40.361866 -2.74883)'))) / (select extract(epoch from '2026-07-06 08:07:00'::timestamp) - extract(epoch from '2026-07-06 08:06: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'), 47828, 'SRID=4674;POINT (-40.361842 -2.748839)', '2026-07-06 08:07:03', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361866 -2.74883)'), GeomFromEWKT('SRID=4674;POINT (-40.361842 -2.748839)'))) / (select extract(epoch from '2026-07-06 08:07:03'::timestamp) - extract(epoch from '2026-07-06 08:07:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361866 -2.74883)'), GeomFromEWKT('SRID=4674;POINT (-40.361842 -2.748839)'))) / (select extract(epoch from '2026-07-06 08:07:03'::timestamp) - extract(epoch from '2026-07-06 08:07:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.361761 -2.748852)', '2026-07-06 08:07:11', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361842 -2.748839)'), GeomFromEWKT('SRID=4674;POINT (-40.361761 -2.748852)'))) / (select extract(epoch from '2026-07-06 08:07:11'::timestamp) - extract(epoch from '2026-07-06 08:07:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361842 -2.748839)'), GeomFromEWKT('SRID=4674;POINT (-40.361761 -2.748852)'))) / (select extract(epoch from '2026-07-06 08:07:11'::timestamp) - extract(epoch from '2026-07-06 08:07: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'), 47828, 'SRID=4674;POINT (-40.361729 -2.74886)', '2026-07-06 08:07:15', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361761 -2.748852)'), GeomFromEWKT('SRID=4674;POINT (-40.361729 -2.74886)'))) / (select extract(epoch from '2026-07-06 08:07:15'::timestamp) - extract(epoch from '2026-07-06 08:07:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361761 -2.748852)'), GeomFromEWKT('SRID=4674;POINT (-40.361729 -2.74886)'))) / (select extract(epoch from '2026-07-06 08:07:15'::timestamp) - extract(epoch from '2026-07-06 08:07: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'), 47828, 'SRID=4674;POINT (-40.361709 -2.748865)', '2026-07-06 08:07:17', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361729 -2.74886)'), GeomFromEWKT('SRID=4674;POINT (-40.361709 -2.748865)'))) / (select extract(epoch from '2026-07-06 08:07:17'::timestamp) - extract(epoch from '2026-07-06 08:07:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361729 -2.74886)'), GeomFromEWKT('SRID=4674;POINT (-40.361709 -2.748865)'))) / (select extract(epoch from '2026-07-06 08:07:17'::timestamp) - extract(epoch from '2026-07-06 08:07: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'), 47828, 'SRID=4674;POINT (-40.361641 -2.748898)', '2026-07-06 08:07:24', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361709 -2.748865)'), GeomFromEWKT('SRID=4674;POINT (-40.361641 -2.748898)'))) / (select extract(epoch from '2026-07-06 08:07:24'::timestamp) - extract(epoch from '2026-07-06 08:07:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361709 -2.748865)'), GeomFromEWKT('SRID=4674;POINT (-40.361641 -2.748898)'))) / (select extract(epoch from '2026-07-06 08:07:24'::timestamp) - extract(epoch from '2026-07-06 08:07:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.361589 -2.748902)', '2026-07-06 08:07:31', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361641 -2.748898)'), GeomFromEWKT('SRID=4674;POINT (-40.361589 -2.748902)'))) / (select extract(epoch from '2026-07-06 08:07:31'::timestamp) - extract(epoch from '2026-07-06 08:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361641 -2.748898)'), GeomFromEWKT('SRID=4674;POINT (-40.361589 -2.748902)'))) / (select extract(epoch from '2026-07-06 08:07:31'::timestamp) - extract(epoch from '2026-07-06 08:07: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'), 47828, 'SRID=4674;POINT (-40.361568 -2.748861)', '2026-07-06 08:07:39', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361589 -2.748902)'), GeomFromEWKT('SRID=4674;POINT (-40.361568 -2.748861)'))) / (select extract(epoch from '2026-07-06 08:07:39'::timestamp) - extract(epoch from '2026-07-06 08:07:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361589 -2.748902)'), GeomFromEWKT('SRID=4674;POINT (-40.361568 -2.748861)'))) / (select extract(epoch from '2026-07-06 08:07:39'::timestamp) - extract(epoch from '2026-07-06 08:07: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'), 47828, 'SRID=4674;POINT (-40.361585 -2.748802)', '2026-07-06 08:07:50', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361568 -2.748861)'), GeomFromEWKT('SRID=4674;POINT (-40.361585 -2.748802)'))) / (select extract(epoch from '2026-07-06 08:07:50'::timestamp) - extract(epoch from '2026-07-06 08:07:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361568 -2.748861)'), GeomFromEWKT('SRID=4674;POINT (-40.361585 -2.748802)'))) / (select extract(epoch from '2026-07-06 08:07:50'::timestamp) - extract(epoch from '2026-07-06 08:07: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'), 47828, 'SRID=4674;POINT (-40.36161 -2.748776)', '2026-07-06 08:07:58', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361585 -2.748802)'), GeomFromEWKT('SRID=4674;POINT (-40.36161 -2.748776)'))) / (select extract(epoch from '2026-07-06 08:07:58'::timestamp) - extract(epoch from '2026-07-06 08:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361585 -2.748802)'), GeomFromEWKT('SRID=4674;POINT (-40.36161 -2.748776)'))) / (select extract(epoch from '2026-07-06 08:07:58'::timestamp) - extract(epoch from '2026-07-06 08:07:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.361627 -2.748756)', '2026-07-06 08:08:06', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36161 -2.748776)'), GeomFromEWKT('SRID=4674;POINT (-40.361627 -2.748756)'))) / (select extract(epoch from '2026-07-06 08:08:06'::timestamp) - extract(epoch from '2026-07-06 08:07:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36161 -2.748776)'), GeomFromEWKT('SRID=4674;POINT (-40.361627 -2.748756)'))) / (select extract(epoch from '2026-07-06 08:08:06'::timestamp) - extract(epoch from '2026-07-06 08:07: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'), 47828, 'SRID=4674;POINT (-40.361644 -2.748746)', '2026-07-06 08:08:15', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361627 -2.748756)'), GeomFromEWKT('SRID=4674;POINT (-40.361644 -2.748746)'))) / (select extract(epoch from '2026-07-06 08:08:15'::timestamp) - extract(epoch from '2026-07-06 08:08:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361627 -2.748756)'), GeomFromEWKT('SRID=4674;POINT (-40.361644 -2.748746)'))) / (select extract(epoch from '2026-07-06 08:08:15'::timestamp) - extract(epoch from '2026-07-06 08:08: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'), 47828, 'SRID=4674;POINT (-40.36166 -2.748721)', '2026-07-06 08:08:21', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361644 -2.748746)'), GeomFromEWKT('SRID=4674;POINT (-40.36166 -2.748721)'))) / (select extract(epoch from '2026-07-06 08:08:21'::timestamp) - extract(epoch from '2026-07-06 08:08:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361644 -2.748746)'), GeomFromEWKT('SRID=4674;POINT (-40.36166 -2.748721)'))) / (select extract(epoch from '2026-07-06 08:08:21'::timestamp) - extract(epoch from '2026-07-06 08:08: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'), 47828, 'SRID=4674;POINT (-40.36166 -2.748668)', '2026-07-06 08:08:30', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36166 -2.748721)'), GeomFromEWKT('SRID=4674;POINT (-40.36166 -2.748668)'))) / (select extract(epoch from '2026-07-06 08:08:30'::timestamp) - extract(epoch from '2026-07-06 08:08:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36166 -2.748721)'), GeomFromEWKT('SRID=4674;POINT (-40.36166 -2.748668)'))) / (select extract(epoch from '2026-07-06 08:08:30'::timestamp) - extract(epoch from '2026-07-06 08:08: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'), 47828, 'SRID=4674;POINT (-40.361617 -2.748669)', '2026-07-06 08:08:39', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36166 -2.748668)'), GeomFromEWKT('SRID=4674;POINT (-40.361617 -2.748669)'))) / (select extract(epoch from '2026-07-06 08:08:39'::timestamp) - extract(epoch from '2026-07-06 08:08:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36166 -2.748668)'), GeomFromEWKT('SRID=4674;POINT (-40.361617 -2.748669)'))) / (select extract(epoch from '2026-07-06 08:08:39'::timestamp) - extract(epoch from '2026-07-06 08:08:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.361603 -2.748725)', '2026-07-06 08:08:48', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361617 -2.748669)'), GeomFromEWKT('SRID=4674;POINT (-40.361603 -2.748725)'))) / (select extract(epoch from '2026-07-06 08:08:48'::timestamp) - extract(epoch from '2026-07-06 08:08:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361617 -2.748669)'), GeomFromEWKT('SRID=4674;POINT (-40.361603 -2.748725)'))) / (select extract(epoch from '2026-07-06 08:08:48'::timestamp) - extract(epoch from '2026-07-06 08:08: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'), 47828, 'SRID=4674;POINT (-40.361605 -2.748777)', '2026-07-06 08:08:54', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361603 -2.748725)'), GeomFromEWKT('SRID=4674;POINT (-40.361605 -2.748777)'))) / (select extract(epoch from '2026-07-06 08:08:54'::timestamp) - extract(epoch from '2026-07-06 08:08:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361603 -2.748725)'), GeomFromEWKT('SRID=4674;POINT (-40.361605 -2.748777)'))) / (select extract(epoch from '2026-07-06 08:08:54'::timestamp) - extract(epoch from '2026-07-06 08:08: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'), 47828, 'SRID=4674;POINT (-40.361587 -2.748839)', '2026-07-06 08:09:03', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361605 -2.748777)'), GeomFromEWKT('SRID=4674;POINT (-40.361587 -2.748839)'))) / (select extract(epoch from '2026-07-06 08:09:03'::timestamp) - extract(epoch from '2026-07-06 08:08:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361605 -2.748777)'), GeomFromEWKT('SRID=4674;POINT (-40.361587 -2.748839)'))) / (select extract(epoch from '2026-07-06 08:09:03'::timestamp) - extract(epoch from '2026-07-06 08:08: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'), 47828, 'SRID=4674;POINT (-40.3616 -2.748924)', '2026-07-06 08:09:13', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361587 -2.748839)'), GeomFromEWKT('SRID=4674;POINT (-40.3616 -2.748924)'))) / (select extract(epoch from '2026-07-06 08:09:13'::timestamp) - extract(epoch from '2026-07-06 08:09:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361587 -2.748839)'), GeomFromEWKT('SRID=4674;POINT (-40.3616 -2.748924)'))) / (select extract(epoch from '2026-07-06 08:09:13'::timestamp) - extract(epoch from '2026-07-06 08:09:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.361604 -2.748939)', '2026-07-06 08:09:15', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3616 -2.748924)'), GeomFromEWKT('SRID=4674;POINT (-40.361604 -2.748939)'))) / (select extract(epoch from '2026-07-06 08:09:15'::timestamp) - extract(epoch from '2026-07-06 08:09:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3616 -2.748924)'), GeomFromEWKT('SRID=4674;POINT (-40.361604 -2.748939)'))) / (select extract(epoch from '2026-07-06 08:09:15'::timestamp) - extract(epoch from '2026-07-06 08:09: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'), 47828, 'SRID=4674;POINT (-40.361624 -2.748987)', '2026-07-06 08:09:20', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361604 -2.748939)'), GeomFromEWKT('SRID=4674;POINT (-40.361624 -2.748987)'))) / (select extract(epoch from '2026-07-06 08:09:20'::timestamp) - extract(epoch from '2026-07-06 08:09:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361604 -2.748939)'), GeomFromEWKT('SRID=4674;POINT (-40.361624 -2.748987)'))) / (select extract(epoch from '2026-07-06 08:09:20'::timestamp) - extract(epoch from '2026-07-06 08:09: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'), 47828, 'SRID=4674;POINT (-40.361647 -2.749013)', '2026-07-06 08:09:24', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361624 -2.748987)'), GeomFromEWKT('SRID=4674;POINT (-40.361647 -2.749013)'))) / (select extract(epoch from '2026-07-06 08:09:24'::timestamp) - extract(epoch from '2026-07-06 08:09:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361624 -2.748987)'), GeomFromEWKT('SRID=4674;POINT (-40.361647 -2.749013)'))) / (select extract(epoch from '2026-07-06 08:09:24'::timestamp) - extract(epoch from '2026-07-06 08:09: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'), 47828, 'SRID=4674;POINT (-40.361675 -2.749023)', '2026-07-06 08:09:27', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361647 -2.749013)'), GeomFromEWKT('SRID=4674;POINT (-40.361675 -2.749023)'))) / (select extract(epoch from '2026-07-06 08:09:27'::timestamp) - extract(epoch from '2026-07-06 08:09:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361647 -2.749013)'), GeomFromEWKT('SRID=4674;POINT (-40.361675 -2.749023)'))) / (select extract(epoch from '2026-07-06 08:09:27'::timestamp) - extract(epoch from '2026-07-06 08:09: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'), 47828, 'SRID=4674;POINT (-40.361709 -2.749025)', '2026-07-06 08:09:30', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361675 -2.749023)'), GeomFromEWKT('SRID=4674;POINT (-40.361709 -2.749025)'))) / (select extract(epoch from '2026-07-06 08:09:30'::timestamp) - extract(epoch from '2026-07-06 08:09:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361675 -2.749023)'), GeomFromEWKT('SRID=4674;POINT (-40.361709 -2.749025)'))) / (select extract(epoch from '2026-07-06 08:09:30'::timestamp) - extract(epoch from '2026-07-06 08:09: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'), 47828, 'SRID=4674;POINT (-40.361736 -2.749009)', '2026-07-06 08:09:33', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361709 -2.749025)'), GeomFromEWKT('SRID=4674;POINT (-40.361736 -2.749009)'))) / (select extract(epoch from '2026-07-06 08:09:33'::timestamp) - extract(epoch from '2026-07-06 08:09:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361709 -2.749025)'), GeomFromEWKT('SRID=4674;POINT (-40.361736 -2.749009)'))) / (select extract(epoch from '2026-07-06 08:09:33'::timestamp) - extract(epoch from '2026-07-06 08: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'), 47828, 'SRID=4674;POINT (-40.361785 -2.748987)', '2026-07-06 08:09:38', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361736 -2.749009)'), GeomFromEWKT('SRID=4674;POINT (-40.361785 -2.748987)'))) / (select extract(epoch from '2026-07-06 08:09:38'::timestamp) - extract(epoch from '2026-07-06 08:09:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361736 -2.749009)'), GeomFromEWKT('SRID=4674;POINT (-40.361785 -2.748987)'))) / (select extract(epoch from '2026-07-06 08:09:38'::timestamp) - extract(epoch from '2026-07-06 08:09:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.361811 -2.748987)', '2026-07-06 08:09:40', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361785 -2.748987)'), GeomFromEWKT('SRID=4674;POINT (-40.361811 -2.748987)'))) / (select extract(epoch from '2026-07-06 08:09:40'::timestamp) - extract(epoch from '2026-07-06 08:09:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361785 -2.748987)'), GeomFromEWKT('SRID=4674;POINT (-40.361811 -2.748987)'))) / (select extract(epoch from '2026-07-06 08:09:40'::timestamp) - extract(epoch from '2026-07-06 08:09:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.361831 -2.748986)', '2026-07-06 08:09:42', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361811 -2.748987)'), GeomFromEWKT('SRID=4674;POINT (-40.361831 -2.748986)'))) / (select extract(epoch from '2026-07-06 08:09:42'::timestamp) - extract(epoch from '2026-07-06 08:09:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361811 -2.748987)'), GeomFromEWKT('SRID=4674;POINT (-40.361831 -2.748986)'))) / (select extract(epoch from '2026-07-06 08:09:42'::timestamp) - extract(epoch from '2026-07-06 08:09: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'), 47828, 'SRID=4674;POINT (-40.361868 -2.74899)', '2026-07-06 08:09:46', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361831 -2.748986)'), GeomFromEWKT('SRID=4674;POINT (-40.361868 -2.74899)'))) / (select extract(epoch from '2026-07-06 08:09:46'::timestamp) - extract(epoch from '2026-07-06 08:09:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361831 -2.748986)'), GeomFromEWKT('SRID=4674;POINT (-40.361868 -2.74899)'))) / (select extract(epoch from '2026-07-06 08:09:46'::timestamp) - extract(epoch from '2026-07-06 08:09: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'), 47828, 'SRID=4674;POINT (-40.361893 -2.748996)', '2026-07-06 08:09:49', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361868 -2.74899)'), GeomFromEWKT('SRID=4674;POINT (-40.361893 -2.748996)'))) / (select extract(epoch from '2026-07-06 08:09:49'::timestamp) - extract(epoch from '2026-07-06 08:09:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361868 -2.74899)'), GeomFromEWKT('SRID=4674;POINT (-40.361893 -2.748996)'))) / (select extract(epoch from '2026-07-06 08:09:49'::timestamp) - extract(epoch from '2026-07-06 08:09: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'), 47828, 'SRID=4674;POINT (-40.361922 -2.749002)', '2026-07-06 08:09:53', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361893 -2.748996)'), GeomFromEWKT('SRID=4674;POINT (-40.361922 -2.749002)'))) / (select extract(epoch from '2026-07-06 08:09:53'::timestamp) - extract(epoch from '2026-07-06 08:09:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361893 -2.748996)'), GeomFromEWKT('SRID=4674;POINT (-40.361922 -2.749002)'))) / (select extract(epoch from '2026-07-06 08:09:53'::timestamp) - extract(epoch from '2026-07-06 08:09: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'), 47828, 'SRID=4674;POINT (-40.361987 -2.749015)', '2026-07-06 08:10:02', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361922 -2.749002)'), GeomFromEWKT('SRID=4674;POINT (-40.361987 -2.749015)'))) / (select extract(epoch from '2026-07-06 08:10:02'::timestamp) - extract(epoch from '2026-07-06 08:09:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361922 -2.749002)'), GeomFromEWKT('SRID=4674;POINT (-40.361987 -2.749015)'))) / (select extract(epoch from '2026-07-06 08:10:02'::timestamp) - extract(epoch from '2026-07-06 08:09: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'), 47828, 'SRID=4674;POINT (-40.362015 -2.749026)', '2026-07-06 08:10:06', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361987 -2.749015)'), GeomFromEWKT('SRID=4674;POINT (-40.362015 -2.749026)'))) / (select extract(epoch from '2026-07-06 08:10:06'::timestamp) - extract(epoch from '2026-07-06 08:10:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361987 -2.749015)'), GeomFromEWKT('SRID=4674;POINT (-40.362015 -2.749026)'))) / (select extract(epoch from '2026-07-06 08:10:06'::timestamp) - extract(epoch from '2026-07-06 08:10: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'), 47828, 'SRID=4674;POINT (-40.362055 -2.74904)', '2026-07-06 08:10:12', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362015 -2.749026)'), GeomFromEWKT('SRID=4674;POINT (-40.362055 -2.74904)'))) / (select extract(epoch from '2026-07-06 08:10:12'::timestamp) - extract(epoch from '2026-07-06 08:10:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362015 -2.749026)'), GeomFromEWKT('SRID=4674;POINT (-40.362055 -2.74904)'))) / (select extract(epoch from '2026-07-06 08:10:12'::timestamp) - extract(epoch from '2026-07-06 08:10:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.362108 -2.749051)', '2026-07-06 08:10:20', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362055 -2.74904)'), GeomFromEWKT('SRID=4674;POINT (-40.362108 -2.749051)'))) / (select extract(epoch from '2026-07-06 08:10:20'::timestamp) - extract(epoch from '2026-07-06 08:10:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362055 -2.74904)'), GeomFromEWKT('SRID=4674;POINT (-40.362108 -2.749051)'))) / (select extract(epoch from '2026-07-06 08:10:20'::timestamp) - extract(epoch from '2026-07-06 08:10:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.362147 -2.749077)', '2026-07-06 08:10:24', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362108 -2.749051)'), GeomFromEWKT('SRID=4674;POINT (-40.362147 -2.749077)'))) / (select extract(epoch from '2026-07-06 08:10:24'::timestamp) - extract(epoch from '2026-07-06 08:10:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362108 -2.749051)'), GeomFromEWKT('SRID=4674;POINT (-40.362147 -2.749077)'))) / (select extract(epoch from '2026-07-06 08:10:24'::timestamp) - extract(epoch from '2026-07-06 08:10:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.362166 -2.749079)', '2026-07-06 08:10:26', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362147 -2.749077)'), GeomFromEWKT('SRID=4674;POINT (-40.362166 -2.749079)'))) / (select extract(epoch from '2026-07-06 08:10:26'::timestamp) - extract(epoch from '2026-07-06 08:10:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362147 -2.749077)'), GeomFromEWKT('SRID=4674;POINT (-40.362166 -2.749079)'))) / (select extract(epoch from '2026-07-06 08:10:26'::timestamp) - extract(epoch from '2026-07-06 08:10: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'), 47828, 'SRID=4674;POINT (-40.362218 -2.749051)', '2026-07-06 08:10:34', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362166 -2.749079)'), GeomFromEWKT('SRID=4674;POINT (-40.362218 -2.749051)'))) / (select extract(epoch from '2026-07-06 08:10:34'::timestamp) - extract(epoch from '2026-07-06 08:10:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362166 -2.749079)'), GeomFromEWKT('SRID=4674;POINT (-40.362218 -2.749051)'))) / (select extract(epoch from '2026-07-06 08:10:34'::timestamp) - extract(epoch from '2026-07-06 08:10: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'), 47828, 'SRID=4674;POINT (-40.362252 -2.749004)', '2026-07-06 08:10:43', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362218 -2.749051)'), GeomFromEWKT('SRID=4674;POINT (-40.362252 -2.749004)'))) / (select extract(epoch from '2026-07-06 08:10:43'::timestamp) - extract(epoch from '2026-07-06 08:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362218 -2.749051)'), GeomFromEWKT('SRID=4674;POINT (-40.362252 -2.749004)'))) / (select extract(epoch from '2026-07-06 08:10:43'::timestamp) - extract(epoch from '2026-07-06 08:10: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'), 47828, 'SRID=4674;POINT (-40.362271 -2.748984)', '2026-07-06 08:10:53', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362252 -2.749004)'), GeomFromEWKT('SRID=4674;POINT (-40.362271 -2.748984)'))) / (select extract(epoch from '2026-07-06 08:10:53'::timestamp) - extract(epoch from '2026-07-06 08:10:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362252 -2.749004)'), GeomFromEWKT('SRID=4674;POINT (-40.362271 -2.748984)'))) / (select extract(epoch from '2026-07-06 08:10:53'::timestamp) - extract(epoch from '2026-07-06 08:10:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.362292 -2.74897)', '2026-07-06 08:11:03', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362271 -2.748984)'), GeomFromEWKT('SRID=4674;POINT (-40.362292 -2.74897)'))) / (select extract(epoch from '2026-07-06 08:11:03'::timestamp) - extract(epoch from '2026-07-06 08:10:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362271 -2.748984)'), GeomFromEWKT('SRID=4674;POINT (-40.362292 -2.74897)'))) / (select extract(epoch from '2026-07-06 08:11:03'::timestamp) - extract(epoch from '2026-07-06 08:10:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.362309 -2.748963)', '2026-07-06 08:11:11', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362292 -2.74897)'), GeomFromEWKT('SRID=4674;POINT (-40.362309 -2.748963)'))) / (select extract(epoch from '2026-07-06 08:11:11'::timestamp) - extract(epoch from '2026-07-06 08:11:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362292 -2.74897)'), GeomFromEWKT('SRID=4674;POINT (-40.362309 -2.748963)'))) / (select extract(epoch from '2026-07-06 08:11:11'::timestamp) - extract(epoch from '2026-07-06 08: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'), 47828, 'SRID=4674;POINT (-40.362329 -2.748962)', '2026-07-06 08:11:21', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362309 -2.748963)'), GeomFromEWKT('SRID=4674;POINT (-40.362329 -2.748962)'))) / (select extract(epoch from '2026-07-06 08:11:21'::timestamp) - extract(epoch from '2026-07-06 08:11:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362309 -2.748963)'), GeomFromEWKT('SRID=4674;POINT (-40.362329 -2.748962)'))) / (select extract(epoch from '2026-07-06 08:11:21'::timestamp) - extract(epoch from '2026-07-06 08:11:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.36236 -2.748954)', '2026-07-06 08:11:31', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362329 -2.748962)'), GeomFromEWKT('SRID=4674;POINT (-40.36236 -2.748954)'))) / (select extract(epoch from '2026-07-06 08:11:31'::timestamp) - extract(epoch from '2026-07-06 08:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362329 -2.748962)'), GeomFromEWKT('SRID=4674;POINT (-40.36236 -2.748954)'))) / (select extract(epoch from '2026-07-06 08:11:31'::timestamp) - extract(epoch from '2026-07-06 08:11:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.362382 -2.748951)', '2026-07-06 08:11:41', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36236 -2.748954)'), GeomFromEWKT('SRID=4674;POINT (-40.362382 -2.748951)'))) / (select extract(epoch from '2026-07-06 08:11:41'::timestamp) - extract(epoch from '2026-07-06 08:11:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36236 -2.748954)'), GeomFromEWKT('SRID=4674;POINT (-40.362382 -2.748951)'))) / (select extract(epoch from '2026-07-06 08:11:41'::timestamp) - extract(epoch from '2026-07-06 08: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'), 47828, 'SRID=4674;POINT (-40.362409 -2.748947)', '2026-07-06 08:11:52', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362382 -2.748951)'), GeomFromEWKT('SRID=4674;POINT (-40.362409 -2.748947)'))) / (select extract(epoch from '2026-07-06 08:11:52'::timestamp) - extract(epoch from '2026-07-06 08:11:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362382 -2.748951)'), GeomFromEWKT('SRID=4674;POINT (-40.362409 -2.748947)'))) / (select extract(epoch from '2026-07-06 08:11:52'::timestamp) - extract(epoch from '2026-07-06 08:11: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'), 47828, 'SRID=4674;POINT (-40.362436 -2.748945)', '2026-07-06 08:12:01', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362409 -2.748947)'), GeomFromEWKT('SRID=4674;POINT (-40.362436 -2.748945)'))) / (select extract(epoch from '2026-07-06 08:12:01'::timestamp) - extract(epoch from '2026-07-06 08:11:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362409 -2.748947)'), GeomFromEWKT('SRID=4674;POINT (-40.362436 -2.748945)'))) / (select extract(epoch from '2026-07-06 08:12:01'::timestamp) - extract(epoch from '2026-07-06 08:11: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'), 47828, 'SRID=4674;POINT (-40.36246 -2.748919)', '2026-07-06 08:12:09', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362436 -2.748945)'), GeomFromEWKT('SRID=4674;POINT (-40.36246 -2.748919)'))) / (select extract(epoch from '2026-07-06 08:12:09'::timestamp) - extract(epoch from '2026-07-06 08:12:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362436 -2.748945)'), GeomFromEWKT('SRID=4674;POINT (-40.36246 -2.748919)'))) / (select extract(epoch from '2026-07-06 08:12:09'::timestamp) - extract(epoch from '2026-07-06 08:12: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'), 47828, 'SRID=4674;POINT (-40.362484 -2.748865)', '2026-07-06 08:12:17', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36246 -2.748919)'), GeomFromEWKT('SRID=4674;POINT (-40.362484 -2.748865)'))) / (select extract(epoch from '2026-07-06 08:12:17'::timestamp) - extract(epoch from '2026-07-06 08:12:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36246 -2.748919)'), GeomFromEWKT('SRID=4674;POINT (-40.362484 -2.748865)'))) / (select extract(epoch from '2026-07-06 08:12:17'::timestamp) - extract(epoch from '2026-07-06 08:12:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.362508 -2.748793)', '2026-07-06 08:12:28', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362484 -2.748865)'), GeomFromEWKT('SRID=4674;POINT (-40.362508 -2.748793)'))) / (select extract(epoch from '2026-07-06 08:12:28'::timestamp) - extract(epoch from '2026-07-06 08:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362484 -2.748865)'), GeomFromEWKT('SRID=4674;POINT (-40.362508 -2.748793)'))) / (select extract(epoch from '2026-07-06 08:12:28'::timestamp) - extract(epoch from '2026-07-06 08:12: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'), 47828, 'SRID=4674;POINT (-40.362528 -2.748764)', '2026-07-06 08:12:38', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362508 -2.748793)'), GeomFromEWKT('SRID=4674;POINT (-40.362528 -2.748764)'))) / (select extract(epoch from '2026-07-06 08:12:38'::timestamp) - extract(epoch from '2026-07-06 08:12:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362508 -2.748793)'), GeomFromEWKT('SRID=4674;POINT (-40.362528 -2.748764)'))) / (select extract(epoch from '2026-07-06 08:12:38'::timestamp) - extract(epoch from '2026-07-06 08:12: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'), 47828, 'SRID=4674;POINT (-40.362553 -2.748755)', '2026-07-06 08:12:50', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362528 -2.748764)'), GeomFromEWKT('SRID=4674;POINT (-40.362553 -2.748755)'))) / (select extract(epoch from '2026-07-06 08:12:50'::timestamp) - extract(epoch from '2026-07-06 08:12:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362528 -2.748764)'), GeomFromEWKT('SRID=4674;POINT (-40.362553 -2.748755)'))) / (select extract(epoch from '2026-07-06 08:12:50'::timestamp) - extract(epoch from '2026-07-06 08:12:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.362577 -2.748746)', '2026-07-06 08:13:02', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362553 -2.748755)'), GeomFromEWKT('SRID=4674;POINT (-40.362577 -2.748746)'))) / (select extract(epoch from '2026-07-06 08:13:02'::timestamp) - extract(epoch from '2026-07-06 08:12:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362553 -2.748755)'), GeomFromEWKT('SRID=4674;POINT (-40.362577 -2.748746)'))) / (select extract(epoch from '2026-07-06 08:13:02'::timestamp) - extract(epoch from '2026-07-06 08:12:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.362612 -2.748745)', '2026-07-06 08:13:16', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362577 -2.748746)'), GeomFromEWKT('SRID=4674;POINT (-40.362612 -2.748745)'))) / (select extract(epoch from '2026-07-06 08:13:16'::timestamp) - extract(epoch from '2026-07-06 08:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362577 -2.748746)'), GeomFromEWKT('SRID=4674;POINT (-40.362612 -2.748745)'))) / (select extract(epoch from '2026-07-06 08:13:16'::timestamp) - extract(epoch from '2026-07-06 08:13:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.362639 -2.748711)', '2026-07-06 08:13:25', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362612 -2.748745)'), GeomFromEWKT('SRID=4674;POINT (-40.362639 -2.748711)'))) / (select extract(epoch from '2026-07-06 08:13:25'::timestamp) - extract(epoch from '2026-07-06 08:13:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362612 -2.748745)'), GeomFromEWKT('SRID=4674;POINT (-40.362639 -2.748711)'))) / (select extract(epoch from '2026-07-06 08:13:25'::timestamp) - extract(epoch from '2026-07-06 08:13: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'), 47828, 'SRID=4674;POINT (-40.362642 -2.74862)', '2026-07-06 08:13:36', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362639 -2.748711)'), GeomFromEWKT('SRID=4674;POINT (-40.362642 -2.74862)'))) / (select extract(epoch from '2026-07-06 08:13:36'::timestamp) - extract(epoch from '2026-07-06 08:13:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362639 -2.748711)'), GeomFromEWKT('SRID=4674;POINT (-40.362642 -2.74862)'))) / (select extract(epoch from '2026-07-06 08:13:36'::timestamp) - extract(epoch from '2026-07-06 08:13:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.362615 -2.748591)', '2026-07-06 08:13:46', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362642 -2.74862)'), GeomFromEWKT('SRID=4674;POINT (-40.362615 -2.748591)'))) / (select extract(epoch from '2026-07-06 08:13:46'::timestamp) - extract(epoch from '2026-07-06 08:13:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362642 -2.74862)'), GeomFromEWKT('SRID=4674;POINT (-40.362615 -2.748591)'))) / (select extract(epoch from '2026-07-06 08:13:46'::timestamp) - extract(epoch from '2026-07-06 08:13: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'), 47828, 'SRID=4674;POINT (-40.362607 -2.748607)', '2026-07-06 08:13:52', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362615 -2.748591)'), GeomFromEWKT('SRID=4674;POINT (-40.362607 -2.748607)'))) / (select extract(epoch from '2026-07-06 08:13:52'::timestamp) - extract(epoch from '2026-07-06 08:13:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362615 -2.748591)'), GeomFromEWKT('SRID=4674;POINT (-40.362607 -2.748607)'))) / (select extract(epoch from '2026-07-06 08:13:52'::timestamp) - extract(epoch from '2026-07-06 08:13:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.362633 -2.748654)', '2026-07-06 08:14:00', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362607 -2.748607)'), GeomFromEWKT('SRID=4674;POINT (-40.362633 -2.748654)'))) / (select extract(epoch from '2026-07-06 08:14:00'::timestamp) - extract(epoch from '2026-07-06 08:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362607 -2.748607)'), GeomFromEWKT('SRID=4674;POINT (-40.362633 -2.748654)'))) / (select extract(epoch from '2026-07-06 08:14:00'::timestamp) - extract(epoch from '2026-07-06 08:13:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.36265 -2.748721)', '2026-07-06 08:14:09', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362633 -2.748654)'), GeomFromEWKT('SRID=4674;POINT (-40.36265 -2.748721)'))) / (select extract(epoch from '2026-07-06 08:14:09'::timestamp) - extract(epoch from '2026-07-06 08:14:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362633 -2.748654)'), GeomFromEWKT('SRID=4674;POINT (-40.36265 -2.748721)'))) / (select extract(epoch from '2026-07-06 08:14:09'::timestamp) - extract(epoch from '2026-07-06 08:14: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'), 47828, 'SRID=4674;POINT (-40.362661 -2.748749)', '2026-07-06 08:14:12', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36265 -2.748721)'), GeomFromEWKT('SRID=4674;POINT (-40.362661 -2.748749)'))) / (select extract(epoch from '2026-07-06 08:14:12'::timestamp) - extract(epoch from '2026-07-06 08:14:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36265 -2.748721)'), GeomFromEWKT('SRID=4674;POINT (-40.362661 -2.748749)'))) / (select extract(epoch from '2026-07-06 08:14:12'::timestamp) - extract(epoch from '2026-07-06 08: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'), 47828, 'SRID=4674;POINT (-40.362676 -2.748773)', '2026-07-06 08:14:15', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362661 -2.748749)'), GeomFromEWKT('SRID=4674;POINT (-40.362676 -2.748773)'))) / (select extract(epoch from '2026-07-06 08:14:15'::timestamp) - extract(epoch from '2026-07-06 08:14:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362661 -2.748749)'), GeomFromEWKT('SRID=4674;POINT (-40.362676 -2.748773)'))) / (select extract(epoch from '2026-07-06 08:14:15'::timestamp) - extract(epoch from '2026-07-06 08:14: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'), 47828, 'SRID=4674;POINT (-40.362709 -2.748815)', '2026-07-06 08:14:20', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362676 -2.748773)'), GeomFromEWKT('SRID=4674;POINT (-40.362709 -2.748815)'))) / (select extract(epoch from '2026-07-06 08:14:20'::timestamp) - extract(epoch from '2026-07-06 08:14:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362676 -2.748773)'), GeomFromEWKT('SRID=4674;POINT (-40.362709 -2.748815)'))) / (select extract(epoch from '2026-07-06 08:14:20'::timestamp) - extract(epoch from '2026-07-06 08:14: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'), 47828, 'SRID=4674;POINT (-40.362718 -2.748821)', '2026-07-06 08:14:21', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362709 -2.748815)'), GeomFromEWKT('SRID=4674;POINT (-40.362718 -2.748821)'))) / (select extract(epoch from '2026-07-06 08:14:21'::timestamp) - extract(epoch from '2026-07-06 08:14:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362709 -2.748815)'), GeomFromEWKT('SRID=4674;POINT (-40.362718 -2.748821)'))) / (select extract(epoch from '2026-07-06 08:14:21'::timestamp) - extract(epoch from '2026-07-06 08: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'), 47828, 'SRID=4674;POINT (-40.362795 -2.748859)', '2026-07-06 08:14:29', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362718 -2.748821)'), GeomFromEWKT('SRID=4674;POINT (-40.362795 -2.748859)'))) / (select extract(epoch from '2026-07-06 08:14:29'::timestamp) - extract(epoch from '2026-07-06 08:14:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362718 -2.748821)'), GeomFromEWKT('SRID=4674;POINT (-40.362795 -2.748859)'))) / (select extract(epoch from '2026-07-06 08:14:29'::timestamp) - extract(epoch from '2026-07-06 08:14: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'), 47828, 'SRID=4674;POINT (-40.362801 -2.748858)', '2026-07-06 08:14:30', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362795 -2.748859)'), GeomFromEWKT('SRID=4674;POINT (-40.362801 -2.748858)'))) / (select extract(epoch from '2026-07-06 08:14:30'::timestamp) - extract(epoch from '2026-07-06 08:14:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362795 -2.748859)'), GeomFromEWKT('SRID=4674;POINT (-40.362801 -2.748858)'))) / (select extract(epoch from '2026-07-06 08:14:30'::timestamp) - extract(epoch from '2026-07-06 08:14:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.362861 -2.748847)', '2026-07-06 08:14:39', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362801 -2.748858)'), GeomFromEWKT('SRID=4674;POINT (-40.362861 -2.748847)'))) / (select extract(epoch from '2026-07-06 08:14:39'::timestamp) - extract(epoch from '2026-07-06 08:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362801 -2.748858)'), GeomFromEWKT('SRID=4674;POINT (-40.362861 -2.748847)'))) / (select extract(epoch from '2026-07-06 08:14:39'::timestamp) - extract(epoch from '2026-07-06 08:14:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.362901 -2.748817)', '2026-07-06 08:14:45', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362861 -2.748847)'), GeomFromEWKT('SRID=4674;POINT (-40.362901 -2.748817)'))) / (select extract(epoch from '2026-07-06 08:14:45'::timestamp) - extract(epoch from '2026-07-06 08:14:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362861 -2.748847)'), GeomFromEWKT('SRID=4674;POINT (-40.362901 -2.748817)'))) / (select extract(epoch from '2026-07-06 08:14:45'::timestamp) - extract(epoch from '2026-07-06 08:14: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'), 47828, 'SRID=4674;POINT (-40.362917 -2.748805)', '2026-07-06 08:14:47', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362901 -2.748817)'), GeomFromEWKT('SRID=4674;POINT (-40.362917 -2.748805)'))) / (select extract(epoch from '2026-07-06 08:14:47'::timestamp) - extract(epoch from '2026-07-06 08:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362901 -2.748817)'), GeomFromEWKT('SRID=4674;POINT (-40.362917 -2.748805)'))) / (select extract(epoch from '2026-07-06 08:14:47'::timestamp) - extract(epoch from '2026-07-06 08:14:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.362963 -2.748746)', '2026-07-06 08:14:55', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362917 -2.748805)'), GeomFromEWKT('SRID=4674;POINT (-40.362963 -2.748746)'))) / (select extract(epoch from '2026-07-06 08:14:55'::timestamp) - extract(epoch from '2026-07-06 08:14:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362917 -2.748805)'), GeomFromEWKT('SRID=4674;POINT (-40.362963 -2.748746)'))) / (select extract(epoch from '2026-07-06 08:14:55'::timestamp) - extract(epoch from '2026-07-06 08: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'), 47828, 'SRID=4674;POINT (-40.362992 -2.748704)', '2026-07-06 08:15:03', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362963 -2.748746)'), GeomFromEWKT('SRID=4674;POINT (-40.362992 -2.748704)'))) / (select extract(epoch from '2026-07-06 08:15:03'::timestamp) - extract(epoch from '2026-07-06 08:14:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362963 -2.748746)'), GeomFromEWKT('SRID=4674;POINT (-40.362992 -2.748704)'))) / (select extract(epoch from '2026-07-06 08:15:03'::timestamp) - extract(epoch from '2026-07-06 08:14: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'), 47828, 'SRID=4674;POINT (-40.36302 -2.74868)', '2026-07-06 08:15:13', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362992 -2.748704)'), GeomFromEWKT('SRID=4674;POINT (-40.36302 -2.74868)'))) / (select extract(epoch from '2026-07-06 08:15:13'::timestamp) - extract(epoch from '2026-07-06 08:15:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362992 -2.748704)'), GeomFromEWKT('SRID=4674;POINT (-40.36302 -2.74868)'))) / (select extract(epoch from '2026-07-06 08:15:13'::timestamp) - extract(epoch from '2026-07-06 08:15: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'), 47828, 'SRID=4674;POINT (-40.363034 -2.748668)', '2026-07-06 08:15:21', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36302 -2.74868)'), GeomFromEWKT('SRID=4674;POINT (-40.363034 -2.748668)'))) / (select extract(epoch from '2026-07-06 08:15:21'::timestamp) - extract(epoch from '2026-07-06 08:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36302 -2.74868)'), GeomFromEWKT('SRID=4674;POINT (-40.363034 -2.748668)'))) / (select extract(epoch from '2026-07-06 08:15:21'::timestamp) - extract(epoch from '2026-07-06 08:15: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'), 47828, 'SRID=4674;POINT (-40.363057 -2.748653)', '2026-07-06 08:15:31', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363034 -2.748668)'), GeomFromEWKT('SRID=4674;POINT (-40.363057 -2.748653)'))) / (select extract(epoch from '2026-07-06 08:15:31'::timestamp) - extract(epoch from '2026-07-06 08:15:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363034 -2.748668)'), GeomFromEWKT('SRID=4674;POINT (-40.363057 -2.748653)'))) / (select extract(epoch from '2026-07-06 08:15:31'::timestamp) - extract(epoch from '2026-07-06 08:15: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'), 47828, 'SRID=4674;POINT (-40.363082 -2.748647)', '2026-07-06 08:15:43', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363057 -2.748653)'), GeomFromEWKT('SRID=4674;POINT (-40.363082 -2.748647)'))) / (select extract(epoch from '2026-07-06 08:15:43'::timestamp) - extract(epoch from '2026-07-06 08:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363057 -2.748653)'), GeomFromEWKT('SRID=4674;POINT (-40.363082 -2.748647)'))) / (select extract(epoch from '2026-07-06 08:15:43'::timestamp) - extract(epoch from '2026-07-06 08:15: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'), 47828, 'SRID=4674;POINT (-40.36311 -2.748643)', '2026-07-06 08:15:53', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363082 -2.748647)'), GeomFromEWKT('SRID=4674;POINT (-40.36311 -2.748643)'))) / (select extract(epoch from '2026-07-06 08:15:53'::timestamp) - extract(epoch from '2026-07-06 08:15:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363082 -2.748647)'), GeomFromEWKT('SRID=4674;POINT (-40.36311 -2.748643)'))) / (select extract(epoch from '2026-07-06 08:15:53'::timestamp) - extract(epoch from '2026-07-06 08:15: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'), 47828, 'SRID=4674;POINT (-40.363138 -2.748639)', '2026-07-06 08:16:09', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36311 -2.748643)'), GeomFromEWKT('SRID=4674;POINT (-40.363138 -2.748639)'))) / (select extract(epoch from '2026-07-06 08:16:09'::timestamp) - extract(epoch from '2026-07-06 08:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36311 -2.748643)'), GeomFromEWKT('SRID=4674;POINT (-40.363138 -2.748639)'))) / (select extract(epoch from '2026-07-06 08:16:09'::timestamp) - extract(epoch from '2026-07-06 08:15:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363159 -2.748641)', '2026-07-06 08:16:22', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363138 -2.748639)'), GeomFromEWKT('SRID=4674;POINT (-40.363159 -2.748641)'))) / (select extract(epoch from '2026-07-06 08:16:22'::timestamp) - extract(epoch from '2026-07-06 08:16:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363138 -2.748639)'), GeomFromEWKT('SRID=4674;POINT (-40.363159 -2.748641)'))) / (select extract(epoch from '2026-07-06 08:16:22'::timestamp) - extract(epoch from '2026-07-06 08:16: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'), 47828, 'SRID=4674;POINT (-40.363186 -2.748633)', '2026-07-06 08:16:29', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363159 -2.748641)'), GeomFromEWKT('SRID=4674;POINT (-40.363186 -2.748633)'))) / (select extract(epoch from '2026-07-06 08:16:29'::timestamp) - extract(epoch from '2026-07-06 08:16:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363159 -2.748641)'), GeomFromEWKT('SRID=4674;POINT (-40.363186 -2.748633)'))) / (select extract(epoch from '2026-07-06 08:16:29'::timestamp) - extract(epoch from '2026-07-06 08:16: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'), 47828, 'SRID=4674;POINT (-40.363213 -2.748619)', '2026-07-06 08:16:37', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363186 -2.748633)'), GeomFromEWKT('SRID=4674;POINT (-40.363213 -2.748619)'))) / (select extract(epoch from '2026-07-06 08:16:37'::timestamp) - extract(epoch from '2026-07-06 08:16:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363186 -2.748633)'), GeomFromEWKT('SRID=4674;POINT (-40.363213 -2.748619)'))) / (select extract(epoch from '2026-07-06 08:16:37'::timestamp) - extract(epoch from '2026-07-06 08:16: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'), 47828, 'SRID=4674;POINT (-40.363253 -2.748603)', '2026-07-06 08:16:48', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363213 -2.748619)'), GeomFromEWKT('SRID=4674;POINT (-40.363253 -2.748603)'))) / (select extract(epoch from '2026-07-06 08:16:48'::timestamp) - extract(epoch from '2026-07-06 08:16:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363213 -2.748619)'), GeomFromEWKT('SRID=4674;POINT (-40.363253 -2.748603)'))) / (select extract(epoch from '2026-07-06 08:16:48'::timestamp) - extract(epoch from '2026-07-06 08:16: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'), 47828, 'SRID=4674;POINT (-40.363313 -2.74859)', '2026-07-06 08:17:09', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363253 -2.748603)'), GeomFromEWKT('SRID=4674;POINT (-40.363313 -2.74859)'))) / (select extract(epoch from '2026-07-06 08:17:09'::timestamp) - extract(epoch from '2026-07-06 08:16:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363253 -2.748603)'), GeomFromEWKT('SRID=4674;POINT (-40.363313 -2.74859)'))) / (select extract(epoch from '2026-07-06 08:17:09'::timestamp) - extract(epoch from '2026-07-06 08:16: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'), 47828, 'SRID=4674;POINT (-40.363361 -2.748581)', '2026-07-06 08:17:27', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363313 -2.74859)'), GeomFromEWKT('SRID=4674;POINT (-40.363361 -2.748581)'))) / (select extract(epoch from '2026-07-06 08:17:27'::timestamp) - extract(epoch from '2026-07-06 08:17:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363313 -2.74859)'), GeomFromEWKT('SRID=4674;POINT (-40.363361 -2.748581)'))) / (select extract(epoch from '2026-07-06 08:17:27'::timestamp) - extract(epoch from '2026-07-06 08:17: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'), 47828, 'SRID=4674;POINT (-40.363409 -2.748567)', '2026-07-06 08:17:42', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363361 -2.748581)'), GeomFromEWKT('SRID=4674;POINT (-40.363409 -2.748567)'))) / (select extract(epoch from '2026-07-06 08:17:42'::timestamp) - extract(epoch from '2026-07-06 08:17:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363361 -2.748581)'), GeomFromEWKT('SRID=4674;POINT (-40.363409 -2.748567)'))) / (select extract(epoch from '2026-07-06 08:17:42'::timestamp) - extract(epoch from '2026-07-06 08:17: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'), 47828, 'SRID=4674;POINT (-40.363448 -2.748557)', '2026-07-06 08:17:55', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363409 -2.748567)'), GeomFromEWKT('SRID=4674;POINT (-40.363448 -2.748557)'))) / (select extract(epoch from '2026-07-06 08:17:55'::timestamp) - extract(epoch from '2026-07-06 08:17:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363409 -2.748567)'), GeomFromEWKT('SRID=4674;POINT (-40.363448 -2.748557)'))) / (select extract(epoch from '2026-07-06 08:17:55'::timestamp) - extract(epoch from '2026-07-06 08: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'), 47828, 'SRID=4674;POINT (-40.363508 -2.748546)', '2026-07-06 08:18:16', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363448 -2.748557)'), GeomFromEWKT('SRID=4674;POINT (-40.363508 -2.748546)'))) / (select extract(epoch from '2026-07-06 08:18:16'::timestamp) - extract(epoch from '2026-07-06 08:17:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363448 -2.748557)'), GeomFromEWKT('SRID=4674;POINT (-40.363508 -2.748546)'))) / (select extract(epoch from '2026-07-06 08:18:16'::timestamp) - extract(epoch from '2026-07-06 08: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'), 47828, 'SRID=4674;POINT (-40.36355 -2.748541)', '2026-07-06 08:18:29', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363508 -2.748546)'), GeomFromEWKT('SRID=4674;POINT (-40.36355 -2.748541)'))) / (select extract(epoch from '2026-07-06 08:18:29'::timestamp) - extract(epoch from '2026-07-06 08:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363508 -2.748546)'), GeomFromEWKT('SRID=4674;POINT (-40.36355 -2.748541)'))) / (select extract(epoch from '2026-07-06 08:18:29'::timestamp) - extract(epoch from '2026-07-06 08:18:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363595 -2.74853)', '2026-07-06 08:18:46', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36355 -2.748541)'), GeomFromEWKT('SRID=4674;POINT (-40.363595 -2.74853)'))) / (select extract(epoch from '2026-07-06 08:18:46'::timestamp) - extract(epoch from '2026-07-06 08:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36355 -2.748541)'), GeomFromEWKT('SRID=4674;POINT (-40.363595 -2.74853)'))) / (select extract(epoch from '2026-07-06 08:18:46'::timestamp) - extract(epoch from '2026-07-06 08:18:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363624 -2.748524)', '2026-07-06 08:18:58', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363595 -2.74853)'), GeomFromEWKT('SRID=4674;POINT (-40.363624 -2.748524)'))) / (select extract(epoch from '2026-07-06 08:18:58'::timestamp) - extract(epoch from '2026-07-06 08:18:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363595 -2.74853)'), GeomFromEWKT('SRID=4674;POINT (-40.363624 -2.748524)'))) / (select extract(epoch from '2026-07-06 08:18:58'::timestamp) - extract(epoch from '2026-07-06 08: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'), 47828, 'SRID=4674;POINT (-40.363638 -2.748521)', '2026-07-06 08:19:04', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363624 -2.748524)'), GeomFromEWKT('SRID=4674;POINT (-40.363638 -2.748521)'))) / (select extract(epoch from '2026-07-06 08:19:04'::timestamp) - extract(epoch from '2026-07-06 08:18:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363624 -2.748524)'), GeomFromEWKT('SRID=4674;POINT (-40.363638 -2.748521)'))) / (select extract(epoch from '2026-07-06 08:19:04'::timestamp) - extract(epoch from '2026-07-06 08:18: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'), 47828, 'SRID=4674;POINT (-40.363662 -2.748518)', '2026-07-06 08:19:12', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363638 -2.748521)'), GeomFromEWKT('SRID=4674;POINT (-40.363662 -2.748518)'))) / (select extract(epoch from '2026-07-06 08:19:12'::timestamp) - extract(epoch from '2026-07-06 08:19:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363638 -2.748521)'), GeomFromEWKT('SRID=4674;POINT (-40.363662 -2.748518)'))) / (select extract(epoch from '2026-07-06 08:19:12'::timestamp) - extract(epoch from '2026-07-06 08:19: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'), 47828, 'SRID=4674;POINT (-40.363683 -2.748511)', '2026-07-06 08:19:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363662 -2.748518)'), GeomFromEWKT('SRID=4674;POINT (-40.363683 -2.748511)'))) / (select extract(epoch from '2026-07-06 08:19:19'::timestamp) - extract(epoch from '2026-07-06 08:19:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363662 -2.748518)'), GeomFromEWKT('SRID=4674;POINT (-40.363683 -2.748511)'))) / (select extract(epoch from '2026-07-06 08:19:19'::timestamp) - extract(epoch from '2026-07-06 08:19:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363708 -2.748512)', '2026-07-06 08:19:25', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363683 -2.748511)'), GeomFromEWKT('SRID=4674;POINT (-40.363708 -2.748512)'))) / (select extract(epoch from '2026-07-06 08:19:25'::timestamp) - extract(epoch from '2026-07-06 08:19:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363683 -2.748511)'), GeomFromEWKT('SRID=4674;POINT (-40.363708 -2.748512)'))) / (select extract(epoch from '2026-07-06 08:19:25'::timestamp) - extract(epoch from '2026-07-06 08:19: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'), 47828, 'SRID=4674;POINT (-40.36373 -2.748513)', '2026-07-06 08:19:32', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363708 -2.748512)'), GeomFromEWKT('SRID=4674;POINT (-40.36373 -2.748513)'))) / (select extract(epoch from '2026-07-06 08:19:32'::timestamp) - extract(epoch from '2026-07-06 08:19:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363708 -2.748512)'), GeomFromEWKT('SRID=4674;POINT (-40.36373 -2.748513)'))) / (select extract(epoch from '2026-07-06 08:19:32'::timestamp) - extract(epoch from '2026-07-06 08:19: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'), 47828, 'SRID=4674;POINT (-40.363745 -2.74851)', '2026-07-06 08:19:38', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36373 -2.748513)'), GeomFromEWKT('SRID=4674;POINT (-40.363745 -2.74851)'))) / (select extract(epoch from '2026-07-06 08:19:38'::timestamp) - extract(epoch from '2026-07-06 08:19:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36373 -2.748513)'), GeomFromEWKT('SRID=4674;POINT (-40.363745 -2.74851)'))) / (select extract(epoch from '2026-07-06 08:19:38'::timestamp) - extract(epoch from '2026-07-06 08:19:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363772 -2.748504)', '2026-07-06 08:19:48', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363745 -2.74851)'), GeomFromEWKT('SRID=4674;POINT (-40.363772 -2.748504)'))) / (select extract(epoch from '2026-07-06 08:19:48'::timestamp) - extract(epoch from '2026-07-06 08:19:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363745 -2.74851)'), GeomFromEWKT('SRID=4674;POINT (-40.363772 -2.748504)'))) / (select extract(epoch from '2026-07-06 08:19:48'::timestamp) - extract(epoch from '2026-07-06 08:19:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363798 -2.7485)', '2026-07-06 08:19:57', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363772 -2.748504)'), GeomFromEWKT('SRID=4674;POINT (-40.363798 -2.7485)'))) / (select extract(epoch from '2026-07-06 08:19:57'::timestamp) - extract(epoch from '2026-07-06 08:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363772 -2.748504)'), GeomFromEWKT('SRID=4674;POINT (-40.363798 -2.7485)'))) / (select extract(epoch from '2026-07-06 08:19:57'::timestamp) - extract(epoch from '2026-07-06 08:19:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.36384 -2.748484)', '2026-07-06 08:20:12', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363798 -2.7485)'), GeomFromEWKT('SRID=4674;POINT (-40.36384 -2.748484)'))) / (select extract(epoch from '2026-07-06 08:20:12'::timestamp) - extract(epoch from '2026-07-06 08:19:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363798 -2.7485)'), GeomFromEWKT('SRID=4674;POINT (-40.36384 -2.748484)'))) / (select extract(epoch from '2026-07-06 08:20:12'::timestamp) - extract(epoch from '2026-07-06 08:19: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'), 47828, 'SRID=4674;POINT (-40.363902 -2.748476)', '2026-07-06 08:20:33', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36384 -2.748484)'), GeomFromEWKT('SRID=4674;POINT (-40.363902 -2.748476)'))) / (select extract(epoch from '2026-07-06 08:20:33'::timestamp) - extract(epoch from '2026-07-06 08:20:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36384 -2.748484)'), GeomFromEWKT('SRID=4674;POINT (-40.363902 -2.748476)'))) / (select extract(epoch from '2026-07-06 08:20:33'::timestamp) - extract(epoch from '2026-07-06 08:20: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'), 47828, 'SRID=4674;POINT (-40.363963 -2.748465)', '2026-07-06 08:20:55', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363902 -2.748476)'), GeomFromEWKT('SRID=4674;POINT (-40.363963 -2.748465)'))) / (select extract(epoch from '2026-07-06 08:20:55'::timestamp) - extract(epoch from '2026-07-06 08:20:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363902 -2.748476)'), GeomFromEWKT('SRID=4674;POINT (-40.363963 -2.748465)'))) / (select extract(epoch from '2026-07-06 08:20:55'::timestamp) - extract(epoch from '2026-07-06 08:20:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.364005 -2.748456)', '2026-07-06 08:21:10', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363963 -2.748465)'), GeomFromEWKT('SRID=4674;POINT (-40.364005 -2.748456)'))) / (select extract(epoch from '2026-07-06 08:21:10'::timestamp) - extract(epoch from '2026-07-06 08:20:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363963 -2.748465)'), GeomFromEWKT('SRID=4674;POINT (-40.364005 -2.748456)'))) / (select extract(epoch from '2026-07-06 08:21:10'::timestamp) - extract(epoch from '2026-07-06 08:20: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'), 47828, 'SRID=4674;POINT (-40.364047 -2.74845)', '2026-07-06 08:21:24', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364005 -2.748456)'), GeomFromEWKT('SRID=4674;POINT (-40.364047 -2.74845)'))) / (select extract(epoch from '2026-07-06 08:21:24'::timestamp) - extract(epoch from '2026-07-06 08:21:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364005 -2.748456)'), GeomFromEWKT('SRID=4674;POINT (-40.364047 -2.74845)'))) / (select extract(epoch from '2026-07-06 08:21:24'::timestamp) - extract(epoch from '2026-07-06 08:21:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.364112 -2.748447)', '2026-07-06 08:21:44', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364047 -2.74845)'), GeomFromEWKT('SRID=4674;POINT (-40.364112 -2.748447)'))) / (select extract(epoch from '2026-07-06 08:21:44'::timestamp) - extract(epoch from '2026-07-06 08:21:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364047 -2.74845)'), GeomFromEWKT('SRID=4674;POINT (-40.364112 -2.748447)'))) / (select extract(epoch from '2026-07-06 08:21:44'::timestamp) - extract(epoch from '2026-07-06 08:21: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'), 47828, 'SRID=4674;POINT (-40.36413 -2.748445)', '2026-07-06 08:21:50', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364112 -2.748447)'), GeomFromEWKT('SRID=4674;POINT (-40.36413 -2.748445)'))) / (select extract(epoch from '2026-07-06 08:21:50'::timestamp) - extract(epoch from '2026-07-06 08:21:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364112 -2.748447)'), GeomFromEWKT('SRID=4674;POINT (-40.36413 -2.748445)'))) / (select extract(epoch from '2026-07-06 08:21:50'::timestamp) - extract(epoch from '2026-07-06 08:21:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.364161 -2.74844)', '2026-07-06 08:22:00', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36413 -2.748445)'), GeomFromEWKT('SRID=4674;POINT (-40.364161 -2.74844)'))) / (select extract(epoch from '2026-07-06 08:22:00'::timestamp) - extract(epoch from '2026-07-06 08:21:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36413 -2.748445)'), GeomFromEWKT('SRID=4674;POINT (-40.364161 -2.74844)'))) / (select extract(epoch from '2026-07-06 08:22:00'::timestamp) - extract(epoch from '2026-07-06 08:21:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.364188 -2.74844)', '2026-07-06 08:22:08', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364161 -2.74844)'), GeomFromEWKT('SRID=4674;POINT (-40.364188 -2.74844)'))) / (select extract(epoch from '2026-07-06 08:22:08'::timestamp) - extract(epoch from '2026-07-06 08:22:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364161 -2.74844)'), GeomFromEWKT('SRID=4674;POINT (-40.364188 -2.74844)'))) / (select extract(epoch from '2026-07-06 08:22:08'::timestamp) - extract(epoch from '2026-07-06 08:22: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'), 47828, 'SRID=4674;POINT (-40.364212 -2.748437)', '2026-07-06 08:22:17', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364188 -2.74844)'), GeomFromEWKT('SRID=4674;POINT (-40.364212 -2.748437)'))) / (select extract(epoch from '2026-07-06 08:22:17'::timestamp) - extract(epoch from '2026-07-06 08:22:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364188 -2.74844)'), GeomFromEWKT('SRID=4674;POINT (-40.364212 -2.748437)'))) / (select extract(epoch from '2026-07-06 08:22:17'::timestamp) - extract(epoch from '2026-07-06 08:22: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'), 47828, 'SRID=4674;POINT (-40.364235 -2.748438)', '2026-07-06 08:22:25', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364212 -2.748437)'), GeomFromEWKT('SRID=4674;POINT (-40.364235 -2.748438)'))) / (select extract(epoch from '2026-07-06 08:22:25'::timestamp) - extract(epoch from '2026-07-06 08:22:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364212 -2.748437)'), GeomFromEWKT('SRID=4674;POINT (-40.364235 -2.748438)'))) / (select extract(epoch from '2026-07-06 08:22:25'::timestamp) - extract(epoch from '2026-07-06 08:22: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'), 47828, 'SRID=4674;POINT (-40.364256 -2.748439)', '2026-07-06 08:22:33', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364235 -2.748438)'), GeomFromEWKT('SRID=4674;POINT (-40.364256 -2.748439)'))) / (select extract(epoch from '2026-07-06 08:22:33'::timestamp) - extract(epoch from '2026-07-06 08:22:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364235 -2.748438)'), GeomFromEWKT('SRID=4674;POINT (-40.364256 -2.748439)'))) / (select extract(epoch from '2026-07-06 08:22:33'::timestamp) - extract(epoch from '2026-07-06 08: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'), 47828, 'SRID=4674;POINT (-40.364275 -2.748436)', '2026-07-06 08:22:40', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364256 -2.748439)'), GeomFromEWKT('SRID=4674;POINT (-40.364275 -2.748436)'))) / (select extract(epoch from '2026-07-06 08:22:40'::timestamp) - extract(epoch from '2026-07-06 08:22:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364256 -2.748439)'), GeomFromEWKT('SRID=4674;POINT (-40.364275 -2.748436)'))) / (select extract(epoch from '2026-07-06 08:22:40'::timestamp) - extract(epoch from '2026-07-06 08:22: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'), 47828, 'SRID=4674;POINT (-40.36431 -2.748436)', '2026-07-06 08:22:52', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364275 -2.748436)'), GeomFromEWKT('SRID=4674;POINT (-40.36431 -2.748436)'))) / (select extract(epoch from '2026-07-06 08:22:52'::timestamp) - extract(epoch from '2026-07-06 08:22:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364275 -2.748436)'), GeomFromEWKT('SRID=4674;POINT (-40.36431 -2.748436)'))) / (select extract(epoch from '2026-07-06 08:22:52'::timestamp) - extract(epoch from '2026-07-06 08:22: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'), 47828, 'SRID=4674;POINT (-40.364353 -2.748433)', '2026-07-06 08:23:07', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36431 -2.748436)'), GeomFromEWKT('SRID=4674;POINT (-40.364353 -2.748433)'))) / (select extract(epoch from '2026-07-06 08:23:07'::timestamp) - extract(epoch from '2026-07-06 08:22:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36431 -2.748436)'), GeomFromEWKT('SRID=4674;POINT (-40.364353 -2.748433)'))) / (select extract(epoch from '2026-07-06 08:23:07'::timestamp) - extract(epoch from '2026-07-06 08:22: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'), 47828, 'SRID=4674;POINT (-40.364392 -2.748431)', '2026-07-06 08:23:17', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364353 -2.748433)'), GeomFromEWKT('SRID=4674;POINT (-40.364392 -2.748431)'))) / (select extract(epoch from '2026-07-06 08:23:17'::timestamp) - extract(epoch from '2026-07-06 08:23:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364353 -2.748433)'), GeomFromEWKT('SRID=4674;POINT (-40.364392 -2.748431)'))) / (select extract(epoch from '2026-07-06 08:23:17'::timestamp) - extract(epoch from '2026-07-06 08:23:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.364424 -2.748433)', '2026-07-06 08:23:26', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364392 -2.748431)'), GeomFromEWKT('SRID=4674;POINT (-40.364424 -2.748433)'))) / (select extract(epoch from '2026-07-06 08:23:26'::timestamp) - extract(epoch from '2026-07-06 08:23:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364392 -2.748431)'), GeomFromEWKT('SRID=4674;POINT (-40.364424 -2.748433)'))) / (select extract(epoch from '2026-07-06 08:23:26'::timestamp) - extract(epoch from '2026-07-06 08:23: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'), 47828, 'SRID=4674;POINT (-40.364452 -2.748441)', '2026-07-06 08:23:36', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364424 -2.748433)'), GeomFromEWKT('SRID=4674;POINT (-40.364452 -2.748441)'))) / (select extract(epoch from '2026-07-06 08:23:36'::timestamp) - extract(epoch from '2026-07-06 08:23:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364424 -2.748433)'), GeomFromEWKT('SRID=4674;POINT (-40.364452 -2.748441)'))) / (select extract(epoch from '2026-07-06 08:23:36'::timestamp) - extract(epoch from '2026-07-06 08:23: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'), 47828, 'SRID=4674;POINT (-40.364476 -2.748442)', '2026-07-06 08:23:46', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364452 -2.748441)'), GeomFromEWKT('SRID=4674;POINT (-40.364476 -2.748442)'))) / (select extract(epoch from '2026-07-06 08:23:46'::timestamp) - extract(epoch from '2026-07-06 08:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364452 -2.748441)'), GeomFromEWKT('SRID=4674;POINT (-40.364476 -2.748442)'))) / (select extract(epoch from '2026-07-06 08:23:46'::timestamp) - extract(epoch from '2026-07-06 08:23: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'), 47828, 'SRID=4674;POINT (-40.364485 -2.748442)', '2026-07-06 08:23:52', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364476 -2.748442)'), GeomFromEWKT('SRID=4674;POINT (-40.364485 -2.748442)'))) / (select extract(epoch from '2026-07-06 08:23:52'::timestamp) - extract(epoch from '2026-07-06 08:23:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364476 -2.748442)'), GeomFromEWKT('SRID=4674;POINT (-40.364485 -2.748442)'))) / (select extract(epoch from '2026-07-06 08:23:52'::timestamp) - extract(epoch from '2026-07-06 08:23:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.364509 -2.748445)', '2026-07-06 08:24:01', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364485 -2.748442)'), GeomFromEWKT('SRID=4674;POINT (-40.364509 -2.748445)'))) / (select extract(epoch from '2026-07-06 08:24:01'::timestamp) - extract(epoch from '2026-07-06 08:23:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364485 -2.748442)'), GeomFromEWKT('SRID=4674;POINT (-40.364509 -2.748445)'))) / (select extract(epoch from '2026-07-06 08:24:01'::timestamp) - extract(epoch from '2026-07-06 08:23: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'), 47828, 'SRID=4674;POINT (-40.364527 -2.748441)', '2026-07-06 08:24:08', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364509 -2.748445)'), GeomFromEWKT('SRID=4674;POINT (-40.364527 -2.748441)'))) / (select extract(epoch from '2026-07-06 08:24:08'::timestamp) - extract(epoch from '2026-07-06 08:24:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364509 -2.748445)'), GeomFromEWKT('SRID=4674;POINT (-40.364527 -2.748441)'))) / (select extract(epoch from '2026-07-06 08:24:08'::timestamp) - extract(epoch from '2026-07-06 08:24: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'), 47828, 'SRID=4674;POINT (-40.364546 -2.748444)', '2026-07-06 08:24:15', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364527 -2.748441)'), GeomFromEWKT('SRID=4674;POINT (-40.364546 -2.748444)'))) / (select extract(epoch from '2026-07-06 08:24:15'::timestamp) - extract(epoch from '2026-07-06 08:24:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364527 -2.748441)'), GeomFromEWKT('SRID=4674;POINT (-40.364546 -2.748444)'))) / (select extract(epoch from '2026-07-06 08:24:15'::timestamp) - extract(epoch from '2026-07-06 08:24:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.36457 -2.748442)', '2026-07-06 08:24:22', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364546 -2.748444)'), GeomFromEWKT('SRID=4674;POINT (-40.36457 -2.748442)'))) / (select extract(epoch from '2026-07-06 08:24:22'::timestamp) - extract(epoch from '2026-07-06 08:24:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364546 -2.748444)'), GeomFromEWKT('SRID=4674;POINT (-40.36457 -2.748442)'))) / (select extract(epoch from '2026-07-06 08:24:22'::timestamp) - extract(epoch from '2026-07-06 08:24: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'), 47828, 'SRID=4674;POINT (-40.364595 -2.74844)', '2026-07-06 08:24:29', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36457 -2.748442)'), GeomFromEWKT('SRID=4674;POINT (-40.364595 -2.74844)'))) / (select extract(epoch from '2026-07-06 08:24:29'::timestamp) - extract(epoch from '2026-07-06 08:24:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36457 -2.748442)'), GeomFromEWKT('SRID=4674;POINT (-40.364595 -2.74844)'))) / (select extract(epoch from '2026-07-06 08:24:29'::timestamp) - extract(epoch from '2026-07-06 08:24:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.364625 -2.748437)', '2026-07-06 08:24:38', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364595 -2.74844)'), GeomFromEWKT('SRID=4674;POINT (-40.364625 -2.748437)'))) / (select extract(epoch from '2026-07-06 08:24:38'::timestamp) - extract(epoch from '2026-07-06 08:24:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364595 -2.74844)'), GeomFromEWKT('SRID=4674;POINT (-40.364625 -2.748437)'))) / (select extract(epoch from '2026-07-06 08:24:38'::timestamp) - extract(epoch from '2026-07-06 08:24:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.364655 -2.748432)', '2026-07-06 08:24:47', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364625 -2.748437)'), GeomFromEWKT('SRID=4674;POINT (-40.364655 -2.748432)'))) / (select extract(epoch from '2026-07-06 08:24:47'::timestamp) - extract(epoch from '2026-07-06 08:24:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364625 -2.748437)'), GeomFromEWKT('SRID=4674;POINT (-40.364655 -2.748432)'))) / (select extract(epoch from '2026-07-06 08:24:47'::timestamp) - extract(epoch from '2026-07-06 08:24: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'), 47828, 'SRID=4674;POINT (-40.364683 -2.748427)', '2026-07-06 08:24:53', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364655 -2.748432)'), GeomFromEWKT('SRID=4674;POINT (-40.364683 -2.748427)'))) / (select extract(epoch from '2026-07-06 08:24:53'::timestamp) - extract(epoch from '2026-07-06 08:24:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364655 -2.748432)'), GeomFromEWKT('SRID=4674;POINT (-40.364683 -2.748427)'))) / (select extract(epoch from '2026-07-06 08:24:53'::timestamp) - extract(epoch from '2026-07-06 08: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'), 47828, 'SRID=4674;POINT (-40.364706 -2.748422)', '2026-07-06 08:25:00', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364683 -2.748427)'), GeomFromEWKT('SRID=4674;POINT (-40.364706 -2.748422)'))) / (select extract(epoch from '2026-07-06 08:25:00'::timestamp) - extract(epoch from '2026-07-06 08:24:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364683 -2.748427)'), GeomFromEWKT('SRID=4674;POINT (-40.364706 -2.748422)'))) / (select extract(epoch from '2026-07-06 08:25:00'::timestamp) - extract(epoch from '2026-07-06 08:24: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'), 47828, 'SRID=4674;POINT (-40.364735 -2.748417)', '2026-07-06 08:25:09', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364706 -2.748422)'), GeomFromEWKT('SRID=4674;POINT (-40.364735 -2.748417)'))) / (select extract(epoch from '2026-07-06 08:25:09'::timestamp) - extract(epoch from '2026-07-06 08:25:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364706 -2.748422)'), GeomFromEWKT('SRID=4674;POINT (-40.364735 -2.748417)'))) / (select extract(epoch from '2026-07-06 08:25:09'::timestamp) - extract(epoch from '2026-07-06 08:25: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'), 47828, 'SRID=4674;POINT (-40.364754 -2.748412)', '2026-07-06 08:25:16', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364735 -2.748417)'), GeomFromEWKT('SRID=4674;POINT (-40.364754 -2.748412)'))) / (select extract(epoch from '2026-07-06 08:25:16'::timestamp) - extract(epoch from '2026-07-06 08:25:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364735 -2.748417)'), GeomFromEWKT('SRID=4674;POINT (-40.364754 -2.748412)'))) / (select extract(epoch from '2026-07-06 08:25:16'::timestamp) - extract(epoch from '2026-07-06 08:25: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'), 47828, 'SRID=4674;POINT (-40.364788 -2.748408)', '2026-07-06 08:25:26', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364754 -2.748412)'), GeomFromEWKT('SRID=4674;POINT (-40.364788 -2.748408)'))) / (select extract(epoch from '2026-07-06 08:25:26'::timestamp) - extract(epoch from '2026-07-06 08:25:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364754 -2.748412)'), GeomFromEWKT('SRID=4674;POINT (-40.364788 -2.748408)'))) / (select extract(epoch from '2026-07-06 08:25:26'::timestamp) - extract(epoch from '2026-07-06 08:25:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.364811 -2.748409)', '2026-07-06 08:25:33', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364788 -2.748408)'), GeomFromEWKT('SRID=4674;POINT (-40.364811 -2.748409)'))) / (select extract(epoch from '2026-07-06 08:25:33'::timestamp) - extract(epoch from '2026-07-06 08:25:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364788 -2.748408)'), GeomFromEWKT('SRID=4674;POINT (-40.364811 -2.748409)'))) / (select extract(epoch from '2026-07-06 08:25:33'::timestamp) - extract(epoch from '2026-07-06 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'), 47828, 'SRID=4674;POINT (-40.364837 -2.748409)', '2026-07-06 08:25:41', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364811 -2.748409)'), GeomFromEWKT('SRID=4674;POINT (-40.364837 -2.748409)'))) / (select extract(epoch from '2026-07-06 08:25:41'::timestamp) - extract(epoch from '2026-07-06 08:25:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364811 -2.748409)'), GeomFromEWKT('SRID=4674;POINT (-40.364837 -2.748409)'))) / (select extract(epoch from '2026-07-06 08:25:41'::timestamp) - extract(epoch from '2026-07-06 08:25: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'), 47828, 'SRID=4674;POINT (-40.364863 -2.748412)', '2026-07-06 08:25:50', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364837 -2.748409)'), GeomFromEWKT('SRID=4674;POINT (-40.364863 -2.748412)'))) / (select extract(epoch from '2026-07-06 08:25:50'::timestamp) - extract(epoch from '2026-07-06 08:25:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364837 -2.748409)'), GeomFromEWKT('SRID=4674;POINT (-40.364863 -2.748412)'))) / (select extract(epoch from '2026-07-06 08:25:50'::timestamp) - extract(epoch from '2026-07-06 08:25:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.364889 -2.748417)', '2026-07-06 08:25:58', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364863 -2.748412)'), GeomFromEWKT('SRID=4674;POINT (-40.364889 -2.748417)'))) / (select extract(epoch from '2026-07-06 08:25:58'::timestamp) - extract(epoch from '2026-07-06 08:25:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364863 -2.748412)'), GeomFromEWKT('SRID=4674;POINT (-40.364889 -2.748417)'))) / (select extract(epoch from '2026-07-06 08:25:58'::timestamp) - extract(epoch from '2026-07-06 08:25: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'), 47828, 'SRID=4674;POINT (-40.364914 -2.748415)', '2026-07-06 08:26:05', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364889 -2.748417)'), GeomFromEWKT('SRID=4674;POINT (-40.364914 -2.748415)'))) / (select extract(epoch from '2026-07-06 08:26:05'::timestamp) - extract(epoch from '2026-07-06 08:25:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364889 -2.748417)'), GeomFromEWKT('SRID=4674;POINT (-40.364914 -2.748415)'))) / (select extract(epoch from '2026-07-06 08:26:05'::timestamp) - extract(epoch from '2026-07-06 08:25:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.364929 -2.748417)', '2026-07-06 08:26:10', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364914 -2.748415)'), GeomFromEWKT('SRID=4674;POINT (-40.364929 -2.748417)'))) / (select extract(epoch from '2026-07-06 08:26:10'::timestamp) - extract(epoch from '2026-07-06 08:26:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364914 -2.748415)'), GeomFromEWKT('SRID=4674;POINT (-40.364929 -2.748417)'))) / (select extract(epoch from '2026-07-06 08:26:10'::timestamp) - extract(epoch from '2026-07-06 08:26:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.364955 -2.748419)', '2026-07-06 08:26:17', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364929 -2.748417)'), GeomFromEWKT('SRID=4674;POINT (-40.364955 -2.748419)'))) / (select extract(epoch from '2026-07-06 08:26:17'::timestamp) - extract(epoch from '2026-07-06 08:26:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364929 -2.748417)'), GeomFromEWKT('SRID=4674;POINT (-40.364955 -2.748419)'))) / (select extract(epoch from '2026-07-06 08:26:17'::timestamp) - extract(epoch from '2026-07-06 08:26:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.364973 -2.748416)', '2026-07-06 08:26:23', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364955 -2.748419)'), GeomFromEWKT('SRID=4674;POINT (-40.364973 -2.748416)'))) / (select extract(epoch from '2026-07-06 08:26:23'::timestamp) - extract(epoch from '2026-07-06 08:26:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364955 -2.748419)'), GeomFromEWKT('SRID=4674;POINT (-40.364973 -2.748416)'))) / (select extract(epoch from '2026-07-06 08:26:23'::timestamp) - extract(epoch from '2026-07-06 08:26: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'), 47828, 'SRID=4674;POINT (-40.364995 -2.748414)', '2026-07-06 08:26:30', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364973 -2.748416)'), GeomFromEWKT('SRID=4674;POINT (-40.364995 -2.748414)'))) / (select extract(epoch from '2026-07-06 08:26:30'::timestamp) - extract(epoch from '2026-07-06 08:26:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364973 -2.748416)'), GeomFromEWKT('SRID=4674;POINT (-40.364995 -2.748414)'))) / (select extract(epoch from '2026-07-06 08:26:30'::timestamp) - extract(epoch from '2026-07-06 08:26: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'), 47828, 'SRID=4674;POINT (-40.365021 -2.74842)', '2026-07-06 08:26:38', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364995 -2.748414)'), GeomFromEWKT('SRID=4674;POINT (-40.365021 -2.74842)'))) / (select extract(epoch from '2026-07-06 08:26:38'::timestamp) - extract(epoch from '2026-07-06 08:26:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364995 -2.748414)'), GeomFromEWKT('SRID=4674;POINT (-40.365021 -2.74842)'))) / (select extract(epoch from '2026-07-06 08:26:38'::timestamp) - extract(epoch from '2026-07-06 08:26: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'), 47828, 'SRID=4674;POINT (-40.365053 -2.748418)', '2026-07-06 08:26:48', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365021 -2.74842)'), GeomFromEWKT('SRID=4674;POINT (-40.365053 -2.748418)'))) / (select extract(epoch from '2026-07-06 08:26:48'::timestamp) - extract(epoch from '2026-07-06 08:26:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365021 -2.74842)'), GeomFromEWKT('SRID=4674;POINT (-40.365053 -2.748418)'))) / (select extract(epoch from '2026-07-06 08:26:48'::timestamp) - extract(epoch from '2026-07-06 08:26: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'), 47828, 'SRID=4674;POINT (-40.365075 -2.748414)', '2026-07-06 08:26:55', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365053 -2.748418)'), GeomFromEWKT('SRID=4674;POINT (-40.365075 -2.748414)'))) / (select extract(epoch from '2026-07-06 08:26:55'::timestamp) - extract(epoch from '2026-07-06 08:26:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365053 -2.748418)'), GeomFromEWKT('SRID=4674;POINT (-40.365075 -2.748414)'))) / (select extract(epoch from '2026-07-06 08:26:55'::timestamp) - extract(epoch from '2026-07-06 08:26:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.365111 -2.748414)', '2026-07-06 08:27:07', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365075 -2.748414)'), GeomFromEWKT('SRID=4674;POINT (-40.365111 -2.748414)'))) / (select extract(epoch from '2026-07-06 08:27:07'::timestamp) - extract(epoch from '2026-07-06 08:26:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365075 -2.748414)'), GeomFromEWKT('SRID=4674;POINT (-40.365111 -2.748414)'))) / (select extract(epoch from '2026-07-06 08:27:07'::timestamp) - extract(epoch from '2026-07-06 08:26: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'), 47828, 'SRID=4674;POINT (-40.365134 -2.748413)', '2026-07-06 08:27:15', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365111 -2.748414)'), GeomFromEWKT('SRID=4674;POINT (-40.365134 -2.748413)'))) / (select extract(epoch from '2026-07-06 08:27:15'::timestamp) - extract(epoch from '2026-07-06 08:27:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365111 -2.748414)'), GeomFromEWKT('SRID=4674;POINT (-40.365134 -2.748413)'))) / (select extract(epoch from '2026-07-06 08:27:15'::timestamp) - extract(epoch from '2026-07-06 08:27: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'), 47828, 'SRID=4674;POINT (-40.36516 -2.748413)', '2026-07-06 08:27:24', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365134 -2.748413)'), GeomFromEWKT('SRID=4674;POINT (-40.36516 -2.748413)'))) / (select extract(epoch from '2026-07-06 08:27:24'::timestamp) - extract(epoch from '2026-07-06 08:27:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365134 -2.748413)'), GeomFromEWKT('SRID=4674;POINT (-40.36516 -2.748413)'))) / (select extract(epoch from '2026-07-06 08:27:24'::timestamp) - extract(epoch from '2026-07-06 08:27:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.365188 -2.748409)', '2026-07-06 08:27:33', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36516 -2.748413)'), GeomFromEWKT('SRID=4674;POINT (-40.365188 -2.748409)'))) / (select extract(epoch from '2026-07-06 08:27:33'::timestamp) - extract(epoch from '2026-07-06 08:27:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36516 -2.748413)'), GeomFromEWKT('SRID=4674;POINT (-40.365188 -2.748409)'))) / (select extract(epoch from '2026-07-06 08:27:33'::timestamp) - extract(epoch from '2026-07-06 08:27:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.365208 -2.748406)', '2026-07-06 08:27:40', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365188 -2.748409)'), GeomFromEWKT('SRID=4674;POINT (-40.365208 -2.748406)'))) / (select extract(epoch from '2026-07-06 08:27:40'::timestamp) - extract(epoch from '2026-07-06 08:27:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365188 -2.748409)'), GeomFromEWKT('SRID=4674;POINT (-40.365208 -2.748406)'))) / (select extract(epoch from '2026-07-06 08:27:40'::timestamp) - extract(epoch from '2026-07-06 08:27:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.365239 -2.748403)', '2026-07-06 08:27:49', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365208 -2.748406)'), GeomFromEWKT('SRID=4674;POINT (-40.365239 -2.748403)'))) / (select extract(epoch from '2026-07-06 08:27:49'::timestamp) - extract(epoch from '2026-07-06 08:27:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365208 -2.748406)'), GeomFromEWKT('SRID=4674;POINT (-40.365239 -2.748403)'))) / (select extract(epoch from '2026-07-06 08:27:49'::timestamp) - extract(epoch from '2026-07-06 08:27: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'), 47828, 'SRID=4674;POINT (-40.365269 -2.7484)', '2026-07-06 08:27:58', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365239 -2.748403)'), GeomFromEWKT('SRID=4674;POINT (-40.365269 -2.7484)'))) / (select extract(epoch from '2026-07-06 08:27:58'::timestamp) - extract(epoch from '2026-07-06 08:27:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365239 -2.748403)'), GeomFromEWKT('SRID=4674;POINT (-40.365269 -2.7484)'))) / (select extract(epoch from '2026-07-06 08:27:58'::timestamp) - extract(epoch from '2026-07-06 08:27: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'), 47828, 'SRID=4674;POINT (-40.365291 -2.748397)', '2026-07-06 08:28:06', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365269 -2.7484)'), GeomFromEWKT('SRID=4674;POINT (-40.365291 -2.748397)'))) / (select extract(epoch from '2026-07-06 08:28:06'::timestamp) - extract(epoch from '2026-07-06 08:27:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365269 -2.7484)'), GeomFromEWKT('SRID=4674;POINT (-40.365291 -2.748397)'))) / (select extract(epoch from '2026-07-06 08:28:06'::timestamp) - extract(epoch from '2026-07-06 08:27:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.365319 -2.748396)', '2026-07-06 08:28:15', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365291 -2.748397)'), GeomFromEWKT('SRID=4674;POINT (-40.365319 -2.748396)'))) / (select extract(epoch from '2026-07-06 08:28:15'::timestamp) - extract(epoch from '2026-07-06 08:28:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365291 -2.748397)'), GeomFromEWKT('SRID=4674;POINT (-40.365319 -2.748396)'))) / (select extract(epoch from '2026-07-06 08:28:15'::timestamp) - extract(epoch from '2026-07-06 08:28:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.365351 -2.748397)', '2026-07-06 08:28:25', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365319 -2.748396)'), GeomFromEWKT('SRID=4674;POINT (-40.365351 -2.748397)'))) / (select extract(epoch from '2026-07-06 08:28:25'::timestamp) - extract(epoch from '2026-07-06 08:28:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365319 -2.748396)'), GeomFromEWKT('SRID=4674;POINT (-40.365351 -2.748397)'))) / (select extract(epoch from '2026-07-06 08:28:25'::timestamp) - extract(epoch from '2026-07-06 08:28:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.36538 -2.748397)', '2026-07-06 08:28:36', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365351 -2.748397)'), GeomFromEWKT('SRID=4674;POINT (-40.36538 -2.748397)'))) / (select extract(epoch from '2026-07-06 08:28:36'::timestamp) - extract(epoch from '2026-07-06 08:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365351 -2.748397)'), GeomFromEWKT('SRID=4674;POINT (-40.36538 -2.748397)'))) / (select extract(epoch from '2026-07-06 08:28:36'::timestamp) - extract(epoch from '2026-07-06 08:28:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.365407 -2.7484)', '2026-07-06 08:28:43', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36538 -2.748397)'), GeomFromEWKT('SRID=4674;POINT (-40.365407 -2.7484)'))) / (select extract(epoch from '2026-07-06 08:28:43'::timestamp) - extract(epoch from '2026-07-06 08:28:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36538 -2.748397)'), GeomFromEWKT('SRID=4674;POINT (-40.365407 -2.7484)'))) / (select extract(epoch from '2026-07-06 08:28:43'::timestamp) - extract(epoch from '2026-07-06 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'), 47828, 'SRID=4674;POINT (-40.365433 -2.748397)', '2026-07-06 08:28:53', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365407 -2.7484)'), GeomFromEWKT('SRID=4674;POINT (-40.365433 -2.748397)'))) / (select extract(epoch from '2026-07-06 08:28:53'::timestamp) - extract(epoch from '2026-07-06 08:28:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365407 -2.7484)'), GeomFromEWKT('SRID=4674;POINT (-40.365433 -2.748397)'))) / (select extract(epoch from '2026-07-06 08:28:53'::timestamp) - extract(epoch from '2026-07-06 08:28: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'), 47828, 'SRID=4674;POINT (-40.365454 -2.748399)', '2026-07-06 08:29:00', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365433 -2.748397)'), GeomFromEWKT('SRID=4674;POINT (-40.365454 -2.748399)'))) / (select extract(epoch from '2026-07-06 08:29:00'::timestamp) - extract(epoch from '2026-07-06 08:28:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365433 -2.748397)'), GeomFromEWKT('SRID=4674;POINT (-40.365454 -2.748399)'))) / (select extract(epoch from '2026-07-06 08:29:00'::timestamp) - extract(epoch from '2026-07-06 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'), 47828, 'SRID=4674;POINT (-40.365475 -2.748404)', '2026-07-06 08:29:08', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365454 -2.748399)'), GeomFromEWKT('SRID=4674;POINT (-40.365475 -2.748404)'))) / (select extract(epoch from '2026-07-06 08:29:08'::timestamp) - extract(epoch from '2026-07-06 08:29:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365454 -2.748399)'), GeomFromEWKT('SRID=4674;POINT (-40.365475 -2.748404)'))) / (select extract(epoch from '2026-07-06 08:29:08'::timestamp) - extract(epoch from '2026-07-06 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'), 47828, 'SRID=4674;POINT (-40.365495 -2.748399)', '2026-07-06 08:29:15', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365475 -2.748404)'), GeomFromEWKT('SRID=4674;POINT (-40.365495 -2.748399)'))) / (select extract(epoch from '2026-07-06 08:29:15'::timestamp) - extract(epoch from '2026-07-06 08:29:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365475 -2.748404)'), GeomFromEWKT('SRID=4674;POINT (-40.365495 -2.748399)'))) / (select extract(epoch from '2026-07-06 08:29:15'::timestamp) - extract(epoch from '2026-07-06 08:29: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'), 47828, 'SRID=4674;POINT (-40.365519 -2.748397)', '2026-07-06 08:29:23', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365495 -2.748399)'), GeomFromEWKT('SRID=4674;POINT (-40.365519 -2.748397)'))) / (select extract(epoch from '2026-07-06 08:29:23'::timestamp) - extract(epoch from '2026-07-06 08:29:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365495 -2.748399)'), GeomFromEWKT('SRID=4674;POINT (-40.365519 -2.748397)'))) / (select extract(epoch from '2026-07-06 08:29:23'::timestamp) - extract(epoch from '2026-07-06 08:29: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'), 47828, 'SRID=4674;POINT (-40.365548 -2.748397)', '2026-07-06 08:29:32', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365519 -2.748397)'), GeomFromEWKT('SRID=4674;POINT (-40.365548 -2.748397)'))) / (select extract(epoch from '2026-07-06 08:29:32'::timestamp) - extract(epoch from '2026-07-06 08:29:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365519 -2.748397)'), GeomFromEWKT('SRID=4674;POINT (-40.365548 -2.748397)'))) / (select extract(epoch from '2026-07-06 08:29:32'::timestamp) - extract(epoch from '2026-07-06 08:29: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'), 47828, 'SRID=4674;POINT (-40.365573 -2.748396)', '2026-07-06 08:29:41', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365548 -2.748397)'), GeomFromEWKT('SRID=4674;POINT (-40.365573 -2.748396)'))) / (select extract(epoch from '2026-07-06 08:29:41'::timestamp) - extract(epoch from '2026-07-06 08:29:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365548 -2.748397)'), GeomFromEWKT('SRID=4674;POINT (-40.365573 -2.748396)'))) / (select extract(epoch from '2026-07-06 08:29:41'::timestamp) - extract(epoch from '2026-07-06 08:29: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'), 47828, 'SRID=4674;POINT (-40.365597 -2.748393)', '2026-07-06 08:29:48', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365573 -2.748396)'), GeomFromEWKT('SRID=4674;POINT (-40.365597 -2.748393)'))) / (select extract(epoch from '2026-07-06 08:29:48'::timestamp) - extract(epoch from '2026-07-06 08:29:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365573 -2.748396)'), GeomFromEWKT('SRID=4674;POINT (-40.365597 -2.748393)'))) / (select extract(epoch from '2026-07-06 08:29:48'::timestamp) - extract(epoch from '2026-07-06 08:29:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.365623 -2.748389)', '2026-07-06 08:29:56', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365597 -2.748393)'), GeomFromEWKT('SRID=4674;POINT (-40.365623 -2.748389)'))) / (select extract(epoch from '2026-07-06 08:29:56'::timestamp) - extract(epoch from '2026-07-06 08:29:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365597 -2.748393)'), GeomFromEWKT('SRID=4674;POINT (-40.365623 -2.748389)'))) / (select extract(epoch from '2026-07-06 08:29:56'::timestamp) - extract(epoch from '2026-07-06 08: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'), 47828, 'SRID=4674;POINT (-40.365659 -2.748385)', '2026-07-06 08:30:05', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365623 -2.748389)'), GeomFromEWKT('SRID=4674;POINT (-40.365659 -2.748385)'))) / (select extract(epoch from '2026-07-06 08:30:05'::timestamp) - extract(epoch from '2026-07-06 08:29:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365623 -2.748389)'), GeomFromEWKT('SRID=4674;POINT (-40.365659 -2.748385)'))) / (select extract(epoch from '2026-07-06 08:30:05'::timestamp) - extract(epoch from '2026-07-06 08:29: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'), 47828, 'SRID=4674;POINT (-40.365682 -2.748381)', '2026-07-06 08:30:11', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365659 -2.748385)'), GeomFromEWKT('SRID=4674;POINT (-40.365682 -2.748381)'))) / (select extract(epoch from '2026-07-06 08:30:11'::timestamp) - extract(epoch from '2026-07-06 08:30:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365659 -2.748385)'), GeomFromEWKT('SRID=4674;POINT (-40.365682 -2.748381)'))) / (select extract(epoch from '2026-07-06 08:30:11'::timestamp) - extract(epoch from '2026-07-06 08:30:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.365705 -2.74838)', '2026-07-06 08:30:18', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365682 -2.748381)'), GeomFromEWKT('SRID=4674;POINT (-40.365705 -2.74838)'))) / (select extract(epoch from '2026-07-06 08:30:18'::timestamp) - extract(epoch from '2026-07-06 08:30:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365682 -2.748381)'), GeomFromEWKT('SRID=4674;POINT (-40.365705 -2.74838)'))) / (select extract(epoch from '2026-07-06 08:30:18'::timestamp) - extract(epoch from '2026-07-06 08:30:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.365737 -2.748373)', '2026-07-06 08:30:28', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365705 -2.74838)'), GeomFromEWKT('SRID=4674;POINT (-40.365737 -2.748373)'))) / (select extract(epoch from '2026-07-06 08:30:28'::timestamp) - extract(epoch from '2026-07-06 08:30:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365705 -2.74838)'), GeomFromEWKT('SRID=4674;POINT (-40.365737 -2.748373)'))) / (select extract(epoch from '2026-07-06 08:30:28'::timestamp) - extract(epoch from '2026-07-06 08:30: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'), 47828, 'SRID=4674;POINT (-40.365763 -2.74836)', '2026-07-06 08:30:36', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365737 -2.748373)'), GeomFromEWKT('SRID=4674;POINT (-40.365763 -2.74836)'))) / (select extract(epoch from '2026-07-06 08:30:36'::timestamp) - extract(epoch from '2026-07-06 08:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365737 -2.748373)'), GeomFromEWKT('SRID=4674;POINT (-40.365763 -2.74836)'))) / (select extract(epoch from '2026-07-06 08:30:36'::timestamp) - extract(epoch from '2026-07-06 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'), 47828, 'SRID=4674;POINT (-40.365781 -2.748318)', '2026-07-06 08:30:43', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365763 -2.74836)'), GeomFromEWKT('SRID=4674;POINT (-40.365781 -2.748318)'))) / (select extract(epoch from '2026-07-06 08:30:43'::timestamp) - extract(epoch from '2026-07-06 08:30:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365763 -2.74836)'), GeomFromEWKT('SRID=4674;POINT (-40.365781 -2.748318)'))) / (select extract(epoch from '2026-07-06 08:30:43'::timestamp) - extract(epoch from '2026-07-06 08:30:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.365779 -2.748266)', '2026-07-06 08:30:50', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365781 -2.748318)'), GeomFromEWKT('SRID=4674;POINT (-40.365779 -2.748266)'))) / (select extract(epoch from '2026-07-06 08:30:50'::timestamp) - extract(epoch from '2026-07-06 08:30:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365781 -2.748318)'), GeomFromEWKT('SRID=4674;POINT (-40.365779 -2.748266)'))) / (select extract(epoch from '2026-07-06 08:30:50'::timestamp) - extract(epoch from '2026-07-06 08:30: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'), 47828, 'SRID=4674;POINT (-40.365753 -2.748226)', '2026-07-06 08:30:57', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365779 -2.748266)'), GeomFromEWKT('SRID=4674;POINT (-40.365753 -2.748226)'))) / (select extract(epoch from '2026-07-06 08:30:57'::timestamp) - extract(epoch from '2026-07-06 08:30:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365779 -2.748266)'), GeomFromEWKT('SRID=4674;POINT (-40.365753 -2.748226)'))) / (select extract(epoch from '2026-07-06 08:30:57'::timestamp) - extract(epoch from '2026-07-06 08:30: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'), 47828, 'SRID=4674;POINT (-40.365703 -2.748195)', '2026-07-06 08:31:06', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365753 -2.748226)'), GeomFromEWKT('SRID=4674;POINT (-40.365703 -2.748195)'))) / (select extract(epoch from '2026-07-06 08:31:06'::timestamp) - extract(epoch from '2026-07-06 08:30:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365753 -2.748226)'), GeomFromEWKT('SRID=4674;POINT (-40.365703 -2.748195)'))) / (select extract(epoch from '2026-07-06 08:31:06'::timestamp) - extract(epoch from '2026-07-06 08:30: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'), 47828, 'SRID=4674;POINT (-40.36564 -2.748172)', '2026-07-06 08:31:14', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365703 -2.748195)'), GeomFromEWKT('SRID=4674;POINT (-40.36564 -2.748172)'))) / (select extract(epoch from '2026-07-06 08:31:14'::timestamp) - extract(epoch from '2026-07-06 08:31:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365703 -2.748195)'), GeomFromEWKT('SRID=4674;POINT (-40.36564 -2.748172)'))) / (select extract(epoch from '2026-07-06 08:31:14'::timestamp) - extract(epoch from '2026-07-06 08:31:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.365576 -2.748171)', '2026-07-06 08:31:22', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36564 -2.748172)'), GeomFromEWKT('SRID=4674;POINT (-40.365576 -2.748171)'))) / (select extract(epoch from '2026-07-06 08:31:22'::timestamp) - extract(epoch from '2026-07-06 08:31:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36564 -2.748172)'), GeomFromEWKT('SRID=4674;POINT (-40.365576 -2.748171)'))) / (select extract(epoch from '2026-07-06 08:31:22'::timestamp) - extract(epoch from '2026-07-06 08:31: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'), 47828, 'SRID=4674;POINT (-40.365506 -2.748179)', '2026-07-06 08:31:32', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365576 -2.748171)'), GeomFromEWKT('SRID=4674;POINT (-40.365506 -2.748179)'))) / (select extract(epoch from '2026-07-06 08:31:32'::timestamp) - extract(epoch from '2026-07-06 08:31:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365576 -2.748171)'), GeomFromEWKT('SRID=4674;POINT (-40.365506 -2.748179)'))) / (select extract(epoch from '2026-07-06 08:31:32'::timestamp) - extract(epoch from '2026-07-06 08:31: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'), 47828, 'SRID=4674;POINT (-40.365437 -2.748193)', '2026-07-06 08:31:41', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365506 -2.748179)'), GeomFromEWKT('SRID=4674;POINT (-40.365437 -2.748193)'))) / (select extract(epoch from '2026-07-06 08:31:41'::timestamp) - extract(epoch from '2026-07-06 08:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365506 -2.748179)'), GeomFromEWKT('SRID=4674;POINT (-40.365437 -2.748193)'))) / (select extract(epoch from '2026-07-06 08:31:41'::timestamp) - extract(epoch from '2026-07-06 08:31: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'), 47828, 'SRID=4674;POINT (-40.365369 -2.748202)', '2026-07-06 08:31:49', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365437 -2.748193)'), GeomFromEWKT('SRID=4674;POINT (-40.365369 -2.748202)'))) / (select extract(epoch from '2026-07-06 08:31:49'::timestamp) - extract(epoch from '2026-07-06 08:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365437 -2.748193)'), GeomFromEWKT('SRID=4674;POINT (-40.365369 -2.748202)'))) / (select extract(epoch from '2026-07-06 08:31:49'::timestamp) - extract(epoch from '2026-07-06 08:31:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.365267 -2.748227)', '2026-07-06 08:32:00', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365369 -2.748202)'), GeomFromEWKT('SRID=4674;POINT (-40.365267 -2.748227)'))) / (select extract(epoch from '2026-07-06 08:32:00'::timestamp) - extract(epoch from '2026-07-06 08:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365369 -2.748202)'), GeomFromEWKT('SRID=4674;POINT (-40.365267 -2.748227)'))) / (select extract(epoch from '2026-07-06 08:32:00'::timestamp) - extract(epoch from '2026-07-06 08:31:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.365155 -2.748248)', '2026-07-06 08:32:10', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365267 -2.748227)'), GeomFromEWKT('SRID=4674;POINT (-40.365155 -2.748248)'))) / (select extract(epoch from '2026-07-06 08:32:10'::timestamp) - extract(epoch from '2026-07-06 08:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365267 -2.748227)'), GeomFromEWKT('SRID=4674;POINT (-40.365155 -2.748248)'))) / (select extract(epoch from '2026-07-06 08:32:10'::timestamp) - extract(epoch from '2026-07-06 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'), 47828, 'SRID=4674;POINT (-40.365065 -2.748262)', '2026-07-06 08:32:18', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365155 -2.748248)'), GeomFromEWKT('SRID=4674;POINT (-40.365065 -2.748262)'))) / (select extract(epoch from '2026-07-06 08:32:18'::timestamp) - extract(epoch from '2026-07-06 08:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365155 -2.748248)'), GeomFromEWKT('SRID=4674;POINT (-40.365065 -2.748262)'))) / (select extract(epoch from '2026-07-06 08:32:18'::timestamp) - extract(epoch from '2026-07-06 08:32:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.364963 -2.748276)', '2026-07-06 08:32:27', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365065 -2.748262)'), GeomFromEWKT('SRID=4674;POINT (-40.364963 -2.748276)'))) / (select extract(epoch from '2026-07-06 08:32:27'::timestamp) - extract(epoch from '2026-07-06 08:32:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365065 -2.748262)'), GeomFromEWKT('SRID=4674;POINT (-40.364963 -2.748276)'))) / (select extract(epoch from '2026-07-06 08:32:27'::timestamp) - extract(epoch from '2026-07-06 08:32: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'), 47828, 'SRID=4674;POINT (-40.364895 -2.748284)', '2026-07-06 08:32:33', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364963 -2.748276)'), GeomFromEWKT('SRID=4674;POINT (-40.364895 -2.748284)'))) / (select extract(epoch from '2026-07-06 08:32:33'::timestamp) - extract(epoch from '2026-07-06 08:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364963 -2.748276)'), GeomFromEWKT('SRID=4674;POINT (-40.364895 -2.748284)'))) / (select extract(epoch from '2026-07-06 08:32:33'::timestamp) - extract(epoch from '2026-07-06 08: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'), 47828, 'SRID=4674;POINT (-40.364809 -2.7483)', '2026-07-06 08:32:40', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364895 -2.748284)'), GeomFromEWKT('SRID=4674;POINT (-40.364809 -2.7483)'))) / (select extract(epoch from '2026-07-06 08:32:40'::timestamp) - extract(epoch from '2026-07-06 08:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364895 -2.748284)'), GeomFromEWKT('SRID=4674;POINT (-40.364809 -2.7483)'))) / (select extract(epoch from '2026-07-06 08:32:40'::timestamp) - extract(epoch from '2026-07-06 08:32: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'), 47828, 'SRID=4674;POINT (-40.364796 -2.748301)', '2026-07-06 08:32:41', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364809 -2.7483)'), GeomFromEWKT('SRID=4674;POINT (-40.364796 -2.748301)'))) / (select extract(epoch from '2026-07-06 08:32:41'::timestamp) - extract(epoch from '2026-07-06 08:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364809 -2.7483)'), GeomFromEWKT('SRID=4674;POINT (-40.364796 -2.748301)'))) / (select extract(epoch from '2026-07-06 08:32:41'::timestamp) - extract(epoch from '2026-07-06 08:32: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'), 47828, 'SRID=4674;POINT (-40.364722 -2.748322)', '2026-07-06 08:32:47', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364796 -2.748301)'), GeomFromEWKT('SRID=4674;POINT (-40.364722 -2.748322)'))) / (select extract(epoch from '2026-07-06 08:32:47'::timestamp) - extract(epoch from '2026-07-06 08:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364796 -2.748301)'), GeomFromEWKT('SRID=4674;POINT (-40.364722 -2.748322)'))) / (select extract(epoch from '2026-07-06 08:32:47'::timestamp) - extract(epoch from '2026-07-06 08:32:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.364635 -2.748355)', '2026-07-06 08:32:55', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364722 -2.748322)'), GeomFromEWKT('SRID=4674;POINT (-40.364635 -2.748355)'))) / (select extract(epoch from '2026-07-06 08:32:55'::timestamp) - extract(epoch from '2026-07-06 08:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364722 -2.748322)'), GeomFromEWKT('SRID=4674;POINT (-40.364635 -2.748355)'))) / (select extract(epoch from '2026-07-06 08:32:55'::timestamp) - extract(epoch from '2026-07-06 08:32: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'), 47828, 'SRID=4674;POINT (-40.364554 -2.748397)', '2026-07-06 08:33:02', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364635 -2.748355)'), GeomFromEWKT('SRID=4674;POINT (-40.364554 -2.748397)'))) / (select extract(epoch from '2026-07-06 08:33:02'::timestamp) - extract(epoch from '2026-07-06 08:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364635 -2.748355)'), GeomFromEWKT('SRID=4674;POINT (-40.364554 -2.748397)'))) / (select extract(epoch from '2026-07-06 08:33:02'::timestamp) - extract(epoch from '2026-07-06 08:32:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.364514 -2.748431)', '2026-07-06 08:33:06', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364554 -2.748397)'), GeomFromEWKT('SRID=4674;POINT (-40.364514 -2.748431)'))) / (select extract(epoch from '2026-07-06 08:33:06'::timestamp) - extract(epoch from '2026-07-06 08:33:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364554 -2.748397)'), GeomFromEWKT('SRID=4674;POINT (-40.364514 -2.748431)'))) / (select extract(epoch from '2026-07-06 08:33:06'::timestamp) - extract(epoch from '2026-07-06 08:33: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'), 47828, 'SRID=4674;POINT (-40.364496 -2.748456)', '2026-07-06 08:33:08', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364514 -2.748431)'), GeomFromEWKT('SRID=4674;POINT (-40.364496 -2.748456)'))) / (select extract(epoch from '2026-07-06 08:33:08'::timestamp) - extract(epoch from '2026-07-06 08:33:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364514 -2.748431)'), GeomFromEWKT('SRID=4674;POINT (-40.364496 -2.748456)'))) / (select extract(epoch from '2026-07-06 08:33:08'::timestamp) - extract(epoch from '2026-07-06 08: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'), 47828, 'SRID=4674;POINT (-40.36446 -2.748508)', '2026-07-06 08:33:13', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364496 -2.748456)'), GeomFromEWKT('SRID=4674;POINT (-40.36446 -2.748508)'))) / (select extract(epoch from '2026-07-06 08:33:13'::timestamp) - extract(epoch from '2026-07-06 08:33:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364496 -2.748456)'), GeomFromEWKT('SRID=4674;POINT (-40.36446 -2.748508)'))) / (select extract(epoch from '2026-07-06 08:33:13'::timestamp) - extract(epoch from '2026-07-06 08:33:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.364454 -2.748519)', '2026-07-06 08:33:14', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36446 -2.748508)'), GeomFromEWKT('SRID=4674;POINT (-40.364454 -2.748519)'))) / (select extract(epoch from '2026-07-06 08:33:14'::timestamp) - extract(epoch from '2026-07-06 08:33:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36446 -2.748508)'), GeomFromEWKT('SRID=4674;POINT (-40.364454 -2.748519)'))) / (select extract(epoch from '2026-07-06 08:33:14'::timestamp) - extract(epoch from '2026-07-06 08: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'), 47828, 'SRID=4674;POINT (-40.364448 -2.748529)', '2026-07-06 08:33:15', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364454 -2.748519)'), GeomFromEWKT('SRID=4674;POINT (-40.364448 -2.748529)'))) / (select extract(epoch from '2026-07-06 08:33:15'::timestamp) - extract(epoch from '2026-07-06 08:33:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364454 -2.748519)'), GeomFromEWKT('SRID=4674;POINT (-40.364448 -2.748529)'))) / (select extract(epoch from '2026-07-06 08:33:15'::timestamp) - extract(epoch from '2026-07-06 08:33: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'), 47828, 'SRID=4674;POINT (-40.364407 -2.748561)', '2026-07-06 08:33:19', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364448 -2.748529)'), GeomFromEWKT('SRID=4674;POINT (-40.364407 -2.748561)'))) / (select extract(epoch from '2026-07-06 08:33:19'::timestamp) - extract(epoch from '2026-07-06 08:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364448 -2.748529)'), GeomFromEWKT('SRID=4674;POINT (-40.364407 -2.748561)'))) / (select extract(epoch from '2026-07-06 08:33:19'::timestamp) - extract(epoch from '2026-07-06 08: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'), 47828, 'SRID=4674;POINT (-40.364344 -2.748578)', '2026-07-06 08:33:25', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364407 -2.748561)'), GeomFromEWKT('SRID=4674;POINT (-40.364344 -2.748578)'))) / (select extract(epoch from '2026-07-06 08:33:25'::timestamp) - extract(epoch from '2026-07-06 08:33:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364407 -2.748561)'), GeomFromEWKT('SRID=4674;POINT (-40.364344 -2.748578)'))) / (select extract(epoch from '2026-07-06 08:33:25'::timestamp) - extract(epoch from '2026-07-06 08: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'), 47828, 'SRID=4674;POINT (-40.364327 -2.748582)', '2026-07-06 08:33:27', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364344 -2.748578)'), GeomFromEWKT('SRID=4674;POINT (-40.364327 -2.748582)'))) / (select extract(epoch from '2026-07-06 08:33:27'::timestamp) - extract(epoch from '2026-07-06 08:33:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364344 -2.748578)'), GeomFromEWKT('SRID=4674;POINT (-40.364327 -2.748582)'))) / (select extract(epoch from '2026-07-06 08:33:27'::timestamp) - extract(epoch from '2026-07-06 08:33:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.364285 -2.748575)', '2026-07-06 08:33:32', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364327 -2.748582)'), GeomFromEWKT('SRID=4674;POINT (-40.364285 -2.748575)'))) / (select extract(epoch from '2026-07-06 08:33:32'::timestamp) - extract(epoch from '2026-07-06 08:33:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364327 -2.748582)'), GeomFromEWKT('SRID=4674;POINT (-40.364285 -2.748575)'))) / (select extract(epoch from '2026-07-06 08:33:32'::timestamp) - extract(epoch from '2026-07-06 08: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'), 47828, 'SRID=4674;POINT (-40.364228 -2.748563)', '2026-07-06 08:33:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364285 -2.748575)'), GeomFromEWKT('SRID=4674;POINT (-40.364228 -2.748563)'))) / (select extract(epoch from '2026-07-06 08:33:38'::timestamp) - extract(epoch from '2026-07-06 08:33:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364285 -2.748575)'), GeomFromEWKT('SRID=4674;POINT (-40.364228 -2.748563)'))) / (select extract(epoch from '2026-07-06 08:33:38'::timestamp) - extract(epoch from '2026-07-06 08: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'), 47828, 'SRID=4674;POINT (-40.364159 -2.748531)', '2026-07-06 08:33:45', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364228 -2.748563)'), GeomFromEWKT('SRID=4674;POINT (-40.364159 -2.748531)'))) / (select extract(epoch from '2026-07-06 08:33:45'::timestamp) - extract(epoch from '2026-07-06 08:33:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364228 -2.748563)'), GeomFromEWKT('SRID=4674;POINT (-40.364159 -2.748531)'))) / (select extract(epoch from '2026-07-06 08:33:45'::timestamp) - extract(epoch from '2026-07-06 08: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'), 47828, 'SRID=4674;POINT (-40.364083 -2.748498)', '2026-07-06 08:33:52', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364159 -2.748531)'), GeomFromEWKT('SRID=4674;POINT (-40.364083 -2.748498)'))) / (select extract(epoch from '2026-07-06 08:33:52'::timestamp) - extract(epoch from '2026-07-06 08:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364159 -2.748531)'), GeomFromEWKT('SRID=4674;POINT (-40.364083 -2.748498)'))) / (select extract(epoch from '2026-07-06 08:33:52'::timestamp) - extract(epoch from '2026-07-06 08:33: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'), 47828, 'SRID=4674;POINT (-40.363998 -2.748446)', '2026-07-06 08:34:00', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364083 -2.748498)'), GeomFromEWKT('SRID=4674;POINT (-40.363998 -2.748446)'))) / (select extract(epoch from '2026-07-06 08:34:00'::timestamp) - extract(epoch from '2026-07-06 08:33:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364083 -2.748498)'), GeomFromEWKT('SRID=4674;POINT (-40.363998 -2.748446)'))) / (select extract(epoch from '2026-07-06 08:34:00'::timestamp) - extract(epoch from '2026-07-06 08: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'), 47828, 'SRID=4674;POINT (-40.363927 -2.748421)', '2026-07-06 08:34:08', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363998 -2.748446)'), GeomFromEWKT('SRID=4674;POINT (-40.363927 -2.748421)'))) / (select extract(epoch from '2026-07-06 08:34:08'::timestamp) - extract(epoch from '2026-07-06 08:34:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363998 -2.748446)'), GeomFromEWKT('SRID=4674;POINT (-40.363927 -2.748421)'))) / (select extract(epoch from '2026-07-06 08:34:08'::timestamp) - extract(epoch from '2026-07-06 08:34: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'), 47828, 'SRID=4674;POINT (-40.363918 -2.74842)', '2026-07-06 08:34:09', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363927 -2.748421)'), GeomFromEWKT('SRID=4674;POINT (-40.363918 -2.74842)'))) / (select extract(epoch from '2026-07-06 08:34:09'::timestamp) - extract(epoch from '2026-07-06 08:34:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363927 -2.748421)'), GeomFromEWKT('SRID=4674;POINT (-40.363918 -2.74842)'))) / (select extract(epoch from '2026-07-06 08:34:09'::timestamp) - extract(epoch from '2026-07-06 08:34: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'), 47828, 'SRID=4674;POINT (-40.363833 -2.748404)', '2026-07-06 08:34:19', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363918 -2.74842)'), GeomFromEWKT('SRID=4674;POINT (-40.363833 -2.748404)'))) / (select extract(epoch from '2026-07-06 08:34:19'::timestamp) - extract(epoch from '2026-07-06 08:34:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363918 -2.74842)'), GeomFromEWKT('SRID=4674;POINT (-40.363833 -2.748404)'))) / (select extract(epoch from '2026-07-06 08:34:19'::timestamp) - extract(epoch from '2026-07-06 08:34:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363753 -2.748413)', '2026-07-06 08:34:26', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363833 -2.748404)'), GeomFromEWKT('SRID=4674;POINT (-40.363753 -2.748413)'))) / (select extract(epoch from '2026-07-06 08:34:26'::timestamp) - extract(epoch from '2026-07-06 08:34:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363833 -2.748404)'), GeomFromEWKT('SRID=4674;POINT (-40.363753 -2.748413)'))) / (select extract(epoch from '2026-07-06 08:34:26'::timestamp) - extract(epoch from '2026-07-06 08:34:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363664 -2.748434)', '2026-07-06 08:34:33', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363753 -2.748413)'), GeomFromEWKT('SRID=4674;POINT (-40.363664 -2.748434)'))) / (select extract(epoch from '2026-07-06 08:34:33'::timestamp) - extract(epoch from '2026-07-06 08:34:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363753 -2.748413)'), GeomFromEWKT('SRID=4674;POINT (-40.363664 -2.748434)'))) / (select extract(epoch from '2026-07-06 08:34:33'::timestamp) - extract(epoch from '2026-07-06 08:34: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'), 47828, 'SRID=4674;POINT (-40.363592 -2.74845)', '2026-07-06 08:34:39', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363664 -2.748434)'), GeomFromEWKT('SRID=4674;POINT (-40.363592 -2.74845)'))) / (select extract(epoch from '2026-07-06 08:34:39'::timestamp) - extract(epoch from '2026-07-06 08:34:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363664 -2.748434)'), GeomFromEWKT('SRID=4674;POINT (-40.363592 -2.74845)'))) / (select extract(epoch from '2026-07-06 08:34:39'::timestamp) - extract(epoch from '2026-07-06 08:34:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363543 -2.748466)', '2026-07-06 08:34:45', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363592 -2.74845)'), GeomFromEWKT('SRID=4674;POINT (-40.363543 -2.748466)'))) / (select extract(epoch from '2026-07-06 08:34:45'::timestamp) - extract(epoch from '2026-07-06 08:34:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363592 -2.74845)'), GeomFromEWKT('SRID=4674;POINT (-40.363543 -2.748466)'))) / (select extract(epoch from '2026-07-06 08:34:45'::timestamp) - extract(epoch from '2026-07-06 08:34: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'), 47828, 'SRID=4674;POINT (-40.363501 -2.748499)', '2026-07-06 08:34:53', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363543 -2.748466)'), GeomFromEWKT('SRID=4674;POINT (-40.363501 -2.748499)'))) / (select extract(epoch from '2026-07-06 08:34:53'::timestamp) - extract(epoch from '2026-07-06 08:34:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363543 -2.748466)'), GeomFromEWKT('SRID=4674;POINT (-40.363501 -2.748499)'))) / (select extract(epoch from '2026-07-06 08:34:53'::timestamp) - extract(epoch from '2026-07-06 08:34: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'), 47828, 'SRID=4674;POINT (-40.363504 -2.748555)', '2026-07-06 08:35:02', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363501 -2.748499)'), GeomFromEWKT('SRID=4674;POINT (-40.363504 -2.748555)'))) / (select extract(epoch from '2026-07-06 08:35:02'::timestamp) - extract(epoch from '2026-07-06 08:34:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363501 -2.748499)'), GeomFromEWKT('SRID=4674;POINT (-40.363504 -2.748555)'))) / (select extract(epoch from '2026-07-06 08:35:02'::timestamp) - extract(epoch from '2026-07-06 08:34: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'), 47828, 'SRID=4674;POINT (-40.363516 -2.748571)', '2026-07-06 08:35:04', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363504 -2.748555)'), GeomFromEWKT('SRID=4674;POINT (-40.363516 -2.748571)'))) / (select extract(epoch from '2026-07-06 08:35:04'::timestamp) - extract(epoch from '2026-07-06 08:35:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363504 -2.748555)'), GeomFromEWKT('SRID=4674;POINT (-40.363516 -2.748571)'))) / (select extract(epoch from '2026-07-06 08:35:04'::timestamp) - extract(epoch from '2026-07-06 08:35:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363542 -2.74859)', '2026-07-06 08:35:08', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363516 -2.748571)'), GeomFromEWKT('SRID=4674;POINT (-40.363542 -2.74859)'))) / (select extract(epoch from '2026-07-06 08:35:08'::timestamp) - extract(epoch from '2026-07-06 08:35:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363516 -2.748571)'), GeomFromEWKT('SRID=4674;POINT (-40.363542 -2.74859)'))) / (select extract(epoch from '2026-07-06 08:35:08'::timestamp) - extract(epoch from '2026-07-06 08:35:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363579 -2.748628)', '2026-07-06 08:35:14', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363542 -2.74859)'), GeomFromEWKT('SRID=4674;POINT (-40.363579 -2.748628)'))) / (select extract(epoch from '2026-07-06 08:35:14'::timestamp) - extract(epoch from '2026-07-06 08:35:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363542 -2.74859)'), GeomFromEWKT('SRID=4674;POINT (-40.363579 -2.748628)'))) / (select extract(epoch from '2026-07-06 08:35:14'::timestamp) - extract(epoch from '2026-07-06 08:35:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363645 -2.748652)', '2026-07-06 08:35:23', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363579 -2.748628)'), GeomFromEWKT('SRID=4674;POINT (-40.363645 -2.748652)'))) / (select extract(epoch from '2026-07-06 08:35:23'::timestamp) - extract(epoch from '2026-07-06 08:35:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363579 -2.748628)'), GeomFromEWKT('SRID=4674;POINT (-40.363645 -2.748652)'))) / (select extract(epoch from '2026-07-06 08:35:23'::timestamp) - extract(epoch from '2026-07-06 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'), 47828, 'SRID=4674;POINT (-40.363701 -2.748644)', '2026-07-06 08:35:32', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363645 -2.748652)'), GeomFromEWKT('SRID=4674;POINT (-40.363701 -2.748644)'))) / (select extract(epoch from '2026-07-06 08:35:32'::timestamp) - extract(epoch from '2026-07-06 08:35:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363645 -2.748652)'), GeomFromEWKT('SRID=4674;POINT (-40.363701 -2.748644)'))) / (select extract(epoch from '2026-07-06 08:35:32'::timestamp) - extract(epoch from '2026-07-06 08:35:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363724 -2.748637)', '2026-07-06 08:35:36', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363701 -2.748644)'), GeomFromEWKT('SRID=4674;POINT (-40.363724 -2.748637)'))) / (select extract(epoch from '2026-07-06 08:35:36'::timestamp) - extract(epoch from '2026-07-06 08:35:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363701 -2.748644)'), GeomFromEWKT('SRID=4674;POINT (-40.363724 -2.748637)'))) / (select extract(epoch from '2026-07-06 08:35:36'::timestamp) - extract(epoch from '2026-07-06 08:35: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'), 47828, 'SRID=4674;POINT (-40.363748 -2.748627)', '2026-07-06 08:35:40', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363724 -2.748637)'), GeomFromEWKT('SRID=4674;POINT (-40.363748 -2.748627)'))) / (select extract(epoch from '2026-07-06 08:35:40'::timestamp) - extract(epoch from '2026-07-06 08:35:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363724 -2.748637)'), GeomFromEWKT('SRID=4674;POINT (-40.363748 -2.748627)'))) / (select extract(epoch from '2026-07-06 08:35:40'::timestamp) - extract(epoch from '2026-07-06 08:35: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'), 47828, 'SRID=4674;POINT (-40.363792 -2.748607)', '2026-07-06 08:35:48', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363748 -2.748627)'), GeomFromEWKT('SRID=4674;POINT (-40.363792 -2.748607)'))) / (select extract(epoch from '2026-07-06 08:35:48'::timestamp) - extract(epoch from '2026-07-06 08:35:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363748 -2.748627)'), GeomFromEWKT('SRID=4674;POINT (-40.363792 -2.748607)'))) / (select extract(epoch from '2026-07-06 08:35:48'::timestamp) - extract(epoch from '2026-07-06 08:35: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'), 47828, 'SRID=4674;POINT (-40.363843 -2.74857)', '2026-07-06 08:35:58', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363792 -2.748607)'), GeomFromEWKT('SRID=4674;POINT (-40.363843 -2.74857)'))) / (select extract(epoch from '2026-07-06 08:35:58'::timestamp) - extract(epoch from '2026-07-06 08:35:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363792 -2.748607)'), GeomFromEWKT('SRID=4674;POINT (-40.363843 -2.74857)'))) / (select extract(epoch from '2026-07-06 08:35:58'::timestamp) - extract(epoch from '2026-07-06 08:35: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'), 47828, 'SRID=4674;POINT (-40.36386 -2.748523)', '2026-07-06 08:36:07', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363843 -2.74857)'), GeomFromEWKT('SRID=4674;POINT (-40.36386 -2.748523)'))) / (select extract(epoch from '2026-07-06 08:36:07'::timestamp) - extract(epoch from '2026-07-06 08:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363843 -2.74857)'), GeomFromEWKT('SRID=4674;POINT (-40.36386 -2.748523)'))) / (select extract(epoch from '2026-07-06 08:36:07'::timestamp) - extract(epoch from '2026-07-06 08:35:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363848 -2.748481)', '2026-07-06 08:36:14', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36386 -2.748523)'), GeomFromEWKT('SRID=4674;POINT (-40.363848 -2.748481)'))) / (select extract(epoch from '2026-07-06 08:36:14'::timestamp) - extract(epoch from '2026-07-06 08:36:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36386 -2.748523)'), GeomFromEWKT('SRID=4674;POINT (-40.363848 -2.748481)'))) / (select extract(epoch from '2026-07-06 08:36:14'::timestamp) - extract(epoch from '2026-07-06 08:36: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'), 47828, 'SRID=4674;POINT (-40.363782 -2.748473)', '2026-07-06 08:36:23', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363848 -2.748481)'), GeomFromEWKT('SRID=4674;POINT (-40.363782 -2.748473)'))) / (select extract(epoch from '2026-07-06 08:36:23'::timestamp) - extract(epoch from '2026-07-06 08:36:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363848 -2.748481)'), GeomFromEWKT('SRID=4674;POINT (-40.363782 -2.748473)'))) / (select extract(epoch from '2026-07-06 08:36:23'::timestamp) - extract(epoch from '2026-07-06 08: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'), 47828, 'SRID=4674;POINT (-40.363731 -2.748484)', '2026-07-06 08:36:31', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363782 -2.748473)'), GeomFromEWKT('SRID=4674;POINT (-40.363731 -2.748484)'))) / (select extract(epoch from '2026-07-06 08:36:31'::timestamp) - extract(epoch from '2026-07-06 08:36:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363782 -2.748473)'), GeomFromEWKT('SRID=4674;POINT (-40.363731 -2.748484)'))) / (select extract(epoch from '2026-07-06 08:36:31'::timestamp) - extract(epoch from '2026-07-06 08:36:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363685 -2.748519)', '2026-07-06 08:36:40', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363731 -2.748484)'), GeomFromEWKT('SRID=4674;POINT (-40.363685 -2.748519)'))) / (select extract(epoch from '2026-07-06 08:36:40'::timestamp) - extract(epoch from '2026-07-06 08:36:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363731 -2.748484)'), GeomFromEWKT('SRID=4674;POINT (-40.363685 -2.748519)'))) / (select extract(epoch from '2026-07-06 08:36:40'::timestamp) - extract(epoch from '2026-07-06 08:36:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363646 -2.748518)', '2026-07-06 08:36:49', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363685 -2.748519)'), GeomFromEWKT('SRID=4674;POINT (-40.363646 -2.748518)'))) / (select extract(epoch from '2026-07-06 08:36:49'::timestamp) - extract(epoch from '2026-07-06 08:36:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363685 -2.748519)'), GeomFromEWKT('SRID=4674;POINT (-40.363646 -2.748518)'))) / (select extract(epoch from '2026-07-06 08:36:49'::timestamp) - extract(epoch from '2026-07-06 08:36:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363623 -2.748485)', '2026-07-06 08:36:59', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363646 -2.748518)'), GeomFromEWKT('SRID=4674;POINT (-40.363623 -2.748485)'))) / (select extract(epoch from '2026-07-06 08:36:59'::timestamp) - extract(epoch from '2026-07-06 08:36:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363646 -2.748518)'), GeomFromEWKT('SRID=4674;POINT (-40.363623 -2.748485)'))) / (select extract(epoch from '2026-07-06 08:36:59'::timestamp) - extract(epoch from '2026-07-06 08:36:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363634 -2.748443)', '2026-07-06 08:37:08', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363623 -2.748485)'), GeomFromEWKT('SRID=4674;POINT (-40.363634 -2.748443)'))) / (select extract(epoch from '2026-07-06 08:37:08'::timestamp) - extract(epoch from '2026-07-06 08:36:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363623 -2.748485)'), GeomFromEWKT('SRID=4674;POINT (-40.363634 -2.748443)'))) / (select extract(epoch from '2026-07-06 08:37:08'::timestamp) - extract(epoch from '2026-07-06 08:36:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363648 -2.74843)', '2026-07-06 08:37:15', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363634 -2.748443)'), GeomFromEWKT('SRID=4674;POINT (-40.363648 -2.74843)'))) / (select extract(epoch from '2026-07-06 08:37:15'::timestamp) - extract(epoch from '2026-07-06 08:37:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363634 -2.748443)'), GeomFromEWKT('SRID=4674;POINT (-40.363648 -2.74843)'))) / (select extract(epoch from '2026-07-06 08:37:15'::timestamp) - extract(epoch from '2026-07-06 08: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'), 47828, 'SRID=4674;POINT (-40.363663 -2.748418)', '2026-07-06 08:37:22', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363648 -2.74843)'), GeomFromEWKT('SRID=4674;POINT (-40.363663 -2.748418)'))) / (select extract(epoch from '2026-07-06 08:37:22'::timestamp) - extract(epoch from '2026-07-06 08:37:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363648 -2.74843)'), GeomFromEWKT('SRID=4674;POINT (-40.363663 -2.748418)'))) / (select extract(epoch from '2026-07-06 08:37:22'::timestamp) - extract(epoch from '2026-07-06 08:37:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363707 -2.748392)', '2026-07-06 08:37:36', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363663 -2.748418)'), GeomFromEWKT('SRID=4674;POINT (-40.363707 -2.748392)'))) / (select extract(epoch from '2026-07-06 08:37:36'::timestamp) - extract(epoch from '2026-07-06 08:37:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363663 -2.748418)'), GeomFromEWKT('SRID=4674;POINT (-40.363707 -2.748392)'))) / (select extract(epoch from '2026-07-06 08:37:36'::timestamp) - extract(epoch from '2026-07-06 08:37:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363732 -2.748384)', '2026-07-06 08:37:46', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363707 -2.748392)'), GeomFromEWKT('SRID=4674;POINT (-40.363732 -2.748384)'))) / (select extract(epoch from '2026-07-06 08:37:46'::timestamp) - extract(epoch from '2026-07-06 08:37:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363707 -2.748392)'), GeomFromEWKT('SRID=4674;POINT (-40.363732 -2.748384)'))) / (select extract(epoch from '2026-07-06 08:37:46'::timestamp) - extract(epoch from '2026-07-06 08:37:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363757 -2.748366)', '2026-07-06 08:37:52', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363732 -2.748384)'), GeomFromEWKT('SRID=4674;POINT (-40.363757 -2.748366)'))) / (select extract(epoch from '2026-07-06 08:37:52'::timestamp) - extract(epoch from '2026-07-06 08:37:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363732 -2.748384)'), GeomFromEWKT('SRID=4674;POINT (-40.363757 -2.748366)'))) / (select extract(epoch from '2026-07-06 08:37:52'::timestamp) - extract(epoch from '2026-07-06 08:37:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363761 -2.748361)', '2026-07-06 08:37:53', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363757 -2.748366)'), GeomFromEWKT('SRID=4674;POINT (-40.363761 -2.748361)'))) / (select extract(epoch from '2026-07-06 08:37:53'::timestamp) - extract(epoch from '2026-07-06 08:37:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363757 -2.748366)'), GeomFromEWKT('SRID=4674;POINT (-40.363761 -2.748361)'))) / (select extract(epoch from '2026-07-06 08:37:53'::timestamp) - extract(epoch from '2026-07-06 08:37:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363764 -2.748322)', '2026-07-06 08:37:59', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363761 -2.748361)'), GeomFromEWKT('SRID=4674;POINT (-40.363764 -2.748322)'))) / (select extract(epoch from '2026-07-06 08:37:59'::timestamp) - extract(epoch from '2026-07-06 08:37:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363761 -2.748361)'), GeomFromEWKT('SRID=4674;POINT (-40.363764 -2.748322)'))) / (select extract(epoch from '2026-07-06 08:37:59'::timestamp) - extract(epoch from '2026-07-06 08:37:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363736 -2.748291)', '2026-07-06 08:38:07', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363764 -2.748322)'), GeomFromEWKT('SRID=4674;POINT (-40.363736 -2.748291)'))) / (select extract(epoch from '2026-07-06 08:38:07'::timestamp) - extract(epoch from '2026-07-06 08:37:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363764 -2.748322)'), GeomFromEWKT('SRID=4674;POINT (-40.363736 -2.748291)'))) / (select extract(epoch from '2026-07-06 08:38:07'::timestamp) - extract(epoch from '2026-07-06 08:37:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363666 -2.748325)', '2026-07-06 08:38:15', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363736 -2.748291)'), GeomFromEWKT('SRID=4674;POINT (-40.363666 -2.748325)'))) / (select extract(epoch from '2026-07-06 08:38:15'::timestamp) - extract(epoch from '2026-07-06 08:38:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363736 -2.748291)'), GeomFromEWKT('SRID=4674;POINT (-40.363666 -2.748325)'))) / (select extract(epoch from '2026-07-06 08:38:15'::timestamp) - extract(epoch from '2026-07-06 08: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'), 47828, 'SRID=4674;POINT (-40.363592 -2.748371)', '2026-07-06 08:38:22', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363666 -2.748325)'), GeomFromEWKT('SRID=4674;POINT (-40.363592 -2.748371)'))) / (select extract(epoch from '2026-07-06 08:38:22'::timestamp) - extract(epoch from '2026-07-06 08:38:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363666 -2.748325)'), GeomFromEWKT('SRID=4674;POINT (-40.363592 -2.748371)'))) / (select extract(epoch from '2026-07-06 08:38:22'::timestamp) - extract(epoch from '2026-07-06 08:38:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363537 -2.748405)', '2026-07-06 08:38:29', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363592 -2.748371)'), GeomFromEWKT('SRID=4674;POINT (-40.363537 -2.748405)'))) / (select extract(epoch from '2026-07-06 08:38:29'::timestamp) - extract(epoch from '2026-07-06 08:38:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363592 -2.748371)'), GeomFromEWKT('SRID=4674;POINT (-40.363537 -2.748405)'))) / (select extract(epoch from '2026-07-06 08:38:29'::timestamp) - extract(epoch from '2026-07-06 08:38: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'), 47828, 'SRID=4674;POINT (-40.363471 -2.748422)', '2026-07-06 08:38:37', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363537 -2.748405)'), GeomFromEWKT('SRID=4674;POINT (-40.363471 -2.748422)'))) / (select extract(epoch from '2026-07-06 08:38:37'::timestamp) - extract(epoch from '2026-07-06 08:38:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363537 -2.748405)'), GeomFromEWKT('SRID=4674;POINT (-40.363471 -2.748422)'))) / (select extract(epoch from '2026-07-06 08:38:37'::timestamp) - extract(epoch from '2026-07-06 08:38: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'), 47828, 'SRID=4674;POINT (-40.363429 -2.748449)', '2026-07-06 08:38:45', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363471 -2.748422)'), GeomFromEWKT('SRID=4674;POINT (-40.363429 -2.748449)'))) / (select extract(epoch from '2026-07-06 08:38:45'::timestamp) - extract(epoch from '2026-07-06 08:38:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363471 -2.748422)'), GeomFromEWKT('SRID=4674;POINT (-40.363429 -2.748449)'))) / (select extract(epoch from '2026-07-06 08:38:45'::timestamp) - extract(epoch from '2026-07-06 08:38:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.36341 -2.748461)', '2026-07-06 08:38:54', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363429 -2.748449)'), GeomFromEWKT('SRID=4674;POINT (-40.36341 -2.748461)'))) / (select extract(epoch from '2026-07-06 08:38:54'::timestamp) - extract(epoch from '2026-07-06 08:38:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363429 -2.748449)'), GeomFromEWKT('SRID=4674;POINT (-40.36341 -2.748461)'))) / (select extract(epoch from '2026-07-06 08:38:54'::timestamp) - extract(epoch from '2026-07-06 08:38: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'), 47828, 'SRID=4674;POINT (-40.363425 -2.748467)', '2026-07-06 08:39:06', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36341 -2.748461)'), GeomFromEWKT('SRID=4674;POINT (-40.363425 -2.748467)'))) / (select extract(epoch from '2026-07-06 08:39:06'::timestamp) - extract(epoch from '2026-07-06 08:38:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36341 -2.748461)'), GeomFromEWKT('SRID=4674;POINT (-40.363425 -2.748467)'))) / (select extract(epoch from '2026-07-06 08:39:06'::timestamp) - extract(epoch from '2026-07-06 08:38:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363449 -2.748469)', '2026-07-06 08:39:16', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363425 -2.748467)'), GeomFromEWKT('SRID=4674;POINT (-40.363449 -2.748469)'))) / (select extract(epoch from '2026-07-06 08:39:16'::timestamp) - extract(epoch from '2026-07-06 08:39:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363425 -2.748467)'), GeomFromEWKT('SRID=4674;POINT (-40.363449 -2.748469)'))) / (select extract(epoch from '2026-07-06 08:39:16'::timestamp) - extract(epoch from '2026-07-06 08:39: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'), 47828, 'SRID=4674;POINT (-40.363481 -2.748467)', '2026-07-06 08:39:26', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363449 -2.748469)'), GeomFromEWKT('SRID=4674;POINT (-40.363481 -2.748467)'))) / (select extract(epoch from '2026-07-06 08:39:26'::timestamp) - extract(epoch from '2026-07-06 08:39:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363449 -2.748469)'), GeomFromEWKT('SRID=4674;POINT (-40.363481 -2.748467)'))) / (select extract(epoch from '2026-07-06 08:39:26'::timestamp) - extract(epoch from '2026-07-06 08: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'), 47828, 'SRID=4674;POINT (-40.363512 -2.748467)', '2026-07-06 08:39:37', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363481 -2.748467)'), GeomFromEWKT('SRID=4674;POINT (-40.363512 -2.748467)'))) / (select extract(epoch from '2026-07-06 08:39:37'::timestamp) - extract(epoch from '2026-07-06 08:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363481 -2.748467)'), GeomFromEWKT('SRID=4674;POINT (-40.363512 -2.748467)'))) / (select extract(epoch from '2026-07-06 08:39:37'::timestamp) - extract(epoch from '2026-07-06 08:39:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363549 -2.748466)', '2026-07-06 08:39:47', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363512 -2.748467)'), GeomFromEWKT('SRID=4674;POINT (-40.363549 -2.748466)'))) / (select extract(epoch from '2026-07-06 08:39:47'::timestamp) - extract(epoch from '2026-07-06 08:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363512 -2.748467)'), GeomFromEWKT('SRID=4674;POINT (-40.363549 -2.748466)'))) / (select extract(epoch from '2026-07-06 08:39:47'::timestamp) - extract(epoch from '2026-07-06 08:39: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'), 47828, 'SRID=4674;POINT (-40.363578 -2.748463)', '2026-07-06 08:39:57', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363549 -2.748466)'), GeomFromEWKT('SRID=4674;POINT (-40.363578 -2.748463)'))) / (select extract(epoch from '2026-07-06 08:39:57'::timestamp) - extract(epoch from '2026-07-06 08:39:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363549 -2.748466)'), GeomFromEWKT('SRID=4674;POINT (-40.363578 -2.748463)'))) / (select extract(epoch from '2026-07-06 08:39:57'::timestamp) - extract(epoch from '2026-07-06 08:39: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'), 47828, 'SRID=4674;POINT (-40.363604 -2.748456)', '2026-07-06 08:40:04', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363578 -2.748463)'), GeomFromEWKT('SRID=4674;POINT (-40.363604 -2.748456)'))) / (select extract(epoch from '2026-07-06 08:40:04'::timestamp) - extract(epoch from '2026-07-06 08:39:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363578 -2.748463)'), GeomFromEWKT('SRID=4674;POINT (-40.363604 -2.748456)'))) / (select extract(epoch from '2026-07-06 08:40:04'::timestamp) - extract(epoch from '2026-07-06 08:39:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363631 -2.748444)', '2026-07-06 08:40:13', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363604 -2.748456)'), GeomFromEWKT('SRID=4674;POINT (-40.363631 -2.748444)'))) / (select extract(epoch from '2026-07-06 08:40:13'::timestamp) - extract(epoch from '2026-07-06 08:40:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363604 -2.748456)'), GeomFromEWKT('SRID=4674;POINT (-40.363631 -2.748444)'))) / (select extract(epoch from '2026-07-06 08:40:13'::timestamp) - extract(epoch from '2026-07-06 08:40:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363683 -2.748413)', '2026-07-06 08:40:29', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363631 -2.748444)'), GeomFromEWKT('SRID=4674;POINT (-40.363683 -2.748413)'))) / (select extract(epoch from '2026-07-06 08:40:29'::timestamp) - extract(epoch from '2026-07-06 08:40:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363631 -2.748444)'), GeomFromEWKT('SRID=4674;POINT (-40.363683 -2.748413)'))) / (select extract(epoch from '2026-07-06 08:40:29'::timestamp) - extract(epoch from '2026-07-06 08:40:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363681 -2.74834)', '2026-07-06 08:40:38', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363683 -2.748413)'), GeomFromEWKT('SRID=4674;POINT (-40.363681 -2.74834)'))) / (select extract(epoch from '2026-07-06 08:40:38'::timestamp) - extract(epoch from '2026-07-06 08:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363683 -2.748413)'), GeomFromEWKT('SRID=4674;POINT (-40.363681 -2.74834)'))) / (select extract(epoch from '2026-07-06 08:40:38'::timestamp) - extract(epoch from '2026-07-06 08:40:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363637 -2.748292)', '2026-07-06 08:40:45', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363681 -2.74834)'), GeomFromEWKT('SRID=4674;POINT (-40.363637 -2.748292)'))) / (select extract(epoch from '2026-07-06 08:40:45'::timestamp) - extract(epoch from '2026-07-06 08:40:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363681 -2.74834)'), GeomFromEWKT('SRID=4674;POINT (-40.363637 -2.748292)'))) / (select extract(epoch from '2026-07-06 08:40:45'::timestamp) - extract(epoch from '2026-07-06 08:40: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'), 47828, 'SRID=4674;POINT (-40.363604 -2.748298)', '2026-07-06 08:40:49', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363637 -2.748292)'), GeomFromEWKT('SRID=4674;POINT (-40.363604 -2.748298)'))) / (select extract(epoch from '2026-07-06 08:40:49'::timestamp) - extract(epoch from '2026-07-06 08:40:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363637 -2.748292)'), GeomFromEWKT('SRID=4674;POINT (-40.363604 -2.748298)'))) / (select extract(epoch from '2026-07-06 08:40:49'::timestamp) - extract(epoch from '2026-07-06 08:40:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.36359 -2.748312)', '2026-07-06 08:40:51', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363604 -2.748298)'), GeomFromEWKT('SRID=4674;POINT (-40.36359 -2.748312)'))) / (select extract(epoch from '2026-07-06 08:40:51'::timestamp) - extract(epoch from '2026-07-06 08:40:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363604 -2.748298)'), GeomFromEWKT('SRID=4674;POINT (-40.36359 -2.748312)'))) / (select extract(epoch from '2026-07-06 08:40:51'::timestamp) - extract(epoch from '2026-07-06 08:40:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363574 -2.748332)', '2026-07-06 08:40:53', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36359 -2.748312)'), GeomFromEWKT('SRID=4674;POINT (-40.363574 -2.748332)'))) / (select extract(epoch from '2026-07-06 08:40:53'::timestamp) - extract(epoch from '2026-07-06 08:40:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36359 -2.748312)'), GeomFromEWKT('SRID=4674;POINT (-40.363574 -2.748332)'))) / (select extract(epoch from '2026-07-06 08:40:53'::timestamp) - extract(epoch from '2026-07-06 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'), 47828, 'SRID=4674;POINT (-40.363552 -2.748361)', '2026-07-06 08:40:56', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363574 -2.748332)'), GeomFromEWKT('SRID=4674;POINT (-40.363552 -2.748361)'))) / (select extract(epoch from '2026-07-06 08:40:56'::timestamp) - extract(epoch from '2026-07-06 08:40:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363574 -2.748332)'), GeomFromEWKT('SRID=4674;POINT (-40.363552 -2.748361)'))) / (select extract(epoch from '2026-07-06 08:40:56'::timestamp) - extract(epoch from '2026-07-06 08:40:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363544 -2.748371)', '2026-07-06 08:40:57', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363552 -2.748361)'), GeomFromEWKT('SRID=4674;POINT (-40.363544 -2.748371)'))) / (select extract(epoch from '2026-07-06 08:40:57'::timestamp) - extract(epoch from '2026-07-06 08:40:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363552 -2.748361)'), GeomFromEWKT('SRID=4674;POINT (-40.363544 -2.748371)'))) / (select extract(epoch from '2026-07-06 08:40:57'::timestamp) - extract(epoch from '2026-07-06 08:40: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'), 47828, 'SRID=4674;POINT (-40.363514 -2.748418)', '2026-07-06 08:41:01', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363544 -2.748371)'), GeomFromEWKT('SRID=4674;POINT (-40.363514 -2.748418)'))) / (select extract(epoch from '2026-07-06 08:41:01'::timestamp) - extract(epoch from '2026-07-06 08:40:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363544 -2.748371)'), GeomFromEWKT('SRID=4674;POINT (-40.363514 -2.748418)'))) / (select extract(epoch from '2026-07-06 08:41:01'::timestamp) - extract(epoch from '2026-07-06 08:40:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.36351 -2.748427)', '2026-07-06 08:41:02', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363514 -2.748418)'), GeomFromEWKT('SRID=4674;POINT (-40.36351 -2.748427)'))) / (select extract(epoch from '2026-07-06 08:41:02'::timestamp) - extract(epoch from '2026-07-06 08:41:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363514 -2.748418)'), GeomFromEWKT('SRID=4674;POINT (-40.36351 -2.748427)'))) / (select extract(epoch from '2026-07-06 08:41:02'::timestamp) - extract(epoch from '2026-07-06 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'), 47828, 'SRID=4674;POINT (-40.363508 -2.748435)', '2026-07-06 08:41:03', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36351 -2.748427)'), GeomFromEWKT('SRID=4674;POINT (-40.363508 -2.748435)'))) / (select extract(epoch from '2026-07-06 08:41:03'::timestamp) - extract(epoch from '2026-07-06 08:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36351 -2.748427)'), GeomFromEWKT('SRID=4674;POINT (-40.363508 -2.748435)'))) / (select extract(epoch from '2026-07-06 08:41:03'::timestamp) - extract(epoch from '2026-07-06 08:41:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363506 -2.748474)', '2026-07-06 08:41:07', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363508 -2.748435)'), GeomFromEWKT('SRID=4674;POINT (-40.363506 -2.748474)'))) / (select extract(epoch from '2026-07-06 08:41:07'::timestamp) - extract(epoch from '2026-07-06 08:41:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363508 -2.748435)'), GeomFromEWKT('SRID=4674;POINT (-40.363506 -2.748474)'))) / (select extract(epoch from '2026-07-06 08:41:07'::timestamp) - extract(epoch from '2026-07-06 08:41: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'), 47828, 'SRID=4674;POINT (-40.363508 -2.748482)', '2026-07-06 08:41:08', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363506 -2.748474)'), GeomFromEWKT('SRID=4674;POINT (-40.363508 -2.748482)'))) / (select extract(epoch from '2026-07-06 08:41:08'::timestamp) - extract(epoch from '2026-07-06 08:41:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363506 -2.748474)'), GeomFromEWKT('SRID=4674;POINT (-40.363508 -2.748482)'))) / (select extract(epoch from '2026-07-06 08:41:08'::timestamp) - extract(epoch from '2026-07-06 08:41: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'), 47828, 'SRID=4674;POINT (-40.363527 -2.748527)', '2026-07-06 08:41:13', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363508 -2.748482)'), GeomFromEWKT('SRID=4674;POINT (-40.363527 -2.748527)'))) / (select extract(epoch from '2026-07-06 08:41:13'::timestamp) - extract(epoch from '2026-07-06 08:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363508 -2.748482)'), GeomFromEWKT('SRID=4674;POINT (-40.363527 -2.748527)'))) / (select extract(epoch from '2026-07-06 08:41:13'::timestamp) - extract(epoch from '2026-07-06 08:41: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'), 47828, 'SRID=4674;POINT (-40.363539 -2.748558)', '2026-07-06 08:41:19', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363527 -2.748527)'), GeomFromEWKT('SRID=4674;POINT (-40.363539 -2.748558)'))) / (select extract(epoch from '2026-07-06 08:41:19'::timestamp) - extract(epoch from '2026-07-06 08:41:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363527 -2.748527)'), GeomFromEWKT('SRID=4674;POINT (-40.363539 -2.748558)'))) / (select extract(epoch from '2026-07-06 08:41:19'::timestamp) - extract(epoch from '2026-07-06 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'), 47828, 'SRID=4674;POINT (-40.363549 -2.748586)', '2026-07-06 08:41:28', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363539 -2.748558)'), GeomFromEWKT('SRID=4674;POINT (-40.363549 -2.748586)'))) / (select extract(epoch from '2026-07-06 08:41:28'::timestamp) - extract(epoch from '2026-07-06 08:41:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363539 -2.748558)'), GeomFromEWKT('SRID=4674;POINT (-40.363549 -2.748586)'))) / (select extract(epoch from '2026-07-06 08:41:28'::timestamp) - extract(epoch from '2026-07-06 08:41: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'), 47828, 'SRID=4674;POINT (-40.363538 -2.748634)', '2026-07-06 08:41:37', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363549 -2.748586)'), GeomFromEWKT('SRID=4674;POINT (-40.363538 -2.748634)'))) / (select extract(epoch from '2026-07-06 08:41:37'::timestamp) - extract(epoch from '2026-07-06 08:41:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363549 -2.748586)'), GeomFromEWKT('SRID=4674;POINT (-40.363538 -2.748634)'))) / (select extract(epoch from '2026-07-06 08:41:37'::timestamp) - extract(epoch from '2026-07-06 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'), 47828, 'SRID=4674;POINT (-40.363532 -2.748669)', '2026-07-06 08:41:42', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363538 -2.748634)'), GeomFromEWKT('SRID=4674;POINT (-40.363532 -2.748669)'))) / (select extract(epoch from '2026-07-06 08:41:42'::timestamp) - extract(epoch from '2026-07-06 08:41:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363538 -2.748634)'), GeomFromEWKT('SRID=4674;POINT (-40.363532 -2.748669)'))) / (select extract(epoch from '2026-07-06 08:41:42'::timestamp) - extract(epoch from '2026-07-06 08:41:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.36353 -2.748703)', '2026-07-06 08:41:46', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363532 -2.748669)'), GeomFromEWKT('SRID=4674;POINT (-40.36353 -2.748703)'))) / (select extract(epoch from '2026-07-06 08:41:46'::timestamp) - extract(epoch from '2026-07-06 08:41:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363532 -2.748669)'), GeomFromEWKT('SRID=4674;POINT (-40.36353 -2.748703)'))) / (select extract(epoch from '2026-07-06 08:41:46'::timestamp) - extract(epoch from '2026-07-06 08:41:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363555 -2.74875)', '2026-07-06 08:41:54', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36353 -2.748703)'), GeomFromEWKT('SRID=4674;POINT (-40.363555 -2.74875)'))) / (select extract(epoch from '2026-07-06 08:41:54'::timestamp) - extract(epoch from '2026-07-06 08:41:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36353 -2.748703)'), GeomFromEWKT('SRID=4674;POINT (-40.363555 -2.74875)'))) / (select extract(epoch from '2026-07-06 08:41:54'::timestamp) - extract(epoch from '2026-07-06 08:41:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363596 -2.748777)', '2026-07-06 08:42:03', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363555 -2.74875)'), GeomFromEWKT('SRID=4674;POINT (-40.363596 -2.748777)'))) / (select extract(epoch from '2026-07-06 08:42:03'::timestamp) - extract(epoch from '2026-07-06 08:41:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363555 -2.74875)'), GeomFromEWKT('SRID=4674;POINT (-40.363596 -2.748777)'))) / (select extract(epoch from '2026-07-06 08:42:03'::timestamp) - extract(epoch from '2026-07-06 08:41: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'), 47828, 'SRID=4674;POINT (-40.363668 -2.748787)', '2026-07-06 08:42:19', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363596 -2.748777)'), GeomFromEWKT('SRID=4674;POINT (-40.363668 -2.748787)'))) / (select extract(epoch from '2026-07-06 08:42:19'::timestamp) - extract(epoch from '2026-07-06 08:42:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363596 -2.748777)'), GeomFromEWKT('SRID=4674;POINT (-40.363668 -2.748787)'))) / (select extract(epoch from '2026-07-06 08:42:19'::timestamp) - extract(epoch from '2026-07-06 08:42: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'), 47828, 'SRID=4674;POINT (-40.363677 -2.748783)', '2026-07-06 08:42:20', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363668 -2.748787)'), GeomFromEWKT('SRID=4674;POINT (-40.363677 -2.748783)'))) / (select extract(epoch from '2026-07-06 08:42:20'::timestamp) - extract(epoch from '2026-07-06 08:42:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363668 -2.748787)'), GeomFromEWKT('SRID=4674;POINT (-40.363677 -2.748783)'))) / (select extract(epoch from '2026-07-06 08:42:20'::timestamp) - extract(epoch from '2026-07-06 08:42:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363712 -2.748768)', '2026-07-06 08:42:24', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363677 -2.748783)'), GeomFromEWKT('SRID=4674;POINT (-40.363712 -2.748768)'))) / (select extract(epoch from '2026-07-06 08:42:24'::timestamp) - extract(epoch from '2026-07-06 08:42:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363677 -2.748783)'), GeomFromEWKT('SRID=4674;POINT (-40.363712 -2.748768)'))) / (select extract(epoch from '2026-07-06 08:42:24'::timestamp) - extract(epoch from '2026-07-06 08:42: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'), 47828, 'SRID=4674;POINT (-40.36372 -2.748761)', '2026-07-06 08:42:25', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363712 -2.748768)'), GeomFromEWKT('SRID=4674;POINT (-40.36372 -2.748761)'))) / (select extract(epoch from '2026-07-06 08:42:25'::timestamp) - extract(epoch from '2026-07-06 08:42:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363712 -2.748768)'), GeomFromEWKT('SRID=4674;POINT (-40.36372 -2.748761)'))) / (select extract(epoch from '2026-07-06 08:42:25'::timestamp) - extract(epoch from '2026-07-06 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'), 47828, 'SRID=4674;POINT (-40.363781 -2.748709)', '2026-07-06 08:42:31', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36372 -2.748761)'), GeomFromEWKT('SRID=4674;POINT (-40.363781 -2.748709)'))) / (select extract(epoch from '2026-07-06 08:42:31'::timestamp) - extract(epoch from '2026-07-06 08:42:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36372 -2.748761)'), GeomFromEWKT('SRID=4674;POINT (-40.363781 -2.748709)'))) / (select extract(epoch from '2026-07-06 08:42:31'::timestamp) - extract(epoch from '2026-07-06 08:42:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363821 -2.748669)', '2026-07-06 08:42:35', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363781 -2.748709)'), GeomFromEWKT('SRID=4674;POINT (-40.363821 -2.748669)'))) / (select extract(epoch from '2026-07-06 08:42:35'::timestamp) - extract(epoch from '2026-07-06 08:42:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363781 -2.748709)'), GeomFromEWKT('SRID=4674;POINT (-40.363821 -2.748669)'))) / (select extract(epoch from '2026-07-06 08:42:35'::timestamp) - extract(epoch from '2026-07-06 08:42: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'), 47828, 'SRID=4674;POINT (-40.363845 -2.748649)', '2026-07-06 08:42:37', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363821 -2.748669)'), GeomFromEWKT('SRID=4674;POINT (-40.363845 -2.748649)'))) / (select extract(epoch from '2026-07-06 08:42:37'::timestamp) - extract(epoch from '2026-07-06 08:42:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363821 -2.748669)'), GeomFromEWKT('SRID=4674;POINT (-40.363845 -2.748649)'))) / (select extract(epoch from '2026-07-06 08:42:37'::timestamp) - extract(epoch from '2026-07-06 08:42: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'), 47828, 'SRID=4674;POINT (-40.363905 -2.748543)', '2026-07-06 08:42:45', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363845 -2.748649)'), GeomFromEWKT('SRID=4674;POINT (-40.363905 -2.748543)'))) / (select extract(epoch from '2026-07-06 08:42:45'::timestamp) - extract(epoch from '2026-07-06 08:42:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363845 -2.748649)'), GeomFromEWKT('SRID=4674;POINT (-40.363905 -2.748543)'))) / (select extract(epoch from '2026-07-06 08:42:45'::timestamp) - extract(epoch from '2026-07-06 08:42: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'), 47828, 'SRID=4674;POINT (-40.363965 -2.748446)', '2026-07-06 08:42:52', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363905 -2.748543)'), GeomFromEWKT('SRID=4674;POINT (-40.363965 -2.748446)'))) / (select extract(epoch from '2026-07-06 08:42:52'::timestamp) - extract(epoch from '2026-07-06 08:42:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363905 -2.748543)'), GeomFromEWKT('SRID=4674;POINT (-40.363965 -2.748446)'))) / (select extract(epoch from '2026-07-06 08:42:52'::timestamp) - extract(epoch from '2026-07-06 08:42:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.364053 -2.748365)', '2026-07-06 08:42:59', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363965 -2.748446)'), GeomFromEWKT('SRID=4674;POINT (-40.364053 -2.748365)'))) / (select extract(epoch from '2026-07-06 08:42:59'::timestamp) - extract(epoch from '2026-07-06 08:42:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363965 -2.748446)'), GeomFromEWKT('SRID=4674;POINT (-40.364053 -2.748365)'))) / (select extract(epoch from '2026-07-06 08:42:59'::timestamp) - extract(epoch from '2026-07-06 08:42:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.364136 -2.748304)', '2026-07-06 08:43:05', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364053 -2.748365)'), GeomFromEWKT('SRID=4674;POINT (-40.364136 -2.748304)'))) / (select extract(epoch from '2026-07-06 08:43:05'::timestamp) - extract(epoch from '2026-07-06 08:42:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364053 -2.748365)'), GeomFromEWKT('SRID=4674;POINT (-40.364136 -2.748304)'))) / (select extract(epoch from '2026-07-06 08:43:05'::timestamp) - extract(epoch from '2026-07-06 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'), 47828, 'SRID=4674;POINT (-40.364229 -2.748257)', '2026-07-06 08:43:11', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364136 -2.748304)'), GeomFromEWKT('SRID=4674;POINT (-40.364229 -2.748257)'))) / (select extract(epoch from '2026-07-06 08:43:11'::timestamp) - extract(epoch from '2026-07-06 08:43:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364136 -2.748304)'), GeomFromEWKT('SRID=4674;POINT (-40.364229 -2.748257)'))) / (select extract(epoch from '2026-07-06 08:43:11'::timestamp) - extract(epoch from '2026-07-06 08:43: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'), 47828, 'SRID=4674;POINT (-40.364363 -2.748215)', '2026-07-06 08:43:19', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364229 -2.748257)'), GeomFromEWKT('SRID=4674;POINT (-40.364363 -2.748215)'))) / (select extract(epoch from '2026-07-06 08:43:19'::timestamp) - extract(epoch from '2026-07-06 08:43:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364229 -2.748257)'), GeomFromEWKT('SRID=4674;POINT (-40.364363 -2.748215)'))) / (select extract(epoch from '2026-07-06 08:43:19'::timestamp) - extract(epoch from '2026-07-06 08:43:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.36447 -2.748169)', '2026-07-06 08:43:26', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364363 -2.748215)'), GeomFromEWKT('SRID=4674;POINT (-40.36447 -2.748169)'))) / (select extract(epoch from '2026-07-06 08:43:26'::timestamp) - extract(epoch from '2026-07-06 08:43:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364363 -2.748215)'), GeomFromEWKT('SRID=4674;POINT (-40.36447 -2.748169)'))) / (select extract(epoch from '2026-07-06 08:43:26'::timestamp) - extract(epoch from '2026-07-06 08:43: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'), 47828, 'SRID=4674;POINT (-40.364569 -2.748104)', '2026-07-06 08:43:33', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36447 -2.748169)'), GeomFromEWKT('SRID=4674;POINT (-40.364569 -2.748104)'))) / (select extract(epoch from '2026-07-06 08:43:33'::timestamp) - extract(epoch from '2026-07-06 08:43:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36447 -2.748169)'), GeomFromEWKT('SRID=4674;POINT (-40.364569 -2.748104)'))) / (select extract(epoch from '2026-07-06 08:43:33'::timestamp) - extract(epoch from '2026-07-06 08:43: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'), 47828, 'SRID=4674;POINT (-40.364691 -2.748057)', '2026-07-06 08:43:41', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364569 -2.748104)'), GeomFromEWKT('SRID=4674;POINT (-40.364691 -2.748057)'))) / (select extract(epoch from '2026-07-06 08:43:41'::timestamp) - extract(epoch from '2026-07-06 08:43:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364569 -2.748104)'), GeomFromEWKT('SRID=4674;POINT (-40.364691 -2.748057)'))) / (select extract(epoch from '2026-07-06 08:43:41'::timestamp) - extract(epoch from '2026-07-06 08:43:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.364815 -2.74802)', '2026-07-06 08:43:49', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364691 -2.748057)'), GeomFromEWKT('SRID=4674;POINT (-40.364815 -2.74802)'))) / (select extract(epoch from '2026-07-06 08:43:49'::timestamp) - extract(epoch from '2026-07-06 08:43:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364691 -2.748057)'), GeomFromEWKT('SRID=4674;POINT (-40.364815 -2.74802)'))) / (select extract(epoch from '2026-07-06 08:43:49'::timestamp) - extract(epoch from '2026-07-06 08:43:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.364912 -2.747973)', '2026-07-06 08:43:56', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364815 -2.74802)'), GeomFromEWKT('SRID=4674;POINT (-40.364912 -2.747973)'))) / (select extract(epoch from '2026-07-06 08:43:56'::timestamp) - extract(epoch from '2026-07-06 08:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364815 -2.74802)'), GeomFromEWKT('SRID=4674;POINT (-40.364912 -2.747973)'))) / (select extract(epoch from '2026-07-06 08:43:56'::timestamp) - extract(epoch from '2026-07-06 08:43:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.364988 -2.747927)', '2026-07-06 08:44:02', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364912 -2.747973)'), GeomFromEWKT('SRID=4674;POINT (-40.364988 -2.747927)'))) / (select extract(epoch from '2026-07-06 08:44:02'::timestamp) - extract(epoch from '2026-07-06 08:43:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364912 -2.747973)'), GeomFromEWKT('SRID=4674;POINT (-40.364988 -2.747927)'))) / (select extract(epoch from '2026-07-06 08:44:02'::timestamp) - extract(epoch from '2026-07-06 08:43:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.365005 -2.747912)', '2026-07-06 08:44:04', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364988 -2.747927)'), GeomFromEWKT('SRID=4674;POINT (-40.365005 -2.747912)'))) / (select extract(epoch from '2026-07-06 08:44:04'::timestamp) - extract(epoch from '2026-07-06 08:44:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364988 -2.747927)'), GeomFromEWKT('SRID=4674;POINT (-40.365005 -2.747912)'))) / (select extract(epoch from '2026-07-06 08:44:04'::timestamp) - extract(epoch from '2026-07-06 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'), 47828, 'SRID=4674;POINT (-40.365045 -2.747888)', '2026-07-06 08:44:08', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365005 -2.747912)'), GeomFromEWKT('SRID=4674;POINT (-40.365045 -2.747888)'))) / (select extract(epoch from '2026-07-06 08:44:08'::timestamp) - extract(epoch from '2026-07-06 08:44:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365005 -2.747912)'), GeomFromEWKT('SRID=4674;POINT (-40.365045 -2.747888)'))) / (select extract(epoch from '2026-07-06 08:44:08'::timestamp) - extract(epoch from '2026-07-06 08:44: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'), 47828, 'SRID=4674;POINT (-40.365078 -2.747874)', '2026-07-06 08:44:11', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365045 -2.747888)'), GeomFromEWKT('SRID=4674;POINT (-40.365078 -2.747874)'))) / (select extract(epoch from '2026-07-06 08:44:11'::timestamp) - extract(epoch from '2026-07-06 08:44:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365045 -2.747888)'), GeomFromEWKT('SRID=4674;POINT (-40.365078 -2.747874)'))) / (select extract(epoch from '2026-07-06 08:44:11'::timestamp) - extract(epoch from '2026-07-06 08:44:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.365109 -2.747866)', '2026-07-06 08:44:14', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365078 -2.747874)'), GeomFromEWKT('SRID=4674;POINT (-40.365109 -2.747866)'))) / (select extract(epoch from '2026-07-06 08:44:14'::timestamp) - extract(epoch from '2026-07-06 08:44:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365078 -2.747874)'), GeomFromEWKT('SRID=4674;POINT (-40.365109 -2.747866)'))) / (select extract(epoch from '2026-07-06 08:44:14'::timestamp) - extract(epoch from '2026-07-06 08:44: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'), 47828, 'SRID=4674;POINT (-40.36517 -2.74784)', '2026-07-06 08:44:22', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365109 -2.747866)'), GeomFromEWKT('SRID=4674;POINT (-40.36517 -2.74784)'))) / (select extract(epoch from '2026-07-06 08:44:22'::timestamp) - extract(epoch from '2026-07-06 08:44:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365109 -2.747866)'), GeomFromEWKT('SRID=4674;POINT (-40.36517 -2.74784)'))) / (select extract(epoch from '2026-07-06 08:44:22'::timestamp) - extract(epoch from '2026-07-06 08:44: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'), 47828, 'SRID=4674;POINT (-40.365203 -2.74781)', '2026-07-06 08:44:27', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36517 -2.74784)'), GeomFromEWKT('SRID=4674;POINT (-40.365203 -2.74781)'))) / (select extract(epoch from '2026-07-06 08:44:27'::timestamp) - extract(epoch from '2026-07-06 08:44:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36517 -2.74784)'), GeomFromEWKT('SRID=4674;POINT (-40.365203 -2.74781)'))) / (select extract(epoch from '2026-07-06 08:44:27'::timestamp) - extract(epoch from '2026-07-06 08:44: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'), 47828, 'SRID=4674;POINT (-40.365225 -2.747743)', '2026-07-06 08:44:36', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365203 -2.74781)'), GeomFromEWKT('SRID=4674;POINT (-40.365225 -2.747743)'))) / (select extract(epoch from '2026-07-06 08:44:36'::timestamp) - extract(epoch from '2026-07-06 08:44:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365203 -2.74781)'), GeomFromEWKT('SRID=4674;POINT (-40.365225 -2.747743)'))) / (select extract(epoch from '2026-07-06 08:44:36'::timestamp) - extract(epoch from '2026-07-06 08:44:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.365214 -2.747698)', '2026-07-06 08:44:43', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365225 -2.747743)'), GeomFromEWKT('SRID=4674;POINT (-40.365214 -2.747698)'))) / (select extract(epoch from '2026-07-06 08:44:43'::timestamp) - extract(epoch from '2026-07-06 08:44:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365225 -2.747743)'), GeomFromEWKT('SRID=4674;POINT (-40.365214 -2.747698)'))) / (select extract(epoch from '2026-07-06 08:44:43'::timestamp) - extract(epoch from '2026-07-06 08:44: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'), 47828, 'SRID=4674;POINT (-40.365188 -2.747682)', '2026-07-06 08:44:52', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365214 -2.747698)'), GeomFromEWKT('SRID=4674;POINT (-40.365188 -2.747682)'))) / (select extract(epoch from '2026-07-06 08:44:52'::timestamp) - extract(epoch from '2026-07-06 08:44:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365214 -2.747698)'), GeomFromEWKT('SRID=4674;POINT (-40.365188 -2.747682)'))) / (select extract(epoch from '2026-07-06 08:44:52'::timestamp) - extract(epoch from '2026-07-06 08:44: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'), 47828, 'SRID=4674;POINT (-40.365166 -2.747705)', '2026-07-06 08:44:59', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365188 -2.747682)'), GeomFromEWKT('SRID=4674;POINT (-40.365166 -2.747705)'))) / (select extract(epoch from '2026-07-06 08:44:59'::timestamp) - extract(epoch from '2026-07-06 08:44:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365188 -2.747682)'), GeomFromEWKT('SRID=4674;POINT (-40.365166 -2.747705)'))) / (select extract(epoch from '2026-07-06 08:44:59'::timestamp) - extract(epoch from '2026-07-06 08:44:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.365145 -2.747755)', '2026-07-06 08:45:06', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365166 -2.747705)'), GeomFromEWKT('SRID=4674;POINT (-40.365145 -2.747755)'))) / (select extract(epoch from '2026-07-06 08:45:06'::timestamp) - extract(epoch from '2026-07-06 08:44:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365166 -2.747705)'), GeomFromEWKT('SRID=4674;POINT (-40.365145 -2.747755)'))) / (select extract(epoch from '2026-07-06 08:45:06'::timestamp) - extract(epoch from '2026-07-06 08:44:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.365143 -2.747783)', '2026-07-06 08:45:09', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365145 -2.747755)'), GeomFromEWKT('SRID=4674;POINT (-40.365143 -2.747783)'))) / (select extract(epoch from '2026-07-06 08:45:09'::timestamp) - extract(epoch from '2026-07-06 08:45:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365145 -2.747755)'), GeomFromEWKT('SRID=4674;POINT (-40.365143 -2.747783)'))) / (select extract(epoch from '2026-07-06 08:45:09'::timestamp) - extract(epoch from '2026-07-06 08:45:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.365139 -2.747811)', '2026-07-06 08:45:12', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365143 -2.747783)'), GeomFromEWKT('SRID=4674;POINT (-40.365139 -2.747811)'))) / (select extract(epoch from '2026-07-06 08:45:12'::timestamp) - extract(epoch from '2026-07-06 08:45:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365143 -2.747783)'), GeomFromEWKT('SRID=4674;POINT (-40.365139 -2.747811)'))) / (select extract(epoch from '2026-07-06 08:45:12'::timestamp) - extract(epoch from '2026-07-06 08:45:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.365149 -2.747866)', '2026-07-06 08:45:20', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365139 -2.747811)'), GeomFromEWKT('SRID=4674;POINT (-40.365149 -2.747866)'))) / (select extract(epoch from '2026-07-06 08:45:20'::timestamp) - extract(epoch from '2026-07-06 08:45:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365139 -2.747811)'), GeomFromEWKT('SRID=4674;POINT (-40.365149 -2.747866)'))) / (select extract(epoch from '2026-07-06 08:45:20'::timestamp) - extract(epoch from '2026-07-06 08:45: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'), 47828, 'SRID=4674;POINT (-40.365181 -2.747897)', '2026-07-06 08:45:27', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365149 -2.747866)'), GeomFromEWKT('SRID=4674;POINT (-40.365181 -2.747897)'))) / (select extract(epoch from '2026-07-06 08:45:27'::timestamp) - extract(epoch from '2026-07-06 08:45:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365149 -2.747866)'), GeomFromEWKT('SRID=4674;POINT (-40.365181 -2.747897)'))) / (select extract(epoch from '2026-07-06 08:45:27'::timestamp) - extract(epoch from '2026-07-06 08:45:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.365234 -2.74793)', '2026-07-06 08:45:37', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365181 -2.747897)'), GeomFromEWKT('SRID=4674;POINT (-40.365234 -2.74793)'))) / (select extract(epoch from '2026-07-06 08:45:37'::timestamp) - extract(epoch from '2026-07-06 08:45:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365181 -2.747897)'), GeomFromEWKT('SRID=4674;POINT (-40.365234 -2.74793)'))) / (select extract(epoch from '2026-07-06 08:45:37'::timestamp) - extract(epoch from '2026-07-06 08:45:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.365281 -2.747957)', '2026-07-06 08:45:44', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365234 -2.74793)'), GeomFromEWKT('SRID=4674;POINT (-40.365281 -2.747957)'))) / (select extract(epoch from '2026-07-06 08:45:44'::timestamp) - extract(epoch from '2026-07-06 08:45:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365234 -2.74793)'), GeomFromEWKT('SRID=4674;POINT (-40.365281 -2.747957)'))) / (select extract(epoch from '2026-07-06 08:45:44'::timestamp) - extract(epoch from '2026-07-06 08:45:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.365337 -2.747961)', '2026-07-06 08:45:51', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365281 -2.747957)'), GeomFromEWKT('SRID=4674;POINT (-40.365337 -2.747961)'))) / (select extract(epoch from '2026-07-06 08:45:51'::timestamp) - extract(epoch from '2026-07-06 08:45:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365281 -2.747957)'), GeomFromEWKT('SRID=4674;POINT (-40.365337 -2.747961)'))) / (select extract(epoch from '2026-07-06 08:45:51'::timestamp) - extract(epoch from '2026-07-06 08:45:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.365377 -2.747932)', '2026-07-06 08:45:59', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365337 -2.747961)'), GeomFromEWKT('SRID=4674;POINT (-40.365377 -2.747932)'))) / (select extract(epoch from '2026-07-06 08:45:59'::timestamp) - extract(epoch from '2026-07-06 08:45:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365337 -2.747961)'), GeomFromEWKT('SRID=4674;POINT (-40.365377 -2.747932)'))) / (select extract(epoch from '2026-07-06 08:45:59'::timestamp) - extract(epoch from '2026-07-06 08:45:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.365385 -2.747877)', '2026-07-06 08:46:08', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365377 -2.747932)'), GeomFromEWKT('SRID=4674;POINT (-40.365385 -2.747877)'))) / (select extract(epoch from '2026-07-06 08:46:08'::timestamp) - extract(epoch from '2026-07-06 08:45:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365377 -2.747932)'), GeomFromEWKT('SRID=4674;POINT (-40.365385 -2.747877)'))) / (select extract(epoch from '2026-07-06 08:46:08'::timestamp) - extract(epoch from '2026-07-06 08:45:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.365362 -2.747814)', '2026-07-06 08:46:19', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365385 -2.747877)'), GeomFromEWKT('SRID=4674;POINT (-40.365362 -2.747814)'))) / (select extract(epoch from '2026-07-06 08:46:19'::timestamp) - extract(epoch from '2026-07-06 08:46:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365385 -2.747877)'), GeomFromEWKT('SRID=4674;POINT (-40.365362 -2.747814)'))) / (select extract(epoch from '2026-07-06 08:46:19'::timestamp) - extract(epoch from '2026-07-06 08:46:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.365348 -2.747783)', '2026-07-06 08:46:27', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365362 -2.747814)'), GeomFromEWKT('SRID=4674;POINT (-40.365348 -2.747783)'))) / (select extract(epoch from '2026-07-06 08:46:27'::timestamp) - extract(epoch from '2026-07-06 08:46:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365362 -2.747814)'), GeomFromEWKT('SRID=4674;POINT (-40.365348 -2.747783)'))) / (select extract(epoch from '2026-07-06 08:46:27'::timestamp) - extract(epoch from '2026-07-06 08:46: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'), 47828, 'SRID=4674;POINT (-40.365354 -2.747758)', '2026-07-06 08:46:36', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365348 -2.747783)'), GeomFromEWKT('SRID=4674;POINT (-40.365354 -2.747758)'))) / (select extract(epoch from '2026-07-06 08:46:36'::timestamp) - extract(epoch from '2026-07-06 08:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365348 -2.747783)'), GeomFromEWKT('SRID=4674;POINT (-40.365354 -2.747758)'))) / (select extract(epoch from '2026-07-06 08:46:36'::timestamp) - extract(epoch from '2026-07-06 08:46: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'), 47828, 'SRID=4674;POINT (-40.365371 -2.747744)', '2026-07-06 08:46:49', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365354 -2.747758)'), GeomFromEWKT('SRID=4674;POINT (-40.365371 -2.747744)'))) / (select extract(epoch from '2026-07-06 08:46:49'::timestamp) - extract(epoch from '2026-07-06 08:46:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365354 -2.747758)'), GeomFromEWKT('SRID=4674;POINT (-40.365371 -2.747744)'))) / (select extract(epoch from '2026-07-06 08:46:49'::timestamp) - extract(epoch from '2026-07-06 08:46: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'), 47828, 'SRID=4674;POINT (-40.365388 -2.747745)', '2026-07-06 08:46:58', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365371 -2.747744)'), GeomFromEWKT('SRID=4674;POINT (-40.365388 -2.747745)'))) / (select extract(epoch from '2026-07-06 08:46:58'::timestamp) - extract(epoch from '2026-07-06 08:46:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365371 -2.747744)'), GeomFromEWKT('SRID=4674;POINT (-40.365388 -2.747745)'))) / (select extract(epoch from '2026-07-06 08:46:58'::timestamp) - extract(epoch from '2026-07-06 08:46: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'), 47828, 'SRID=4674;POINT (-40.365415 -2.747751)', '2026-07-06 08:47:08', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365388 -2.747745)'), GeomFromEWKT('SRID=4674;POINT (-40.365415 -2.747751)'))) / (select extract(epoch from '2026-07-06 08:47:08'::timestamp) - extract(epoch from '2026-07-06 08:46:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365388 -2.747745)'), GeomFromEWKT('SRID=4674;POINT (-40.365415 -2.747751)'))) / (select extract(epoch from '2026-07-06 08:47:08'::timestamp) - extract(epoch from '2026-07-06 08:46:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.365446 -2.747753)', '2026-07-06 08:47:18', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365415 -2.747751)'), GeomFromEWKT('SRID=4674;POINT (-40.365446 -2.747753)'))) / (select extract(epoch from '2026-07-06 08:47:18'::timestamp) - extract(epoch from '2026-07-06 08:47:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365415 -2.747751)'), GeomFromEWKT('SRID=4674;POINT (-40.365446 -2.747753)'))) / (select extract(epoch from '2026-07-06 08:47:18'::timestamp) - extract(epoch from '2026-07-06 08:47:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.365476 -2.747751)', '2026-07-06 08:47:27', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365446 -2.747753)'), GeomFromEWKT('SRID=4674;POINT (-40.365476 -2.747751)'))) / (select extract(epoch from '2026-07-06 08:47:27'::timestamp) - extract(epoch from '2026-07-06 08:47:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365446 -2.747753)'), GeomFromEWKT('SRID=4674;POINT (-40.365476 -2.747751)'))) / (select extract(epoch from '2026-07-06 08:47:27'::timestamp) - extract(epoch from '2026-07-06 08:47:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.365496 -2.747749)', '2026-07-06 08:47:33', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365476 -2.747751)'), GeomFromEWKT('SRID=4674;POINT (-40.365496 -2.747749)'))) / (select extract(epoch from '2026-07-06 08:47:33'::timestamp) - extract(epoch from '2026-07-06 08:47:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365476 -2.747751)'), GeomFromEWKT('SRID=4674;POINT (-40.365496 -2.747749)'))) / (select extract(epoch from '2026-07-06 08:47:33'::timestamp) - extract(epoch from '2026-07-06 08:47: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'), 47828, 'SRID=4674;POINT (-40.365521 -2.747742)', '2026-07-06 08:47:41', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365496 -2.747749)'), GeomFromEWKT('SRID=4674;POINT (-40.365521 -2.747742)'))) / (select extract(epoch from '2026-07-06 08:47:41'::timestamp) - extract(epoch from '2026-07-06 08:47:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365496 -2.747749)'), GeomFromEWKT('SRID=4674;POINT (-40.365521 -2.747742)'))) / (select extract(epoch from '2026-07-06 08:47:41'::timestamp) - extract(epoch from '2026-07-06 08:47: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'), 47828, 'SRID=4674;POINT (-40.365556 -2.747733)', '2026-07-06 08:47:50', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365521 -2.747742)'), GeomFromEWKT('SRID=4674;POINT (-40.365556 -2.747733)'))) / (select extract(epoch from '2026-07-06 08:47:50'::timestamp) - extract(epoch from '2026-07-06 08:47:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365521 -2.747742)'), GeomFromEWKT('SRID=4674;POINT (-40.365556 -2.747733)'))) / (select extract(epoch from '2026-07-06 08:47:50'::timestamp) - extract(epoch from '2026-07-06 08:47: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'), 47828, 'SRID=4674;POINT (-40.365595 -2.747724)', '2026-07-06 08:48:02', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365556 -2.747733)'), GeomFromEWKT('SRID=4674;POINT (-40.365595 -2.747724)'))) / (select extract(epoch from '2026-07-06 08:48:02'::timestamp) - extract(epoch from '2026-07-06 08:47:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365556 -2.747733)'), GeomFromEWKT('SRID=4674;POINT (-40.365595 -2.747724)'))) / (select extract(epoch from '2026-07-06 08:48:02'::timestamp) - extract(epoch from '2026-07-06 08:47: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'), 47828, 'SRID=4674;POINT (-40.365618 -2.747679)', '2026-07-06 08:48:14', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365595 -2.747724)'), GeomFromEWKT('SRID=4674;POINT (-40.365618 -2.747679)'))) / (select extract(epoch from '2026-07-06 08:48:14'::timestamp) - extract(epoch from '2026-07-06 08:48:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365595 -2.747724)'), GeomFromEWKT('SRID=4674;POINT (-40.365618 -2.747679)'))) / (select extract(epoch from '2026-07-06 08:48:14'::timestamp) - extract(epoch from '2026-07-06 08:48: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'), 47828, 'SRID=4674;POINT (-40.365648 -2.747613)', '2026-07-06 08:48:23', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365618 -2.747679)'), GeomFromEWKT('SRID=4674;POINT (-40.365648 -2.747613)'))) / (select extract(epoch from '2026-07-06 08:48:23'::timestamp) - extract(epoch from '2026-07-06 08:48:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365618 -2.747679)'), GeomFromEWKT('SRID=4674;POINT (-40.365648 -2.747613)'))) / (select extract(epoch from '2026-07-06 08:48:23'::timestamp) - extract(epoch from '2026-07-06 08:48:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.365667 -2.747601)', '2026-07-06 08:48:25', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365648 -2.747613)'), GeomFromEWKT('SRID=4674;POINT (-40.365667 -2.747601)'))) / (select extract(epoch from '2026-07-06 08:48:25'::timestamp) - extract(epoch from '2026-07-06 08:48:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365648 -2.747613)'), GeomFromEWKT('SRID=4674;POINT (-40.365667 -2.747601)'))) / (select extract(epoch from '2026-07-06 08:48:25'::timestamp) - extract(epoch from '2026-07-06 08:48: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'), 47828, 'SRID=4674;POINT (-40.365676 -2.747594)', '2026-07-06 08:48:26', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365667 -2.747601)'), GeomFromEWKT('SRID=4674;POINT (-40.365676 -2.747594)'))) / (select extract(epoch from '2026-07-06 08:48:26'::timestamp) - extract(epoch from '2026-07-06 08:48:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365667 -2.747601)'), GeomFromEWKT('SRID=4674;POINT (-40.365676 -2.747594)'))) / (select extract(epoch from '2026-07-06 08:48:26'::timestamp) - extract(epoch from '2026-07-06 08:48: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'), 47828, 'SRID=4674;POINT (-40.365708 -2.747573)', '2026-07-06 08:48:30', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365676 -2.747594)'), GeomFromEWKT('SRID=4674;POINT (-40.365708 -2.747573)'))) / (select extract(epoch from '2026-07-06 08:48:30'::timestamp) - extract(epoch from '2026-07-06 08:48:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365676 -2.747594)'), GeomFromEWKT('SRID=4674;POINT (-40.365708 -2.747573)'))) / (select extract(epoch from '2026-07-06 08:48:30'::timestamp) - extract(epoch from '2026-07-06 08:48:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.365734 -2.747569)', '2026-07-06 08:48:33', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365708 -2.747573)'), GeomFromEWKT('SRID=4674;POINT (-40.365734 -2.747569)'))) / (select extract(epoch from '2026-07-06 08:48:33'::timestamp) - extract(epoch from '2026-07-06 08:48:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365708 -2.747573)'), GeomFromEWKT('SRID=4674;POINT (-40.365734 -2.747569)'))) / (select extract(epoch from '2026-07-06 08:48:33'::timestamp) - extract(epoch from '2026-07-06 08:48:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.365772 -2.747578)', '2026-07-06 08:48:37', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365734 -2.747569)'), GeomFromEWKT('SRID=4674;POINT (-40.365772 -2.747578)'))) / (select extract(epoch from '2026-07-06 08:48:37'::timestamp) - extract(epoch from '2026-07-06 08:48:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365734 -2.747569)'), GeomFromEWKT('SRID=4674;POINT (-40.365772 -2.747578)'))) / (select extract(epoch from '2026-07-06 08:48:37'::timestamp) - extract(epoch from '2026-07-06 08:48:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.365854 -2.747568)', '2026-07-06 08:48:45', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365772 -2.747578)'), GeomFromEWKT('SRID=4674;POINT (-40.365854 -2.747568)'))) / (select extract(epoch from '2026-07-06 08:48:45'::timestamp) - extract(epoch from '2026-07-06 08:48:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365772 -2.747578)'), GeomFromEWKT('SRID=4674;POINT (-40.365854 -2.747568)'))) / (select extract(epoch from '2026-07-06 08:48:45'::timestamp) - extract(epoch from '2026-07-06 08:48: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'), 47828, 'SRID=4674;POINT (-40.36588 -2.747556)', '2026-07-06 08:48:48', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365854 -2.747568)'), GeomFromEWKT('SRID=4674;POINT (-40.36588 -2.747556)'))) / (select extract(epoch from '2026-07-06 08:48:48'::timestamp) - extract(epoch from '2026-07-06 08:48:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365854 -2.747568)'), GeomFromEWKT('SRID=4674;POINT (-40.36588 -2.747556)'))) / (select extract(epoch from '2026-07-06 08:48:48'::timestamp) - extract(epoch from '2026-07-06 08:48: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'), 47828, 'SRID=4674;POINT (-40.365897 -2.747541)', '2026-07-06 08:48:50', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36588 -2.747556)'), GeomFromEWKT('SRID=4674;POINT (-40.365897 -2.747541)'))) / (select extract(epoch from '2026-07-06 08:48:50'::timestamp) - extract(epoch from '2026-07-06 08:48:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36588 -2.747556)'), GeomFromEWKT('SRID=4674;POINT (-40.365897 -2.747541)'))) / (select extract(epoch from '2026-07-06 08:48:50'::timestamp) - extract(epoch from '2026-07-06 08:48:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.365932 -2.747506)', '2026-07-06 08:48:55', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365897 -2.747541)'), GeomFromEWKT('SRID=4674;POINT (-40.365932 -2.747506)'))) / (select extract(epoch from '2026-07-06 08:48:55'::timestamp) - extract(epoch from '2026-07-06 08:48:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365897 -2.747541)'), GeomFromEWKT('SRID=4674;POINT (-40.365932 -2.747506)'))) / (select extract(epoch from '2026-07-06 08:48:55'::timestamp) - extract(epoch from '2026-07-06 08:48: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'), 47828, 'SRID=4674;POINT (-40.365937 -2.747497)', '2026-07-06 08:48:56', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365932 -2.747506)'), GeomFromEWKT('SRID=4674;POINT (-40.365937 -2.747497)'))) / (select extract(epoch from '2026-07-06 08:48:56'::timestamp) - extract(epoch from '2026-07-06 08:48:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365932 -2.747506)'), GeomFromEWKT('SRID=4674;POINT (-40.365937 -2.747497)'))) / (select extract(epoch from '2026-07-06 08:48:56'::timestamp) - extract(epoch from '2026-07-06 08:48:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.365961 -2.74745)', '2026-07-06 08:49:01', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365937 -2.747497)'), GeomFromEWKT('SRID=4674;POINT (-40.365961 -2.74745)'))) / (select extract(epoch from '2026-07-06 08:49:01'::timestamp) - extract(epoch from '2026-07-06 08:48:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365937 -2.747497)'), GeomFromEWKT('SRID=4674;POINT (-40.365961 -2.74745)'))) / (select extract(epoch from '2026-07-06 08:49:01'::timestamp) - extract(epoch from '2026-07-06 08:48: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'), 47828, 'SRID=4674;POINT (-40.36597 -2.747437)', '2026-07-06 08:49:03', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365961 -2.74745)'), GeomFromEWKT('SRID=4674;POINT (-40.36597 -2.747437)'))) / (select extract(epoch from '2026-07-06 08:49:03'::timestamp) - extract(epoch from '2026-07-06 08:49:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365961 -2.74745)'), GeomFromEWKT('SRID=4674;POINT (-40.36597 -2.747437)'))) / (select extract(epoch from '2026-07-06 08:49:03'::timestamp) - extract(epoch from '2026-07-06 08:49:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.365976 -2.747397)', '2026-07-06 08:49:07', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36597 -2.747437)'), GeomFromEWKT('SRID=4674;POINT (-40.365976 -2.747397)'))) / (select extract(epoch from '2026-07-06 08:49:07'::timestamp) - extract(epoch from '2026-07-06 08:49:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36597 -2.747437)'), GeomFromEWKT('SRID=4674;POINT (-40.365976 -2.747397)'))) / (select extract(epoch from '2026-07-06 08:49:07'::timestamp) - extract(epoch from '2026-07-06 08:49:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.365977 -2.747338)', '2026-07-06 08:49:14', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365976 -2.747397)'), GeomFromEWKT('SRID=4674;POINT (-40.365977 -2.747338)'))) / (select extract(epoch from '2026-07-06 08:49:14'::timestamp) - extract(epoch from '2026-07-06 08:49:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365976 -2.747397)'), GeomFromEWKT('SRID=4674;POINT (-40.365977 -2.747338)'))) / (select extract(epoch from '2026-07-06 08:49:14'::timestamp) - extract(epoch from '2026-07-06 08:49: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'), 47828, 'SRID=4674;POINT (-40.365971 -2.74729)', '2026-07-06 08:49:20', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365977 -2.747338)'), GeomFromEWKT('SRID=4674;POINT (-40.365971 -2.74729)'))) / (select extract(epoch from '2026-07-06 08:49:20'::timestamp) - extract(epoch from '2026-07-06 08:49:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365977 -2.747338)'), GeomFromEWKT('SRID=4674;POINT (-40.365971 -2.74729)'))) / (select extract(epoch from '2026-07-06 08:49:20'::timestamp) - extract(epoch from '2026-07-06 08:49:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.365966 -2.747241)', '2026-07-06 08:49:25', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365971 -2.74729)'), GeomFromEWKT('SRID=4674;POINT (-40.365966 -2.747241)'))) / (select extract(epoch from '2026-07-06 08:49:25'::timestamp) - extract(epoch from '2026-07-06 08:49:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365971 -2.74729)'), GeomFromEWKT('SRID=4674;POINT (-40.365966 -2.747241)'))) / (select extract(epoch from '2026-07-06 08:49:25'::timestamp) - extract(epoch from '2026-07-06 08:49:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.365967 -2.747212)', '2026-07-06 08:49:28', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365966 -2.747241)'), GeomFromEWKT('SRID=4674;POINT (-40.365967 -2.747212)'))) / (select extract(epoch from '2026-07-06 08:49:28'::timestamp) - extract(epoch from '2026-07-06 08:49:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365966 -2.747241)'), GeomFromEWKT('SRID=4674;POINT (-40.365967 -2.747212)'))) / (select extract(epoch from '2026-07-06 08:49:28'::timestamp) - extract(epoch from '2026-07-06 08:49: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'), 47828, 'SRID=4674;POINT (-40.365972 -2.747175)', '2026-07-06 08:49:31', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365967 -2.747212)'), GeomFromEWKT('SRID=4674;POINT (-40.365972 -2.747175)'))) / (select extract(epoch from '2026-07-06 08:49:31'::timestamp) - extract(epoch from '2026-07-06 08:49:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365967 -2.747212)'), GeomFromEWKT('SRID=4674;POINT (-40.365972 -2.747175)'))) / (select extract(epoch from '2026-07-06 08:49:31'::timestamp) - extract(epoch from '2026-07-06 08:49: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'), 47828, 'SRID=4674;POINT (-40.365982 -2.747141)', '2026-07-06 08:49:34', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365972 -2.747175)'), GeomFromEWKT('SRID=4674;POINT (-40.365982 -2.747141)'))) / (select extract(epoch from '2026-07-06 08:49:34'::timestamp) - extract(epoch from '2026-07-06 08:49:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365972 -2.747175)'), GeomFromEWKT('SRID=4674;POINT (-40.365982 -2.747141)'))) / (select extract(epoch from '2026-07-06 08:49:34'::timestamp) - extract(epoch from '2026-07-06 08:49: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'), 47828, 'SRID=4674;POINT (-40.365997 -2.747131)', '2026-07-06 08:49:36', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365982 -2.747141)'), GeomFromEWKT('SRID=4674;POINT (-40.365997 -2.747131)'))) / (select extract(epoch from '2026-07-06 08:49:36'::timestamp) - extract(epoch from '2026-07-06 08:49:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365982 -2.747141)'), GeomFromEWKT('SRID=4674;POINT (-40.365997 -2.747131)'))) / (select extract(epoch from '2026-07-06 08:49:36'::timestamp) - extract(epoch from '2026-07-06 08:49: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'), 47828, 'SRID=4674;POINT (-40.366037 -2.747082)', '2026-07-06 08:49:44', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365997 -2.747131)'), GeomFromEWKT('SRID=4674;POINT (-40.366037 -2.747082)'))) / (select extract(epoch from '2026-07-06 08:49:44'::timestamp) - extract(epoch from '2026-07-06 08:49:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365997 -2.747131)'), GeomFromEWKT('SRID=4674;POINT (-40.366037 -2.747082)'))) / (select extract(epoch from '2026-07-06 08:49:44'::timestamp) - extract(epoch from '2026-07-06 08:49: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'), 47828, 'SRID=4674;POINT (-40.366071 -2.747066)', '2026-07-06 08:49:51', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366037 -2.747082)'), GeomFromEWKT('SRID=4674;POINT (-40.366071 -2.747066)'))) / (select extract(epoch from '2026-07-06 08:49:51'::timestamp) - extract(epoch from '2026-07-06 08:49:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366037 -2.747082)'), GeomFromEWKT('SRID=4674;POINT (-40.366071 -2.747066)'))) / (select extract(epoch from '2026-07-06 08:49:51'::timestamp) - extract(epoch from '2026-07-06 08:49:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.366105 -2.747058)', '2026-07-06 08:49:59', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366071 -2.747066)'), GeomFromEWKT('SRID=4674;POINT (-40.366105 -2.747058)'))) / (select extract(epoch from '2026-07-06 08:49:59'::timestamp) - extract(epoch from '2026-07-06 08:49:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366071 -2.747066)'), GeomFromEWKT('SRID=4674;POINT (-40.366105 -2.747058)'))) / (select extract(epoch from '2026-07-06 08:49:59'::timestamp) - extract(epoch from '2026-07-06 08:49: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'), 47828, 'SRID=4674;POINT (-40.366128 -2.747065)', '2026-07-06 08:50:08', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366105 -2.747058)'), GeomFromEWKT('SRID=4674;POINT (-40.366128 -2.747065)'))) / (select extract(epoch from '2026-07-06 08:50:08'::timestamp) - extract(epoch from '2026-07-06 08:49:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366105 -2.747058)'), GeomFromEWKT('SRID=4674;POINT (-40.366128 -2.747065)'))) / (select extract(epoch from '2026-07-06 08:50:08'::timestamp) - extract(epoch from '2026-07-06 08:49: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'), 47828, 'SRID=4674;POINT (-40.366137 -2.74708)', '2026-07-06 08:50:16', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366128 -2.747065)'), GeomFromEWKT('SRID=4674;POINT (-40.366137 -2.74708)'))) / (select extract(epoch from '2026-07-06 08:50:16'::timestamp) - extract(epoch from '2026-07-06 08:50:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366128 -2.747065)'), GeomFromEWKT('SRID=4674;POINT (-40.366137 -2.74708)'))) / (select extract(epoch from '2026-07-06 08:50:16'::timestamp) - extract(epoch from '2026-07-06 08:50:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.366155 -2.747103)', '2026-07-06 08:50:26', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366137 -2.74708)'), GeomFromEWKT('SRID=4674;POINT (-40.366155 -2.747103)'))) / (select extract(epoch from '2026-07-06 08:50:26'::timestamp) - extract(epoch from '2026-07-06 08:50:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366137 -2.74708)'), GeomFromEWKT('SRID=4674;POINT (-40.366155 -2.747103)'))) / (select extract(epoch from '2026-07-06 08:50:26'::timestamp) - extract(epoch from '2026-07-06 08:50: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'), 47828, 'SRID=4674;POINT (-40.366174 -2.747121)', '2026-07-06 08:50:40', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366155 -2.747103)'), GeomFromEWKT('SRID=4674;POINT (-40.366174 -2.747121)'))) / (select extract(epoch from '2026-07-06 08:50:40'::timestamp) - extract(epoch from '2026-07-06 08:50:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366155 -2.747103)'), GeomFromEWKT('SRID=4674;POINT (-40.366174 -2.747121)'))) / (select extract(epoch from '2026-07-06 08:50:40'::timestamp) - extract(epoch from '2026-07-06 08:50:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.366175 -2.747146)', '2026-07-06 08:50:52', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366174 -2.747121)'), GeomFromEWKT('SRID=4674;POINT (-40.366175 -2.747146)'))) / (select extract(epoch from '2026-07-06 08:50:52'::timestamp) - extract(epoch from '2026-07-06 08:50:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366174 -2.747121)'), GeomFromEWKT('SRID=4674;POINT (-40.366175 -2.747146)'))) / (select extract(epoch from '2026-07-06 08:50:52'::timestamp) - extract(epoch from '2026-07-06 08:50: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'), 47828, 'SRID=4674;POINT (-40.366184 -2.747167)', '2026-07-06 08:51:10', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366175 -2.747146)'), GeomFromEWKT('SRID=4674;POINT (-40.366184 -2.747167)'))) / (select extract(epoch from '2026-07-06 08:51:10'::timestamp) - extract(epoch from '2026-07-06 08:50:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366175 -2.747146)'), GeomFromEWKT('SRID=4674;POINT (-40.366184 -2.747167)'))) / (select extract(epoch from '2026-07-06 08:51:10'::timestamp) - extract(epoch from '2026-07-06 08:50:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.366219 -2.747176)', '2026-07-06 08:51:22', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366184 -2.747167)'), GeomFromEWKT('SRID=4674;POINT (-40.366219 -2.747176)'))) / (select extract(epoch from '2026-07-06 08:51:22'::timestamp) - extract(epoch from '2026-07-06 08:51:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366184 -2.747167)'), GeomFromEWKT('SRID=4674;POINT (-40.366219 -2.747176)'))) / (select extract(epoch from '2026-07-06 08:51:22'::timestamp) - extract(epoch from '2026-07-06 08:51: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'), 47828, 'SRID=4674;POINT (-40.36627 -2.747159)', '2026-07-06 08:51:29', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366219 -2.747176)'), GeomFromEWKT('SRID=4674;POINT (-40.36627 -2.747159)'))) / (select extract(epoch from '2026-07-06 08:51:29'::timestamp) - extract(epoch from '2026-07-06 08:51:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366219 -2.747176)'), GeomFromEWKT('SRID=4674;POINT (-40.36627 -2.747159)'))) / (select extract(epoch from '2026-07-06 08:51:29'::timestamp) - extract(epoch from '2026-07-06 08:51: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'), 47828, 'SRID=4674;POINT (-40.366326 -2.747114)', '2026-07-06 08:51:37', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36627 -2.747159)'), GeomFromEWKT('SRID=4674;POINT (-40.366326 -2.747114)'))) / (select extract(epoch from '2026-07-06 08:51:37'::timestamp) - extract(epoch from '2026-07-06 08:51:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36627 -2.747159)'), GeomFromEWKT('SRID=4674;POINT (-40.366326 -2.747114)'))) / (select extract(epoch from '2026-07-06 08:51:37'::timestamp) - extract(epoch from '2026-07-06 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'), 47828, 'SRID=4674;POINT (-40.366349 -2.747073)', '2026-07-06 08:51:44', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366326 -2.747114)'), GeomFromEWKT('SRID=4674;POINT (-40.366349 -2.747073)'))) / (select extract(epoch from '2026-07-06 08:51:44'::timestamp) - extract(epoch from '2026-07-06 08:51:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366326 -2.747114)'), GeomFromEWKT('SRID=4674;POINT (-40.366349 -2.747073)'))) / (select extract(epoch from '2026-07-06 08:51:44'::timestamp) - extract(epoch from '2026-07-06 08:51: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'), 47828, 'SRID=4674;POINT (-40.366357 -2.747023)', '2026-07-06 08:51:52', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366349 -2.747073)'), GeomFromEWKT('SRID=4674;POINT (-40.366357 -2.747023)'))) / (select extract(epoch from '2026-07-06 08:51:52'::timestamp) - extract(epoch from '2026-07-06 08:51:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366349 -2.747073)'), GeomFromEWKT('SRID=4674;POINT (-40.366357 -2.747023)'))) / (select extract(epoch from '2026-07-06 08:51:52'::timestamp) - extract(epoch from '2026-07-06 08:51: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'), 47828, 'SRID=4674;POINT (-40.366355 -2.746972)', '2026-07-06 08:52:01', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366357 -2.747023)'), GeomFromEWKT('SRID=4674;POINT (-40.366355 -2.746972)'))) / (select extract(epoch from '2026-07-06 08:52:01'::timestamp) - extract(epoch from '2026-07-06 08:51:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366357 -2.747023)'), GeomFromEWKT('SRID=4674;POINT (-40.366355 -2.746972)'))) / (select extract(epoch from '2026-07-06 08:52:01'::timestamp) - extract(epoch from '2026-07-06 08:51: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'), 47828, 'SRID=4674;POINT (-40.366355 -2.746934)', '2026-07-06 08:52:11', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366355 -2.746972)'), GeomFromEWKT('SRID=4674;POINT (-40.366355 -2.746934)'))) / (select extract(epoch from '2026-07-06 08:52:11'::timestamp) - extract(epoch from '2026-07-06 08:52:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366355 -2.746972)'), GeomFromEWKT('SRID=4674;POINT (-40.366355 -2.746934)'))) / (select extract(epoch from '2026-07-06 08:52:11'::timestamp) - extract(epoch from '2026-07-06 08:52: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'), 47828, 'SRID=4674;POINT (-40.366347 -2.746928)', '2026-07-06 08:52:18', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366355 -2.746934)'), GeomFromEWKT('SRID=4674;POINT (-40.366347 -2.746928)'))) / (select extract(epoch from '2026-07-06 08:52:18'::timestamp) - extract(epoch from '2026-07-06 08:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366355 -2.746934)'), GeomFromEWKT('SRID=4674;POINT (-40.366347 -2.746928)'))) / (select extract(epoch from '2026-07-06 08:52:18'::timestamp) - extract(epoch from '2026-07-06 08:52:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.366345 -2.74695)', '2026-07-06 08:52:26', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366347 -2.746928)'), GeomFromEWKT('SRID=4674;POINT (-40.366345 -2.74695)'))) / (select extract(epoch from '2026-07-06 08:52:26'::timestamp) - extract(epoch from '2026-07-06 08:52:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366347 -2.746928)'), GeomFromEWKT('SRID=4674;POINT (-40.366345 -2.74695)'))) / (select extract(epoch from '2026-07-06 08:52:26'::timestamp) - extract(epoch from '2026-07-06 08:52:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.366357 -2.746997)', '2026-07-06 08:52:34', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366345 -2.74695)'), GeomFromEWKT('SRID=4674;POINT (-40.366357 -2.746997)'))) / (select extract(epoch from '2026-07-06 08:52:34'::timestamp) - extract(epoch from '2026-07-06 08:52:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366345 -2.74695)'), GeomFromEWKT('SRID=4674;POINT (-40.366357 -2.746997)'))) / (select extract(epoch from '2026-07-06 08:52:34'::timestamp) - extract(epoch from '2026-07-06 08:52: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'), 47828, 'SRID=4674;POINT (-40.36636 -2.747038)', '2026-07-06 08:52:41', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366357 -2.746997)'), GeomFromEWKT('SRID=4674;POINT (-40.36636 -2.747038)'))) / (select extract(epoch from '2026-07-06 08:52:41'::timestamp) - extract(epoch from '2026-07-06 08:52:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366357 -2.746997)'), GeomFromEWKT('SRID=4674;POINT (-40.36636 -2.747038)'))) / (select extract(epoch from '2026-07-06 08:52:41'::timestamp) - extract(epoch from '2026-07-06 08:52: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'), 47828, 'SRID=4674;POINT (-40.366427 -2.747083)', '2026-07-06 08:52:51', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36636 -2.747038)'), GeomFromEWKT('SRID=4674;POINT (-40.366427 -2.747083)'))) / (select extract(epoch from '2026-07-06 08:52:51'::timestamp) - extract(epoch from '2026-07-06 08:52:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36636 -2.747038)'), GeomFromEWKT('SRID=4674;POINT (-40.366427 -2.747083)'))) / (select extract(epoch from '2026-07-06 08:52:51'::timestamp) - extract(epoch from '2026-07-06 08:52: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'), 47828, 'SRID=4674;POINT (-40.366473 -2.747117)', '2026-07-06 08:52:58', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366427 -2.747083)'), GeomFromEWKT('SRID=4674;POINT (-40.366473 -2.747117)'))) / (select extract(epoch from '2026-07-06 08:52:58'::timestamp) - extract(epoch from '2026-07-06 08:52:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366427 -2.747083)'), GeomFromEWKT('SRID=4674;POINT (-40.366473 -2.747117)'))) / (select extract(epoch from '2026-07-06 08:52:58'::timestamp) - extract(epoch from '2026-07-06 08:52:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
