 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.29844 -2.796393)', '2026-07-08 06:28:22', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298549 -2.796426)'), GeomFromEWKT('SRID=4674;POINT (-40.29844 -2.796393)'))) / (select extract(epoch from '2026-07-08 06:28:22'::timestamp) - extract(epoch from '2026-07-08 06:28:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298549 -2.796426)'), GeomFromEWKT('SRID=4674;POINT (-40.29844 -2.796393)'))) / (select extract(epoch from '2026-07-08 06:28:22'::timestamp) - extract(epoch from '2026-07-08 06:28:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.298386 -2.796387)', '2026-07-08 06:28:36', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29844 -2.796393)'), GeomFromEWKT('SRID=4674;POINT (-40.298386 -2.796387)'))) / (select extract(epoch from '2026-07-08 06:28:36'::timestamp) - extract(epoch from '2026-07-08 06:28:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29844 -2.796393)'), GeomFromEWKT('SRID=4674;POINT (-40.298386 -2.796387)'))) / (select extract(epoch from '2026-07-08 06:28:36'::timestamp) - extract(epoch from '2026-07-08 06:28: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'), 47637, 'SRID=4674;POINT (-40.298359 -2.796397)', '2026-07-08 06:28:58', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298386 -2.796387)'), GeomFromEWKT('SRID=4674;POINT (-40.298359 -2.796397)'))) / (select extract(epoch from '2026-07-08 06:28:58'::timestamp) - extract(epoch from '2026-07-08 06:28:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298386 -2.796387)'), GeomFromEWKT('SRID=4674;POINT (-40.298359 -2.796397)'))) / (select extract(epoch from '2026-07-08 06:28:58'::timestamp) - extract(epoch from '2026-07-08 06: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'), 47637, 'SRID=4674;POINT (-40.298349 -2.796401)', '2026-07-08 06:29:23', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298359 -2.796397)'), GeomFromEWKT('SRID=4674;POINT (-40.298349 -2.796401)'))) / (select extract(epoch from '2026-07-08 06:29:23'::timestamp) - extract(epoch from '2026-07-08 06:28:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298359 -2.796397)'), GeomFromEWKT('SRID=4674;POINT (-40.298349 -2.796401)'))) / (select extract(epoch from '2026-07-08 06:29:23'::timestamp) - extract(epoch from '2026-07-08 06:28:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.298264 -2.79639)', '2026-07-08 06:29:38', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298349 -2.796401)'), GeomFromEWKT('SRID=4674;POINT (-40.298264 -2.79639)'))) / (select extract(epoch from '2026-07-08 06:29:38'::timestamp) - extract(epoch from '2026-07-08 06:29:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298349 -2.796401)'), GeomFromEWKT('SRID=4674;POINT (-40.298264 -2.79639)'))) / (select extract(epoch from '2026-07-08 06:29:38'::timestamp) - extract(epoch from '2026-07-08 06: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'), 47637, 'SRID=4674;POINT (-40.29817 -2.796395)', '2026-07-08 06:29:53', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298264 -2.79639)'), GeomFromEWKT('SRID=4674;POINT (-40.29817 -2.796395)'))) / (select extract(epoch from '2026-07-08 06:29:53'::timestamp) - extract(epoch from '2026-07-08 06:29:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298264 -2.79639)'), GeomFromEWKT('SRID=4674;POINT (-40.29817 -2.796395)'))) / (select extract(epoch from '2026-07-08 06:29:53'::timestamp) - extract(epoch from '2026-07-08 06:29: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'), 47637, 'SRID=4674;POINT (-40.298053 -2.796436)', '2026-07-08 06:30:10', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29817 -2.796395)'), GeomFromEWKT('SRID=4674;POINT (-40.298053 -2.796436)'))) / (select extract(epoch from '2026-07-08 06:30:10'::timestamp) - extract(epoch from '2026-07-08 06:29:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29817 -2.796395)'), GeomFromEWKT('SRID=4674;POINT (-40.298053 -2.796436)'))) / (select extract(epoch from '2026-07-08 06:30:10'::timestamp) - extract(epoch from '2026-07-08 06:29:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.298003 -2.796454)', '2026-07-08 06:30:22', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298053 -2.796436)'), GeomFromEWKT('SRID=4674;POINT (-40.298003 -2.796454)'))) / (select extract(epoch from '2026-07-08 06:30:22'::timestamp) - extract(epoch from '2026-07-08 06:30:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298053 -2.796436)'), GeomFromEWKT('SRID=4674;POINT (-40.298003 -2.796454)'))) / (select extract(epoch from '2026-07-08 06:30:22'::timestamp) - extract(epoch from '2026-07-08 06:30: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'), 47637, 'SRID=4674;POINT (-40.297957 -2.79648)', '2026-07-08 06:30:38', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298003 -2.796454)'), GeomFromEWKT('SRID=4674;POINT (-40.297957 -2.79648)'))) / (select extract(epoch from '2026-07-08 06:30:38'::timestamp) - extract(epoch from '2026-07-08 06:30:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298003 -2.796454)'), GeomFromEWKT('SRID=4674;POINT (-40.297957 -2.79648)'))) / (select extract(epoch from '2026-07-08 06:30:38'::timestamp) - extract(epoch from '2026-07-08 06:30:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.297897 -2.796511)', '2026-07-08 06:30:52', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297957 -2.79648)'), GeomFromEWKT('SRID=4674;POINT (-40.297897 -2.796511)'))) / (select extract(epoch from '2026-07-08 06:30:52'::timestamp) - extract(epoch from '2026-07-08 06:30:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297957 -2.79648)'), GeomFromEWKT('SRID=4674;POINT (-40.297897 -2.796511)'))) / (select extract(epoch from '2026-07-08 06:30:52'::timestamp) - extract(epoch from '2026-07-08 06:30: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'), 47637, 'SRID=4674;POINT (-40.297813 -2.796503)', '2026-07-08 06:31:07', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297897 -2.796511)'), GeomFromEWKT('SRID=4674;POINT (-40.297813 -2.796503)'))) / (select extract(epoch from '2026-07-08 06:31:07'::timestamp) - extract(epoch from '2026-07-08 06:30:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297897 -2.796511)'), GeomFromEWKT('SRID=4674;POINT (-40.297813 -2.796503)'))) / (select extract(epoch from '2026-07-08 06:31:07'::timestamp) - extract(epoch from '2026-07-08 06:30: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'), 47637, 'SRID=4674;POINT (-40.29777 -2.796499)', '2026-07-08 06:31:25', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297813 -2.796503)'), GeomFromEWKT('SRID=4674;POINT (-40.29777 -2.796499)'))) / (select extract(epoch from '2026-07-08 06:31:25'::timestamp) - extract(epoch from '2026-07-08 06:31:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297813 -2.796503)'), GeomFromEWKT('SRID=4674;POINT (-40.29777 -2.796499)'))) / (select extract(epoch from '2026-07-08 06:31:25'::timestamp) - extract(epoch from '2026-07-08 06:31: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'), 47637, 'SRID=4674;POINT (-40.297759 -2.796503)', '2026-07-08 06:31:40', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29777 -2.796499)'), GeomFromEWKT('SRID=4674;POINT (-40.297759 -2.796503)'))) / (select extract(epoch from '2026-07-08 06:31:40'::timestamp) - extract(epoch from '2026-07-08 06:31:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29777 -2.796499)'), GeomFromEWKT('SRID=4674;POINT (-40.297759 -2.796503)'))) / (select extract(epoch from '2026-07-08 06:31:40'::timestamp) - extract(epoch from '2026-07-08 06:31:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.297702 -2.796549)', '2026-07-08 06:31:55', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297759 -2.796503)'), GeomFromEWKT('SRID=4674;POINT (-40.297702 -2.796549)'))) / (select extract(epoch from '2026-07-08 06:31:55'::timestamp) - extract(epoch from '2026-07-08 06:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297759 -2.796503)'), GeomFromEWKT('SRID=4674;POINT (-40.297702 -2.796549)'))) / (select extract(epoch from '2026-07-08 06:31:55'::timestamp) - extract(epoch from '2026-07-08 06:31: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'), 47637, 'SRID=4674;POINT (-40.297617 -2.796552)', '2026-07-08 06:32:07', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297702 -2.796549)'), GeomFromEWKT('SRID=4674;POINT (-40.297617 -2.796552)'))) / (select extract(epoch from '2026-07-08 06:32:07'::timestamp) - extract(epoch from '2026-07-08 06:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297702 -2.796549)'), GeomFromEWKT('SRID=4674;POINT (-40.297617 -2.796552)'))) / (select extract(epoch from '2026-07-08 06:32:07'::timestamp) - extract(epoch from '2026-07-08 06:31: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'), 47637, 'SRID=4674;POINT (-40.297518 -2.796572)', '2026-07-08 06:32:23', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297617 -2.796552)'), GeomFromEWKT('SRID=4674;POINT (-40.297518 -2.796572)'))) / (select extract(epoch from '2026-07-08 06:32:23'::timestamp) - extract(epoch from '2026-07-08 06:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297617 -2.796552)'), GeomFromEWKT('SRID=4674;POINT (-40.297518 -2.796572)'))) / (select extract(epoch from '2026-07-08 06:32:23'::timestamp) - extract(epoch from '2026-07-08 06:32:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.297468 -2.796571)', '2026-07-08 06:32:37', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297518 -2.796572)'), GeomFromEWKT('SRID=4674;POINT (-40.297468 -2.796571)'))) / (select extract(epoch from '2026-07-08 06:32:37'::timestamp) - extract(epoch from '2026-07-08 06:32:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297518 -2.796572)'), GeomFromEWKT('SRID=4674;POINT (-40.297468 -2.796571)'))) / (select extract(epoch from '2026-07-08 06:32:37'::timestamp) - extract(epoch from '2026-07-08 06:32: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'), 47637, 'SRID=4674;POINT (-40.297442 -2.796588)', '2026-07-08 06:32:53', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297468 -2.796571)'), GeomFromEWKT('SRID=4674;POINT (-40.297442 -2.796588)'))) / (select extract(epoch from '2026-07-08 06:32:53'::timestamp) - extract(epoch from '2026-07-08 06:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297468 -2.796571)'), GeomFromEWKT('SRID=4674;POINT (-40.297442 -2.796588)'))) / (select extract(epoch from '2026-07-08 06:32:53'::timestamp) - extract(epoch from '2026-07-08 06:32:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.297418 -2.79662)', '2026-07-08 06:33:11', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297442 -2.796588)'), GeomFromEWKT('SRID=4674;POINT (-40.297418 -2.79662)'))) / (select extract(epoch from '2026-07-08 06:33:11'::timestamp) - extract(epoch from '2026-07-08 06:32:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297442 -2.796588)'), GeomFromEWKT('SRID=4674;POINT (-40.297418 -2.79662)'))) / (select extract(epoch from '2026-07-08 06:33:11'::timestamp) - extract(epoch from '2026-07-08 06:32: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'), 47637, 'SRID=4674;POINT (-40.297344 -2.796627)', '2026-07-08 06:33:26', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297418 -2.79662)'), GeomFromEWKT('SRID=4674;POINT (-40.297344 -2.796627)'))) / (select extract(epoch from '2026-07-08 06:33:26'::timestamp) - extract(epoch from '2026-07-08 06:33:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297418 -2.79662)'), GeomFromEWKT('SRID=4674;POINT (-40.297344 -2.796627)'))) / (select extract(epoch from '2026-07-08 06:33:26'::timestamp) - extract(epoch from '2026-07-08 06:33: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'), 47637, 'SRID=4674;POINT (-40.297252 -2.796635)', '2026-07-08 06:33:42', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297344 -2.796627)'), GeomFromEWKT('SRID=4674;POINT (-40.297252 -2.796635)'))) / (select extract(epoch from '2026-07-08 06:33:42'::timestamp) - extract(epoch from '2026-07-08 06:33:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297344 -2.796627)'), GeomFromEWKT('SRID=4674;POINT (-40.297252 -2.796635)'))) / (select extract(epoch from '2026-07-08 06:33:42'::timestamp) - extract(epoch from '2026-07-08 06:33: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'), 47637, 'SRID=4674;POINT (-40.297186 -2.796641)', '2026-07-08 06:33:58', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297252 -2.796635)'), GeomFromEWKT('SRID=4674;POINT (-40.297186 -2.796641)'))) / (select extract(epoch from '2026-07-08 06:33:58'::timestamp) - extract(epoch from '2026-07-08 06:33:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297252 -2.796635)'), GeomFromEWKT('SRID=4674;POINT (-40.297186 -2.796641)'))) / (select extract(epoch from '2026-07-08 06:33:58'::timestamp) - extract(epoch from '2026-07-08 06:33:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.297153 -2.796646)', '2026-07-08 06:34:10', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297186 -2.796641)'), GeomFromEWKT('SRID=4674;POINT (-40.297153 -2.796646)'))) / (select extract(epoch from '2026-07-08 06:34:10'::timestamp) - extract(epoch from '2026-07-08 06:33:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297186 -2.796641)'), GeomFromEWKT('SRID=4674;POINT (-40.297153 -2.796646)'))) / (select extract(epoch from '2026-07-08 06:34:10'::timestamp) - extract(epoch from '2026-07-08 06:33:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.297087 -2.796666)', '2026-07-08 06:34:23', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297153 -2.796646)'), GeomFromEWKT('SRID=4674;POINT (-40.297087 -2.796666)'))) / (select extract(epoch from '2026-07-08 06:34:23'::timestamp) - extract(epoch from '2026-07-08 06:34:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297153 -2.796646)'), GeomFromEWKT('SRID=4674;POINT (-40.297087 -2.796666)'))) / (select extract(epoch from '2026-07-08 06:34:23'::timestamp) - extract(epoch from '2026-07-08 06:34:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.296969 -2.796666)', '2026-07-08 06:34:41', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297087 -2.796666)'), GeomFromEWKT('SRID=4674;POINT (-40.296969 -2.796666)'))) / (select extract(epoch from '2026-07-08 06:34:41'::timestamp) - extract(epoch from '2026-07-08 06:34:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297087 -2.796666)'), GeomFromEWKT('SRID=4674;POINT (-40.296969 -2.796666)'))) / (select extract(epoch from '2026-07-08 06:34:41'::timestamp) - extract(epoch from '2026-07-08 06:34:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.296922 -2.796674)', '2026-07-08 06:34:49', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296969 -2.796666)'), GeomFromEWKT('SRID=4674;POINT (-40.296922 -2.796674)'))) / (select extract(epoch from '2026-07-08 06:34:49'::timestamp) - extract(epoch from '2026-07-08 06:34:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296969 -2.796666)'), GeomFromEWKT('SRID=4674;POINT (-40.296922 -2.796674)'))) / (select extract(epoch from '2026-07-08 06:34:49'::timestamp) - extract(epoch from '2026-07-08 06:34: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'), 47637, 'SRID=4674;POINT (-40.296838 -2.796696)', '2026-07-08 06:35:05', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296922 -2.796674)'), GeomFromEWKT('SRID=4674;POINT (-40.296838 -2.796696)'))) / (select extract(epoch from '2026-07-08 06:35:05'::timestamp) - extract(epoch from '2026-07-08 06:34:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296922 -2.796674)'), GeomFromEWKT('SRID=4674;POINT (-40.296838 -2.796696)'))) / (select extract(epoch from '2026-07-08 06:35:05'::timestamp) - extract(epoch from '2026-07-08 06:34:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.29678 -2.796703)', '2026-07-08 06:35:20', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296838 -2.796696)'), GeomFromEWKT('SRID=4674;POINT (-40.29678 -2.796703)'))) / (select extract(epoch from '2026-07-08 06:35:20'::timestamp) - extract(epoch from '2026-07-08 06:35:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296838 -2.796696)'), GeomFromEWKT('SRID=4674;POINT (-40.29678 -2.796703)'))) / (select extract(epoch from '2026-07-08 06:35:20'::timestamp) - extract(epoch from '2026-07-08 06:35: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'), 47637, 'SRID=4674;POINT (-40.296711 -2.796721)', '2026-07-08 06:35:33', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29678 -2.796703)'), GeomFromEWKT('SRID=4674;POINT (-40.296711 -2.796721)'))) / (select extract(epoch from '2026-07-08 06:35:33'::timestamp) - extract(epoch from '2026-07-08 06:35:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29678 -2.796703)'), GeomFromEWKT('SRID=4674;POINT (-40.296711 -2.796721)'))) / (select extract(epoch from '2026-07-08 06:35:33'::timestamp) - extract(epoch from '2026-07-08 06:35:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.296621 -2.79672)', '2026-07-08 06:35:48', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296711 -2.796721)'), GeomFromEWKT('SRID=4674;POINT (-40.296621 -2.79672)'))) / (select extract(epoch from '2026-07-08 06:35:48'::timestamp) - extract(epoch from '2026-07-08 06:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296711 -2.796721)'), GeomFromEWKT('SRID=4674;POINT (-40.296621 -2.79672)'))) / (select extract(epoch from '2026-07-08 06:35:48'::timestamp) - extract(epoch from '2026-07-08 06:35:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.296508 -2.796728)', '2026-07-08 06:36:07', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296621 -2.79672)'), GeomFromEWKT('SRID=4674;POINT (-40.296508 -2.796728)'))) / (select extract(epoch from '2026-07-08 06:36:07'::timestamp) - extract(epoch from '2026-07-08 06:35:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296621 -2.79672)'), GeomFromEWKT('SRID=4674;POINT (-40.296508 -2.796728)'))) / (select extract(epoch from '2026-07-08 06:36:07'::timestamp) - extract(epoch from '2026-07-08 06: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'), 47637, 'SRID=4674;POINT (-40.296427 -2.79674)', '2026-07-08 06:36:22', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296508 -2.796728)'), GeomFromEWKT('SRID=4674;POINT (-40.296427 -2.79674)'))) / (select extract(epoch from '2026-07-08 06:36:22'::timestamp) - extract(epoch from '2026-07-08 06:36:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296508 -2.796728)'), GeomFromEWKT('SRID=4674;POINT (-40.296427 -2.79674)'))) / (select extract(epoch from '2026-07-08 06:36:22'::timestamp) - extract(epoch from '2026-07-08 06: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'), 47637, 'SRID=4674;POINT (-40.296391 -2.796739)', '2026-07-08 06:36:36', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296427 -2.79674)'), GeomFromEWKT('SRID=4674;POINT (-40.296391 -2.796739)'))) / (select extract(epoch from '2026-07-08 06:36:36'::timestamp) - extract(epoch from '2026-07-08 06:36:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296427 -2.79674)'), GeomFromEWKT('SRID=4674;POINT (-40.296391 -2.796739)'))) / (select extract(epoch from '2026-07-08 06:36:36'::timestamp) - extract(epoch from '2026-07-08 06:36: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'), 47637, 'SRID=4674;POINT (-40.296318 -2.796749)', '2026-07-08 06:36:54', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296391 -2.796739)'), GeomFromEWKT('SRID=4674;POINT (-40.296318 -2.796749)'))) / (select extract(epoch from '2026-07-08 06:36:54'::timestamp) - extract(epoch from '2026-07-08 06:36:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296391 -2.796739)'), GeomFromEWKT('SRID=4674;POINT (-40.296318 -2.796749)'))) / (select extract(epoch from '2026-07-08 06:36:54'::timestamp) - extract(epoch from '2026-07-08 06:36: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'), 47637, 'SRID=4674;POINT (-40.29624 -2.796745)', '2026-07-08 06:37:09', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296318 -2.796749)'), GeomFromEWKT('SRID=4674;POINT (-40.29624 -2.796745)'))) / (select extract(epoch from '2026-07-08 06:37:09'::timestamp) - extract(epoch from '2026-07-08 06:36:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296318 -2.796749)'), GeomFromEWKT('SRID=4674;POINT (-40.29624 -2.796745)'))) / (select extract(epoch from '2026-07-08 06:37:09'::timestamp) - extract(epoch from '2026-07-08 06:36:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.296133 -2.796756)', '2026-07-08 06:37:28', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29624 -2.796745)'), GeomFromEWKT('SRID=4674;POINT (-40.296133 -2.796756)'))) / (select extract(epoch from '2026-07-08 06:37:28'::timestamp) - extract(epoch from '2026-07-08 06:37:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29624 -2.796745)'), GeomFromEWKT('SRID=4674;POINT (-40.296133 -2.796756)'))) / (select extract(epoch from '2026-07-08 06:37:28'::timestamp) - extract(epoch from '2026-07-08 06:37:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.296053 -2.796756)', '2026-07-08 06:37:43', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296133 -2.796756)'), GeomFromEWKT('SRID=4674;POINT (-40.296053 -2.796756)'))) / (select extract(epoch from '2026-07-08 06:37:43'::timestamp) - extract(epoch from '2026-07-08 06:37:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296133 -2.796756)'), GeomFromEWKT('SRID=4674;POINT (-40.296053 -2.796756)'))) / (select extract(epoch from '2026-07-08 06:37:43'::timestamp) - extract(epoch from '2026-07-08 06:37:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.295997 -2.796733)', '2026-07-08 06:37:59', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296053 -2.796756)'), GeomFromEWKT('SRID=4674;POINT (-40.295997 -2.796733)'))) / (select extract(epoch from '2026-07-08 06:37:59'::timestamp) - extract(epoch from '2026-07-08 06:37:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296053 -2.796756)'), GeomFromEWKT('SRID=4674;POINT (-40.295997 -2.796733)'))) / (select extract(epoch from '2026-07-08 06:37:59'::timestamp) - extract(epoch from '2026-07-08 06:37:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.295911 -2.796739)', '2026-07-08 06:38:15', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295997 -2.796733)'), GeomFromEWKT('SRID=4674;POINT (-40.295911 -2.796739)'))) / (select extract(epoch from '2026-07-08 06:38:15'::timestamp) - extract(epoch from '2026-07-08 06:37:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295997 -2.796733)'), GeomFromEWKT('SRID=4674;POINT (-40.295911 -2.796739)'))) / (select extract(epoch from '2026-07-08 06:38:15'::timestamp) - extract(epoch from '2026-07-08 06: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'), 47637, 'SRID=4674;POINT (-40.29581 -2.79673)', '2026-07-08 06:38:30', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295911 -2.796739)'), GeomFromEWKT('SRID=4674;POINT (-40.29581 -2.79673)'))) / (select extract(epoch from '2026-07-08 06:38:30'::timestamp) - extract(epoch from '2026-07-08 06:38:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295911 -2.796739)'), GeomFromEWKT('SRID=4674;POINT (-40.29581 -2.79673)'))) / (select extract(epoch from '2026-07-08 06:38:30'::timestamp) - extract(epoch from '2026-07-08 06: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'), 47637, 'SRID=4674;POINT (-40.295765 -2.796711)', '2026-07-08 06:38:45', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29581 -2.79673)'), GeomFromEWKT('SRID=4674;POINT (-40.295765 -2.796711)'))) / (select extract(epoch from '2026-07-08 06:38:45'::timestamp) - extract(epoch from '2026-07-08 06:38:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29581 -2.79673)'), GeomFromEWKT('SRID=4674;POINT (-40.295765 -2.796711)'))) / (select extract(epoch from '2026-07-08 06:38:45'::timestamp) - extract(epoch from '2026-07-08 06:38:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.295738 -2.796711)', '2026-07-08 06:39:03', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295765 -2.796711)'), GeomFromEWKT('SRID=4674;POINT (-40.295738 -2.796711)'))) / (select extract(epoch from '2026-07-08 06:39:03'::timestamp) - extract(epoch from '2026-07-08 06:38:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295765 -2.796711)'), GeomFromEWKT('SRID=4674;POINT (-40.295738 -2.796711)'))) / (select extract(epoch from '2026-07-08 06:39:03'::timestamp) - extract(epoch from '2026-07-08 06: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'), 47637, 'SRID=4674;POINT (-40.2957 -2.796701)', '2026-07-08 06:39:21', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295738 -2.796711)'), GeomFromEWKT('SRID=4674;POINT (-40.2957 -2.796701)'))) / (select extract(epoch from '2026-07-08 06:39:21'::timestamp) - extract(epoch from '2026-07-08 06:39:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295738 -2.796711)'), GeomFromEWKT('SRID=4674;POINT (-40.2957 -2.796701)'))) / (select extract(epoch from '2026-07-08 06:39:21'::timestamp) - extract(epoch from '2026-07-08 06:39:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.295703 -2.796677)', '2026-07-08 06:39:41', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.2957 -2.796701)'), GeomFromEWKT('SRID=4674;POINT (-40.295703 -2.796677)'))) / (select extract(epoch from '2026-07-08 06:39:41'::timestamp) - extract(epoch from '2026-07-08 06:39:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.2957 -2.796701)'), GeomFromEWKT('SRID=4674;POINT (-40.295703 -2.796677)'))) / (select extract(epoch from '2026-07-08 06:39:41'::timestamp) - extract(epoch from '2026-07-08 06:39:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.295726 -2.796667)', '2026-07-08 06:40:07', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295703 -2.796677)'), GeomFromEWKT('SRID=4674;POINT (-40.295726 -2.796667)'))) / (select extract(epoch from '2026-07-08 06:40:07'::timestamp) - extract(epoch from '2026-07-08 06:39:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295703 -2.796677)'), GeomFromEWKT('SRID=4674;POINT (-40.295726 -2.796667)'))) / (select extract(epoch from '2026-07-08 06:40:07'::timestamp) - extract(epoch from '2026-07-08 06:39:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.295688 -2.796669)', '2026-07-08 06:40:19', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295726 -2.796667)'), GeomFromEWKT('SRID=4674;POINT (-40.295688 -2.796669)'))) / (select extract(epoch from '2026-07-08 06:40:19'::timestamp) - extract(epoch from '2026-07-08 06:40:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295726 -2.796667)'), GeomFromEWKT('SRID=4674;POINT (-40.295688 -2.796669)'))) / (select extract(epoch from '2026-07-08 06:40:19'::timestamp) - extract(epoch from '2026-07-08 06:40:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.295621 -2.796676)', '2026-07-08 06:40:34', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295688 -2.796669)'), GeomFromEWKT('SRID=4674;POINT (-40.295621 -2.796676)'))) / (select extract(epoch from '2026-07-08 06:40:34'::timestamp) - extract(epoch from '2026-07-08 06:40:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295688 -2.796669)'), GeomFromEWKT('SRID=4674;POINT (-40.295621 -2.796676)'))) / (select extract(epoch from '2026-07-08 06:40:34'::timestamp) - extract(epoch from '2026-07-08 06:40: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'), 47637, 'SRID=4674;POINT (-40.295571 -2.796678)', '2026-07-08 06:40:50', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295621 -2.796676)'), GeomFromEWKT('SRID=4674;POINT (-40.295571 -2.796678)'))) / (select extract(epoch from '2026-07-08 06:40:50'::timestamp) - extract(epoch from '2026-07-08 06:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295621 -2.796676)'), GeomFromEWKT('SRID=4674;POINT (-40.295571 -2.796678)'))) / (select extract(epoch from '2026-07-08 06:40:50'::timestamp) - extract(epoch from '2026-07-08 06:40:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.295553 -2.796691)', '2026-07-08 06:41:05', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295571 -2.796678)'), GeomFromEWKT('SRID=4674;POINT (-40.295553 -2.796691)'))) / (select extract(epoch from '2026-07-08 06:41:05'::timestamp) - extract(epoch from '2026-07-08 06:40:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295571 -2.796678)'), GeomFromEWKT('SRID=4674;POINT (-40.295553 -2.796691)'))) / (select extract(epoch from '2026-07-08 06:41:05'::timestamp) - extract(epoch from '2026-07-08 06:40: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'), 47637, 'SRID=4674;POINT (-40.295519 -2.79668)', '2026-07-08 06:41:30', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295553 -2.796691)'), GeomFromEWKT('SRID=4674;POINT (-40.295519 -2.79668)'))) / (select extract(epoch from '2026-07-08 06:41:30'::timestamp) - extract(epoch from '2026-07-08 06:41:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295553 -2.796691)'), GeomFromEWKT('SRID=4674;POINT (-40.295519 -2.79668)'))) / (select extract(epoch from '2026-07-08 06:41:30'::timestamp) - extract(epoch from '2026-07-08 06:41:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.295513 -2.796668)', '2026-07-08 06:41:52', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295519 -2.79668)'), GeomFromEWKT('SRID=4674;POINT (-40.295513 -2.796668)'))) / (select extract(epoch from '2026-07-08 06:41:52'::timestamp) - extract(epoch from '2026-07-08 06:41:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295519 -2.79668)'), GeomFromEWKT('SRID=4674;POINT (-40.295513 -2.796668)'))) / (select extract(epoch from '2026-07-08 06:41:52'::timestamp) - extract(epoch from '2026-07-08 06:41:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.295502 -2.796655)', '2026-07-08 06:42:04', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295513 -2.796668)'), GeomFromEWKT('SRID=4674;POINT (-40.295502 -2.796655)'))) / (select extract(epoch from '2026-07-08 06:42:04'::timestamp) - extract(epoch from '2026-07-08 06:41:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295513 -2.796668)'), GeomFromEWKT('SRID=4674;POINT (-40.295502 -2.796655)'))) / (select extract(epoch from '2026-07-08 06:42:04'::timestamp) - extract(epoch from '2026-07-08 06:41:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.295469 -2.796663)', '2026-07-08 06:42:18', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295502 -2.796655)'), GeomFromEWKT('SRID=4674;POINT (-40.295469 -2.796663)'))) / (select extract(epoch from '2026-07-08 06:42:18'::timestamp) - extract(epoch from '2026-07-08 06:42:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295502 -2.796655)'), GeomFromEWKT('SRID=4674;POINT (-40.295469 -2.796663)'))) / (select extract(epoch from '2026-07-08 06:42:18'::timestamp) - extract(epoch from '2026-07-08 06:42:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.295406 -2.796677)', '2026-07-08 06:42:34', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295469 -2.796663)'), GeomFromEWKT('SRID=4674;POINT (-40.295406 -2.796677)'))) / (select extract(epoch from '2026-07-08 06:42:34'::timestamp) - extract(epoch from '2026-07-08 06:42:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295469 -2.796663)'), GeomFromEWKT('SRID=4674;POINT (-40.295406 -2.796677)'))) / (select extract(epoch from '2026-07-08 06:42:34'::timestamp) - extract(epoch from '2026-07-08 06:42: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'), 47637, 'SRID=4674;POINT (-40.295377 -2.796677)', '2026-07-08 06:42:48', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295406 -2.796677)'), GeomFromEWKT('SRID=4674;POINT (-40.295377 -2.796677)'))) / (select extract(epoch from '2026-07-08 06:42:48'::timestamp) - extract(epoch from '2026-07-08 06:42:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295406 -2.796677)'), GeomFromEWKT('SRID=4674;POINT (-40.295377 -2.796677)'))) / (select extract(epoch from '2026-07-08 06:42:48'::timestamp) - extract(epoch from '2026-07-08 06:42: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'), 47637, 'SRID=4674;POINT (-40.295356 -2.796667)', '2026-07-08 06:43:12', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295377 -2.796677)'), GeomFromEWKT('SRID=4674;POINT (-40.295356 -2.796667)'))) / (select extract(epoch from '2026-07-08 06:43:12'::timestamp) - extract(epoch from '2026-07-08 06:42:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295377 -2.796677)'), GeomFromEWKT('SRID=4674;POINT (-40.295356 -2.796667)'))) / (select extract(epoch from '2026-07-08 06:43:12'::timestamp) - extract(epoch from '2026-07-08 06:42: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'), 47637, 'SRID=4674;POINT (-40.295373 -2.796658)', '2026-07-08 06:43:34', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295356 -2.796667)'), GeomFromEWKT('SRID=4674;POINT (-40.295373 -2.796658)'))) / (select extract(epoch from '2026-07-08 06:43:34'::timestamp) - extract(epoch from '2026-07-08 06:43:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295356 -2.796667)'), GeomFromEWKT('SRID=4674;POINT (-40.295373 -2.796658)'))) / (select extract(epoch from '2026-07-08 06:43:34'::timestamp) - extract(epoch from '2026-07-08 06:43:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.295344 -2.796657)', '2026-07-08 06:43:56', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295373 -2.796658)'), GeomFromEWKT('SRID=4674;POINT (-40.295344 -2.796657)'))) / (select extract(epoch from '2026-07-08 06:43:56'::timestamp) - extract(epoch from '2026-07-08 06:43:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295373 -2.796658)'), GeomFromEWKT('SRID=4674;POINT (-40.295344 -2.796657)'))) / (select extract(epoch from '2026-07-08 06:43:56'::timestamp) - extract(epoch from '2026-07-08 06:43: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'), 47637, 'SRID=4674;POINT (-40.295269 -2.796676)', '2026-07-08 06:44:11', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295344 -2.796657)'), GeomFromEWKT('SRID=4674;POINT (-40.295269 -2.796676)'))) / (select extract(epoch from '2026-07-08 06:44:11'::timestamp) - extract(epoch from '2026-07-08 06:43:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295344 -2.796657)'), GeomFromEWKT('SRID=4674;POINT (-40.295269 -2.796676)'))) / (select extract(epoch from '2026-07-08 06:44:11'::timestamp) - extract(epoch from '2026-07-08 06: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'), 47637, 'SRID=4674;POINT (-40.295223 -2.79668)', '2026-07-08 06:44:25', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295269 -2.796676)'), GeomFromEWKT('SRID=4674;POINT (-40.295223 -2.79668)'))) / (select extract(epoch from '2026-07-08 06:44:25'::timestamp) - extract(epoch from '2026-07-08 06:44:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295269 -2.796676)'), GeomFromEWKT('SRID=4674;POINT (-40.295223 -2.79668)'))) / (select extract(epoch from '2026-07-08 06:44:25'::timestamp) - extract(epoch from '2026-07-08 06: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'), 47637, 'SRID=4674;POINT (-40.295202 -2.796685)', '2026-07-08 06:44:37', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295223 -2.79668)'), GeomFromEWKT('SRID=4674;POINT (-40.295202 -2.796685)'))) / (select extract(epoch from '2026-07-08 06:44:37'::timestamp) - extract(epoch from '2026-07-08 06:44:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295223 -2.79668)'), GeomFromEWKT('SRID=4674;POINT (-40.295202 -2.796685)'))) / (select extract(epoch from '2026-07-08 06:44:37'::timestamp) - extract(epoch from '2026-07-08 06:44: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'), 47637, 'SRID=4674;POINT (-40.295198 -2.79669)', '2026-07-08 06:44:55', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295202 -2.796685)'), GeomFromEWKT('SRID=4674;POINT (-40.295198 -2.79669)'))) / (select extract(epoch from '2026-07-08 06:44:55'::timestamp) - extract(epoch from '2026-07-08 06:44:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295202 -2.796685)'), GeomFromEWKT('SRID=4674;POINT (-40.295198 -2.79669)'))) / (select extract(epoch from '2026-07-08 06:44:55'::timestamp) - extract(epoch from '2026-07-08 06:44:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.295215 -2.79669)', '2026-07-08 06:45:14', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295198 -2.79669)'), GeomFromEWKT('SRID=4674;POINT (-40.295215 -2.79669)'))) / (select extract(epoch from '2026-07-08 06:45:14'::timestamp) - extract(epoch from '2026-07-08 06:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295198 -2.79669)'), GeomFromEWKT('SRID=4674;POINT (-40.295215 -2.79669)'))) / (select extract(epoch from '2026-07-08 06:45:14'::timestamp) - extract(epoch from '2026-07-08 06:44: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'), 47637, 'SRID=4674;POINT (-40.295215 -2.796717)', '2026-07-08 06:45:32', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295215 -2.79669)'), GeomFromEWKT('SRID=4674;POINT (-40.295215 -2.796717)'))) / (select extract(epoch from '2026-07-08 06:45:32'::timestamp) - extract(epoch from '2026-07-08 06:45:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295215 -2.79669)'), GeomFromEWKT('SRID=4674;POINT (-40.295215 -2.796717)'))) / (select extract(epoch from '2026-07-08 06:45:32'::timestamp) - extract(epoch from '2026-07-08 06:45:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.29517 -2.796695)', '2026-07-08 06:45:50', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295215 -2.796717)'), GeomFromEWKT('SRID=4674;POINT (-40.29517 -2.796695)'))) / (select extract(epoch from '2026-07-08 06:45:50'::timestamp) - extract(epoch from '2026-07-08 06:45:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295215 -2.796717)'), GeomFromEWKT('SRID=4674;POINT (-40.29517 -2.796695)'))) / (select extract(epoch from '2026-07-08 06:45:50'::timestamp) - extract(epoch from '2026-07-08 06:45:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.2951 -2.796685)', '2026-07-08 06:46:07', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29517 -2.796695)'), GeomFromEWKT('SRID=4674;POINT (-40.2951 -2.796685)'))) / (select extract(epoch from '2026-07-08 06:46:07'::timestamp) - extract(epoch from '2026-07-08 06:45:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29517 -2.796695)'), GeomFromEWKT('SRID=4674;POINT (-40.2951 -2.796685)'))) / (select extract(epoch from '2026-07-08 06:46:07'::timestamp) - extract(epoch from '2026-07-08 06:45: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'), 47637, 'SRID=4674;POINT (-40.295059 -2.796686)', '2026-07-08 06:46:24', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.2951 -2.796685)'), GeomFromEWKT('SRID=4674;POINT (-40.295059 -2.796686)'))) / (select extract(epoch from '2026-07-08 06:46:24'::timestamp) - extract(epoch from '2026-07-08 06:46:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.2951 -2.796685)'), GeomFromEWKT('SRID=4674;POINT (-40.295059 -2.796686)'))) / (select extract(epoch from '2026-07-08 06:46:24'::timestamp) - extract(epoch from '2026-07-08 06:46: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'), 47637, 'SRID=4674;POINT (-40.295036 -2.796704)', '2026-07-08 06:46:49', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295059 -2.796686)'), GeomFromEWKT('SRID=4674;POINT (-40.295036 -2.796704)'))) / (select extract(epoch from '2026-07-08 06:46:49'::timestamp) - extract(epoch from '2026-07-08 06:46:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295059 -2.796686)'), GeomFromEWKT('SRID=4674;POINT (-40.295036 -2.796704)'))) / (select extract(epoch from '2026-07-08 06:46:49'::timestamp) - extract(epoch from '2026-07-08 06:46: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'), 47637, 'SRID=4674;POINT (-40.295027 -2.796701)', '2026-07-08 06:47:12', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295036 -2.796704)'), GeomFromEWKT('SRID=4674;POINT (-40.295027 -2.796701)'))) / (select extract(epoch from '2026-07-08 06:47:12'::timestamp) - extract(epoch from '2026-07-08 06:46:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295036 -2.796704)'), GeomFromEWKT('SRID=4674;POINT (-40.295027 -2.796701)'))) / (select extract(epoch from '2026-07-08 06:47:12'::timestamp) - extract(epoch from '2026-07-08 06: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'), 47637, 'SRID=4674;POINT (-40.295025 -2.796696)', '2026-07-08 06:47:38', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295027 -2.796701)'), GeomFromEWKT('SRID=4674;POINT (-40.295025 -2.796696)'))) / (select extract(epoch from '2026-07-08 06:47:38'::timestamp) - extract(epoch from '2026-07-08 06:47:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295027 -2.796701)'), GeomFromEWKT('SRID=4674;POINT (-40.295025 -2.796696)'))) / (select extract(epoch from '2026-07-08 06:47:38'::timestamp) - extract(epoch from '2026-07-08 06:47: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'), 47637, 'SRID=4674;POINT (-40.295011 -2.796685)', '2026-07-08 06:48:08', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295025 -2.796696)'), GeomFromEWKT('SRID=4674;POINT (-40.295011 -2.796685)'))) / (select extract(epoch from '2026-07-08 06:48:08'::timestamp) - extract(epoch from '2026-07-08 06:47:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295025 -2.796696)'), GeomFromEWKT('SRID=4674;POINT (-40.295011 -2.796685)'))) / (select extract(epoch from '2026-07-08 06:48:08'::timestamp) - extract(epoch from '2026-07-08 06:47: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'), 47637, 'SRID=4674;POINT (-40.294959 -2.796693)', '2026-07-08 06:48:25', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295011 -2.796685)'), GeomFromEWKT('SRID=4674;POINT (-40.294959 -2.796693)'))) / (select extract(epoch from '2026-07-08 06:48:25'::timestamp) - extract(epoch from '2026-07-08 06:48:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295011 -2.796685)'), GeomFromEWKT('SRID=4674;POINT (-40.294959 -2.796693)'))) / (select extract(epoch from '2026-07-08 06:48:25'::timestamp) - extract(epoch from '2026-07-08 06:48: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'), 47637, 'SRID=4674;POINT (-40.294927 -2.796692)', '2026-07-08 06:48:39', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294959 -2.796693)'), GeomFromEWKT('SRID=4674;POINT (-40.294927 -2.796692)'))) / (select extract(epoch from '2026-07-08 06:48:39'::timestamp) - extract(epoch from '2026-07-08 06:48:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294959 -2.796693)'), GeomFromEWKT('SRID=4674;POINT (-40.294927 -2.796692)'))) / (select extract(epoch from '2026-07-08 06:48:39'::timestamp) - extract(epoch from '2026-07-08 06: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'), 47637, 'SRID=4674;POINT (-40.294907 -2.796693)', '2026-07-08 06:48:57', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294927 -2.796692)'), GeomFromEWKT('SRID=4674;POINT (-40.294907 -2.796693)'))) / (select extract(epoch from '2026-07-08 06:48:57'::timestamp) - extract(epoch from '2026-07-08 06:48:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294927 -2.796692)'), GeomFromEWKT('SRID=4674;POINT (-40.294907 -2.796693)'))) / (select extract(epoch from '2026-07-08 06:48:57'::timestamp) - extract(epoch from '2026-07-08 06:48:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.294891 -2.796688)', '2026-07-08 06:49:15', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294907 -2.796693)'), GeomFromEWKT('SRID=4674;POINT (-40.294891 -2.796688)'))) / (select extract(epoch from '2026-07-08 06:49:15'::timestamp) - extract(epoch from '2026-07-08 06:48:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294907 -2.796693)'), GeomFromEWKT('SRID=4674;POINT (-40.294891 -2.796688)'))) / (select extract(epoch from '2026-07-08 06:49:15'::timestamp) - extract(epoch from '2026-07-08 06:48:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.294875 -2.79669)', '2026-07-08 06:49:33', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294891 -2.796688)'), GeomFromEWKT('SRID=4674;POINT (-40.294875 -2.79669)'))) / (select extract(epoch from '2026-07-08 06:49:33'::timestamp) - extract(epoch from '2026-07-08 06:49:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294891 -2.796688)'), GeomFromEWKT('SRID=4674;POINT (-40.294875 -2.79669)'))) / (select extract(epoch from '2026-07-08 06:49:33'::timestamp) - extract(epoch from '2026-07-08 06:49: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'), 47637, 'SRID=4674;POINT (-40.294843 -2.796694)', '2026-07-08 06:49:59', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294875 -2.79669)'), GeomFromEWKT('SRID=4674;POINT (-40.294843 -2.796694)'))) / (select extract(epoch from '2026-07-08 06:49:59'::timestamp) - extract(epoch from '2026-07-08 06:49:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294875 -2.79669)'), GeomFromEWKT('SRID=4674;POINT (-40.294843 -2.796694)'))) / (select extract(epoch from '2026-07-08 06:49:59'::timestamp) - extract(epoch from '2026-07-08 06:49: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'), 47637, 'SRID=4674;POINT (-40.294816 -2.796686)', '2026-07-08 06:50:19', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294843 -2.796694)'), GeomFromEWKT('SRID=4674;POINT (-40.294816 -2.796686)'))) / (select extract(epoch from '2026-07-08 06:50:19'::timestamp) - extract(epoch from '2026-07-08 06:49:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294843 -2.796694)'), GeomFromEWKT('SRID=4674;POINT (-40.294816 -2.796686)'))) / (select extract(epoch from '2026-07-08 06:50:19'::timestamp) - extract(epoch from '2026-07-08 06: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'), 47637, 'SRID=4674;POINT (-40.29479 -2.796686)', '2026-07-08 06:50:40', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294816 -2.796686)'), GeomFromEWKT('SRID=4674;POINT (-40.29479 -2.796686)'))) / (select extract(epoch from '2026-07-08 06:50:40'::timestamp) - extract(epoch from '2026-07-08 06:50:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294816 -2.796686)'), GeomFromEWKT('SRID=4674;POINT (-40.29479 -2.796686)'))) / (select extract(epoch from '2026-07-08 06:50:40'::timestamp) - extract(epoch from '2026-07-08 06:50:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.29473 -2.796691)', '2026-07-08 06:50:56', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29479 -2.796686)'), GeomFromEWKT('SRID=4674;POINT (-40.29473 -2.796691)'))) / (select extract(epoch from '2026-07-08 06:50:56'::timestamp) - extract(epoch from '2026-07-08 06:50:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29479 -2.796686)'), GeomFromEWKT('SRID=4674;POINT (-40.29473 -2.796691)'))) / (select extract(epoch from '2026-07-08 06:50:56'::timestamp) - extract(epoch from '2026-07-08 06: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'), 47637, 'SRID=4674;POINT (-40.294659 -2.796704)', '2026-07-08 06:51:12', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29473 -2.796691)'), GeomFromEWKT('SRID=4674;POINT (-40.294659 -2.796704)'))) / (select extract(epoch from '2026-07-08 06:51:12'::timestamp) - extract(epoch from '2026-07-08 06:50:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29473 -2.796691)'), GeomFromEWKT('SRID=4674;POINT (-40.294659 -2.796704)'))) / (select extract(epoch from '2026-07-08 06:51:12'::timestamp) - extract(epoch from '2026-07-08 06:50:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.294622 -2.796709)', '2026-07-08 06:51:27', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294659 -2.796704)'), GeomFromEWKT('SRID=4674;POINT (-40.294622 -2.796709)'))) / (select extract(epoch from '2026-07-08 06:51:27'::timestamp) - extract(epoch from '2026-07-08 06:51:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294659 -2.796704)'), GeomFromEWKT('SRID=4674;POINT (-40.294622 -2.796709)'))) / (select extract(epoch from '2026-07-08 06:51:27'::timestamp) - extract(epoch from '2026-07-08 06:51: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'), 47637, 'SRID=4674;POINT (-40.294603 -2.796708)', '2026-07-08 06:51:45', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294622 -2.796709)'), GeomFromEWKT('SRID=4674;POINT (-40.294603 -2.796708)'))) / (select extract(epoch from '2026-07-08 06:51:45'::timestamp) - extract(epoch from '2026-07-08 06:51:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294622 -2.796709)'), GeomFromEWKT('SRID=4674;POINT (-40.294603 -2.796708)'))) / (select extract(epoch from '2026-07-08 06:51:45'::timestamp) - extract(epoch from '2026-07-08 06:51:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.294559 -2.796706)', '2026-07-08 06:52:01', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294603 -2.796708)'), GeomFromEWKT('SRID=4674;POINT (-40.294559 -2.796706)'))) / (select extract(epoch from '2026-07-08 06:52:01'::timestamp) - extract(epoch from '2026-07-08 06:51:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294603 -2.796708)'), GeomFromEWKT('SRID=4674;POINT (-40.294559 -2.796706)'))) / (select extract(epoch from '2026-07-08 06:52:01'::timestamp) - extract(epoch from '2026-07-08 06:51: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'), 47637, 'SRID=4674;POINT (-40.294488 -2.796681)', '2026-07-08 06:52:19', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294559 -2.796706)'), GeomFromEWKT('SRID=4674;POINT (-40.294488 -2.796681)'))) / (select extract(epoch from '2026-07-08 06:52:19'::timestamp) - extract(epoch from '2026-07-08 06:52:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294559 -2.796706)'), GeomFromEWKT('SRID=4674;POINT (-40.294488 -2.796681)'))) / (select extract(epoch from '2026-07-08 06:52:19'::timestamp) - extract(epoch from '2026-07-08 06: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'), 47637, 'SRID=4674;POINT (-40.294419 -2.796681)', '2026-07-08 06:52:35', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294488 -2.796681)'), GeomFromEWKT('SRID=4674;POINT (-40.294419 -2.796681)'))) / (select extract(epoch from '2026-07-08 06:52:35'::timestamp) - extract(epoch from '2026-07-08 06:52:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294488 -2.796681)'), GeomFromEWKT('SRID=4674;POINT (-40.294419 -2.796681)'))) / (select extract(epoch from '2026-07-08 06:52:35'::timestamp) - extract(epoch from '2026-07-08 06:52: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'), 47637, 'SRID=4674;POINT (-40.294382 -2.796683)', '2026-07-08 06:52:48', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294419 -2.796681)'), GeomFromEWKT('SRID=4674;POINT (-40.294382 -2.796683)'))) / (select extract(epoch from '2026-07-08 06:52:48'::timestamp) - extract(epoch from '2026-07-08 06:52:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294419 -2.796681)'), GeomFromEWKT('SRID=4674;POINT (-40.294382 -2.796683)'))) / (select extract(epoch from '2026-07-08 06:52:48'::timestamp) - extract(epoch from '2026-07-08 06:52:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.294303 -2.796681)', '2026-07-08 06:53:03', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294382 -2.796683)'), GeomFromEWKT('SRID=4674;POINT (-40.294303 -2.796681)'))) / (select extract(epoch from '2026-07-08 06:53:03'::timestamp) - extract(epoch from '2026-07-08 06:52:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294382 -2.796683)'), GeomFromEWKT('SRID=4674;POINT (-40.294303 -2.796681)'))) / (select extract(epoch from '2026-07-08 06:53:03'::timestamp) - extract(epoch from '2026-07-08 06:52: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'), 47637, 'SRID=4674;POINT (-40.294213 -2.796664)', '2026-07-08 06:53:19', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294303 -2.796681)'), GeomFromEWKT('SRID=4674;POINT (-40.294213 -2.796664)'))) / (select extract(epoch from '2026-07-08 06:53:19'::timestamp) - extract(epoch from '2026-07-08 06:53:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294303 -2.796681)'), GeomFromEWKT('SRID=4674;POINT (-40.294213 -2.796664)'))) / (select extract(epoch from '2026-07-08 06:53:19'::timestamp) - extract(epoch from '2026-07-08 06:53:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.294189 -2.796646)', '2026-07-08 06:53:32', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294213 -2.796664)'), GeomFromEWKT('SRID=4674;POINT (-40.294189 -2.796646)'))) / (select extract(epoch from '2026-07-08 06:53:32'::timestamp) - extract(epoch from '2026-07-08 06:53:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294213 -2.796664)'), GeomFromEWKT('SRID=4674;POINT (-40.294189 -2.796646)'))) / (select extract(epoch from '2026-07-08 06:53:32'::timestamp) - extract(epoch from '2026-07-08 06:53:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.294169 -2.796637)', '2026-07-08 06:53:50', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294189 -2.796646)'), GeomFromEWKT('SRID=4674;POINT (-40.294169 -2.796637)'))) / (select extract(epoch from '2026-07-08 06:53:50'::timestamp) - extract(epoch from '2026-07-08 06:53:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294189 -2.796646)'), GeomFromEWKT('SRID=4674;POINT (-40.294169 -2.796637)'))) / (select extract(epoch from '2026-07-08 06:53:50'::timestamp) - extract(epoch from '2026-07-08 06:53:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.29414 -2.796651)', '2026-07-08 06:54:02', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294169 -2.796637)'), GeomFromEWKT('SRID=4674;POINT (-40.29414 -2.796651)'))) / (select extract(epoch from '2026-07-08 06:54:02'::timestamp) - extract(epoch from '2026-07-08 06:53:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294169 -2.796637)'), GeomFromEWKT('SRID=4674;POINT (-40.29414 -2.796651)'))) / (select extract(epoch from '2026-07-08 06:54:02'::timestamp) - extract(epoch from '2026-07-08 06:53: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'), 47637, 'SRID=4674;POINT (-40.294098 -2.79665)', '2026-07-08 06:54:16', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29414 -2.796651)'), GeomFromEWKT('SRID=4674;POINT (-40.294098 -2.79665)'))) / (select extract(epoch from '2026-07-08 06:54:16'::timestamp) - extract(epoch from '2026-07-08 06:54:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29414 -2.796651)'), GeomFromEWKT('SRID=4674;POINT (-40.294098 -2.79665)'))) / (select extract(epoch from '2026-07-08 06:54:16'::timestamp) - extract(epoch from '2026-07-08 06:54: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'), 47637, 'SRID=4674;POINT (-40.294021 -2.796647)', '2026-07-08 06:54:31', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294098 -2.79665)'), GeomFromEWKT('SRID=4674;POINT (-40.294021 -2.796647)'))) / (select extract(epoch from '2026-07-08 06:54:31'::timestamp) - extract(epoch from '2026-07-08 06:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294098 -2.79665)'), GeomFromEWKT('SRID=4674;POINT (-40.294021 -2.796647)'))) / (select extract(epoch from '2026-07-08 06:54:31'::timestamp) - extract(epoch from '2026-07-08 06:54: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'), 47637, 'SRID=4674;POINT (-40.29394 -2.796666)', '2026-07-08 06:54:49', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294021 -2.796647)'), GeomFromEWKT('SRID=4674;POINT (-40.29394 -2.796666)'))) / (select extract(epoch from '2026-07-08 06:54:49'::timestamp) - extract(epoch from '2026-07-08 06:54:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294021 -2.796647)'), GeomFromEWKT('SRID=4674;POINT (-40.29394 -2.796666)'))) / (select extract(epoch from '2026-07-08 06:54:49'::timestamp) - extract(epoch from '2026-07-08 06: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'), 47637, 'SRID=4674;POINT (-40.293912 -2.796675)', '2026-07-08 06:55:03', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29394 -2.796666)'), GeomFromEWKT('SRID=4674;POINT (-40.293912 -2.796675)'))) / (select extract(epoch from '2026-07-08 06:55:03'::timestamp) - extract(epoch from '2026-07-08 06:54:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29394 -2.796666)'), GeomFromEWKT('SRID=4674;POINT (-40.293912 -2.796675)'))) / (select extract(epoch from '2026-07-08 06:55:03'::timestamp) - extract(epoch from '2026-07-08 06: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'), 47637, 'SRID=4674;POINT (-40.293884 -2.79669)', '2026-07-08 06:55:24', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293912 -2.796675)'), GeomFromEWKT('SRID=4674;POINT (-40.293884 -2.79669)'))) / (select extract(epoch from '2026-07-08 06:55:24'::timestamp) - extract(epoch from '2026-07-08 06:55:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293912 -2.796675)'), GeomFromEWKT('SRID=4674;POINT (-40.293884 -2.79669)'))) / (select extract(epoch from '2026-07-08 06:55:24'::timestamp) - extract(epoch from '2026-07-08 06:55:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.293844 -2.796683)', '2026-07-08 06:55:38', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293884 -2.79669)'), GeomFromEWKT('SRID=4674;POINT (-40.293844 -2.796683)'))) / (select extract(epoch from '2026-07-08 06:55:38'::timestamp) - extract(epoch from '2026-07-08 06:55:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293884 -2.79669)'), GeomFromEWKT('SRID=4674;POINT (-40.293844 -2.796683)'))) / (select extract(epoch from '2026-07-08 06:55:38'::timestamp) - extract(epoch from '2026-07-08 06:55:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.2938 -2.796682)', '2026-07-08 06:55:52', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293844 -2.796683)'), GeomFromEWKT('SRID=4674;POINT (-40.2938 -2.796682)'))) / (select extract(epoch from '2026-07-08 06:55:52'::timestamp) - extract(epoch from '2026-07-08 06:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293844 -2.796683)'), GeomFromEWKT('SRID=4674;POINT (-40.2938 -2.796682)'))) / (select extract(epoch from '2026-07-08 06:55:52'::timestamp) - extract(epoch from '2026-07-08 06:55:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.293767 -2.796681)', '2026-07-08 06:56:06', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.2938 -2.796682)'), GeomFromEWKT('SRID=4674;POINT (-40.293767 -2.796681)'))) / (select extract(epoch from '2026-07-08 06:56:06'::timestamp) - extract(epoch from '2026-07-08 06:55:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.2938 -2.796682)'), GeomFromEWKT('SRID=4674;POINT (-40.293767 -2.796681)'))) / (select extract(epoch from '2026-07-08 06:56:06'::timestamp) - extract(epoch from '2026-07-08 06:55: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'), 47637, 'SRID=4674;POINT (-40.293723 -2.79669)', '2026-07-08 06:56:20', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293767 -2.796681)'), GeomFromEWKT('SRID=4674;POINT (-40.293723 -2.79669)'))) / (select extract(epoch from '2026-07-08 06:56:20'::timestamp) - extract(epoch from '2026-07-08 06:56:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293767 -2.796681)'), GeomFromEWKT('SRID=4674;POINT (-40.293723 -2.79669)'))) / (select extract(epoch from '2026-07-08 06:56:20'::timestamp) - extract(epoch from '2026-07-08 06:56: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'), 47637, 'SRID=4674;POINT (-40.293681 -2.796697)', '2026-07-08 06:56:38', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293723 -2.79669)'), GeomFromEWKT('SRID=4674;POINT (-40.293681 -2.796697)'))) / (select extract(epoch from '2026-07-08 06:56:38'::timestamp) - extract(epoch from '2026-07-08 06:56:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293723 -2.79669)'), GeomFromEWKT('SRID=4674;POINT (-40.293681 -2.796697)'))) / (select extract(epoch from '2026-07-08 06:56:38'::timestamp) - extract(epoch from '2026-07-08 06:56: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'), 47637, 'SRID=4674;POINT (-40.293602 -2.796721)', '2026-07-08 06:56:54', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293681 -2.796697)'), GeomFromEWKT('SRID=4674;POINT (-40.293602 -2.796721)'))) / (select extract(epoch from '2026-07-08 06:56:54'::timestamp) - extract(epoch from '2026-07-08 06:56:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293681 -2.796697)'), GeomFromEWKT('SRID=4674;POINT (-40.293602 -2.796721)'))) / (select extract(epoch from '2026-07-08 06:56:54'::timestamp) - extract(epoch from '2026-07-08 06:56: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'), 47637, 'SRID=4674;POINT (-40.293498 -2.796727)', '2026-07-08 06:57:11', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293602 -2.796721)'), GeomFromEWKT('SRID=4674;POINT (-40.293498 -2.796727)'))) / (select extract(epoch from '2026-07-08 06:57:11'::timestamp) - extract(epoch from '2026-07-08 06:56:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293602 -2.796721)'), GeomFromEWKT('SRID=4674;POINT (-40.293498 -2.796727)'))) / (select extract(epoch from '2026-07-08 06:57:11'::timestamp) - extract(epoch from '2026-07-08 06: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'), 47637, 'SRID=4674;POINT (-40.293458 -2.796726)', '2026-07-08 06:57:25', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293498 -2.796727)'), GeomFromEWKT('SRID=4674;POINT (-40.293458 -2.796726)'))) / (select extract(epoch from '2026-07-08 06:57:25'::timestamp) - extract(epoch from '2026-07-08 06:57:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293498 -2.796727)'), GeomFromEWKT('SRID=4674;POINT (-40.293458 -2.796726)'))) / (select extract(epoch from '2026-07-08 06:57:25'::timestamp) - extract(epoch from '2026-07-08 06:57: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'), 47637, 'SRID=4674;POINT (-40.293396 -2.796742)', '2026-07-08 06:57:39', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293458 -2.796726)'), GeomFromEWKT('SRID=4674;POINT (-40.293396 -2.796742)'))) / (select extract(epoch from '2026-07-08 06:57:39'::timestamp) - extract(epoch from '2026-07-08 06:57:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293458 -2.796726)'), GeomFromEWKT('SRID=4674;POINT (-40.293396 -2.796742)'))) / (select extract(epoch from '2026-07-08 06:57:39'::timestamp) - extract(epoch from '2026-07-08 06:57: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'), 47637, 'SRID=4674;POINT (-40.293355 -2.796744)', '2026-07-08 06:57:53', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293396 -2.796742)'), GeomFromEWKT('SRID=4674;POINT (-40.293355 -2.796744)'))) / (select extract(epoch from '2026-07-08 06:57:53'::timestamp) - extract(epoch from '2026-07-08 06:57:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293396 -2.796742)'), GeomFromEWKT('SRID=4674;POINT (-40.293355 -2.796744)'))) / (select extract(epoch from '2026-07-08 06:57:53'::timestamp) - extract(epoch from '2026-07-08 06:57: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'), 47637, 'SRID=4674;POINT (-40.293301 -2.796746)', '2026-07-08 06:58:08', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293355 -2.796744)'), GeomFromEWKT('SRID=4674;POINT (-40.293301 -2.796746)'))) / (select extract(epoch from '2026-07-08 06:58:08'::timestamp) - extract(epoch from '2026-07-08 06:57:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293355 -2.796744)'), GeomFromEWKT('SRID=4674;POINT (-40.293301 -2.796746)'))) / (select extract(epoch from '2026-07-08 06:58:08'::timestamp) - extract(epoch from '2026-07-08 06:57: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'), 47637, 'SRID=4674;POINT (-40.29328 -2.796738)', '2026-07-08 06:58:20', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293301 -2.796746)'), GeomFromEWKT('SRID=4674;POINT (-40.29328 -2.796738)'))) / (select extract(epoch from '2026-07-08 06:58:20'::timestamp) - extract(epoch from '2026-07-08 06:58:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293301 -2.796746)'), GeomFromEWKT('SRID=4674;POINT (-40.29328 -2.796738)'))) / (select extract(epoch from '2026-07-08 06:58:20'::timestamp) - extract(epoch from '2026-07-08 06:58: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'), 47637, 'SRID=4674;POINT (-40.293269 -2.796731)', '2026-07-08 06:58:37', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29328 -2.796738)'), GeomFromEWKT('SRID=4674;POINT (-40.293269 -2.796731)'))) / (select extract(epoch from '2026-07-08 06:58:37'::timestamp) - extract(epoch from '2026-07-08 06:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29328 -2.796738)'), GeomFromEWKT('SRID=4674;POINT (-40.293269 -2.796731)'))) / (select extract(epoch from '2026-07-08 06:58:37'::timestamp) - extract(epoch from '2026-07-08 06:58:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.293205 -2.79675)', '2026-07-08 06:58:50', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293269 -2.796731)'), GeomFromEWKT('SRID=4674;POINT (-40.293205 -2.79675)'))) / (select extract(epoch from '2026-07-08 06:58:50'::timestamp) - extract(epoch from '2026-07-08 06:58:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293269 -2.796731)'), GeomFromEWKT('SRID=4674;POINT (-40.293205 -2.79675)'))) / (select extract(epoch from '2026-07-08 06:58:50'::timestamp) - extract(epoch from '2026-07-08 06:58: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'), 47637, 'SRID=4674;POINT (-40.293132 -2.796754)', '2026-07-08 06:59:06', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293205 -2.79675)'), GeomFromEWKT('SRID=4674;POINT (-40.293132 -2.796754)'))) / (select extract(epoch from '2026-07-08 06:59:06'::timestamp) - extract(epoch from '2026-07-08 06:58:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293205 -2.79675)'), GeomFromEWKT('SRID=4674;POINT (-40.293132 -2.796754)'))) / (select extract(epoch from '2026-07-08 06:59:06'::timestamp) - extract(epoch from '2026-07-08 06:58: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'), 47637, 'SRID=4674;POINT (-40.293097 -2.796752)', '2026-07-08 06:59:26', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293132 -2.796754)'), GeomFromEWKT('SRID=4674;POINT (-40.293097 -2.796752)'))) / (select extract(epoch from '2026-07-08 06:59:26'::timestamp) - extract(epoch from '2026-07-08 06:59:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293132 -2.796754)'), GeomFromEWKT('SRID=4674;POINT (-40.293097 -2.796752)'))) / (select extract(epoch from '2026-07-08 06:59:26'::timestamp) - extract(epoch from '2026-07-08 06:59:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.293104 -2.796744)', '2026-07-08 06:59:46', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293097 -2.796752)'), GeomFromEWKT('SRID=4674;POINT (-40.293104 -2.796744)'))) / (select extract(epoch from '2026-07-08 06:59:46'::timestamp) - extract(epoch from '2026-07-08 06:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293097 -2.796752)'), GeomFromEWKT('SRID=4674;POINT (-40.293104 -2.796744)'))) / (select extract(epoch from '2026-07-08 06:59:46'::timestamp) - extract(epoch from '2026-07-08 06:59: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'), 47637, 'SRID=4674;POINT (-40.293092 -2.796738)', '2026-07-08 07:00:08', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293104 -2.796744)'), GeomFromEWKT('SRID=4674;POINT (-40.293092 -2.796738)'))) / (select extract(epoch from '2026-07-08 07:00:08'::timestamp) - extract(epoch from '2026-07-08 06:59:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293104 -2.796744)'), GeomFromEWKT('SRID=4674;POINT (-40.293092 -2.796738)'))) / (select extract(epoch from '2026-07-08 07:00:08'::timestamp) - extract(epoch from '2026-07-08 06:59:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.293025 -2.796738)', '2026-07-08 07:00:24', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293092 -2.796738)'), GeomFromEWKT('SRID=4674;POINT (-40.293025 -2.796738)'))) / (select extract(epoch from '2026-07-08 07:00:24'::timestamp) - extract(epoch from '2026-07-08 07:00:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293092 -2.796738)'), GeomFromEWKT('SRID=4674;POINT (-40.293025 -2.796738)'))) / (select extract(epoch from '2026-07-08 07:00:24'::timestamp) - extract(epoch from '2026-07-08 07:00: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'), 47637, 'SRID=4674;POINT (-40.292989 -2.796738)', '2026-07-08 07:00:36', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293025 -2.796738)'), GeomFromEWKT('SRID=4674;POINT (-40.292989 -2.796738)'))) / (select extract(epoch from '2026-07-08 07:00:36'::timestamp) - extract(epoch from '2026-07-08 07:00:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293025 -2.796738)'), GeomFromEWKT('SRID=4674;POINT (-40.292989 -2.796738)'))) / (select extract(epoch from '2026-07-08 07:00:36'::timestamp) - extract(epoch from '2026-07-08 07:00: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'), 47637, 'SRID=4674;POINT (-40.292947 -2.796739)', '2026-07-08 07:00:48', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292989 -2.796738)'), GeomFromEWKT('SRID=4674;POINT (-40.292947 -2.796739)'))) / (select extract(epoch from '2026-07-08 07:00:48'::timestamp) - extract(epoch from '2026-07-08 07:00:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292989 -2.796738)'), GeomFromEWKT('SRID=4674;POINT (-40.292947 -2.796739)'))) / (select extract(epoch from '2026-07-08 07:00:48'::timestamp) - extract(epoch from '2026-07-08 07:00:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.292874 -2.796746)', '2026-07-08 07:01:02', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292947 -2.796739)'), GeomFromEWKT('SRID=4674;POINT (-40.292874 -2.796746)'))) / (select extract(epoch from '2026-07-08 07:01:02'::timestamp) - extract(epoch from '2026-07-08 07:00:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292947 -2.796739)'), GeomFromEWKT('SRID=4674;POINT (-40.292874 -2.796746)'))) / (select extract(epoch from '2026-07-08 07:01:02'::timestamp) - extract(epoch from '2026-07-08 07:00: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'), 47637, 'SRID=4674;POINT (-40.292786 -2.796735)', '2026-07-08 07:01:16', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292874 -2.796746)'), GeomFromEWKT('SRID=4674;POINT (-40.292786 -2.796735)'))) / (select extract(epoch from '2026-07-08 07:01:16'::timestamp) - extract(epoch from '2026-07-08 07:01:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292874 -2.796746)'), GeomFromEWKT('SRID=4674;POINT (-40.292786 -2.796735)'))) / (select extract(epoch from '2026-07-08 07:01:16'::timestamp) - extract(epoch from '2026-07-08 07:01:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.292701 -2.796739)', '2026-07-08 07:01:33', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292786 -2.796735)'), GeomFromEWKT('SRID=4674;POINT (-40.292701 -2.796739)'))) / (select extract(epoch from '2026-07-08 07:01:33'::timestamp) - extract(epoch from '2026-07-08 07:01:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292786 -2.796735)'), GeomFromEWKT('SRID=4674;POINT (-40.292701 -2.796739)'))) / (select extract(epoch from '2026-07-08 07:01:33'::timestamp) - extract(epoch from '2026-07-08 07:01: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'), 47637, 'SRID=4674;POINT (-40.292648 -2.796752)', '2026-07-08 07:01:47', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292701 -2.796739)'), GeomFromEWKT('SRID=4674;POINT (-40.292648 -2.796752)'))) / (select extract(epoch from '2026-07-08 07:01:47'::timestamp) - extract(epoch from '2026-07-08 07:01:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292701 -2.796739)'), GeomFromEWKT('SRID=4674;POINT (-40.292648 -2.796752)'))) / (select extract(epoch from '2026-07-08 07:01:47'::timestamp) - extract(epoch from '2026-07-08 07:01:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.292575 -2.796732)', '2026-07-08 07:02:01', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292648 -2.796752)'), GeomFromEWKT('SRID=4674;POINT (-40.292575 -2.796732)'))) / (select extract(epoch from '2026-07-08 07:02:01'::timestamp) - extract(epoch from '2026-07-08 07:01:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292648 -2.796752)'), GeomFromEWKT('SRID=4674;POINT (-40.292575 -2.796732)'))) / (select extract(epoch from '2026-07-08 07:02:01'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47637, 'SRID=4674;POINT (-40.292527 -2.796712)', '2026-07-08 07:02:17', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292575 -2.796732)'), GeomFromEWKT('SRID=4674;POINT (-40.292527 -2.796712)'))) / (select extract(epoch from '2026-07-08 07:02:17'::timestamp) - extract(epoch from '2026-07-08 07:02:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292575 -2.796732)'), GeomFromEWKT('SRID=4674;POINT (-40.292527 -2.796712)'))) / (select extract(epoch from '2026-07-08 07:02:17'::timestamp) - extract(epoch from '2026-07-08 07:02: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'), 47637, 'SRID=4674;POINT (-40.29246 -2.796729)', '2026-07-08 07:02:32', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292527 -2.796712)'), GeomFromEWKT('SRID=4674;POINT (-40.29246 -2.796729)'))) / (select extract(epoch from '2026-07-08 07:02:32'::timestamp) - extract(epoch from '2026-07-08 07:02:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292527 -2.796712)'), GeomFromEWKT('SRID=4674;POINT (-40.29246 -2.796729)'))) / (select extract(epoch from '2026-07-08 07:02:32'::timestamp) - extract(epoch from '2026-07-08 07:02:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.292364 -2.796736)', '2026-07-08 07:02:46', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29246 -2.796729)'), GeomFromEWKT('SRID=4674;POINT (-40.292364 -2.796736)'))) / (select extract(epoch from '2026-07-08 07:02:46'::timestamp) - extract(epoch from '2026-07-08 07:02:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29246 -2.796729)'), GeomFromEWKT('SRID=4674;POINT (-40.292364 -2.796736)'))) / (select extract(epoch from '2026-07-08 07:02:46'::timestamp) - extract(epoch from '2026-07-08 07:02:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.292269 -2.796741)', '2026-07-08 07:03:02', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292364 -2.796736)'), GeomFromEWKT('SRID=4674;POINT (-40.292269 -2.796741)'))) / (select extract(epoch from '2026-07-08 07:03:02'::timestamp) - extract(epoch from '2026-07-08 07:02:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292364 -2.796736)'), GeomFromEWKT('SRID=4674;POINT (-40.292269 -2.796741)'))) / (select extract(epoch from '2026-07-08 07:03:02'::timestamp) - extract(epoch from '2026-07-08 07:02:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.292223 -2.796729)', '2026-07-08 07:03:16', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292269 -2.796741)'), GeomFromEWKT('SRID=4674;POINT (-40.292223 -2.796729)'))) / (select extract(epoch from '2026-07-08 07:03:16'::timestamp) - extract(epoch from '2026-07-08 07:03:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292269 -2.796741)'), GeomFromEWKT('SRID=4674;POINT (-40.292223 -2.796729)'))) / (select extract(epoch from '2026-07-08 07:03:16'::timestamp) - extract(epoch from '2026-07-08 07:03: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'), 47637, 'SRID=4674;POINT (-40.292172 -2.796737)', '2026-07-08 07:03:30', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292223 -2.796729)'), GeomFromEWKT('SRID=4674;POINT (-40.292172 -2.796737)'))) / (select extract(epoch from '2026-07-08 07:03:30'::timestamp) - extract(epoch from '2026-07-08 07:03:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292223 -2.796729)'), GeomFromEWKT('SRID=4674;POINT (-40.292172 -2.796737)'))) / (select extract(epoch from '2026-07-08 07:03:30'::timestamp) - extract(epoch from '2026-07-08 07:03: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'), 47637, 'SRID=4674;POINT (-40.292113 -2.796756)', '2026-07-08 07:03:43', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292172 -2.796737)'), GeomFromEWKT('SRID=4674;POINT (-40.292113 -2.796756)'))) / (select extract(epoch from '2026-07-08 07:03:43'::timestamp) - extract(epoch from '2026-07-08 07:03:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292172 -2.796737)'), GeomFromEWKT('SRID=4674;POINT (-40.292113 -2.796756)'))) / (select extract(epoch from '2026-07-08 07:03:43'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47637, 'SRID=4674;POINT (-40.292043 -2.796767)', '2026-07-08 07:03:57', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292113 -2.796756)'), GeomFromEWKT('SRID=4674;POINT (-40.292043 -2.796767)'))) / (select extract(epoch from '2026-07-08 07:03:57'::timestamp) - extract(epoch from '2026-07-08 07:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292113 -2.796756)'), GeomFromEWKT('SRID=4674;POINT (-40.292043 -2.796767)'))) / (select extract(epoch from '2026-07-08 07:03:57'::timestamp) - extract(epoch from '2026-07-08 07:03: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'), 47637, 'SRID=4674;POINT (-40.29197 -2.796753)', '2026-07-08 07:04:11', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292043 -2.796767)'), GeomFromEWKT('SRID=4674;POINT (-40.29197 -2.796753)'))) / (select extract(epoch from '2026-07-08 07:04:11'::timestamp) - extract(epoch from '2026-07-08 07:03:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292043 -2.796767)'), GeomFromEWKT('SRID=4674;POINT (-40.29197 -2.796753)'))) / (select extract(epoch from '2026-07-08 07:04:11'::timestamp) - extract(epoch from '2026-07-08 07:03:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.291933 -2.79676)', '2026-07-08 07:04:25', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29197 -2.796753)'), GeomFromEWKT('SRID=4674;POINT (-40.291933 -2.79676)'))) / (select extract(epoch from '2026-07-08 07:04:25'::timestamp) - extract(epoch from '2026-07-08 07:04:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29197 -2.796753)'), GeomFromEWKT('SRID=4674;POINT (-40.291933 -2.79676)'))) / (select extract(epoch from '2026-07-08 07:04:25'::timestamp) - extract(epoch from '2026-07-08 07:04: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'), 47637, 'SRID=4674;POINT (-40.291911 -2.796765)', '2026-07-08 07:04:45', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291933 -2.79676)'), GeomFromEWKT('SRID=4674;POINT (-40.291911 -2.796765)'))) / (select extract(epoch from '2026-07-08 07:04:45'::timestamp) - extract(epoch from '2026-07-08 07:04:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291933 -2.79676)'), GeomFromEWKT('SRID=4674;POINT (-40.291911 -2.796765)'))) / (select extract(epoch from '2026-07-08 07:04:45'::timestamp) - extract(epoch from '2026-07-08 07:04: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'), 47637, 'SRID=4674;POINT (-40.291864 -2.796772)', '2026-07-08 07:05:00', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291911 -2.796765)'), GeomFromEWKT('SRID=4674;POINT (-40.291864 -2.796772)'))) / (select extract(epoch from '2026-07-08 07:05:00'::timestamp) - extract(epoch from '2026-07-08 07:04:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291911 -2.796765)'), GeomFromEWKT('SRID=4674;POINT (-40.291864 -2.796772)'))) / (select extract(epoch from '2026-07-08 07:05:00'::timestamp) - extract(epoch from '2026-07-08 07:04:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.291769 -2.796755)', '2026-07-08 07:05:16', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291864 -2.796772)'), GeomFromEWKT('SRID=4674;POINT (-40.291769 -2.796755)'))) / (select extract(epoch from '2026-07-08 07:05:16'::timestamp) - extract(epoch from '2026-07-08 07:05:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291864 -2.796772)'), GeomFromEWKT('SRID=4674;POINT (-40.291769 -2.796755)'))) / (select extract(epoch from '2026-07-08 07:05:16'::timestamp) - extract(epoch from '2026-07-08 07:05: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'), 47637, 'SRID=4674;POINT (-40.291719 -2.796763)', '2026-07-08 07:05:30', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291769 -2.796755)'), GeomFromEWKT('SRID=4674;POINT (-40.291719 -2.796763)'))) / (select extract(epoch from '2026-07-08 07:05:30'::timestamp) - extract(epoch from '2026-07-08 07:05:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291769 -2.796755)'), GeomFromEWKT('SRID=4674;POINT (-40.291719 -2.796763)'))) / (select extract(epoch from '2026-07-08 07:05:30'::timestamp) - extract(epoch from '2026-07-08 07:05: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'), 47637, 'SRID=4674;POINT (-40.291716 -2.796769)', '2026-07-08 07:05:46', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291719 -2.796763)'), GeomFromEWKT('SRID=4674;POINT (-40.291716 -2.796769)'))) / (select extract(epoch from '2026-07-08 07:05:46'::timestamp) - extract(epoch from '2026-07-08 07:05:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291719 -2.796763)'), GeomFromEWKT('SRID=4674;POINT (-40.291716 -2.796769)'))) / (select extract(epoch from '2026-07-08 07:05:46'::timestamp) - extract(epoch from '2026-07-08 07:05:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.29169 -2.796768)', '2026-07-08 07:06:09', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291716 -2.796769)'), GeomFromEWKT('SRID=4674;POINT (-40.29169 -2.796768)'))) / (select extract(epoch from '2026-07-08 07:06:09'::timestamp) - extract(epoch from '2026-07-08 07:05:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291716 -2.796769)'), GeomFromEWKT('SRID=4674;POINT (-40.29169 -2.796768)'))) / (select extract(epoch from '2026-07-08 07:06:09'::timestamp) - extract(epoch from '2026-07-08 07:05:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.291627 -2.796757)', '2026-07-08 07:06:23', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29169 -2.796768)'), GeomFromEWKT('SRID=4674;POINT (-40.291627 -2.796757)'))) / (select extract(epoch from '2026-07-08 07:06:23'::timestamp) - extract(epoch from '2026-07-08 07:06:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29169 -2.796768)'), GeomFromEWKT('SRID=4674;POINT (-40.291627 -2.796757)'))) / (select extract(epoch from '2026-07-08 07:06:23'::timestamp) - extract(epoch from '2026-07-08 07:06:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.291585 -2.796758)', '2026-07-08 07:06:37', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291627 -2.796757)'), GeomFromEWKT('SRID=4674;POINT (-40.291585 -2.796758)'))) / (select extract(epoch from '2026-07-08 07:06:37'::timestamp) - extract(epoch from '2026-07-08 07:06:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291627 -2.796757)'), GeomFromEWKT('SRID=4674;POINT (-40.291585 -2.796758)'))) / (select extract(epoch from '2026-07-08 07:06:37'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47637, 'SRID=4674;POINT (-40.291561 -2.796746)', '2026-07-08 07:07:01', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291585 -2.796758)'), GeomFromEWKT('SRID=4674;POINT (-40.291561 -2.796746)'))) / (select extract(epoch from '2026-07-08 07:07:01'::timestamp) - extract(epoch from '2026-07-08 07:06:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291585 -2.796758)'), GeomFromEWKT('SRID=4674;POINT (-40.291561 -2.796746)'))) / (select extract(epoch from '2026-07-08 07:07:01'::timestamp) - extract(epoch from '2026-07-08 07:06: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'), 47637, 'SRID=4674;POINT (-40.291502 -2.796757)', '2026-07-08 07:07:13', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291561 -2.796746)'), GeomFromEWKT('SRID=4674;POINT (-40.291502 -2.796757)'))) / (select extract(epoch from '2026-07-08 07:07:13'::timestamp) - extract(epoch from '2026-07-08 07:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291561 -2.796746)'), GeomFromEWKT('SRID=4674;POINT (-40.291502 -2.796757)'))) / (select extract(epoch from '2026-07-08 07:07:13'::timestamp) - extract(epoch from '2026-07-08 07:07: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'), 47637, 'SRID=4674;POINT (-40.291414 -2.796749)', '2026-07-08 07:07:29', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291502 -2.796757)'), GeomFromEWKT('SRID=4674;POINT (-40.291414 -2.796749)'))) / (select extract(epoch from '2026-07-08 07:07:29'::timestamp) - extract(epoch from '2026-07-08 07:07:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291502 -2.796757)'), GeomFromEWKT('SRID=4674;POINT (-40.291414 -2.796749)'))) / (select extract(epoch from '2026-07-08 07:07:29'::timestamp) - extract(epoch from '2026-07-08 07:07:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.291369 -2.796735)', '2026-07-08 07:07:42', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291414 -2.796749)'), GeomFromEWKT('SRID=4674;POINT (-40.291369 -2.796735)'))) / (select extract(epoch from '2026-07-08 07:07:42'::timestamp) - extract(epoch from '2026-07-08 07:07:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291414 -2.796749)'), GeomFromEWKT('SRID=4674;POINT (-40.291369 -2.796735)'))) / (select extract(epoch from '2026-07-08 07:07:42'::timestamp) - extract(epoch from '2026-07-08 07:07: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'), 47637, 'SRID=4674;POINT (-40.291302 -2.796755)', '2026-07-08 07:07:56', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291369 -2.796735)'), GeomFromEWKT('SRID=4674;POINT (-40.291302 -2.796755)'))) / (select extract(epoch from '2026-07-08 07:07:56'::timestamp) - extract(epoch from '2026-07-08 07:07:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291369 -2.796735)'), GeomFromEWKT('SRID=4674;POINT (-40.291302 -2.796755)'))) / (select extract(epoch from '2026-07-08 07:07:56'::timestamp) - extract(epoch from '2026-07-08 07:07: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'), 47637, 'SRID=4674;POINT (-40.291239 -2.796753)', '2026-07-08 07:08:10', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291302 -2.796755)'), GeomFromEWKT('SRID=4674;POINT (-40.291239 -2.796753)'))) / (select extract(epoch from '2026-07-08 07:08:10'::timestamp) - extract(epoch from '2026-07-08 07:07:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291302 -2.796755)'), GeomFromEWKT('SRID=4674;POINT (-40.291239 -2.796753)'))) / (select extract(epoch from '2026-07-08 07:08:10'::timestamp) - extract(epoch from '2026-07-08 07:07: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'), 47637, 'SRID=4674;POINT (-40.291203 -2.796742)', '2026-07-08 07:08:25', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291239 -2.796753)'), GeomFromEWKT('SRID=4674;POINT (-40.291203 -2.796742)'))) / (select extract(epoch from '2026-07-08 07:08:25'::timestamp) - extract(epoch from '2026-07-08 07:08:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291239 -2.796753)'), GeomFromEWKT('SRID=4674;POINT (-40.291203 -2.796742)'))) / (select extract(epoch from '2026-07-08 07:08:25'::timestamp) - extract(epoch from '2026-07-08 07:08: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'), 47637, 'SRID=4674;POINT (-40.291176 -2.796741)', '2026-07-08 07:08:46', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291203 -2.796742)'), GeomFromEWKT('SRID=4674;POINT (-40.291176 -2.796741)'))) / (select extract(epoch from '2026-07-08 07:08:46'::timestamp) - extract(epoch from '2026-07-08 07:08:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291203 -2.796742)'), GeomFromEWKT('SRID=4674;POINT (-40.291176 -2.796741)'))) / (select extract(epoch from '2026-07-08 07:08:46'::timestamp) - extract(epoch from '2026-07-08 07:08: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'), 47637, 'SRID=4674;POINT (-40.291136 -2.796736)', '2026-07-08 07:09:02', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291176 -2.796741)'), GeomFromEWKT('SRID=4674;POINT (-40.291136 -2.796736)'))) / (select extract(epoch from '2026-07-08 07:09:02'::timestamp) - extract(epoch from '2026-07-08 07:08:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291176 -2.796741)'), GeomFromEWKT('SRID=4674;POINT (-40.291136 -2.796736)'))) / (select extract(epoch from '2026-07-08 07:09:02'::timestamp) - extract(epoch from '2026-07-08 07:08: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'), 47637, 'SRID=4674;POINT (-40.291118 -2.796733)', '2026-07-08 07:09:25', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291136 -2.796736)'), GeomFromEWKT('SRID=4674;POINT (-40.291118 -2.796733)'))) / (select extract(epoch from '2026-07-08 07:09:25'::timestamp) - extract(epoch from '2026-07-08 07:09:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291136 -2.796736)'), GeomFromEWKT('SRID=4674;POINT (-40.291118 -2.796733)'))) / (select extract(epoch from '2026-07-08 07:09:25'::timestamp) - extract(epoch from '2026-07-08 07:09:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.291145 -2.796721)', '2026-07-08 07:09:51', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291118 -2.796733)'), GeomFromEWKT('SRID=4674;POINT (-40.291145 -2.796721)'))) / (select extract(epoch from '2026-07-08 07:09:51'::timestamp) - extract(epoch from '2026-07-08 07:09:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291118 -2.796733)'), GeomFromEWKT('SRID=4674;POINT (-40.291145 -2.796721)'))) / (select extract(epoch from '2026-07-08 07:09:51'::timestamp) - extract(epoch from '2026-07-08 07:09: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'), 47637, 'SRID=4674;POINT (-40.291132 -2.796713)', '2026-07-08 07:10:10', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291145 -2.796721)'), GeomFromEWKT('SRID=4674;POINT (-40.291132 -2.796713)'))) / (select extract(epoch from '2026-07-08 07:10:10'::timestamp) - extract(epoch from '2026-07-08 07:09:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291145 -2.796721)'), GeomFromEWKT('SRID=4674;POINT (-40.291132 -2.796713)'))) / (select extract(epoch from '2026-07-08 07:10:10'::timestamp) - extract(epoch from '2026-07-08 07:09: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'), 47637, 'SRID=4674;POINT (-40.291108 -2.796694)', '2026-07-08 07:10:30', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291132 -2.796713)'), GeomFromEWKT('SRID=4674;POINT (-40.291108 -2.796694)'))) / (select extract(epoch from '2026-07-08 07:10:30'::timestamp) - extract(epoch from '2026-07-08 07:10:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291132 -2.796713)'), GeomFromEWKT('SRID=4674;POINT (-40.291108 -2.796694)'))) / (select extract(epoch from '2026-07-08 07:10:30'::timestamp) - extract(epoch from '2026-07-08 07:10:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.291078 -2.796698)', '2026-07-08 07:10:40', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291108 -2.796694)'), GeomFromEWKT('SRID=4674;POINT (-40.291078 -2.796698)'))) / (select extract(epoch from '2026-07-08 07:10:40'::timestamp) - extract(epoch from '2026-07-08 07:10:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291108 -2.796694)'), GeomFromEWKT('SRID=4674;POINT (-40.291078 -2.796698)'))) / (select extract(epoch from '2026-07-08 07:10:40'::timestamp) - extract(epoch from '2026-07-08 07:10:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.291035 -2.796703)', '2026-07-08 07:10:55', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291078 -2.796698)'), GeomFromEWKT('SRID=4674;POINT (-40.291035 -2.796703)'))) / (select extract(epoch from '2026-07-08 07:10:55'::timestamp) - extract(epoch from '2026-07-08 07:10:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291078 -2.796698)'), GeomFromEWKT('SRID=4674;POINT (-40.291035 -2.796703)'))) / (select extract(epoch from '2026-07-08 07:10:55'::timestamp) - extract(epoch from '2026-07-08 07:10: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'), 47637, 'SRID=4674;POINT (-40.291027 -2.7967)', '2026-07-08 07:11:05', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291035 -2.796703)'), GeomFromEWKT('SRID=4674;POINT (-40.291027 -2.7967)'))) / (select extract(epoch from '2026-07-08 07:11:05'::timestamp) - extract(epoch from '2026-07-08 07:10:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291035 -2.796703)'), GeomFromEWKT('SRID=4674;POINT (-40.291027 -2.7967)'))) / (select extract(epoch from '2026-07-08 07:11:05'::timestamp) - extract(epoch from '2026-07-08 07:10: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'), 47637, 'SRID=4674;POINT (-40.291004 -2.796704)', '2026-07-08 07:11:21', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291027 -2.7967)'), GeomFromEWKT('SRID=4674;POINT (-40.291004 -2.796704)'))) / (select extract(epoch from '2026-07-08 07:11:21'::timestamp) - extract(epoch from '2026-07-08 07:11:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291027 -2.7967)'), GeomFromEWKT('SRID=4674;POINT (-40.291004 -2.796704)'))) / (select extract(epoch from '2026-07-08 07:11:21'::timestamp) - extract(epoch from '2026-07-08 07:11: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'), 47637, 'SRID=4674;POINT (-40.290948 -2.796739)', '2026-07-08 07:11:31', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291004 -2.796704)'), GeomFromEWKT('SRID=4674;POINT (-40.290948 -2.796739)'))) / (select extract(epoch from '2026-07-08 07:11:31'::timestamp) - extract(epoch from '2026-07-08 07:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291004 -2.796704)'), GeomFromEWKT('SRID=4674;POINT (-40.290948 -2.796739)'))) / (select extract(epoch from '2026-07-08 07:11:31'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47637, 'SRID=4674;POINT (-40.290898 -2.796751)', '2026-07-08 07:11:42', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290948 -2.796739)'), GeomFromEWKT('SRID=4674;POINT (-40.290898 -2.796751)'))) / (select extract(epoch from '2026-07-08 07:11:42'::timestamp) - extract(epoch from '2026-07-08 07:11:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290948 -2.796739)'), GeomFromEWKT('SRID=4674;POINT (-40.290898 -2.796751)'))) / (select extract(epoch from '2026-07-08 07:11:42'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47637, 'SRID=4674;POINT (-40.290838 -2.796781)', '2026-07-08 07:11:56', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290898 -2.796751)'), GeomFromEWKT('SRID=4674;POINT (-40.290838 -2.796781)'))) / (select extract(epoch from '2026-07-08 07:11:56'::timestamp) - extract(epoch from '2026-07-08 07:11:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290898 -2.796751)'), GeomFromEWKT('SRID=4674;POINT (-40.290838 -2.796781)'))) / (select extract(epoch from '2026-07-08 07:11:56'::timestamp) - extract(epoch from '2026-07-08 07:11: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'), 47637, 'SRID=4674;POINT (-40.290808 -2.796821)', '2026-07-08 07:12:07', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290838 -2.796781)'), GeomFromEWKT('SRID=4674;POINT (-40.290808 -2.796821)'))) / (select extract(epoch from '2026-07-08 07:12:07'::timestamp) - extract(epoch from '2026-07-08 07:11:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290838 -2.796781)'), GeomFromEWKT('SRID=4674;POINT (-40.290808 -2.796821)'))) / (select extract(epoch from '2026-07-08 07:12:07'::timestamp) - extract(epoch from '2026-07-08 07:11: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'), 47637, 'SRID=4674;POINT (-40.290794 -2.796852)', '2026-07-08 07:12:20', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290808 -2.796821)'), GeomFromEWKT('SRID=4674;POINT (-40.290794 -2.796852)'))) / (select extract(epoch from '2026-07-08 07:12:20'::timestamp) - extract(epoch from '2026-07-08 07:12:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290808 -2.796821)'), GeomFromEWKT('SRID=4674;POINT (-40.290794 -2.796852)'))) / (select extract(epoch from '2026-07-08 07:12:20'::timestamp) - extract(epoch from '2026-07-08 07:12: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'), 47637, 'SRID=4674;POINT (-40.290758 -2.796881)', '2026-07-08 07:12:34', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290794 -2.796852)'), GeomFromEWKT('SRID=4674;POINT (-40.290758 -2.796881)'))) / (select extract(epoch from '2026-07-08 07:12:34'::timestamp) - extract(epoch from '2026-07-08 07:12:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290794 -2.796852)'), GeomFromEWKT('SRID=4674;POINT (-40.290758 -2.796881)'))) / (select extract(epoch from '2026-07-08 07:12:34'::timestamp) - extract(epoch from '2026-07-08 07:12:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.290693 -2.796906)', '2026-07-08 07:12:47', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290758 -2.796881)'), GeomFromEWKT('SRID=4674;POINT (-40.290693 -2.796906)'))) / (select extract(epoch from '2026-07-08 07:12:47'::timestamp) - extract(epoch from '2026-07-08 07:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290758 -2.796881)'), GeomFromEWKT('SRID=4674;POINT (-40.290693 -2.796906)'))) / (select extract(epoch from '2026-07-08 07:12:47'::timestamp) - extract(epoch from '2026-07-08 07:12: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'), 47637, 'SRID=4674;POINT (-40.29061 -2.796921)', '2026-07-08 07:13:01', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290693 -2.796906)'), GeomFromEWKT('SRID=4674;POINT (-40.29061 -2.796921)'))) / (select extract(epoch from '2026-07-08 07:13:01'::timestamp) - extract(epoch from '2026-07-08 07:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290693 -2.796906)'), GeomFromEWKT('SRID=4674;POINT (-40.29061 -2.796921)'))) / (select extract(epoch from '2026-07-08 07:13:01'::timestamp) - extract(epoch from '2026-07-08 07:12: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'), 47637, 'SRID=4674;POINT (-40.290553 -2.796961)', '2026-07-08 07:13:14', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29061 -2.796921)'), GeomFromEWKT('SRID=4674;POINT (-40.290553 -2.796961)'))) / (select extract(epoch from '2026-07-08 07:13:14'::timestamp) - extract(epoch from '2026-07-08 07:13:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29061 -2.796921)'), GeomFromEWKT('SRID=4674;POINT (-40.290553 -2.796961)'))) / (select extract(epoch from '2026-07-08 07:13:14'::timestamp) - extract(epoch from '2026-07-08 07:13: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'), 47637, 'SRID=4674;POINT (-40.290495 -2.797003)', '2026-07-08 07:13:29', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290553 -2.796961)'), GeomFromEWKT('SRID=4674;POINT (-40.290495 -2.797003)'))) / (select extract(epoch from '2026-07-08 07:13:29'::timestamp) - extract(epoch from '2026-07-08 07:13:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290553 -2.796961)'), GeomFromEWKT('SRID=4674;POINT (-40.290495 -2.797003)'))) / (select extract(epoch from '2026-07-08 07:13:29'::timestamp) - extract(epoch from '2026-07-08 07:13: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'), 47637, 'SRID=4674;POINT (-40.290417 -2.797021)', '2026-07-08 07:13:46', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290495 -2.797003)'), GeomFromEWKT('SRID=4674;POINT (-40.290417 -2.797021)'))) / (select extract(epoch from '2026-07-08 07:13:46'::timestamp) - extract(epoch from '2026-07-08 07:13:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290495 -2.797003)'), GeomFromEWKT('SRID=4674;POINT (-40.290417 -2.797021)'))) / (select extract(epoch from '2026-07-08 07:13:46'::timestamp) - extract(epoch from '2026-07-08 07:13: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'), 47637, 'SRID=4674;POINT (-40.29034 -2.797025)', '2026-07-08 07:14:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290417 -2.797021)'), GeomFromEWKT('SRID=4674;POINT (-40.29034 -2.797025)'))) / (select extract(epoch from '2026-07-08 07:14:00'::timestamp) - extract(epoch from '2026-07-08 07:13:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290417 -2.797021)'), GeomFromEWKT('SRID=4674;POINT (-40.29034 -2.797025)'))) / (select extract(epoch from '2026-07-08 07:14:00'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47637, 'SRID=4674;POINT (-40.290298 -2.79705)', '2026-07-08 07:14:13', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29034 -2.797025)'), GeomFromEWKT('SRID=4674;POINT (-40.290298 -2.79705)'))) / (select extract(epoch from '2026-07-08 07:14:13'::timestamp) - extract(epoch from '2026-07-08 07:14:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29034 -2.797025)'), GeomFromEWKT('SRID=4674;POINT (-40.290298 -2.79705)'))) / (select extract(epoch from '2026-07-08 07:14:13'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47637, 'SRID=4674;POINT (-40.290226 -2.797093)', '2026-07-08 07:14:28', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290298 -2.79705)'), GeomFromEWKT('SRID=4674;POINT (-40.290226 -2.797093)'))) / (select extract(epoch from '2026-07-08 07:14:28'::timestamp) - extract(epoch from '2026-07-08 07:14:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290298 -2.79705)'), GeomFromEWKT('SRID=4674;POINT (-40.290226 -2.797093)'))) / (select extract(epoch from '2026-07-08 07:14:28'::timestamp) - extract(epoch from '2026-07-08 07:14: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'), 47637, 'SRID=4674;POINT (-40.29014 -2.797107)', '2026-07-08 07:14:47', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290226 -2.797093)'), GeomFromEWKT('SRID=4674;POINT (-40.29014 -2.797107)'))) / (select extract(epoch from '2026-07-08 07:14:47'::timestamp) - extract(epoch from '2026-07-08 07:14:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290226 -2.797093)'), GeomFromEWKT('SRID=4674;POINT (-40.29014 -2.797107)'))) / (select extract(epoch from '2026-07-08 07:14:47'::timestamp) - extract(epoch from '2026-07-08 07:14:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.290101 -2.797096)', '2026-07-08 07:15:01', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29014 -2.797107)'), GeomFromEWKT('SRID=4674;POINT (-40.290101 -2.797096)'))) / (select extract(epoch from '2026-07-08 07:15:01'::timestamp) - extract(epoch from '2026-07-08 07:14:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29014 -2.797107)'), GeomFromEWKT('SRID=4674;POINT (-40.290101 -2.797096)'))) / (select extract(epoch from '2026-07-08 07:15:01'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47637, 'SRID=4674;POINT (-40.290073 -2.797106)', '2026-07-08 07:15:09', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290101 -2.797096)'), GeomFromEWKT('SRID=4674;POINT (-40.290073 -2.797106)'))) / (select extract(epoch from '2026-07-08 07:15:09'::timestamp) - extract(epoch from '2026-07-08 07:15:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290101 -2.797096)'), GeomFromEWKT('SRID=4674;POINT (-40.290073 -2.797106)'))) / (select extract(epoch from '2026-07-08 07:15:09'::timestamp) - extract(epoch from '2026-07-08 07:15: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'), 47637, 'SRID=4674;POINT (-40.289989 -2.797136)', '2026-07-08 07:15:24', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290073 -2.797106)'), GeomFromEWKT('SRID=4674;POINT (-40.289989 -2.797136)'))) / (select extract(epoch from '2026-07-08 07:15:24'::timestamp) - extract(epoch from '2026-07-08 07:15:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290073 -2.797106)'), GeomFromEWKT('SRID=4674;POINT (-40.289989 -2.797136)'))) / (select extract(epoch from '2026-07-08 07:15:24'::timestamp) - extract(epoch from '2026-07-08 07:15:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.289926 -2.79714)', '2026-07-08 07:15:35', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289989 -2.797136)'), GeomFromEWKT('SRID=4674;POINT (-40.289926 -2.79714)'))) / (select extract(epoch from '2026-07-08 07:15:35'::timestamp) - extract(epoch from '2026-07-08 07:15:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289989 -2.797136)'), GeomFromEWKT('SRID=4674;POINT (-40.289926 -2.79714)'))) / (select extract(epoch from '2026-07-08 07:15:35'::timestamp) - extract(epoch from '2026-07-08 07:15: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'), 47637, 'SRID=4674;POINT (-40.289854 -2.797145)', '2026-07-08 07:15:49', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289926 -2.79714)'), GeomFromEWKT('SRID=4674;POINT (-40.289854 -2.797145)'))) / (select extract(epoch from '2026-07-08 07:15:49'::timestamp) - extract(epoch from '2026-07-08 07:15:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289926 -2.79714)'), GeomFromEWKT('SRID=4674;POINT (-40.289854 -2.797145)'))) / (select extract(epoch from '2026-07-08 07:15:49'::timestamp) - extract(epoch from '2026-07-08 07:15:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.289768 -2.797156)', '2026-07-08 07:16:04', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289854 -2.797145)'), GeomFromEWKT('SRID=4674;POINT (-40.289768 -2.797156)'))) / (select extract(epoch from '2026-07-08 07:16:04'::timestamp) - extract(epoch from '2026-07-08 07:15:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289854 -2.797145)'), GeomFromEWKT('SRID=4674;POINT (-40.289768 -2.797156)'))) / (select extract(epoch from '2026-07-08 07:16:04'::timestamp) - extract(epoch from '2026-07-08 07:15: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'), 47637, 'SRID=4674;POINT (-40.289671 -2.79717)', '2026-07-08 07:16:22', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289768 -2.797156)'), GeomFromEWKT('SRID=4674;POINT (-40.289671 -2.79717)'))) / (select extract(epoch from '2026-07-08 07:16:22'::timestamp) - extract(epoch from '2026-07-08 07:16:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289768 -2.797156)'), GeomFromEWKT('SRID=4674;POINT (-40.289671 -2.79717)'))) / (select extract(epoch from '2026-07-08 07:16:22'::timestamp) - extract(epoch from '2026-07-08 07:16: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'), 47637, 'SRID=4674;POINT (-40.289625 -2.797169)', '2026-07-08 07:16:36', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289671 -2.79717)'), GeomFromEWKT('SRID=4674;POINT (-40.289625 -2.797169)'))) / (select extract(epoch from '2026-07-08 07:16:36'::timestamp) - extract(epoch from '2026-07-08 07:16:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289671 -2.79717)'), GeomFromEWKT('SRID=4674;POINT (-40.289625 -2.797169)'))) / (select extract(epoch from '2026-07-08 07:16:36'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47637, 'SRID=4674;POINT (-40.289559 -2.797183)', '2026-07-08 07:16:54', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289625 -2.797169)'), GeomFromEWKT('SRID=4674;POINT (-40.289559 -2.797183)'))) / (select extract(epoch from '2026-07-08 07:16:54'::timestamp) - extract(epoch from '2026-07-08 07:16:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289625 -2.797169)'), GeomFromEWKT('SRID=4674;POINT (-40.289559 -2.797183)'))) / (select extract(epoch from '2026-07-08 07:16:54'::timestamp) - extract(epoch from '2026-07-08 07:16:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.289542 -2.797183)', '2026-07-08 07:17:09', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289559 -2.797183)'), GeomFromEWKT('SRID=4674;POINT (-40.289542 -2.797183)'))) / (select extract(epoch from '2026-07-08 07:17:09'::timestamp) - extract(epoch from '2026-07-08 07:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289559 -2.797183)'), GeomFromEWKT('SRID=4674;POINT (-40.289542 -2.797183)'))) / (select extract(epoch from '2026-07-08 07:17:09'::timestamp) - extract(epoch from '2026-07-08 07:16: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'), 47637, 'SRID=4674;POINT (-40.289563 -2.797182)', '2026-07-08 07:17:26', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289542 -2.797183)'), GeomFromEWKT('SRID=4674;POINT (-40.289563 -2.797182)'))) / (select extract(epoch from '2026-07-08 07:17:26'::timestamp) - extract(epoch from '2026-07-08 07:17:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289542 -2.797183)'), GeomFromEWKT('SRID=4674;POINT (-40.289563 -2.797182)'))) / (select extract(epoch from '2026-07-08 07:17:26'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47637, 'SRID=4674;POINT (-40.289591 -2.79717)', '2026-07-08 07:17:38', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289563 -2.797182)'), GeomFromEWKT('SRID=4674;POINT (-40.289591 -2.79717)'))) / (select extract(epoch from '2026-07-08 07:17:38'::timestamp) - extract(epoch from '2026-07-08 07:17:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289563 -2.797182)'), GeomFromEWKT('SRID=4674;POINT (-40.289591 -2.79717)'))) / (select extract(epoch from '2026-07-08 07:17:38'::timestamp) - extract(epoch from '2026-07-08 07:17: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'), 47637, 'SRID=4674;POINT (-40.289613 -2.797138)', '2026-07-08 07:17:53', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289591 -2.79717)'), GeomFromEWKT('SRID=4674;POINT (-40.289613 -2.797138)'))) / (select extract(epoch from '2026-07-08 07:17:53'::timestamp) - extract(epoch from '2026-07-08 07:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289591 -2.79717)'), GeomFromEWKT('SRID=4674;POINT (-40.289613 -2.797138)'))) / (select extract(epoch from '2026-07-08 07:17:53'::timestamp) - extract(epoch from '2026-07-08 07:17: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'), 47637, 'SRID=4674;POINT (-40.289645 -2.797098)', '2026-07-08 07:18:12', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289613 -2.797138)'), GeomFromEWKT('SRID=4674;POINT (-40.289645 -2.797098)'))) / (select extract(epoch from '2026-07-08 07:18:12'::timestamp) - extract(epoch from '2026-07-08 07:17:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289613 -2.797138)'), GeomFromEWKT('SRID=4674;POINT (-40.289645 -2.797098)'))) / (select extract(epoch from '2026-07-08 07:18:12'::timestamp) - extract(epoch from '2026-07-08 07:17: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'), 47637, 'SRID=4674;POINT (-40.289663 -2.797077)', '2026-07-08 07:18:28', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289645 -2.797098)'), GeomFromEWKT('SRID=4674;POINT (-40.289663 -2.797077)'))) / (select extract(epoch from '2026-07-08 07:18:28'::timestamp) - extract(epoch from '2026-07-08 07:18:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289645 -2.797098)'), GeomFromEWKT('SRID=4674;POINT (-40.289663 -2.797077)'))) / (select extract(epoch from '2026-07-08 07:18:28'::timestamp) - extract(epoch from '2026-07-08 07:18: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'), 47637, 'SRID=4674;POINT (-40.289691 -2.797058)', '2026-07-08 07:18:49', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289663 -2.797077)'), GeomFromEWKT('SRID=4674;POINT (-40.289691 -2.797058)'))) / (select extract(epoch from '2026-07-08 07:18:49'::timestamp) - extract(epoch from '2026-07-08 07:18:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289663 -2.797077)'), GeomFromEWKT('SRID=4674;POINT (-40.289691 -2.797058)'))) / (select extract(epoch from '2026-07-08 07:18:49'::timestamp) - extract(epoch from '2026-07-08 07:18: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'), 47637, 'SRID=4674;POINT (-40.289716 -2.797053)', '2026-07-08 07:19:08', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289691 -2.797058)'), GeomFromEWKT('SRID=4674;POINT (-40.289716 -2.797053)'))) / (select extract(epoch from '2026-07-08 07:19:08'::timestamp) - extract(epoch from '2026-07-08 07:18:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289691 -2.797058)'), GeomFromEWKT('SRID=4674;POINT (-40.289716 -2.797053)'))) / (select extract(epoch from '2026-07-08 07:19:08'::timestamp) - extract(epoch from '2026-07-08 07:18: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'), 47637, 'SRID=4674;POINT (-40.289734 -2.797034)', '2026-07-08 07:19:27', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289716 -2.797053)'), GeomFromEWKT('SRID=4674;POINT (-40.289734 -2.797034)'))) / (select extract(epoch from '2026-07-08 07:19:27'::timestamp) - extract(epoch from '2026-07-08 07:19:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289716 -2.797053)'), GeomFromEWKT('SRID=4674;POINT (-40.289734 -2.797034)'))) / (select extract(epoch from '2026-07-08 07:19:27'::timestamp) - extract(epoch from '2026-07-08 07:19:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.289763 -2.797025)', '2026-07-08 07:19:51', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289734 -2.797034)'), GeomFromEWKT('SRID=4674;POINT (-40.289763 -2.797025)'))) / (select extract(epoch from '2026-07-08 07:19:51'::timestamp) - extract(epoch from '2026-07-08 07:19:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289734 -2.797034)'), GeomFromEWKT('SRID=4674;POINT (-40.289763 -2.797025)'))) / (select extract(epoch from '2026-07-08 07:19:51'::timestamp) - extract(epoch from '2026-07-08 07:19:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.28979 -2.797009)', '2026-07-08 07:20:04', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289763 -2.797025)'), GeomFromEWKT('SRID=4674;POINT (-40.28979 -2.797009)'))) / (select extract(epoch from '2026-07-08 07:20:04'::timestamp) - extract(epoch from '2026-07-08 07:19:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289763 -2.797025)'), GeomFromEWKT('SRID=4674;POINT (-40.28979 -2.797009)'))) / (select extract(epoch from '2026-07-08 07:20:04'::timestamp) - extract(epoch from '2026-07-08 07:19:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.289813 -2.797008)', '2026-07-08 07:20:19', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28979 -2.797009)'), GeomFromEWKT('SRID=4674;POINT (-40.289813 -2.797008)'))) / (select extract(epoch from '2026-07-08 07:20:19'::timestamp) - extract(epoch from '2026-07-08 07:20:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28979 -2.797009)'), GeomFromEWKT('SRID=4674;POINT (-40.289813 -2.797008)'))) / (select extract(epoch from '2026-07-08 07:20:19'::timestamp) - extract(epoch from '2026-07-08 07:20: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'), 47637, 'SRID=4674;POINT (-40.289851 -2.797005)', '2026-07-08 07:20:37', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289813 -2.797008)'), GeomFromEWKT('SRID=4674;POINT (-40.289851 -2.797005)'))) / (select extract(epoch from '2026-07-08 07:20:37'::timestamp) - extract(epoch from '2026-07-08 07:20:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289813 -2.797008)'), GeomFromEWKT('SRID=4674;POINT (-40.289851 -2.797005)'))) / (select extract(epoch from '2026-07-08 07:20:37'::timestamp) - extract(epoch from '2026-07-08 07:20:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.289878 -2.796987)', '2026-07-08 07:21:01', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289851 -2.797005)'), GeomFromEWKT('SRID=4674;POINT (-40.289878 -2.796987)'))) / (select extract(epoch from '2026-07-08 07:21:01'::timestamp) - extract(epoch from '2026-07-08 07:20:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289851 -2.797005)'), GeomFromEWKT('SRID=4674;POINT (-40.289878 -2.796987)'))) / (select extract(epoch from '2026-07-08 07:21:01'::timestamp) - extract(epoch from '2026-07-08 07:20: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'), 47637, 'SRID=4674;POINT (-40.28991 -2.79698)', '2026-07-08 07:21:24', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289878 -2.796987)'), GeomFromEWKT('SRID=4674;POINT (-40.28991 -2.79698)'))) / (select extract(epoch from '2026-07-08 07:21:24'::timestamp) - extract(epoch from '2026-07-08 07:21:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289878 -2.796987)'), GeomFromEWKT('SRID=4674;POINT (-40.28991 -2.79698)'))) / (select extract(epoch from '2026-07-08 07:21:24'::timestamp) - extract(epoch from '2026-07-08 07:21:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.28994 -2.796982)', '2026-07-08 07:21:33', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28991 -2.79698)'), GeomFromEWKT('SRID=4674;POINT (-40.28994 -2.796982)'))) / (select extract(epoch from '2026-07-08 07:21:33'::timestamp) - extract(epoch from '2026-07-08 07:21:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28991 -2.79698)'), GeomFromEWKT('SRID=4674;POINT (-40.28994 -2.796982)'))) / (select extract(epoch from '2026-07-08 07:21:33'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47637, 'SRID=4674;POINT (-40.289956 -2.796984)', '2026-07-08 07:21:38', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28994 -2.796982)'), GeomFromEWKT('SRID=4674;POINT (-40.289956 -2.796984)'))) / (select extract(epoch from '2026-07-08 07:21:38'::timestamp) - extract(epoch from '2026-07-08 07:21:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28994 -2.796982)'), GeomFromEWKT('SRID=4674;POINT (-40.289956 -2.796984)'))) / (select extract(epoch from '2026-07-08 07:21:38'::timestamp) - extract(epoch from '2026-07-08 07:21:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.289987 -2.796981)', '2026-07-08 07:21:49', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289956 -2.796984)'), GeomFromEWKT('SRID=4674;POINT (-40.289987 -2.796981)'))) / (select extract(epoch from '2026-07-08 07:21:49'::timestamp) - extract(epoch from '2026-07-08 07:21:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289956 -2.796984)'), GeomFromEWKT('SRID=4674;POINT (-40.289987 -2.796981)'))) / (select extract(epoch from '2026-07-08 07:21:49'::timestamp) - extract(epoch from '2026-07-08 07:21: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'), 47637, 'SRID=4674;POINT (-40.29002 -2.797009)', '2026-07-08 07:21:58', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289987 -2.796981)'), GeomFromEWKT('SRID=4674;POINT (-40.29002 -2.797009)'))) / (select extract(epoch from '2026-07-08 07:21:58'::timestamp) - extract(epoch from '2026-07-08 07:21:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289987 -2.796981)'), GeomFromEWKT('SRID=4674;POINT (-40.29002 -2.797009)'))) / (select extract(epoch from '2026-07-08 07:21:58'::timestamp) - extract(epoch from '2026-07-08 07:21:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.290121 -2.797058)', '2026-07-08 07:22:06', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29002 -2.797009)'), GeomFromEWKT('SRID=4674;POINT (-40.290121 -2.797058)'))) / (select extract(epoch from '2026-07-08 07:22:06'::timestamp) - extract(epoch from '2026-07-08 07:21:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29002 -2.797009)'), GeomFromEWKT('SRID=4674;POINT (-40.290121 -2.797058)'))) / (select extract(epoch from '2026-07-08 07:22:06'::timestamp) - extract(epoch from '2026-07-08 07:21:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.290215 -2.797016)', '2026-07-08 07:22:12', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290121 -2.797058)'), GeomFromEWKT('SRID=4674;POINT (-40.290215 -2.797016)'))) / (select extract(epoch from '2026-07-08 07:22:12'::timestamp) - extract(epoch from '2026-07-08 07:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290121 -2.797058)'), GeomFromEWKT('SRID=4674;POINT (-40.290215 -2.797016)'))) / (select extract(epoch from '2026-07-08 07:22:12'::timestamp) - extract(epoch from '2026-07-08 07:22: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'), 47637, 'SRID=4674;POINT (-40.290382 -2.79696)', '2026-07-08 07:22:21', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290215 -2.797016)'), GeomFromEWKT('SRID=4674;POINT (-40.290382 -2.79696)'))) / (select extract(epoch from '2026-07-08 07:22:21'::timestamp) - extract(epoch from '2026-07-08 07:22:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290215 -2.797016)'), GeomFromEWKT('SRID=4674;POINT (-40.290382 -2.79696)'))) / (select extract(epoch from '2026-07-08 07:22:21'::timestamp) - extract(epoch from '2026-07-08 07:22: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'), 47637, 'SRID=4674;POINT (-40.29054 -2.796987)', '2026-07-08 07:22:29', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290382 -2.79696)'), GeomFromEWKT('SRID=4674;POINT (-40.29054 -2.796987)'))) / (select extract(epoch from '2026-07-08 07:22:29'::timestamp) - extract(epoch from '2026-07-08 07:22:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290382 -2.79696)'), GeomFromEWKT('SRID=4674;POINT (-40.29054 -2.796987)'))) / (select extract(epoch from '2026-07-08 07:22:29'::timestamp) - extract(epoch from '2026-07-08 07:22: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'), 47637, 'SRID=4674;POINT (-40.290721 -2.797052)', '2026-07-08 07:22:38', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29054 -2.796987)'), GeomFromEWKT('SRID=4674;POINT (-40.290721 -2.797052)'))) / (select extract(epoch from '2026-07-08 07:22:38'::timestamp) - extract(epoch from '2026-07-08 07:22:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29054 -2.796987)'), GeomFromEWKT('SRID=4674;POINT (-40.290721 -2.797052)'))) / (select extract(epoch from '2026-07-08 07:22:38'::timestamp) - extract(epoch from '2026-07-08 07:22:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.290862 -2.797091)', '2026-07-08 07:22:45', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290721 -2.797052)'), GeomFromEWKT('SRID=4674;POINT (-40.290862 -2.797091)'))) / (select extract(epoch from '2026-07-08 07:22:45'::timestamp) - extract(epoch from '2026-07-08 07:22:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290721 -2.797052)'), GeomFromEWKT('SRID=4674;POINT (-40.290862 -2.797091)'))) / (select extract(epoch from '2026-07-08 07:22:45'::timestamp) - extract(epoch from '2026-07-08 07:22:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.29098 -2.797085)', '2026-07-08 07:22:51', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290862 -2.797091)'), GeomFromEWKT('SRID=4674;POINT (-40.29098 -2.797085)'))) / (select extract(epoch from '2026-07-08 07:22:51'::timestamp) - extract(epoch from '2026-07-08 07:22:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290862 -2.797091)'), GeomFromEWKT('SRID=4674;POINT (-40.29098 -2.797085)'))) / (select extract(epoch from '2026-07-08 07:22:51'::timestamp) - extract(epoch from '2026-07-08 07:22: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'), 47637, 'SRID=4674;POINT (-40.291168 -2.79712)', '2026-07-08 07:23:00', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29098 -2.797085)'), GeomFromEWKT('SRID=4674;POINT (-40.291168 -2.79712)'))) / (select extract(epoch from '2026-07-08 07:23:00'::timestamp) - extract(epoch from '2026-07-08 07:22:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29098 -2.797085)'), GeomFromEWKT('SRID=4674;POINT (-40.291168 -2.79712)'))) / (select extract(epoch from '2026-07-08 07:23:00'::timestamp) - extract(epoch from '2026-07-08 07:22: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'), 47637, 'SRID=4674;POINT (-40.291333 -2.797208)', '2026-07-08 07:23:08', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291168 -2.79712)'), GeomFromEWKT('SRID=4674;POINT (-40.291333 -2.797208)'))) / (select extract(epoch from '2026-07-08 07:23:08'::timestamp) - extract(epoch from '2026-07-08 07:23:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291168 -2.79712)'), GeomFromEWKT('SRID=4674;POINT (-40.291333 -2.797208)'))) / (select extract(epoch from '2026-07-08 07:23:08'::timestamp) - extract(epoch from '2026-07-08 07:23:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.291502 -2.797281)', '2026-07-08 07:23:16', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291333 -2.797208)'), GeomFromEWKT('SRID=4674;POINT (-40.291502 -2.797281)'))) / (select extract(epoch from '2026-07-08 07:23:16'::timestamp) - extract(epoch from '2026-07-08 07:23:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291333 -2.797208)'), GeomFromEWKT('SRID=4674;POINT (-40.291502 -2.797281)'))) / (select extract(epoch from '2026-07-08 07:23:16'::timestamp) - extract(epoch from '2026-07-08 07:23: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'), 47637, 'SRID=4674;POINT (-40.291624 -2.79731)', '2026-07-08 07:23:21', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291502 -2.797281)'), GeomFromEWKT('SRID=4674;POINT (-40.291624 -2.79731)'))) / (select extract(epoch from '2026-07-08 07:23:21'::timestamp) - extract(epoch from '2026-07-08 07:23:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291502 -2.797281)'), GeomFromEWKT('SRID=4674;POINT (-40.291624 -2.79731)'))) / (select extract(epoch from '2026-07-08 07:23:21'::timestamp) - extract(epoch from '2026-07-08 07:23: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'), 47637, 'SRID=4674;POINT (-40.291744 -2.797333)', '2026-07-08 07:23:26', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291624 -2.79731)'), GeomFromEWKT('SRID=4674;POINT (-40.291744 -2.797333)'))) / (select extract(epoch from '2026-07-08 07:23:26'::timestamp) - extract(epoch from '2026-07-08 07:23:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291624 -2.79731)'), GeomFromEWKT('SRID=4674;POINT (-40.291744 -2.797333)'))) / (select extract(epoch from '2026-07-08 07:23:26'::timestamp) - extract(epoch from '2026-07-08 07:23:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.291905 -2.797375)', '2026-07-08 07:23:33', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291744 -2.797333)'), GeomFromEWKT('SRID=4674;POINT (-40.291905 -2.797375)'))) / (select extract(epoch from '2026-07-08 07:23:33'::timestamp) - extract(epoch from '2026-07-08 07:23:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291744 -2.797333)'), GeomFromEWKT('SRID=4674;POINT (-40.291905 -2.797375)'))) / (select extract(epoch from '2026-07-08 07:23:33'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47637, 'SRID=4674;POINT (-40.292041 -2.797417)', '2026-07-08 07:23:39', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291905 -2.797375)'), GeomFromEWKT('SRID=4674;POINT (-40.292041 -2.797417)'))) / (select extract(epoch from '2026-07-08 07:23:39'::timestamp) - extract(epoch from '2026-07-08 07:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291905 -2.797375)'), GeomFromEWKT('SRID=4674;POINT (-40.292041 -2.797417)'))) / (select extract(epoch from '2026-07-08 07:23:39'::timestamp) - extract(epoch from '2026-07-08 07:23: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'), 47637, 'SRID=4674;POINT (-40.292199 -2.797476)', '2026-07-08 07:23:46', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292041 -2.797417)'), GeomFromEWKT('SRID=4674;POINT (-40.292199 -2.797476)'))) / (select extract(epoch from '2026-07-08 07:23:46'::timestamp) - extract(epoch from '2026-07-08 07:23:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292041 -2.797417)'), GeomFromEWKT('SRID=4674;POINT (-40.292199 -2.797476)'))) / (select extract(epoch from '2026-07-08 07:23:46'::timestamp) - extract(epoch from '2026-07-08 07:23: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'), 47637, 'SRID=4674;POINT (-40.292318 -2.79753)', '2026-07-08 07:23:52', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292199 -2.797476)'), GeomFromEWKT('SRID=4674;POINT (-40.292318 -2.79753)'))) / (select extract(epoch from '2026-07-08 07:23:52'::timestamp) - extract(epoch from '2026-07-08 07:23:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292199 -2.797476)'), GeomFromEWKT('SRID=4674;POINT (-40.292318 -2.79753)'))) / (select extract(epoch from '2026-07-08 07:23:52'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47637, 'SRID=4674;POINT (-40.292443 -2.797588)', '2026-07-08 07:23:58', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292318 -2.79753)'), GeomFromEWKT('SRID=4674;POINT (-40.292443 -2.797588)'))) / (select extract(epoch from '2026-07-08 07:23:58'::timestamp) - extract(epoch from '2026-07-08 07:23:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292318 -2.79753)'), GeomFromEWKT('SRID=4674;POINT (-40.292443 -2.797588)'))) / (select extract(epoch from '2026-07-08 07:23:58'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47637, 'SRID=4674;POINT (-40.292597 -2.797634)', '2026-07-08 07:24:05', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292443 -2.797588)'), GeomFromEWKT('SRID=4674;POINT (-40.292597 -2.797634)'))) / (select extract(epoch from '2026-07-08 07:24:05'::timestamp) - extract(epoch from '2026-07-08 07:23:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292443 -2.797588)'), GeomFromEWKT('SRID=4674;POINT (-40.292597 -2.797634)'))) / (select extract(epoch from '2026-07-08 07:24:05'::timestamp) - extract(epoch from '2026-07-08 07:23: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'), 47637, 'SRID=4674;POINT (-40.292755 -2.797676)', '2026-07-08 07:24:12', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292597 -2.797634)'), GeomFromEWKT('SRID=4674;POINT (-40.292755 -2.797676)'))) / (select extract(epoch from '2026-07-08 07:24:12'::timestamp) - extract(epoch from '2026-07-08 07:24:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292597 -2.797634)'), GeomFromEWKT('SRID=4674;POINT (-40.292755 -2.797676)'))) / (select extract(epoch from '2026-07-08 07:24:12'::timestamp) - extract(epoch from '2026-07-08 07:24: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'), 47637, 'SRID=4674;POINT (-40.29293 -2.797742)', '2026-07-08 07:24:20', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292755 -2.797676)'), GeomFromEWKT('SRID=4674;POINT (-40.29293 -2.797742)'))) / (select extract(epoch from '2026-07-08 07:24:20'::timestamp) - extract(epoch from '2026-07-08 07:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292755 -2.797676)'), GeomFromEWKT('SRID=4674;POINT (-40.29293 -2.797742)'))) / (select extract(epoch from '2026-07-08 07:24:20'::timestamp) - extract(epoch from '2026-07-08 07:24:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.293083 -2.797793)', '2026-07-08 07:24:27', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29293 -2.797742)'), GeomFromEWKT('SRID=4674;POINT (-40.293083 -2.797793)'))) / (select extract(epoch from '2026-07-08 07:24:27'::timestamp) - extract(epoch from '2026-07-08 07:24:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29293 -2.797742)'), GeomFromEWKT('SRID=4674;POINT (-40.293083 -2.797793)'))) / (select extract(epoch from '2026-07-08 07:24:27'::timestamp) - extract(epoch from '2026-07-08 07:24:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.29322 -2.797825)', '2026-07-08 07:24:33', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293083 -2.797793)'), GeomFromEWKT('SRID=4674;POINT (-40.29322 -2.797825)'))) / (select extract(epoch from '2026-07-08 07:24:33'::timestamp) - extract(epoch from '2026-07-08 07:24:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293083 -2.797793)'), GeomFromEWKT('SRID=4674;POINT (-40.29322 -2.797825)'))) / (select extract(epoch from '2026-07-08 07:24:33'::timestamp) - extract(epoch from '2026-07-08 07:24: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'), 47637, 'SRID=4674;POINT (-40.293424 -2.797863)', '2026-07-08 07:24:42', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29322 -2.797825)'), GeomFromEWKT('SRID=4674;POINT (-40.293424 -2.797863)'))) / (select extract(epoch from '2026-07-08 07:24:42'::timestamp) - extract(epoch from '2026-07-08 07:24:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29322 -2.797825)'), GeomFromEWKT('SRID=4674;POINT (-40.293424 -2.797863)'))) / (select extract(epoch from '2026-07-08 07:24:42'::timestamp) - extract(epoch from '2026-07-08 07:24: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'), 47637, 'SRID=4674;POINT (-40.293578 -2.797873)', '2026-07-08 07:24:49', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293424 -2.797863)'), GeomFromEWKT('SRID=4674;POINT (-40.293578 -2.797873)'))) / (select extract(epoch from '2026-07-08 07:24:49'::timestamp) - extract(epoch from '2026-07-08 07:24:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293424 -2.797863)'), GeomFromEWKT('SRID=4674;POINT (-40.293578 -2.797873)'))) / (select extract(epoch from '2026-07-08 07:24:49'::timestamp) - extract(epoch from '2026-07-08 07:24: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'), 47637, 'SRID=4674;POINT (-40.29375 -2.797887)', '2026-07-08 07:24:57', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293578 -2.797873)'), GeomFromEWKT('SRID=4674;POINT (-40.29375 -2.797887)'))) / (select extract(epoch from '2026-07-08 07:24:57'::timestamp) - extract(epoch from '2026-07-08 07:24:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293578 -2.797873)'), GeomFromEWKT('SRID=4674;POINT (-40.29375 -2.797887)'))) / (select extract(epoch from '2026-07-08 07:24:57'::timestamp) - extract(epoch from '2026-07-08 07:24: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'), 47637, 'SRID=4674;POINT (-40.293942 -2.797906)', '2026-07-08 07:25:06', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29375 -2.797887)'), GeomFromEWKT('SRID=4674;POINT (-40.293942 -2.797906)'))) / (select extract(epoch from '2026-07-08 07:25:06'::timestamp) - extract(epoch from '2026-07-08 07:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29375 -2.797887)'), GeomFromEWKT('SRID=4674;POINT (-40.293942 -2.797906)'))) / (select extract(epoch from '2026-07-08 07:25:06'::timestamp) - extract(epoch from '2026-07-08 07:24: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'), 47637, 'SRID=4674;POINT (-40.29407 -2.797916)', '2026-07-08 07:25:12', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293942 -2.797906)'), GeomFromEWKT('SRID=4674;POINT (-40.29407 -2.797916)'))) / (select extract(epoch from '2026-07-08 07:25:12'::timestamp) - extract(epoch from '2026-07-08 07:25:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293942 -2.797906)'), GeomFromEWKT('SRID=4674;POINT (-40.29407 -2.797916)'))) / (select extract(epoch from '2026-07-08 07:25:12'::timestamp) - extract(epoch from '2026-07-08 07:25: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'), 47637, 'SRID=4674;POINT (-40.294258 -2.797981)', '2026-07-08 07:25:21', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29407 -2.797916)'), GeomFromEWKT('SRID=4674;POINT (-40.294258 -2.797981)'))) / (select extract(epoch from '2026-07-08 07:25:21'::timestamp) - extract(epoch from '2026-07-08 07:25:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29407 -2.797916)'), GeomFromEWKT('SRID=4674;POINT (-40.294258 -2.797981)'))) / (select extract(epoch from '2026-07-08 07:25:21'::timestamp) - extract(epoch from '2026-07-08 07:25:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.294443 -2.798064)', '2026-07-08 07:25:30', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294258 -2.797981)'), GeomFromEWKT('SRID=4674;POINT (-40.294443 -2.798064)'))) / (select extract(epoch from '2026-07-08 07:25:30'::timestamp) - extract(epoch from '2026-07-08 07:25:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294258 -2.797981)'), GeomFromEWKT('SRID=4674;POINT (-40.294443 -2.798064)'))) / (select extract(epoch from '2026-07-08 07:25:30'::timestamp) - extract(epoch from '2026-07-08 07:25: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'), 47637, 'SRID=4674;POINT (-40.294639 -2.798152)', '2026-07-08 07:25:39', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294443 -2.798064)'), GeomFromEWKT('SRID=4674;POINT (-40.294639 -2.798152)'))) / (select extract(epoch from '2026-07-08 07:25:39'::timestamp) - extract(epoch from '2026-07-08 07:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294443 -2.798064)'), GeomFromEWKT('SRID=4674;POINT (-40.294639 -2.798152)'))) / (select extract(epoch from '2026-07-08 07:25:39'::timestamp) - extract(epoch from '2026-07-08 07:25:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.294782 -2.798222)', '2026-07-08 07:25:46', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294639 -2.798152)'), GeomFromEWKT('SRID=4674;POINT (-40.294782 -2.798222)'))) / (select extract(epoch from '2026-07-08 07:25:46'::timestamp) - extract(epoch from '2026-07-08 07:25:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294639 -2.798152)'), GeomFromEWKT('SRID=4674;POINT (-40.294782 -2.798222)'))) / (select extract(epoch from '2026-07-08 07:25:46'::timestamp) - extract(epoch from '2026-07-08 07:25:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.294952 -2.79828)', '2026-07-08 07:25:54', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294782 -2.798222)'), GeomFromEWKT('SRID=4674;POINT (-40.294952 -2.79828)'))) / (select extract(epoch from '2026-07-08 07:25:54'::timestamp) - extract(epoch from '2026-07-08 07:25:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294782 -2.798222)'), GeomFromEWKT('SRID=4674;POINT (-40.294952 -2.79828)'))) / (select extract(epoch from '2026-07-08 07:25:54'::timestamp) - extract(epoch from '2026-07-08 07:25:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.295067 -2.798338)', '2026-07-08 07:25:59', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294952 -2.79828)'), GeomFromEWKT('SRID=4674;POINT (-40.295067 -2.798338)'))) / (select extract(epoch from '2026-07-08 07:25:59'::timestamp) - extract(epoch from '2026-07-08 07:25:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294952 -2.79828)'), GeomFromEWKT('SRID=4674;POINT (-40.295067 -2.798338)'))) / (select extract(epoch from '2026-07-08 07:25:59'::timestamp) - extract(epoch from '2026-07-08 07:25: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'), 47637, 'SRID=4674;POINT (-40.295207 -2.798368)', '2026-07-08 07:26:06', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295067 -2.798338)'), GeomFromEWKT('SRID=4674;POINT (-40.295207 -2.798368)'))) / (select extract(epoch from '2026-07-08 07:26:06'::timestamp) - extract(epoch from '2026-07-08 07:25:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295067 -2.798338)'), GeomFromEWKT('SRID=4674;POINT (-40.295207 -2.798368)'))) / (select extract(epoch from '2026-07-08 07:26:06'::timestamp) - extract(epoch from '2026-07-08 07:25: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'), 47637, 'SRID=4674;POINT (-40.295338 -2.798426)', '2026-07-08 07:26:13', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295207 -2.798368)'), GeomFromEWKT('SRID=4674;POINT (-40.295338 -2.798426)'))) / (select extract(epoch from '2026-07-08 07:26:13'::timestamp) - extract(epoch from '2026-07-08 07:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295207 -2.798368)'), GeomFromEWKT('SRID=4674;POINT (-40.295338 -2.798426)'))) / (select extract(epoch from '2026-07-08 07:26:13'::timestamp) - extract(epoch from '2026-07-08 07:26: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'), 47637, 'SRID=4674;POINT (-40.29549 -2.7985)', '2026-07-08 07:26:21', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295338 -2.798426)'), GeomFromEWKT('SRID=4674;POINT (-40.29549 -2.7985)'))) / (select extract(epoch from '2026-07-08 07:26:21'::timestamp) - extract(epoch from '2026-07-08 07:26:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295338 -2.798426)'), GeomFromEWKT('SRID=4674;POINT (-40.29549 -2.7985)'))) / (select extract(epoch from '2026-07-08 07:26:21'::timestamp) - extract(epoch from '2026-07-08 07:26:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.295635 -2.798568)', '2026-07-08 07:26:28', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29549 -2.7985)'), GeomFromEWKT('SRID=4674;POINT (-40.295635 -2.798568)'))) / (select extract(epoch from '2026-07-08 07:26:28'::timestamp) - extract(epoch from '2026-07-08 07:26:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29549 -2.7985)'), GeomFromEWKT('SRID=4674;POINT (-40.295635 -2.798568)'))) / (select extract(epoch from '2026-07-08 07:26:28'::timestamp) - extract(epoch from '2026-07-08 07:26: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'), 47637, 'SRID=4674;POINT (-40.295803 -2.798647)', '2026-07-08 07:26:36', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295635 -2.798568)'), GeomFromEWKT('SRID=4674;POINT (-40.295803 -2.798647)'))) / (select extract(epoch from '2026-07-08 07:26:36'::timestamp) - extract(epoch from '2026-07-08 07:26:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295635 -2.798568)'), GeomFromEWKT('SRID=4674;POINT (-40.295803 -2.798647)'))) / (select extract(epoch from '2026-07-08 07:26:36'::timestamp) - extract(epoch from '2026-07-08 07:26:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.295971 -2.798742)', '2026-07-08 07:26:44', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295803 -2.798647)'), GeomFromEWKT('SRID=4674;POINT (-40.295971 -2.798742)'))) / (select extract(epoch from '2026-07-08 07:26:44'::timestamp) - extract(epoch from '2026-07-08 07:26:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295803 -2.798647)'), GeomFromEWKT('SRID=4674;POINT (-40.295971 -2.798742)'))) / (select extract(epoch from '2026-07-08 07:26:44'::timestamp) - extract(epoch from '2026-07-08 07:26:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.296163 -2.798811)', '2026-07-08 07:26:53', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295971 -2.798742)'), GeomFromEWKT('SRID=4674;POINT (-40.296163 -2.798811)'))) / (select extract(epoch from '2026-07-08 07:26:53'::timestamp) - extract(epoch from '2026-07-08 07:26:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295971 -2.798742)'), GeomFromEWKT('SRID=4674;POINT (-40.296163 -2.798811)'))) / (select extract(epoch from '2026-07-08 07:26:53'::timestamp) - extract(epoch from '2026-07-08 07:26: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'), 47637, 'SRID=4674;POINT (-40.296346 -2.798876)', '2026-07-08 07:27:02', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296163 -2.798811)'), GeomFromEWKT('SRID=4674;POINT (-40.296346 -2.798876)'))) / (select extract(epoch from '2026-07-08 07:27:02'::timestamp) - extract(epoch from '2026-07-08 07:26:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296163 -2.798811)'), GeomFromEWKT('SRID=4674;POINT (-40.296346 -2.798876)'))) / (select extract(epoch from '2026-07-08 07:27:02'::timestamp) - extract(epoch from '2026-07-08 07:26:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.296519 -2.798952)', '2026-07-08 07:27:11', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296346 -2.798876)'), GeomFromEWKT('SRID=4674;POINT (-40.296519 -2.798952)'))) / (select extract(epoch from '2026-07-08 07:27:11'::timestamp) - extract(epoch from '2026-07-08 07:27:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296346 -2.798876)'), GeomFromEWKT('SRID=4674;POINT (-40.296519 -2.798952)'))) / (select extract(epoch from '2026-07-08 07:27:11'::timestamp) - extract(epoch from '2026-07-08 07:27:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.296669 -2.799025)', '2026-07-08 07:27:18', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296519 -2.798952)'), GeomFromEWKT('SRID=4674;POINT (-40.296669 -2.799025)'))) / (select extract(epoch from '2026-07-08 07:27:18'::timestamp) - extract(epoch from '2026-07-08 07:27:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296519 -2.798952)'), GeomFromEWKT('SRID=4674;POINT (-40.296669 -2.799025)'))) / (select extract(epoch from '2026-07-08 07:27:18'::timestamp) - extract(epoch from '2026-07-08 07:27:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.296847 -2.79909)', '2026-07-08 07:27:26', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296669 -2.799025)'), GeomFromEWKT('SRID=4674;POINT (-40.296847 -2.79909)'))) / (select extract(epoch from '2026-07-08 07:27:26'::timestamp) - extract(epoch from '2026-07-08 07:27:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296669 -2.799025)'), GeomFromEWKT('SRID=4674;POINT (-40.296847 -2.79909)'))) / (select extract(epoch from '2026-07-08 07:27:26'::timestamp) - extract(epoch from '2026-07-08 07:27:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.297024 -2.799138)', '2026-07-08 07:27:34', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296847 -2.79909)'), GeomFromEWKT('SRID=4674;POINT (-40.297024 -2.799138)'))) / (select extract(epoch from '2026-07-08 07:27:34'::timestamp) - extract(epoch from '2026-07-08 07:27:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296847 -2.79909)'), GeomFromEWKT('SRID=4674;POINT (-40.297024 -2.799138)'))) / (select extract(epoch from '2026-07-08 07:27:34'::timestamp) - extract(epoch from '2026-07-08 07:27:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.297192 -2.799182)', '2026-07-08 07:27:42', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297024 -2.799138)'), GeomFromEWKT('SRID=4674;POINT (-40.297192 -2.799182)'))) / (select extract(epoch from '2026-07-08 07:27:42'::timestamp) - extract(epoch from '2026-07-08 07:27:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297024 -2.799138)'), GeomFromEWKT('SRID=4674;POINT (-40.297192 -2.799182)'))) / (select extract(epoch from '2026-07-08 07:27:42'::timestamp) - extract(epoch from '2026-07-08 07:27:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.297308 -2.799221)', '2026-07-08 07:27:48', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297192 -2.799182)'), GeomFromEWKT('SRID=4674;POINT (-40.297308 -2.799221)'))) / (select extract(epoch from '2026-07-08 07:27:48'::timestamp) - extract(epoch from '2026-07-08 07:27:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297192 -2.799182)'), GeomFromEWKT('SRID=4674;POINT (-40.297308 -2.799221)'))) / (select extract(epoch from '2026-07-08 07:27:48'::timestamp) - extract(epoch from '2026-07-08 07:27:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.297485 -2.79932)', '2026-07-08 07:27:57', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297308 -2.799221)'), GeomFromEWKT('SRID=4674;POINT (-40.297485 -2.79932)'))) / (select extract(epoch from '2026-07-08 07:27:57'::timestamp) - extract(epoch from '2026-07-08 07:27:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297308 -2.799221)'), GeomFromEWKT('SRID=4674;POINT (-40.297485 -2.79932)'))) / (select extract(epoch from '2026-07-08 07:27:57'::timestamp) - extract(epoch from '2026-07-08 07:27:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.297626 -2.799418)', '2026-07-08 07:28:05', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297485 -2.79932)'), GeomFromEWKT('SRID=4674;POINT (-40.297626 -2.799418)'))) / (select extract(epoch from '2026-07-08 07:28:05'::timestamp) - extract(epoch from '2026-07-08 07:27:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297485 -2.79932)'), GeomFromEWKT('SRID=4674;POINT (-40.297626 -2.799418)'))) / (select extract(epoch from '2026-07-08 07:28:05'::timestamp) - extract(epoch from '2026-07-08 07:27:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.297747 -2.799459)', '2026-07-08 07:28:11', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297626 -2.799418)'), GeomFromEWKT('SRID=4674;POINT (-40.297747 -2.799459)'))) / (select extract(epoch from '2026-07-08 07:28:11'::timestamp) - extract(epoch from '2026-07-08 07:28:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297626 -2.799418)'), GeomFromEWKT('SRID=4674;POINT (-40.297747 -2.799459)'))) / (select extract(epoch from '2026-07-08 07:28:11'::timestamp) - extract(epoch from '2026-07-08 07:28: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'), 47637, 'SRID=4674;POINT (-40.297876 -2.799444)', '2026-07-08 07:28:17', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297747 -2.799459)'), GeomFromEWKT('SRID=4674;POINT (-40.297876 -2.799444)'))) / (select extract(epoch from '2026-07-08 07:28:17'::timestamp) - extract(epoch from '2026-07-08 07:28:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297747 -2.799459)'), GeomFromEWKT('SRID=4674;POINT (-40.297876 -2.799444)'))) / (select extract(epoch from '2026-07-08 07:28:17'::timestamp) - extract(epoch from '2026-07-08 07:28:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.298021 -2.799406)', '2026-07-08 07:28:24', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297876 -2.799444)'), GeomFromEWKT('SRID=4674;POINT (-40.298021 -2.799406)'))) / (select extract(epoch from '2026-07-08 07:28:24'::timestamp) - extract(epoch from '2026-07-08 07:28:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297876 -2.799444)'), GeomFromEWKT('SRID=4674;POINT (-40.298021 -2.799406)'))) / (select extract(epoch from '2026-07-08 07:28:24'::timestamp) - extract(epoch from '2026-07-08 07:28:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.298133 -2.799423)', '2026-07-08 07:28:29', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298021 -2.799406)'), GeomFromEWKT('SRID=4674;POINT (-40.298133 -2.799423)'))) / (select extract(epoch from '2026-07-08 07:28:29'::timestamp) - extract(epoch from '2026-07-08 07:28:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298021 -2.799406)'), GeomFromEWKT('SRID=4674;POINT (-40.298133 -2.799423)'))) / (select extract(epoch from '2026-07-08 07:28:29'::timestamp) - extract(epoch from '2026-07-08 07:28: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'), 47637, 'SRID=4674;POINT (-40.298283 -2.799481)', '2026-07-08 07:28:37', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298133 -2.799423)'), GeomFromEWKT('SRID=4674;POINT (-40.298283 -2.799481)'))) / (select extract(epoch from '2026-07-08 07:28:37'::timestamp) - extract(epoch from '2026-07-08 07:28:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298133 -2.799423)'), GeomFromEWKT('SRID=4674;POINT (-40.298283 -2.799481)'))) / (select extract(epoch from '2026-07-08 07:28:37'::timestamp) - extract(epoch from '2026-07-08 07:28: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'), 47637, 'SRID=4674;POINT (-40.298442 -2.79955)', '2026-07-08 07:28:44', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298283 -2.799481)'), GeomFromEWKT('SRID=4674;POINT (-40.298442 -2.79955)'))) / (select extract(epoch from '2026-07-08 07:28:44'::timestamp) - extract(epoch from '2026-07-08 07:28:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298283 -2.799481)'), GeomFromEWKT('SRID=4674;POINT (-40.298442 -2.79955)'))) / (select extract(epoch from '2026-07-08 07:28:44'::timestamp) - extract(epoch from '2026-07-08 07:28:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.298588 -2.799637)', '2026-07-08 07:28:52', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298442 -2.79955)'), GeomFromEWKT('SRID=4674;POINT (-40.298588 -2.799637)'))) / (select extract(epoch from '2026-07-08 07:28:52'::timestamp) - extract(epoch from '2026-07-08 07:28:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298442 -2.79955)'), GeomFromEWKT('SRID=4674;POINT (-40.298588 -2.799637)'))) / (select extract(epoch from '2026-07-08 07:28:52'::timestamp) - extract(epoch from '2026-07-08 07:28: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'), 47637, 'SRID=4674;POINT (-40.298756 -2.799736)', '2026-07-08 07:29:01', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298588 -2.799637)'), GeomFromEWKT('SRID=4674;POINT (-40.298756 -2.799736)'))) / (select extract(epoch from '2026-07-08 07:29:01'::timestamp) - extract(epoch from '2026-07-08 07:28:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298588 -2.799637)'), GeomFromEWKT('SRID=4674;POINT (-40.298756 -2.799736)'))) / (select extract(epoch from '2026-07-08 07:29:01'::timestamp) - extract(epoch from '2026-07-08 07:28:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.298908 -2.799785)', '2026-07-08 07:29:08', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298756 -2.799736)'), GeomFromEWKT('SRID=4674;POINT (-40.298908 -2.799785)'))) / (select extract(epoch from '2026-07-08 07:29:08'::timestamp) - extract(epoch from '2026-07-08 07:29:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298756 -2.799736)'), GeomFromEWKT('SRID=4674;POINT (-40.298908 -2.799785)'))) / (select extract(epoch from '2026-07-08 07:29:08'::timestamp) - extract(epoch from '2026-07-08 07:29: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'), 47637, 'SRID=4674;POINT (-40.299084 -2.799855)', '2026-07-08 07:29:16', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298908 -2.799785)'), GeomFromEWKT('SRID=4674;POINT (-40.299084 -2.799855)'))) / (select extract(epoch from '2026-07-08 07:29:16'::timestamp) - extract(epoch from '2026-07-08 07:29:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298908 -2.799785)'), GeomFromEWKT('SRID=4674;POINT (-40.299084 -2.799855)'))) / (select extract(epoch from '2026-07-08 07:29:16'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47637, 'SRID=4674;POINT (-40.299252 -2.799908)', '2026-07-08 07:29:24', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299084 -2.799855)'), GeomFromEWKT('SRID=4674;POINT (-40.299252 -2.799908)'))) / (select extract(epoch from '2026-07-08 07:29:24'::timestamp) - extract(epoch from '2026-07-08 07:29:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299084 -2.799855)'), GeomFromEWKT('SRID=4674;POINT (-40.299252 -2.799908)'))) / (select extract(epoch from '2026-07-08 07:29:24'::timestamp) - extract(epoch from '2026-07-08 07:29:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.299404 -2.799951)', '2026-07-08 07:29:31', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299252 -2.799908)'), GeomFromEWKT('SRID=4674;POINT (-40.299404 -2.799951)'))) / (select extract(epoch from '2026-07-08 07:29:31'::timestamp) - extract(epoch from '2026-07-08 07:29:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299252 -2.799908)'), GeomFromEWKT('SRID=4674;POINT (-40.299404 -2.799951)'))) / (select extract(epoch from '2026-07-08 07:29:31'::timestamp) - extract(epoch from '2026-07-08 07:29: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'), 47637, 'SRID=4674;POINT (-40.299563 -2.799993)', '2026-07-08 07:29:38', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299404 -2.799951)'), GeomFromEWKT('SRID=4674;POINT (-40.299563 -2.799993)'))) / (select extract(epoch from '2026-07-08 07:29:38'::timestamp) - extract(epoch from '2026-07-08 07:29:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299404 -2.799951)'), GeomFromEWKT('SRID=4674;POINT (-40.299563 -2.799993)'))) / (select extract(epoch from '2026-07-08 07:29:38'::timestamp) - extract(epoch from '2026-07-08 07:29:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.299692 -2.800043)', '2026-07-08 07:29:44', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299563 -2.799993)'), GeomFromEWKT('SRID=4674;POINT (-40.299692 -2.800043)'))) / (select extract(epoch from '2026-07-08 07:29:44'::timestamp) - extract(epoch from '2026-07-08 07:29:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299563 -2.799993)'), GeomFromEWKT('SRID=4674;POINT (-40.299692 -2.800043)'))) / (select extract(epoch from '2026-07-08 07:29:44'::timestamp) - extract(epoch from '2026-07-08 07:29: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'), 47637, 'SRID=4674;POINT (-40.299837 -2.800139)', '2026-07-08 07:29:52', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299692 -2.800043)'), GeomFromEWKT('SRID=4674;POINT (-40.299837 -2.800139)'))) / (select extract(epoch from '2026-07-08 07:29:52'::timestamp) - extract(epoch from '2026-07-08 07:29:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299692 -2.800043)'), GeomFromEWKT('SRID=4674;POINT (-40.299837 -2.800139)'))) / (select extract(epoch from '2026-07-08 07:29:52'::timestamp) - extract(epoch from '2026-07-08 07:29: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'), 47637, 'SRID=4674;POINT (-40.299984 -2.800248)', '2026-07-08 07:30:00', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299837 -2.800139)'), GeomFromEWKT('SRID=4674;POINT (-40.299984 -2.800248)'))) / (select extract(epoch from '2026-07-08 07:30:00'::timestamp) - extract(epoch from '2026-07-08 07:29:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299837 -2.800139)'), GeomFromEWKT('SRID=4674;POINT (-40.299984 -2.800248)'))) / (select extract(epoch from '2026-07-08 07:30:00'::timestamp) - extract(epoch from '2026-07-08 07:29:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.300126 -2.800355)', '2026-07-08 07:30:08', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299984 -2.800248)'), GeomFromEWKT('SRID=4674;POINT (-40.300126 -2.800355)'))) / (select extract(epoch from '2026-07-08 07:30:08'::timestamp) - extract(epoch from '2026-07-08 07:30:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299984 -2.800248)'), GeomFromEWKT('SRID=4674;POINT (-40.300126 -2.800355)'))) / (select extract(epoch from '2026-07-08 07:30:08'::timestamp) - extract(epoch from '2026-07-08 07:30: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'), 47637, 'SRID=4674;POINT (-40.300263 -2.800434)', '2026-07-08 07:30:15', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300126 -2.800355)'), GeomFromEWKT('SRID=4674;POINT (-40.300263 -2.800434)'))) / (select extract(epoch from '2026-07-08 07:30:15'::timestamp) - extract(epoch from '2026-07-08 07:30:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300126 -2.800355)'), GeomFromEWKT('SRID=4674;POINT (-40.300263 -2.800434)'))) / (select extract(epoch from '2026-07-08 07:30:15'::timestamp) - extract(epoch from '2026-07-08 07:30: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'), 47637, 'SRID=4674;POINT (-40.300408 -2.80053)', '2026-07-08 07:30:23', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300263 -2.800434)'), GeomFromEWKT('SRID=4674;POINT (-40.300408 -2.80053)'))) / (select extract(epoch from '2026-07-08 07:30:23'::timestamp) - extract(epoch from '2026-07-08 07:30:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300263 -2.800434)'), GeomFromEWKT('SRID=4674;POINT (-40.300408 -2.80053)'))) / (select extract(epoch from '2026-07-08 07:30:23'::timestamp) - extract(epoch from '2026-07-08 07:30:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.30053 -2.80059)', '2026-07-08 07:30:29', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300408 -2.80053)'), GeomFromEWKT('SRID=4674;POINT (-40.30053 -2.80059)'))) / (select extract(epoch from '2026-07-08 07:30:29'::timestamp) - extract(epoch from '2026-07-08 07:30:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300408 -2.80053)'), GeomFromEWKT('SRID=4674;POINT (-40.30053 -2.80059)'))) / (select extract(epoch from '2026-07-08 07:30:29'::timestamp) - extract(epoch from '2026-07-08 07:30: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'), 47637, 'SRID=4674;POINT (-40.300674 -2.800689)', '2026-07-08 07:30:37', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30053 -2.80059)'), GeomFromEWKT('SRID=4674;POINT (-40.300674 -2.800689)'))) / (select extract(epoch from '2026-07-08 07:30:37'::timestamp) - extract(epoch from '2026-07-08 07:30:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30053 -2.80059)'), GeomFromEWKT('SRID=4674;POINT (-40.300674 -2.800689)'))) / (select extract(epoch from '2026-07-08 07:30:37'::timestamp) - extract(epoch from '2026-07-08 07:30:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.300804 -2.800773)', '2026-07-08 07:30:44', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300674 -2.800689)'), GeomFromEWKT('SRID=4674;POINT (-40.300804 -2.800773)'))) / (select extract(epoch from '2026-07-08 07:30:44'::timestamp) - extract(epoch from '2026-07-08 07:30:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300674 -2.800689)'), GeomFromEWKT('SRID=4674;POINT (-40.300804 -2.800773)'))) / (select extract(epoch from '2026-07-08 07:30:44'::timestamp) - extract(epoch from '2026-07-08 07:30:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.300946 -2.80084)', '2026-07-08 07:30:51', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300804 -2.800773)'), GeomFromEWKT('SRID=4674;POINT (-40.300946 -2.80084)'))) / (select extract(epoch from '2026-07-08 07:30:51'::timestamp) - extract(epoch from '2026-07-08 07:30:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300804 -2.800773)'), GeomFromEWKT('SRID=4674;POINT (-40.300946 -2.80084)'))) / (select extract(epoch from '2026-07-08 07:30:51'::timestamp) - extract(epoch from '2026-07-08 07:30: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'), 47637, 'SRID=4674;POINT (-40.301145 -2.800939)', '2026-07-08 07:31:01', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300946 -2.80084)'), GeomFromEWKT('SRID=4674;POINT (-40.301145 -2.800939)'))) / (select extract(epoch from '2026-07-08 07:31:01'::timestamp) - extract(epoch from '2026-07-08 07:30:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300946 -2.80084)'), GeomFromEWKT('SRID=4674;POINT (-40.301145 -2.800939)'))) / (select extract(epoch from '2026-07-08 07:31:01'::timestamp) - extract(epoch from '2026-07-08 07:30: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'), 47637, 'SRID=4674;POINT (-40.301307 -2.801022)', '2026-07-08 07:31:09', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301145 -2.800939)'), GeomFromEWKT('SRID=4674;POINT (-40.301307 -2.801022)'))) / (select extract(epoch from '2026-07-08 07:31:09'::timestamp) - extract(epoch from '2026-07-08 07:31:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301145 -2.800939)'), GeomFromEWKT('SRID=4674;POINT (-40.301307 -2.801022)'))) / (select extract(epoch from '2026-07-08 07:31:09'::timestamp) - extract(epoch from '2026-07-08 07:31:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.301432 -2.801082)', '2026-07-08 07:31:15', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301307 -2.801022)'), GeomFromEWKT('SRID=4674;POINT (-40.301432 -2.801082)'))) / (select extract(epoch from '2026-07-08 07:31:15'::timestamp) - extract(epoch from '2026-07-08 07:31:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301307 -2.801022)'), GeomFromEWKT('SRID=4674;POINT (-40.301432 -2.801082)'))) / (select extract(epoch from '2026-07-08 07:31:15'::timestamp) - extract(epoch from '2026-07-08 07:31:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.301542 -2.801143)', '2026-07-08 07:31:21', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301432 -2.801082)'), GeomFromEWKT('SRID=4674;POINT (-40.301542 -2.801143)'))) / (select extract(epoch from '2026-07-08 07:31:21'::timestamp) - extract(epoch from '2026-07-08 07:31:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301432 -2.801082)'), GeomFromEWKT('SRID=4674;POINT (-40.301542 -2.801143)'))) / (select extract(epoch from '2026-07-08 07:31:21'::timestamp) - extract(epoch from '2026-07-08 07:31:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.301709 -2.801251)', '2026-07-08 07:31:30', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301542 -2.801143)'), GeomFromEWKT('SRID=4674;POINT (-40.301709 -2.801251)'))) / (select extract(epoch from '2026-07-08 07:31:30'::timestamp) - extract(epoch from '2026-07-08 07:31:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301542 -2.801143)'), GeomFromEWKT('SRID=4674;POINT (-40.301709 -2.801251)'))) / (select extract(epoch from '2026-07-08 07:31:30'::timestamp) - extract(epoch from '2026-07-08 07:31:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.30187 -2.80132)', '2026-07-08 07:31:38', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301709 -2.801251)'), GeomFromEWKT('SRID=4674;POINT (-40.30187 -2.80132)'))) / (select extract(epoch from '2026-07-08 07:31:38'::timestamp) - extract(epoch from '2026-07-08 07:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301709 -2.801251)'), GeomFromEWKT('SRID=4674;POINT (-40.30187 -2.80132)'))) / (select extract(epoch from '2026-07-08 07:31:38'::timestamp) - extract(epoch from '2026-07-08 07:31: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'), 47637, 'SRID=4674;POINT (-40.302025 -2.801354)', '2026-07-08 07:31:45', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30187 -2.80132)'), GeomFromEWKT('SRID=4674;POINT (-40.302025 -2.801354)'))) / (select extract(epoch from '2026-07-08 07:31:45'::timestamp) - extract(epoch from '2026-07-08 07:31:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30187 -2.80132)'), GeomFromEWKT('SRID=4674;POINT (-40.302025 -2.801354)'))) / (select extract(epoch from '2026-07-08 07:31:45'::timestamp) - extract(epoch from '2026-07-08 07:31:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.302227 -2.801389)', '2026-07-08 07:31:54', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302025 -2.801354)'), GeomFromEWKT('SRID=4674;POINT (-40.302227 -2.801389)'))) / (select extract(epoch from '2026-07-08 07:31:54'::timestamp) - extract(epoch from '2026-07-08 07:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302025 -2.801354)'), GeomFromEWKT('SRID=4674;POINT (-40.302227 -2.801389)'))) / (select extract(epoch from '2026-07-08 07:31:54'::timestamp) - extract(epoch from '2026-07-08 07:31: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'), 47637, 'SRID=4674;POINT (-40.302362 -2.801397)', '2026-07-08 07:32:00', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302227 -2.801389)'), GeomFromEWKT('SRID=4674;POINT (-40.302362 -2.801397)'))) / (select extract(epoch from '2026-07-08 07:32:00'::timestamp) - extract(epoch from '2026-07-08 07:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302227 -2.801389)'), GeomFromEWKT('SRID=4674;POINT (-40.302362 -2.801397)'))) / (select extract(epoch from '2026-07-08 07:32:00'::timestamp) - extract(epoch from '2026-07-08 07:31:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.302523 -2.801406)', '2026-07-08 07:32:07', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302362 -2.801397)'), GeomFromEWKT('SRID=4674;POINT (-40.302523 -2.801406)'))) / (select extract(epoch from '2026-07-08 07:32:07'::timestamp) - extract(epoch from '2026-07-08 07:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302362 -2.801397)'), GeomFromEWKT('SRID=4674;POINT (-40.302523 -2.801406)'))) / (select extract(epoch from '2026-07-08 07:32:07'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47637, 'SRID=4674;POINT (-40.302658 -2.801409)', '2026-07-08 07:32:13', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302523 -2.801406)'), GeomFromEWKT('SRID=4674;POINT (-40.302658 -2.801409)'))) / (select extract(epoch from '2026-07-08 07:32:13'::timestamp) - extract(epoch from '2026-07-08 07:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302523 -2.801406)'), GeomFromEWKT('SRID=4674;POINT (-40.302658 -2.801409)'))) / (select extract(epoch from '2026-07-08 07:32:13'::timestamp) - extract(epoch from '2026-07-08 07:32:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.302801 -2.801403)', '2026-07-08 07:32:20', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302658 -2.801409)'), GeomFromEWKT('SRID=4674;POINT (-40.302801 -2.801403)'))) / (select extract(epoch from '2026-07-08 07:32:20'::timestamp) - extract(epoch from '2026-07-08 07:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302658 -2.801409)'), GeomFromEWKT('SRID=4674;POINT (-40.302801 -2.801403)'))) / (select extract(epoch from '2026-07-08 07:32:20'::timestamp) - extract(epoch from '2026-07-08 07:32: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'), 47637, 'SRID=4674;POINT (-40.302912 -2.801384)', '2026-07-08 07:32:27', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302801 -2.801403)'), GeomFromEWKT('SRID=4674;POINT (-40.302912 -2.801384)'))) / (select extract(epoch from '2026-07-08 07:32:27'::timestamp) - extract(epoch from '2026-07-08 07:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302801 -2.801403)'), GeomFromEWKT('SRID=4674;POINT (-40.302912 -2.801384)'))) / (select extract(epoch from '2026-07-08 07:32:27'::timestamp) - extract(epoch from '2026-07-08 07:32: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'), 47637, 'SRID=4674;POINT (-40.303015 -2.801343)', '2026-07-08 07:32:36', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302912 -2.801384)'), GeomFromEWKT('SRID=4674;POINT (-40.303015 -2.801343)'))) / (select extract(epoch from '2026-07-08 07:32:36'::timestamp) - extract(epoch from '2026-07-08 07:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302912 -2.801384)'), GeomFromEWKT('SRID=4674;POINT (-40.303015 -2.801343)'))) / (select extract(epoch from '2026-07-08 07:32:36'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47637, 'SRID=4674;POINT (-40.303033 -2.801329)', '2026-07-08 07:32:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303015 -2.801343)'), GeomFromEWKT('SRID=4674;POINT (-40.303033 -2.801329)'))) / (select extract(epoch from '2026-07-08 07:32:38'::timestamp) - extract(epoch from '2026-07-08 07:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303015 -2.801343)'), GeomFromEWKT('SRID=4674;POINT (-40.303033 -2.801329)'))) / (select extract(epoch from '2026-07-08 07:32:38'::timestamp) - extract(epoch from '2026-07-08 07:32: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'), 47637, 'SRID=4674;POINT (-40.303054 -2.801311)', '2026-07-08 07:32:41', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303033 -2.801329)'), GeomFromEWKT('SRID=4674;POINT (-40.303054 -2.801311)'))) / (select extract(epoch from '2026-07-08 07:32:41'::timestamp) - extract(epoch from '2026-07-08 07:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303033 -2.801329)'), GeomFromEWKT('SRID=4674;POINT (-40.303054 -2.801311)'))) / (select extract(epoch from '2026-07-08 07:32:41'::timestamp) - extract(epoch from '2026-07-08 07:32:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.303132 -2.801218)', '2026-07-08 07:33:00', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303054 -2.801311)'), GeomFromEWKT('SRID=4674;POINT (-40.303132 -2.801218)'))) / (select extract(epoch from '2026-07-08 07:33:00'::timestamp) - extract(epoch from '2026-07-08 07:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303054 -2.801311)'), GeomFromEWKT('SRID=4674;POINT (-40.303132 -2.801218)'))) / (select extract(epoch from '2026-07-08 07:33:00'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47637, 'SRID=4674;POINT (-40.303157 -2.801149)', '2026-07-08 07:33:17', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303132 -2.801218)'), GeomFromEWKT('SRID=4674;POINT (-40.303157 -2.801149)'))) / (select extract(epoch from '2026-07-08 07:33:17'::timestamp) - extract(epoch from '2026-07-08 07:33:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303132 -2.801218)'), GeomFromEWKT('SRID=4674;POINT (-40.303157 -2.801149)'))) / (select extract(epoch from '2026-07-08 07:33:17'::timestamp) - extract(epoch from '2026-07-08 07:33:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.303173 -2.801119)', '2026-07-08 07:33:29', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303157 -2.801149)'), GeomFromEWKT('SRID=4674;POINT (-40.303173 -2.801119)'))) / (select extract(epoch from '2026-07-08 07:33:29'::timestamp) - extract(epoch from '2026-07-08 07:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303157 -2.801149)'), GeomFromEWKT('SRID=4674;POINT (-40.303173 -2.801119)'))) / (select extract(epoch from '2026-07-08 07:33:29'::timestamp) - extract(epoch from '2026-07-08 07:33:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.303177 -2.801091)', '2026-07-08 07:33:45', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303173 -2.801119)'), GeomFromEWKT('SRID=4674;POINT (-40.303177 -2.801091)'))) / (select extract(epoch from '2026-07-08 07:33:45'::timestamp) - extract(epoch from '2026-07-08 07:33:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303173 -2.801119)'), GeomFromEWKT('SRID=4674;POINT (-40.303177 -2.801091)'))) / (select extract(epoch from '2026-07-08 07:33:45'::timestamp) - extract(epoch from '2026-07-08 07:33:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.30327 -2.801067)', '2026-07-08 07:34:48', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303177 -2.801091)'), GeomFromEWKT('SRID=4674;POINT (-40.30327 -2.801067)'))) / (select extract(epoch from '2026-07-08 07:34:48'::timestamp) - extract(epoch from '2026-07-08 07:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303177 -2.801091)'), GeomFromEWKT('SRID=4674;POINT (-40.30327 -2.801067)'))) / (select extract(epoch from '2026-07-08 07:34:48'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47637, 'SRID=4674;POINT (-40.303305 -2.800983)', '2026-07-08 07:35:09', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30327 -2.801067)'), GeomFromEWKT('SRID=4674;POINT (-40.303305 -2.800983)'))) / (select extract(epoch from '2026-07-08 07:35:09'::timestamp) - extract(epoch from '2026-07-08 07:34:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30327 -2.801067)'), GeomFromEWKT('SRID=4674;POINT (-40.303305 -2.800983)'))) / (select extract(epoch from '2026-07-08 07:35:09'::timestamp) - extract(epoch from '2026-07-08 07:34:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.303373 -2.800906)', '2026-07-08 07:35:32', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303305 -2.800983)'), GeomFromEWKT('SRID=4674;POINT (-40.303373 -2.800906)'))) / (select extract(epoch from '2026-07-08 07:35:32'::timestamp) - extract(epoch from '2026-07-08 07:35:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303305 -2.800983)'), GeomFromEWKT('SRID=4674;POINT (-40.303373 -2.800906)'))) / (select extract(epoch from '2026-07-08 07:35:32'::timestamp) - extract(epoch from '2026-07-08 07:35:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.30343 -2.800881)', '2026-07-08 07:35:42', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303373 -2.800906)'), GeomFromEWKT('SRID=4674;POINT (-40.30343 -2.800881)'))) / (select extract(epoch from '2026-07-08 07:35:42'::timestamp) - extract(epoch from '2026-07-08 07:35:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303373 -2.800906)'), GeomFromEWKT('SRID=4674;POINT (-40.30343 -2.800881)'))) / (select extract(epoch from '2026-07-08 07:35:42'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47637, 'SRID=4674;POINT (-40.30354 -2.800846)', '2026-07-08 07:35:59', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30343 -2.800881)'), GeomFromEWKT('SRID=4674;POINT (-40.30354 -2.800846)'))) / (select extract(epoch from '2026-07-08 07:35:59'::timestamp) - extract(epoch from '2026-07-08 07:35:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30343 -2.800881)'), GeomFromEWKT('SRID=4674;POINT (-40.30354 -2.800846)'))) / (select extract(epoch from '2026-07-08 07:35:59'::timestamp) - extract(epoch from '2026-07-08 07:35:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.303688 -2.800844)', '2026-07-08 07:36:19', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30354 -2.800846)'), GeomFromEWKT('SRID=4674;POINT (-40.303688 -2.800844)'))) / (select extract(epoch from '2026-07-08 07:36:19'::timestamp) - extract(epoch from '2026-07-08 07:35:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30354 -2.800846)'), GeomFromEWKT('SRID=4674;POINT (-40.303688 -2.800844)'))) / (select extract(epoch from '2026-07-08 07:36:19'::timestamp) - extract(epoch from '2026-07-08 07:35:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.303762 -2.800854)', '2026-07-08 07:36:29', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303688 -2.800844)'), GeomFromEWKT('SRID=4674;POINT (-40.303762 -2.800854)'))) / (select extract(epoch from '2026-07-08 07:36:29'::timestamp) - extract(epoch from '2026-07-08 07:36:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303688 -2.800844)'), GeomFromEWKT('SRID=4674;POINT (-40.303762 -2.800854)'))) / (select extract(epoch from '2026-07-08 07:36:29'::timestamp) - extract(epoch from '2026-07-08 07:36:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.303863 -2.800904)', '2026-07-08 07:36:43', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303762 -2.800854)'), GeomFromEWKT('SRID=4674;POINT (-40.303863 -2.800904)'))) / (select extract(epoch from '2026-07-08 07:36:43'::timestamp) - extract(epoch from '2026-07-08 07:36:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303762 -2.800854)'), GeomFromEWKT('SRID=4674;POINT (-40.303863 -2.800904)'))) / (select extract(epoch from '2026-07-08 07:36:43'::timestamp) - extract(epoch from '2026-07-08 07:36:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.303894 -2.800969)', '2026-07-08 07:36:56', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303863 -2.800904)'), GeomFromEWKT('SRID=4674;POINT (-40.303894 -2.800969)'))) / (select extract(epoch from '2026-07-08 07:36:56'::timestamp) - extract(epoch from '2026-07-08 07:36:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303863 -2.800904)'), GeomFromEWKT('SRID=4674;POINT (-40.303894 -2.800969)'))) / (select extract(epoch from '2026-07-08 07:36:56'::timestamp) - extract(epoch from '2026-07-08 07:36:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.303915 -2.801062)', '2026-07-08 07:37:14', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303894 -2.800969)'), GeomFromEWKT('SRID=4674;POINT (-40.303915 -2.801062)'))) / (select extract(epoch from '2026-07-08 07:37:14'::timestamp) - extract(epoch from '2026-07-08 07:36:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303894 -2.800969)'), GeomFromEWKT('SRID=4674;POINT (-40.303915 -2.801062)'))) / (select extract(epoch from '2026-07-08 07:37:14'::timestamp) - extract(epoch from '2026-07-08 07:36:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.303917 -2.80109)', '2026-07-08 07:37:21', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303915 -2.801062)'), GeomFromEWKT('SRID=4674;POINT (-40.303917 -2.80109)'))) / (select extract(epoch from '2026-07-08 07:37:21'::timestamp) - extract(epoch from '2026-07-08 07:37:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303915 -2.801062)'), GeomFromEWKT('SRID=4674;POINT (-40.303917 -2.80109)'))) / (select extract(epoch from '2026-07-08 07:37:21'::timestamp) - extract(epoch from '2026-07-08 07:37:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.303918 -2.801127)', '2026-07-08 07:37:35', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303917 -2.80109)'), GeomFromEWKT('SRID=4674;POINT (-40.303918 -2.801127)'))) / (select extract(epoch from '2026-07-08 07:37:35'::timestamp) - extract(epoch from '2026-07-08 07:37:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303917 -2.80109)'), GeomFromEWKT('SRID=4674;POINT (-40.303918 -2.801127)'))) / (select extract(epoch from '2026-07-08 07:37:35'::timestamp) - extract(epoch from '2026-07-08 07:37:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.30396 -2.801182)', '2026-07-08 07:37:43', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303918 -2.801127)'), GeomFromEWKT('SRID=4674;POINT (-40.30396 -2.801182)'))) / (select extract(epoch from '2026-07-08 07:37:43'::timestamp) - extract(epoch from '2026-07-08 07:37:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303918 -2.801127)'), GeomFromEWKT('SRID=4674;POINT (-40.30396 -2.801182)'))) / (select extract(epoch from '2026-07-08 07:37:43'::timestamp) - extract(epoch from '2026-07-08 07:37:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.304042 -2.801267)', '2026-07-08 07:37:56', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30396 -2.801182)'), GeomFromEWKT('SRID=4674;POINT (-40.304042 -2.801267)'))) / (select extract(epoch from '2026-07-08 07:37:56'::timestamp) - extract(epoch from '2026-07-08 07:37:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30396 -2.801182)'), GeomFromEWKT('SRID=4674;POINT (-40.304042 -2.801267)'))) / (select extract(epoch from '2026-07-08 07:37:56'::timestamp) - extract(epoch from '2026-07-08 07:37:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.304173 -2.801345)', '2026-07-08 07:38:07', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304042 -2.801267)'), GeomFromEWKT('SRID=4674;POINT (-40.304173 -2.801345)'))) / (select extract(epoch from '2026-07-08 07:38:07'::timestamp) - extract(epoch from '2026-07-08 07:37:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304042 -2.801267)'), GeomFromEWKT('SRID=4674;POINT (-40.304173 -2.801345)'))) / (select extract(epoch from '2026-07-08 07:38:07'::timestamp) - extract(epoch from '2026-07-08 07:37:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.304328 -2.801366)', '2026-07-08 07:38:16', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304173 -2.801345)'), GeomFromEWKT('SRID=4674;POINT (-40.304328 -2.801366)'))) / (select extract(epoch from '2026-07-08 07:38:16'::timestamp) - extract(epoch from '2026-07-08 07:38:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304173 -2.801345)'), GeomFromEWKT('SRID=4674;POINT (-40.304328 -2.801366)'))) / (select extract(epoch from '2026-07-08 07:38:16'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47637, 'SRID=4674;POINT (-40.304417 -2.80139)', '2026-07-08 07:38:21', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304328 -2.801366)'), GeomFromEWKT('SRID=4674;POINT (-40.304417 -2.80139)'))) / (select extract(epoch from '2026-07-08 07:38:21'::timestamp) - extract(epoch from '2026-07-08 07:38:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304328 -2.801366)'), GeomFromEWKT('SRID=4674;POINT (-40.304417 -2.80139)'))) / (select extract(epoch from '2026-07-08 07:38:21'::timestamp) - extract(epoch from '2026-07-08 07:38:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.304591 -2.801434)', '2026-07-08 07:38:30', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304417 -2.80139)'), GeomFromEWKT('SRID=4674;POINT (-40.304591 -2.801434)'))) / (select extract(epoch from '2026-07-08 07:38:30'::timestamp) - extract(epoch from '2026-07-08 07:38:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304417 -2.80139)'), GeomFromEWKT('SRID=4674;POINT (-40.304591 -2.801434)'))) / (select extract(epoch from '2026-07-08 07:38:30'::timestamp) - extract(epoch from '2026-07-08 07:38: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'), 47637, 'SRID=4674;POINT (-40.304759 -2.801447)', '2026-07-08 07:38:39', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304591 -2.801434)'), GeomFromEWKT('SRID=4674;POINT (-40.304759 -2.801447)'))) / (select extract(epoch from '2026-07-08 07:38:39'::timestamp) - extract(epoch from '2026-07-08 07:38:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304591 -2.801434)'), GeomFromEWKT('SRID=4674;POINT (-40.304759 -2.801447)'))) / (select extract(epoch from '2026-07-08 07:38:39'::timestamp) - extract(epoch from '2026-07-08 07:38:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.304886 -2.801465)', '2026-07-08 07:38:46', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304759 -2.801447)'), GeomFromEWKT('SRID=4674;POINT (-40.304886 -2.801465)'))) / (select extract(epoch from '2026-07-08 07:38:46'::timestamp) - extract(epoch from '2026-07-08 07:38:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304759 -2.801447)'), GeomFromEWKT('SRID=4674;POINT (-40.304886 -2.801465)'))) / (select extract(epoch from '2026-07-08 07:38:46'::timestamp) - extract(epoch from '2026-07-08 07:38:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.305014 -2.801473)', '2026-07-08 07:38:53', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304886 -2.801465)'), GeomFromEWKT('SRID=4674;POINT (-40.305014 -2.801473)'))) / (select extract(epoch from '2026-07-08 07:38:53'::timestamp) - extract(epoch from '2026-07-08 07:38:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304886 -2.801465)'), GeomFromEWKT('SRID=4674;POINT (-40.305014 -2.801473)'))) / (select extract(epoch from '2026-07-08 07:38:53'::timestamp) - extract(epoch from '2026-07-08 07:38:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.305144 -2.801495)', '2026-07-08 07:39:00', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305014 -2.801473)'), GeomFromEWKT('SRID=4674;POINT (-40.305144 -2.801495)'))) / (select extract(epoch from '2026-07-08 07:39:00'::timestamp) - extract(epoch from '2026-07-08 07:38:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305014 -2.801473)'), GeomFromEWKT('SRID=4674;POINT (-40.305144 -2.801495)'))) / (select extract(epoch from '2026-07-08 07:39:00'::timestamp) - extract(epoch from '2026-07-08 07:38: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'), 47637, 'SRID=4674;POINT (-40.305278 -2.801526)', '2026-07-08 07:39:07', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305144 -2.801495)'), GeomFromEWKT('SRID=4674;POINT (-40.305278 -2.801526)'))) / (select extract(epoch from '2026-07-08 07:39:07'::timestamp) - extract(epoch from '2026-07-08 07:39:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305144 -2.801495)'), GeomFromEWKT('SRID=4674;POINT (-40.305278 -2.801526)'))) / (select extract(epoch from '2026-07-08 07:39:07'::timestamp) - extract(epoch from '2026-07-08 07:39:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.305421 -2.801542)', '2026-07-08 07:39:15', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305278 -2.801526)'), GeomFromEWKT('SRID=4674;POINT (-40.305421 -2.801542)'))) / (select extract(epoch from '2026-07-08 07:39:15'::timestamp) - extract(epoch from '2026-07-08 07:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305278 -2.801526)'), GeomFromEWKT('SRID=4674;POINT (-40.305421 -2.801542)'))) / (select extract(epoch from '2026-07-08 07:39:15'::timestamp) - extract(epoch from '2026-07-08 07:39:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.305585 -2.801556)', '2026-07-08 07:39:24', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305421 -2.801542)'), GeomFromEWKT('SRID=4674;POINT (-40.305585 -2.801556)'))) / (select extract(epoch from '2026-07-08 07:39:24'::timestamp) - extract(epoch from '2026-07-08 07:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305421 -2.801542)'), GeomFromEWKT('SRID=4674;POINT (-40.305585 -2.801556)'))) / (select extract(epoch from '2026-07-08 07:39:24'::timestamp) - extract(epoch from '2026-07-08 07:39: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'), 47637, 'SRID=4674;POINT (-40.305728 -2.801577)', '2026-07-08 07:39:31', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305585 -2.801556)'), GeomFromEWKT('SRID=4674;POINT (-40.305728 -2.801577)'))) / (select extract(epoch from '2026-07-08 07:39:31'::timestamp) - extract(epoch from '2026-07-08 07:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305585 -2.801556)'), GeomFromEWKT('SRID=4674;POINT (-40.305728 -2.801577)'))) / (select extract(epoch from '2026-07-08 07:39:31'::timestamp) - extract(epoch from '2026-07-08 07:39:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.305867 -2.801611)', '2026-07-08 07:39:38', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305728 -2.801577)'), GeomFromEWKT('SRID=4674;POINT (-40.305867 -2.801611)'))) / (select extract(epoch from '2026-07-08 07:39:38'::timestamp) - extract(epoch from '2026-07-08 07:39:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305728 -2.801577)'), GeomFromEWKT('SRID=4674;POINT (-40.305867 -2.801611)'))) / (select extract(epoch from '2026-07-08 07:39:38'::timestamp) - extract(epoch from '2026-07-08 07:39:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.30604 -2.801651)', '2026-07-08 07:39:46', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305867 -2.801611)'), GeomFromEWKT('SRID=4674;POINT (-40.30604 -2.801651)'))) / (select extract(epoch from '2026-07-08 07:39:46'::timestamp) - extract(epoch from '2026-07-08 07:39:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305867 -2.801611)'), GeomFromEWKT('SRID=4674;POINT (-40.30604 -2.801651)'))) / (select extract(epoch from '2026-07-08 07:39:46'::timestamp) - extract(epoch from '2026-07-08 07:39:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.306205 -2.801685)', '2026-07-08 07:39:54', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30604 -2.801651)'), GeomFromEWKT('SRID=4674;POINT (-40.306205 -2.801685)'))) / (select extract(epoch from '2026-07-08 07:39:54'::timestamp) - extract(epoch from '2026-07-08 07:39:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30604 -2.801651)'), GeomFromEWKT('SRID=4674;POINT (-40.306205 -2.801685)'))) / (select extract(epoch from '2026-07-08 07:39:54'::timestamp) - extract(epoch from '2026-07-08 07:39:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.306352 -2.801702)', '2026-07-08 07:40:02', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306205 -2.801685)'), GeomFromEWKT('SRID=4674;POINT (-40.306352 -2.801702)'))) / (select extract(epoch from '2026-07-08 07:40:02'::timestamp) - extract(epoch from '2026-07-08 07:39:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306205 -2.801685)'), GeomFromEWKT('SRID=4674;POINT (-40.306352 -2.801702)'))) / (select extract(epoch from '2026-07-08 07:40:02'::timestamp) - extract(epoch from '2026-07-08 07:39:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.306503 -2.801717)', '2026-07-08 07:40:11', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306352 -2.801702)'), GeomFromEWKT('SRID=4674;POINT (-40.306503 -2.801717)'))) / (select extract(epoch from '2026-07-08 07:40:11'::timestamp) - extract(epoch from '2026-07-08 07:40:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306352 -2.801702)'), GeomFromEWKT('SRID=4674;POINT (-40.306503 -2.801717)'))) / (select extract(epoch from '2026-07-08 07:40:11'::timestamp) - extract(epoch from '2026-07-08 07:40:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.3066 -2.801747)', '2026-07-08 07:40:16', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306503 -2.801717)'), GeomFromEWKT('SRID=4674;POINT (-40.3066 -2.801747)'))) / (select extract(epoch from '2026-07-08 07:40:16'::timestamp) - extract(epoch from '2026-07-08 07:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306503 -2.801717)'), GeomFromEWKT('SRID=4674;POINT (-40.3066 -2.801747)'))) / (select extract(epoch from '2026-07-08 07:40:16'::timestamp) - extract(epoch from '2026-07-08 07:40: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'), 47637, 'SRID=4674;POINT (-40.30675 -2.801765)', '2026-07-08 07:40:24', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3066 -2.801747)'), GeomFromEWKT('SRID=4674;POINT (-40.30675 -2.801765)'))) / (select extract(epoch from '2026-07-08 07:40:24'::timestamp) - extract(epoch from '2026-07-08 07:40:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3066 -2.801747)'), GeomFromEWKT('SRID=4674;POINT (-40.30675 -2.801765)'))) / (select extract(epoch from '2026-07-08 07:40:24'::timestamp) - extract(epoch from '2026-07-08 07:40: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'), 47637, 'SRID=4674;POINT (-40.306921 -2.801777)', '2026-07-08 07:40:34', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30675 -2.801765)'), GeomFromEWKT('SRID=4674;POINT (-40.306921 -2.801777)'))) / (select extract(epoch from '2026-07-08 07:40:34'::timestamp) - extract(epoch from '2026-07-08 07:40:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30675 -2.801765)'), GeomFromEWKT('SRID=4674;POINT (-40.306921 -2.801777)'))) / (select extract(epoch from '2026-07-08 07:40:34'::timestamp) - extract(epoch from '2026-07-08 07:40:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.307059 -2.801776)', '2026-07-08 07:40:42', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306921 -2.801777)'), GeomFromEWKT('SRID=4674;POINT (-40.307059 -2.801776)'))) / (select extract(epoch from '2026-07-08 07:40:42'::timestamp) - extract(epoch from '2026-07-08 07:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306921 -2.801777)'), GeomFromEWKT('SRID=4674;POINT (-40.307059 -2.801776)'))) / (select extract(epoch from '2026-07-08 07:40:42'::timestamp) - extract(epoch from '2026-07-08 07:40:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.307155 -2.801767)', '2026-07-08 07:40:48', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307059 -2.801776)'), GeomFromEWKT('SRID=4674;POINT (-40.307155 -2.801767)'))) / (select extract(epoch from '2026-07-08 07:40:48'::timestamp) - extract(epoch from '2026-07-08 07:40:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307059 -2.801776)'), GeomFromEWKT('SRID=4674;POINT (-40.307155 -2.801767)'))) / (select extract(epoch from '2026-07-08 07:40:48'::timestamp) - extract(epoch from '2026-07-08 07:40:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.307269 -2.801764)', '2026-07-08 07:40:55', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307155 -2.801767)'), GeomFromEWKT('SRID=4674;POINT (-40.307269 -2.801764)'))) / (select extract(epoch from '2026-07-08 07:40:55'::timestamp) - extract(epoch from '2026-07-08 07:40:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307155 -2.801767)'), GeomFromEWKT('SRID=4674;POINT (-40.307269 -2.801764)'))) / (select extract(epoch from '2026-07-08 07:40:55'::timestamp) - extract(epoch from '2026-07-08 07:40:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.307425 -2.801761)', '2026-07-08 07:41:05', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307269 -2.801764)'), GeomFromEWKT('SRID=4674;POINT (-40.307425 -2.801761)'))) / (select extract(epoch from '2026-07-08 07:41:05'::timestamp) - extract(epoch from '2026-07-08 07:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307269 -2.801764)'), GeomFromEWKT('SRID=4674;POINT (-40.307425 -2.801761)'))) / (select extract(epoch from '2026-07-08 07:41:05'::timestamp) - extract(epoch from '2026-07-08 07:40:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.307571 -2.801765)', '2026-07-08 07:41:14', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307425 -2.801761)'), GeomFromEWKT('SRID=4674;POINT (-40.307571 -2.801765)'))) / (select extract(epoch from '2026-07-08 07:41:14'::timestamp) - extract(epoch from '2026-07-08 07:41:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307425 -2.801761)'), GeomFromEWKT('SRID=4674;POINT (-40.307571 -2.801765)'))) / (select extract(epoch from '2026-07-08 07:41:14'::timestamp) - extract(epoch from '2026-07-08 07:41:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.307702 -2.801776)', '2026-07-08 07:41:22', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307571 -2.801765)'), GeomFromEWKT('SRID=4674;POINT (-40.307702 -2.801776)'))) / (select extract(epoch from '2026-07-08 07:41:22'::timestamp) - extract(epoch from '2026-07-08 07:41:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307571 -2.801765)'), GeomFromEWKT('SRID=4674;POINT (-40.307702 -2.801776)'))) / (select extract(epoch from '2026-07-08 07:41:22'::timestamp) - extract(epoch from '2026-07-08 07:41: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'), 47637, 'SRID=4674;POINT (-40.307869 -2.801791)', '2026-07-08 07:41:31', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307702 -2.801776)'), GeomFromEWKT('SRID=4674;POINT (-40.307869 -2.801791)'))) / (select extract(epoch from '2026-07-08 07:41:31'::timestamp) - extract(epoch from '2026-07-08 07:41:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307702 -2.801776)'), GeomFromEWKT('SRID=4674;POINT (-40.307869 -2.801791)'))) / (select extract(epoch from '2026-07-08 07:41:31'::timestamp) - extract(epoch from '2026-07-08 07:41:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.308049 -2.801802)', '2026-07-08 07:41:40', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307869 -2.801791)'), GeomFromEWKT('SRID=4674;POINT (-40.308049 -2.801802)'))) / (select extract(epoch from '2026-07-08 07:41:40'::timestamp) - extract(epoch from '2026-07-08 07:41:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307869 -2.801791)'), GeomFromEWKT('SRID=4674;POINT (-40.308049 -2.801802)'))) / (select extract(epoch from '2026-07-08 07:41:40'::timestamp) - extract(epoch from '2026-07-08 07:41: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'), 47637, 'SRID=4674;POINT (-40.308188 -2.801798)', '2026-07-08 07:41:47', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308049 -2.801802)'), GeomFromEWKT('SRID=4674;POINT (-40.308188 -2.801798)'))) / (select extract(epoch from '2026-07-08 07:41:47'::timestamp) - extract(epoch from '2026-07-08 07:41:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308049 -2.801802)'), GeomFromEWKT('SRID=4674;POINT (-40.308188 -2.801798)'))) / (select extract(epoch from '2026-07-08 07:41:47'::timestamp) - extract(epoch from '2026-07-08 07:41: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'), 47637, 'SRID=4674;POINT (-40.308363 -2.801789)', '2026-07-08 07:41:56', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308188 -2.801798)'), GeomFromEWKT('SRID=4674;POINT (-40.308363 -2.801789)'))) / (select extract(epoch from '2026-07-08 07:41:56'::timestamp) - extract(epoch from '2026-07-08 07:41:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308188 -2.801798)'), GeomFromEWKT('SRID=4674;POINT (-40.308363 -2.801789)'))) / (select extract(epoch from '2026-07-08 07:41:56'::timestamp) - extract(epoch from '2026-07-08 07:41: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'), 47637, 'SRID=4674;POINT (-40.308504 -2.801785)', '2026-07-08 07:42:03', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308363 -2.801789)'), GeomFromEWKT('SRID=4674;POINT (-40.308504 -2.801785)'))) / (select extract(epoch from '2026-07-08 07:42:03'::timestamp) - extract(epoch from '2026-07-08 07:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308363 -2.801789)'), GeomFromEWKT('SRID=4674;POINT (-40.308504 -2.801785)'))) / (select extract(epoch from '2026-07-08 07:42:03'::timestamp) - extract(epoch from '2026-07-08 07:41:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.30865 -2.801781)', '2026-07-08 07:42:11', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308504 -2.801785)'), GeomFromEWKT('SRID=4674;POINT (-40.30865 -2.801781)'))) / (select extract(epoch from '2026-07-08 07:42:11'::timestamp) - extract(epoch from '2026-07-08 07:42:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308504 -2.801785)'), GeomFromEWKT('SRID=4674;POINT (-40.30865 -2.801781)'))) / (select extract(epoch from '2026-07-08 07:42:11'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47637, 'SRID=4674;POINT (-40.308795 -2.801779)', '2026-07-08 07:42:19', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30865 -2.801781)'), GeomFromEWKT('SRID=4674;POINT (-40.308795 -2.801779)'))) / (select extract(epoch from '2026-07-08 07:42:19'::timestamp) - extract(epoch from '2026-07-08 07:42:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30865 -2.801781)'), GeomFromEWKT('SRID=4674;POINT (-40.308795 -2.801779)'))) / (select extract(epoch from '2026-07-08 07:42:19'::timestamp) - extract(epoch from '2026-07-08 07:42: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'), 47637, 'SRID=4674;POINT (-40.308951 -2.80177)', '2026-07-08 07:42:28', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308795 -2.801779)'), GeomFromEWKT('SRID=4674;POINT (-40.308951 -2.80177)'))) / (select extract(epoch from '2026-07-08 07:42:28'::timestamp) - extract(epoch from '2026-07-08 07:42:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308795 -2.801779)'), GeomFromEWKT('SRID=4674;POINT (-40.308951 -2.80177)'))) / (select extract(epoch from '2026-07-08 07:42:28'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47637, 'SRID=4674;POINT (-40.309103 -2.801756)', '2026-07-08 07:42:37', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308951 -2.80177)'), GeomFromEWKT('SRID=4674;POINT (-40.309103 -2.801756)'))) / (select extract(epoch from '2026-07-08 07:42:37'::timestamp) - extract(epoch from '2026-07-08 07:42:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308951 -2.80177)'), GeomFromEWKT('SRID=4674;POINT (-40.309103 -2.801756)'))) / (select extract(epoch from '2026-07-08 07:42:37'::timestamp) - extract(epoch from '2026-07-08 07:42: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'), 47637, 'SRID=4674;POINT (-40.309288 -2.801748)', '2026-07-08 07:42:47', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309103 -2.801756)'), GeomFromEWKT('SRID=4674;POINT (-40.309288 -2.801748)'))) / (select extract(epoch from '2026-07-08 07:42:47'::timestamp) - extract(epoch from '2026-07-08 07:42:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309103 -2.801756)'), GeomFromEWKT('SRID=4674;POINT (-40.309288 -2.801748)'))) / (select extract(epoch from '2026-07-08 07:42:47'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47637, 'SRID=4674;POINT (-40.309448 -2.801755)', '2026-07-08 07:42:55', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309288 -2.801748)'), GeomFromEWKT('SRID=4674;POINT (-40.309448 -2.801755)'))) / (select extract(epoch from '2026-07-08 07:42:55'::timestamp) - extract(epoch from '2026-07-08 07:42:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309288 -2.801748)'), GeomFromEWKT('SRID=4674;POINT (-40.309448 -2.801755)'))) / (select extract(epoch from '2026-07-08 07:42:55'::timestamp) - extract(epoch from '2026-07-08 07:42: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'), 47637, 'SRID=4674;POINT (-40.309585 -2.801756)', '2026-07-08 07:43:02', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309448 -2.801755)'), GeomFromEWKT('SRID=4674;POINT (-40.309585 -2.801756)'))) / (select extract(epoch from '2026-07-08 07:43:02'::timestamp) - extract(epoch from '2026-07-08 07:42:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309448 -2.801755)'), GeomFromEWKT('SRID=4674;POINT (-40.309585 -2.801756)'))) / (select extract(epoch from '2026-07-08 07:43:02'::timestamp) - extract(epoch from '2026-07-08 07:42:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.30973 -2.801748)', '2026-07-08 07:43:10', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309585 -2.801756)'), GeomFromEWKT('SRID=4674;POINT (-40.30973 -2.801748)'))) / (select extract(epoch from '2026-07-08 07:43:10'::timestamp) - extract(epoch from '2026-07-08 07:43:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309585 -2.801756)'), GeomFromEWKT('SRID=4674;POINT (-40.30973 -2.801748)'))) / (select extract(epoch from '2026-07-08 07:43:10'::timestamp) - extract(epoch from '2026-07-08 07:43: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'), 47637, 'SRID=4674;POINT (-40.309873 -2.801743)', '2026-07-08 07:43:18', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30973 -2.801748)'), GeomFromEWKT('SRID=4674;POINT (-40.309873 -2.801743)'))) / (select extract(epoch from '2026-07-08 07:43:18'::timestamp) - extract(epoch from '2026-07-08 07:43:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30973 -2.801748)'), GeomFromEWKT('SRID=4674;POINT (-40.309873 -2.801743)'))) / (select extract(epoch from '2026-07-08 07:43:18'::timestamp) - extract(epoch from '2026-07-08 07:43: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'), 47637, 'SRID=4674;POINT (-40.310014 -2.801733)', '2026-07-08 07:43:26', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309873 -2.801743)'), GeomFromEWKT('SRID=4674;POINT (-40.310014 -2.801733)'))) / (select extract(epoch from '2026-07-08 07:43:26'::timestamp) - extract(epoch from '2026-07-08 07:43:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309873 -2.801743)'), GeomFromEWKT('SRID=4674;POINT (-40.310014 -2.801733)'))) / (select extract(epoch from '2026-07-08 07:43:26'::timestamp) - extract(epoch from '2026-07-08 07:43:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.310154 -2.801721)', '2026-07-08 07:43:34', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310014 -2.801733)'), GeomFromEWKT('SRID=4674;POINT (-40.310154 -2.801721)'))) / (select extract(epoch from '2026-07-08 07:43:34'::timestamp) - extract(epoch from '2026-07-08 07:43:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310014 -2.801733)'), GeomFromEWKT('SRID=4674;POINT (-40.310154 -2.801721)'))) / (select extract(epoch from '2026-07-08 07:43:34'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47637, 'SRID=4674;POINT (-40.310319 -2.801711)', '2026-07-08 07:43:43', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310154 -2.801721)'), GeomFromEWKT('SRID=4674;POINT (-40.310319 -2.801711)'))) / (select extract(epoch from '2026-07-08 07:43:43'::timestamp) - extract(epoch from '2026-07-08 07:43:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310154 -2.801721)'), GeomFromEWKT('SRID=4674;POINT (-40.310319 -2.801711)'))) / (select extract(epoch from '2026-07-08 07:43:43'::timestamp) - extract(epoch from '2026-07-08 07:43: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'), 47637, 'SRID=4674;POINT (-40.310454 -2.801696)', '2026-07-08 07:43:51', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310319 -2.801711)'), GeomFromEWKT('SRID=4674;POINT (-40.310454 -2.801696)'))) / (select extract(epoch from '2026-07-08 07:43:51'::timestamp) - extract(epoch from '2026-07-08 07:43:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310319 -2.801711)'), GeomFromEWKT('SRID=4674;POINT (-40.310454 -2.801696)'))) / (select extract(epoch from '2026-07-08 07:43:51'::timestamp) - extract(epoch from '2026-07-08 07:43:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.31057 -2.80169)', '2026-07-08 07:43:58', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310454 -2.801696)'), GeomFromEWKT('SRID=4674;POINT (-40.31057 -2.80169)'))) / (select extract(epoch from '2026-07-08 07:43:58'::timestamp) - extract(epoch from '2026-07-08 07:43:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310454 -2.801696)'), GeomFromEWKT('SRID=4674;POINT (-40.31057 -2.80169)'))) / (select extract(epoch from '2026-07-08 07:43:58'::timestamp) - extract(epoch from '2026-07-08 07:43: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'), 47637, 'SRID=4674;POINT (-40.310697 -2.80168)', '2026-07-08 07:44:06', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31057 -2.80169)'), GeomFromEWKT('SRID=4674;POINT (-40.310697 -2.80168)'))) / (select extract(epoch from '2026-07-08 07:44:06'::timestamp) - extract(epoch from '2026-07-08 07:43:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31057 -2.80169)'), GeomFromEWKT('SRID=4674;POINT (-40.310697 -2.80168)'))) / (select extract(epoch from '2026-07-08 07:44:06'::timestamp) - extract(epoch from '2026-07-08 07:43: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'), 47637, 'SRID=4674;POINT (-40.31084 -2.801667)', '2026-07-08 07:44:15', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310697 -2.80168)'), GeomFromEWKT('SRID=4674;POINT (-40.31084 -2.801667)'))) / (select extract(epoch from '2026-07-08 07:44:15'::timestamp) - extract(epoch from '2026-07-08 07:44:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310697 -2.80168)'), GeomFromEWKT('SRID=4674;POINT (-40.31084 -2.801667)'))) / (select extract(epoch from '2026-07-08 07:44:15'::timestamp) - extract(epoch from '2026-07-08 07:44:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.310949 -2.801655)', '2026-07-08 07:44:22', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31084 -2.801667)'), GeomFromEWKT('SRID=4674;POINT (-40.310949 -2.801655)'))) / (select extract(epoch from '2026-07-08 07:44:22'::timestamp) - extract(epoch from '2026-07-08 07:44:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31084 -2.801667)'), GeomFromEWKT('SRID=4674;POINT (-40.310949 -2.801655)'))) / (select extract(epoch from '2026-07-08 07:44:22'::timestamp) - extract(epoch from '2026-07-08 07:44:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.31104 -2.801646)', '2026-07-08 07:44:28', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310949 -2.801655)'), GeomFromEWKT('SRID=4674;POINT (-40.31104 -2.801646)'))) / (select extract(epoch from '2026-07-08 07:44:28'::timestamp) - extract(epoch from '2026-07-08 07:44:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310949 -2.801655)'), GeomFromEWKT('SRID=4674;POINT (-40.31104 -2.801646)'))) / (select extract(epoch from '2026-07-08 07:44:28'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47637, 'SRID=4674;POINT (-40.311135 -2.801644)', '2026-07-08 07:44:34', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31104 -2.801646)'), GeomFromEWKT('SRID=4674;POINT (-40.311135 -2.801644)'))) / (select extract(epoch from '2026-07-08 07:44:34'::timestamp) - extract(epoch from '2026-07-08 07:44:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31104 -2.801646)'), GeomFromEWKT('SRID=4674;POINT (-40.311135 -2.801644)'))) / (select extract(epoch from '2026-07-08 07:44:34'::timestamp) - extract(epoch from '2026-07-08 07:44: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'), 47637, 'SRID=4674;POINT (-40.311284 -2.801635)', '2026-07-08 07:44:44', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311135 -2.801644)'), GeomFromEWKT('SRID=4674;POINT (-40.311284 -2.801635)'))) / (select extract(epoch from '2026-07-08 07:44:44'::timestamp) - extract(epoch from '2026-07-08 07:44:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311135 -2.801644)'), GeomFromEWKT('SRID=4674;POINT (-40.311284 -2.801635)'))) / (select extract(epoch from '2026-07-08 07:44:44'::timestamp) - extract(epoch from '2026-07-08 07:44:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.31145 -2.801624)', '2026-07-08 07:44:55', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311284 -2.801635)'), GeomFromEWKT('SRID=4674;POINT (-40.31145 -2.801624)'))) / (select extract(epoch from '2026-07-08 07:44:55'::timestamp) - extract(epoch from '2026-07-08 07:44:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311284 -2.801635)'), GeomFromEWKT('SRID=4674;POINT (-40.31145 -2.801624)'))) / (select extract(epoch from '2026-07-08 07:44:55'::timestamp) - extract(epoch from '2026-07-08 07:44: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'), 47637, 'SRID=4674;POINT (-40.311543 -2.801615)', '2026-07-08 07:45:01', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31145 -2.801624)'), GeomFromEWKT('SRID=4674;POINT (-40.311543 -2.801615)'))) / (select extract(epoch from '2026-07-08 07:45:01'::timestamp) - extract(epoch from '2026-07-08 07:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31145 -2.801624)'), GeomFromEWKT('SRID=4674;POINT (-40.311543 -2.801615)'))) / (select extract(epoch from '2026-07-08 07:45:01'::timestamp) - extract(epoch from '2026-07-08 07:44: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'), 47637, 'SRID=4674;POINT (-40.311641 -2.801603)', '2026-07-08 07:45:08', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311543 -2.801615)'), GeomFromEWKT('SRID=4674;POINT (-40.311641 -2.801603)'))) / (select extract(epoch from '2026-07-08 07:45:08'::timestamp) - extract(epoch from '2026-07-08 07:45:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311543 -2.801615)'), GeomFromEWKT('SRID=4674;POINT (-40.311641 -2.801603)'))) / (select extract(epoch from '2026-07-08 07:45:08'::timestamp) - extract(epoch from '2026-07-08 07:45:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.311737 -2.801588)', '2026-07-08 07:45:15', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311641 -2.801603)'), GeomFromEWKT('SRID=4674;POINT (-40.311737 -2.801588)'))) / (select extract(epoch from '2026-07-08 07:45:15'::timestamp) - extract(epoch from '2026-07-08 07:45:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311641 -2.801603)'), GeomFromEWKT('SRID=4674;POINT (-40.311737 -2.801588)'))) / (select extract(epoch from '2026-07-08 07:45:15'::timestamp) - extract(epoch from '2026-07-08 07:45:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.311865 -2.801582)', '2026-07-08 07:45:24', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311737 -2.801588)'), GeomFromEWKT('SRID=4674;POINT (-40.311865 -2.801582)'))) / (select extract(epoch from '2026-07-08 07:45:24'::timestamp) - extract(epoch from '2026-07-08 07:45:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311737 -2.801588)'), GeomFromEWKT('SRID=4674;POINT (-40.311865 -2.801582)'))) / (select extract(epoch from '2026-07-08 07:45:24'::timestamp) - extract(epoch from '2026-07-08 07:45:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.312003 -2.801575)', '2026-07-08 07:45:34', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311865 -2.801582)'), GeomFromEWKT('SRID=4674;POINT (-40.312003 -2.801575)'))) / (select extract(epoch from '2026-07-08 07:45:34'::timestamp) - extract(epoch from '2026-07-08 07:45:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311865 -2.801582)'), GeomFromEWKT('SRID=4674;POINT (-40.312003 -2.801575)'))) / (select extract(epoch from '2026-07-08 07:45:34'::timestamp) - extract(epoch from '2026-07-08 07:45: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'), 47637, 'SRID=4674;POINT (-40.312121 -2.801567)', '2026-07-08 07:45:43', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312003 -2.801575)'), GeomFromEWKT('SRID=4674;POINT (-40.312121 -2.801567)'))) / (select extract(epoch from '2026-07-08 07:45:43'::timestamp) - extract(epoch from '2026-07-08 07:45:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312003 -2.801575)'), GeomFromEWKT('SRID=4674;POINT (-40.312121 -2.801567)'))) / (select extract(epoch from '2026-07-08 07:45:43'::timestamp) - extract(epoch from '2026-07-08 07:45: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'), 47637, 'SRID=4674;POINT (-40.312234 -2.801556)', '2026-07-08 07:45:52', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312121 -2.801567)'), GeomFromEWKT('SRID=4674;POINT (-40.312234 -2.801556)'))) / (select extract(epoch from '2026-07-08 07:45:52'::timestamp) - extract(epoch from '2026-07-08 07:45:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312121 -2.801567)'), GeomFromEWKT('SRID=4674;POINT (-40.312234 -2.801556)'))) / (select extract(epoch from '2026-07-08 07:45:52'::timestamp) - extract(epoch from '2026-07-08 07:45: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'), 47637, 'SRID=4674;POINT (-40.312309 -2.801551)', '2026-07-08 07:45:58', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312234 -2.801556)'), GeomFromEWKT('SRID=4674;POINT (-40.312309 -2.801551)'))) / (select extract(epoch from '2026-07-08 07:45:58'::timestamp) - extract(epoch from '2026-07-08 07:45:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312234 -2.801556)'), GeomFromEWKT('SRID=4674;POINT (-40.312309 -2.801551)'))) / (select extract(epoch from '2026-07-08 07:45:58'::timestamp) - extract(epoch from '2026-07-08 07:45:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.312439 -2.801548)', '2026-07-08 07:46:08', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312309 -2.801551)'), GeomFromEWKT('SRID=4674;POINT (-40.312439 -2.801548)'))) / (select extract(epoch from '2026-07-08 07:46:08'::timestamp) - extract(epoch from '2026-07-08 07:45:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312309 -2.801551)'), GeomFromEWKT('SRID=4674;POINT (-40.312439 -2.801548)'))) / (select extract(epoch from '2026-07-08 07:46:08'::timestamp) - extract(epoch from '2026-07-08 07:45: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'), 47637, 'SRID=4674;POINT (-40.312561 -2.801544)', '2026-07-08 07:46:17', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312439 -2.801548)'), GeomFromEWKT('SRID=4674;POINT (-40.312561 -2.801544)'))) / (select extract(epoch from '2026-07-08 07:46:17'::timestamp) - extract(epoch from '2026-07-08 07:46:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312439 -2.801548)'), GeomFromEWKT('SRID=4674;POINT (-40.312561 -2.801544)'))) / (select extract(epoch from '2026-07-08 07:46:17'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47637, 'SRID=4674;POINT (-40.312729 -2.801542)', '2026-07-08 07:46:28', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312561 -2.801544)'), GeomFromEWKT('SRID=4674;POINT (-40.312729 -2.801542)'))) / (select extract(epoch from '2026-07-08 07:46:28'::timestamp) - extract(epoch from '2026-07-08 07:46:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312561 -2.801544)'), GeomFromEWKT('SRID=4674;POINT (-40.312729 -2.801542)'))) / (select extract(epoch from '2026-07-08 07:46:28'::timestamp) - extract(epoch from '2026-07-08 07:46:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.312877 -2.801536)', '2026-07-08 07:46:37', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312729 -2.801542)'), GeomFromEWKT('SRID=4674;POINT (-40.312877 -2.801536)'))) / (select extract(epoch from '2026-07-08 07:46:37'::timestamp) - extract(epoch from '2026-07-08 07:46:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312729 -2.801542)'), GeomFromEWKT('SRID=4674;POINT (-40.312877 -2.801536)'))) / (select extract(epoch from '2026-07-08 07:46:37'::timestamp) - extract(epoch from '2026-07-08 07:46:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.313014 -2.801534)', '2026-07-08 07:46:45', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312877 -2.801536)'), GeomFromEWKT('SRID=4674;POINT (-40.313014 -2.801534)'))) / (select extract(epoch from '2026-07-08 07:46:45'::timestamp) - extract(epoch from '2026-07-08 07:46:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312877 -2.801536)'), GeomFromEWKT('SRID=4674;POINT (-40.313014 -2.801534)'))) / (select extract(epoch from '2026-07-08 07:46:45'::timestamp) - extract(epoch from '2026-07-08 07:46:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.313089 -2.801535)', '2026-07-08 07:46:49', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313014 -2.801534)'), GeomFromEWKT('SRID=4674;POINT (-40.313089 -2.801535)'))) / (select extract(epoch from '2026-07-08 07:46:49'::timestamp) - extract(epoch from '2026-07-08 07:46:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313014 -2.801534)'), GeomFromEWKT('SRID=4674;POINT (-40.313089 -2.801535)'))) / (select extract(epoch from '2026-07-08 07:46:49'::timestamp) - extract(epoch from '2026-07-08 07:46:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.313172 -2.801537)', '2026-07-08 07:46:54', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313089 -2.801535)'), GeomFromEWKT('SRID=4674;POINT (-40.313172 -2.801537)'))) / (select extract(epoch from '2026-07-08 07:46:54'::timestamp) - extract(epoch from '2026-07-08 07:46:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313089 -2.801535)'), GeomFromEWKT('SRID=4674;POINT (-40.313172 -2.801537)'))) / (select extract(epoch from '2026-07-08 07:46:54'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47637, 'SRID=4674;POINT (-40.313322 -2.801564)', '2026-07-08 07:47:03', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313172 -2.801537)'), GeomFromEWKT('SRID=4674;POINT (-40.313322 -2.801564)'))) / (select extract(epoch from '2026-07-08 07:47:03'::timestamp) - extract(epoch from '2026-07-08 07:46:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313172 -2.801537)'), GeomFromEWKT('SRID=4674;POINT (-40.313322 -2.801564)'))) / (select extract(epoch from '2026-07-08 07:47:03'::timestamp) - extract(epoch from '2026-07-08 07:46: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'), 47637, 'SRID=4674;POINT (-40.313446 -2.801621)', '2026-07-08 07:47:11', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313322 -2.801564)'), GeomFromEWKT('SRID=4674;POINT (-40.313446 -2.801621)'))) / (select extract(epoch from '2026-07-08 07:47:11'::timestamp) - extract(epoch from '2026-07-08 07:47:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313322 -2.801564)'), GeomFromEWKT('SRID=4674;POINT (-40.313446 -2.801621)'))) / (select extract(epoch from '2026-07-08 07:47:11'::timestamp) - extract(epoch from '2026-07-08 07:47: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'), 47637, 'SRID=4674;POINT (-40.313556 -2.801683)', '2026-07-08 07:47:18', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313446 -2.801621)'), GeomFromEWKT('SRID=4674;POINT (-40.313556 -2.801683)'))) / (select extract(epoch from '2026-07-08 07:47:18'::timestamp) - extract(epoch from '2026-07-08 07:47:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313446 -2.801621)'), GeomFromEWKT('SRID=4674;POINT (-40.313556 -2.801683)'))) / (select extract(epoch from '2026-07-08 07:47:18'::timestamp) - extract(epoch from '2026-07-08 07:47:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.313684 -2.801757)', '2026-07-08 07:47:26', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313556 -2.801683)'), GeomFromEWKT('SRID=4674;POINT (-40.313684 -2.801757)'))) / (select extract(epoch from '2026-07-08 07:47:26'::timestamp) - extract(epoch from '2026-07-08 07:47:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313556 -2.801683)'), GeomFromEWKT('SRID=4674;POINT (-40.313684 -2.801757)'))) / (select extract(epoch from '2026-07-08 07:47:26'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47637, 'SRID=4674;POINT (-40.313794 -2.801826)', '2026-07-08 07:47:33', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313684 -2.801757)'), GeomFromEWKT('SRID=4674;POINT (-40.313794 -2.801826)'))) / (select extract(epoch from '2026-07-08 07:47:33'::timestamp) - extract(epoch from '2026-07-08 07:47:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313684 -2.801757)'), GeomFromEWKT('SRID=4674;POINT (-40.313794 -2.801826)'))) / (select extract(epoch from '2026-07-08 07:47:33'::timestamp) - extract(epoch from '2026-07-08 07:47: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'), 47637, 'SRID=4674;POINT (-40.313895 -2.801856)', '2026-07-08 07:47:39', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313794 -2.801826)'), GeomFromEWKT('SRID=4674;POINT (-40.313895 -2.801856)'))) / (select extract(epoch from '2026-07-08 07:47:39'::timestamp) - extract(epoch from '2026-07-08 07:47:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313794 -2.801826)'), GeomFromEWKT('SRID=4674;POINT (-40.313895 -2.801856)'))) / (select extract(epoch from '2026-07-08 07:47:39'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47637, 'SRID=4674;POINT (-40.314044 -2.801864)', '2026-07-08 07:47:47', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313895 -2.801856)'), GeomFromEWKT('SRID=4674;POINT (-40.314044 -2.801864)'))) / (select extract(epoch from '2026-07-08 07:47:47'::timestamp) - extract(epoch from '2026-07-08 07:47:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313895 -2.801856)'), GeomFromEWKT('SRID=4674;POINT (-40.314044 -2.801864)'))) / (select extract(epoch from '2026-07-08 07:47:47'::timestamp) - extract(epoch from '2026-07-08 07:47: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'), 47637, 'SRID=4674;POINT (-40.314247 -2.801866)', '2026-07-08 07:47:58', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314044 -2.801864)'), GeomFromEWKT('SRID=4674;POINT (-40.314247 -2.801866)'))) / (select extract(epoch from '2026-07-08 07:47:58'::timestamp) - extract(epoch from '2026-07-08 07:47:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314044 -2.801864)'), GeomFromEWKT('SRID=4674;POINT (-40.314247 -2.801866)'))) / (select extract(epoch from '2026-07-08 07:47:58'::timestamp) - extract(epoch from '2026-07-08 07:47: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'), 47637, 'SRID=4674;POINT (-40.31439 -2.801852)', '2026-07-08 07:48:06', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314247 -2.801866)'), GeomFromEWKT('SRID=4674;POINT (-40.31439 -2.801852)'))) / (select extract(epoch from '2026-07-08 07:48:06'::timestamp) - extract(epoch from '2026-07-08 07:47:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314247 -2.801866)'), GeomFromEWKT('SRID=4674;POINT (-40.31439 -2.801852)'))) / (select extract(epoch from '2026-07-08 07:48:06'::timestamp) - extract(epoch from '2026-07-08 07:47:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.314542 -2.801833)', '2026-07-08 07:48:15', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31439 -2.801852)'), GeomFromEWKT('SRID=4674;POINT (-40.314542 -2.801833)'))) / (select extract(epoch from '2026-07-08 07:48:15'::timestamp) - extract(epoch from '2026-07-08 07:48:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31439 -2.801852)'), GeomFromEWKT('SRID=4674;POINT (-40.314542 -2.801833)'))) / (select extract(epoch from '2026-07-08 07:48:15'::timestamp) - extract(epoch from '2026-07-08 07:48: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'), 47637, 'SRID=4674;POINT (-40.314658 -2.801818)', '2026-07-08 07:48:22', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314542 -2.801833)'), GeomFromEWKT('SRID=4674;POINT (-40.314658 -2.801818)'))) / (select extract(epoch from '2026-07-08 07:48:22'::timestamp) - extract(epoch from '2026-07-08 07:48:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314542 -2.801833)'), GeomFromEWKT('SRID=4674;POINT (-40.314658 -2.801818)'))) / (select extract(epoch from '2026-07-08 07:48:22'::timestamp) - extract(epoch from '2026-07-08 07:48:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.314787 -2.801805)', '2026-07-08 07:48:30', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314658 -2.801818)'), GeomFromEWKT('SRID=4674;POINT (-40.314787 -2.801805)'))) / (select extract(epoch from '2026-07-08 07:48:30'::timestamp) - extract(epoch from '2026-07-08 07:48:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314658 -2.801818)'), GeomFromEWKT('SRID=4674;POINT (-40.314787 -2.801805)'))) / (select extract(epoch from '2026-07-08 07:48:30'::timestamp) - extract(epoch from '2026-07-08 07:48:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.314908 -2.801785)', '2026-07-08 07:48:38', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314787 -2.801805)'), GeomFromEWKT('SRID=4674;POINT (-40.314908 -2.801785)'))) / (select extract(epoch from '2026-07-08 07:48:38'::timestamp) - extract(epoch from '2026-07-08 07:48:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314787 -2.801805)'), GeomFromEWKT('SRID=4674;POINT (-40.314908 -2.801785)'))) / (select extract(epoch from '2026-07-08 07:48:38'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47637, 'SRID=4674;POINT (-40.315042 -2.80177)', '2026-07-08 07:48:46', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314908 -2.801785)'), GeomFromEWKT('SRID=4674;POINT (-40.315042 -2.80177)'))) / (select extract(epoch from '2026-07-08 07:48:46'::timestamp) - extract(epoch from '2026-07-08 07:48:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314908 -2.801785)'), GeomFromEWKT('SRID=4674;POINT (-40.315042 -2.80177)'))) / (select extract(epoch from '2026-07-08 07:48:46'::timestamp) - extract(epoch from '2026-07-08 07:48:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.315163 -2.801759)', '2026-07-08 07:48:53', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315042 -2.80177)'), GeomFromEWKT('SRID=4674;POINT (-40.315163 -2.801759)'))) / (select extract(epoch from '2026-07-08 07:48:53'::timestamp) - extract(epoch from '2026-07-08 07:48:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315042 -2.80177)'), GeomFromEWKT('SRID=4674;POINT (-40.315163 -2.801759)'))) / (select extract(epoch from '2026-07-08 07:48:53'::timestamp) - extract(epoch from '2026-07-08 07:48: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'), 47637, 'SRID=4674;POINT (-40.315275 -2.801741)', '2026-07-08 07:49:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315163 -2.801759)'), GeomFromEWKT('SRID=4674;POINT (-40.315275 -2.801741)'))) / (select extract(epoch from '2026-07-08 07:49:00'::timestamp) - extract(epoch from '2026-07-08 07:48:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315163 -2.801759)'), GeomFromEWKT('SRID=4674;POINT (-40.315275 -2.801741)'))) / (select extract(epoch from '2026-07-08 07:49:00'::timestamp) - extract(epoch from '2026-07-08 07:48: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'), 47637, 'SRID=4674;POINT (-40.315399 -2.801716)', '2026-07-08 07:49:08', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315275 -2.801741)'), GeomFromEWKT('SRID=4674;POINT (-40.315399 -2.801716)'))) / (select extract(epoch from '2026-07-08 07:49:08'::timestamp) - extract(epoch from '2026-07-08 07:49:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315275 -2.801741)'), GeomFromEWKT('SRID=4674;POINT (-40.315399 -2.801716)'))) / (select extract(epoch from '2026-07-08 07:49:08'::timestamp) - extract(epoch from '2026-07-08 07:49:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.315535 -2.801687)', '2026-07-08 07:49:17', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315399 -2.801716)'), GeomFromEWKT('SRID=4674;POINT (-40.315535 -2.801687)'))) / (select extract(epoch from '2026-07-08 07:49:17'::timestamp) - extract(epoch from '2026-07-08 07:49:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315399 -2.801716)'), GeomFromEWKT('SRID=4674;POINT (-40.315535 -2.801687)'))) / (select extract(epoch from '2026-07-08 07:49:17'::timestamp) - extract(epoch from '2026-07-08 07:49:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.315656 -2.80167)', '2026-07-08 07:49:25', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315535 -2.801687)'), GeomFromEWKT('SRID=4674;POINT (-40.315656 -2.80167)'))) / (select extract(epoch from '2026-07-08 07:49:25'::timestamp) - extract(epoch from '2026-07-08 07:49:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315535 -2.801687)'), GeomFromEWKT('SRID=4674;POINT (-40.315656 -2.80167)'))) / (select extract(epoch from '2026-07-08 07:49:25'::timestamp) - extract(epoch from '2026-07-08 07:49: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'), 47637, 'SRID=4674;POINT (-40.315789 -2.801654)', '2026-07-08 07:49:34', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315656 -2.80167)'), GeomFromEWKT('SRID=4674;POINT (-40.315789 -2.801654)'))) / (select extract(epoch from '2026-07-08 07:49:34'::timestamp) - extract(epoch from '2026-07-08 07:49:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315656 -2.80167)'), GeomFromEWKT('SRID=4674;POINT (-40.315789 -2.801654)'))) / (select extract(epoch from '2026-07-08 07:49:34'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47637, 'SRID=4674;POINT (-40.315893 -2.80164)', '2026-07-08 07:49:41', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315789 -2.801654)'), GeomFromEWKT('SRID=4674;POINT (-40.315893 -2.80164)'))) / (select extract(epoch from '2026-07-08 07:49:41'::timestamp) - extract(epoch from '2026-07-08 07:49:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315789 -2.801654)'), GeomFromEWKT('SRID=4674;POINT (-40.315893 -2.80164)'))) / (select extract(epoch from '2026-07-08 07:49:41'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47637, 'SRID=4674;POINT (-40.316015 -2.801627)', '2026-07-08 07:49:49', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315893 -2.80164)'), GeomFromEWKT('SRID=4674;POINT (-40.316015 -2.801627)'))) / (select extract(epoch from '2026-07-08 07:49:49'::timestamp) - extract(epoch from '2026-07-08 07:49:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315893 -2.80164)'), GeomFromEWKT('SRID=4674;POINT (-40.316015 -2.801627)'))) / (select extract(epoch from '2026-07-08 07:49:49'::timestamp) - extract(epoch from '2026-07-08 07:49:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.316146 -2.801619)', '2026-07-08 07:49:57', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316015 -2.801627)'), GeomFromEWKT('SRID=4674;POINT (-40.316146 -2.801619)'))) / (select extract(epoch from '2026-07-08 07:49:57'::timestamp) - extract(epoch from '2026-07-08 07:49:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316015 -2.801627)'), GeomFromEWKT('SRID=4674;POINT (-40.316146 -2.801619)'))) / (select extract(epoch from '2026-07-08 07:49:57'::timestamp) - extract(epoch from '2026-07-08 07:49: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'), 47637, 'SRID=4674;POINT (-40.316285 -2.801614)', '2026-07-08 07:50:05', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316146 -2.801619)'), GeomFromEWKT('SRID=4674;POINT (-40.316285 -2.801614)'))) / (select extract(epoch from '2026-07-08 07:50:05'::timestamp) - extract(epoch from '2026-07-08 07:49:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316146 -2.801619)'), GeomFromEWKT('SRID=4674;POINT (-40.316285 -2.801614)'))) / (select extract(epoch from '2026-07-08 07:50:05'::timestamp) - extract(epoch from '2026-07-08 07:49: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'), 47637, 'SRID=4674;POINT (-40.316408 -2.801606)', '2026-07-08 07:50:12', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316285 -2.801614)'), GeomFromEWKT('SRID=4674;POINT (-40.316408 -2.801606)'))) / (select extract(epoch from '2026-07-08 07:50:12'::timestamp) - extract(epoch from '2026-07-08 07:50:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316285 -2.801614)'), GeomFromEWKT('SRID=4674;POINT (-40.316408 -2.801606)'))) / (select extract(epoch from '2026-07-08 07:50:12'::timestamp) - extract(epoch from '2026-07-08 07:50:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.316519 -2.801599)', '2026-07-08 07:50:18', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316408 -2.801606)'), GeomFromEWKT('SRID=4674;POINT (-40.316519 -2.801599)'))) / (select extract(epoch from '2026-07-08 07:50:18'::timestamp) - extract(epoch from '2026-07-08 07:50:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316408 -2.801606)'), GeomFromEWKT('SRID=4674;POINT (-40.316519 -2.801599)'))) / (select extract(epoch from '2026-07-08 07:50:18'::timestamp) - extract(epoch from '2026-07-08 07:50:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.316667 -2.801589)', '2026-07-08 07:50:26', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316519 -2.801599)'), GeomFromEWKT('SRID=4674;POINT (-40.316667 -2.801589)'))) / (select extract(epoch from '2026-07-08 07:50:26'::timestamp) - extract(epoch from '2026-07-08 07:50:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316519 -2.801599)'), GeomFromEWKT('SRID=4674;POINT (-40.316667 -2.801589)'))) / (select extract(epoch from '2026-07-08 07:50:26'::timestamp) - extract(epoch from '2026-07-08 07:50:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.316818 -2.801574)', '2026-07-08 07:50:35', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316667 -2.801589)'), GeomFromEWKT('SRID=4674;POINT (-40.316818 -2.801574)'))) / (select extract(epoch from '2026-07-08 07:50:35'::timestamp) - extract(epoch from '2026-07-08 07:50:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316667 -2.801589)'), GeomFromEWKT('SRID=4674;POINT (-40.316818 -2.801574)'))) / (select extract(epoch from '2026-07-08 07:50:35'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47637, 'SRID=4674;POINT (-40.316924 -2.801552)', '2026-07-08 07:50:42', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316818 -2.801574)'), GeomFromEWKT('SRID=4674;POINT (-40.316924 -2.801552)'))) / (select extract(epoch from '2026-07-08 07:50:42'::timestamp) - extract(epoch from '2026-07-08 07:50:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316818 -2.801574)'), GeomFromEWKT('SRID=4674;POINT (-40.316924 -2.801552)'))) / (select extract(epoch from '2026-07-08 07:50:42'::timestamp) - extract(epoch from '2026-07-08 07:50: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'), 47637, 'SRID=4674;POINT (-40.317105 -2.801532)', '2026-07-08 07:50:54', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316924 -2.801552)'), GeomFromEWKT('SRID=4674;POINT (-40.317105 -2.801532)'))) / (select extract(epoch from '2026-07-08 07:50:54'::timestamp) - extract(epoch from '2026-07-08 07:50:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316924 -2.801552)'), GeomFromEWKT('SRID=4674;POINT (-40.317105 -2.801532)'))) / (select extract(epoch from '2026-07-08 07:50:54'::timestamp) - extract(epoch from '2026-07-08 07:50: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'), 47637, 'SRID=4674;POINT (-40.317209 -2.801523)', '2026-07-08 07:51:01', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317105 -2.801532)'), GeomFromEWKT('SRID=4674;POINT (-40.317209 -2.801523)'))) / (select extract(epoch from '2026-07-08 07:51:01'::timestamp) - extract(epoch from '2026-07-08 07:50:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317105 -2.801532)'), GeomFromEWKT('SRID=4674;POINT (-40.317209 -2.801523)'))) / (select extract(epoch from '2026-07-08 07:51:01'::timestamp) - extract(epoch from '2026-07-08 07:50: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'), 47637, 'SRID=4674;POINT (-40.31731 -2.801515)', '2026-07-08 07:51:08', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317209 -2.801523)'), GeomFromEWKT('SRID=4674;POINT (-40.31731 -2.801515)'))) / (select extract(epoch from '2026-07-08 07:51:08'::timestamp) - extract(epoch from '2026-07-08 07:51:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317209 -2.801523)'), GeomFromEWKT('SRID=4674;POINT (-40.31731 -2.801515)'))) / (select extract(epoch from '2026-07-08 07:51:08'::timestamp) - extract(epoch from '2026-07-08 07:51: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'), 47637, 'SRID=4674;POINT (-40.317421 -2.801502)', '2026-07-08 07:51:16', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31731 -2.801515)'), GeomFromEWKT('SRID=4674;POINT (-40.317421 -2.801502)'))) / (select extract(epoch from '2026-07-08 07:51:16'::timestamp) - extract(epoch from '2026-07-08 07:51:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31731 -2.801515)'), GeomFromEWKT('SRID=4674;POINT (-40.317421 -2.801502)'))) / (select extract(epoch from '2026-07-08 07:51:16'::timestamp) - extract(epoch from '2026-07-08 07:51:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.317521 -2.801482)', '2026-07-08 07:51:23', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317421 -2.801502)'), GeomFromEWKT('SRID=4674;POINT (-40.317521 -2.801482)'))) / (select extract(epoch from '2026-07-08 07:51:23'::timestamp) - extract(epoch from '2026-07-08 07:51:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317421 -2.801502)'), GeomFromEWKT('SRID=4674;POINT (-40.317521 -2.801482)'))) / (select extract(epoch from '2026-07-08 07:51:23'::timestamp) - extract(epoch from '2026-07-08 07:51: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'), 47637, 'SRID=4674;POINT (-40.317625 -2.801466)', '2026-07-08 07:51:30', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317521 -2.801482)'), GeomFromEWKT('SRID=4674;POINT (-40.317625 -2.801466)'))) / (select extract(epoch from '2026-07-08 07:51:30'::timestamp) - extract(epoch from '2026-07-08 07:51:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317521 -2.801482)'), GeomFromEWKT('SRID=4674;POINT (-40.317625 -2.801466)'))) / (select extract(epoch from '2026-07-08 07:51:30'::timestamp) - extract(epoch from '2026-07-08 07:51: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'), 47637, 'SRID=4674;POINT (-40.31777 -2.801457)', '2026-07-08 07:51:39', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317625 -2.801466)'), GeomFromEWKT('SRID=4674;POINT (-40.31777 -2.801457)'))) / (select extract(epoch from '2026-07-08 07:51:39'::timestamp) - extract(epoch from '2026-07-08 07:51:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317625 -2.801466)'), GeomFromEWKT('SRID=4674;POINT (-40.31777 -2.801457)'))) / (select extract(epoch from '2026-07-08 07:51:39'::timestamp) - extract(epoch from '2026-07-08 07:51:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.317975 -2.80147)', '2026-07-08 07:51:50', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31777 -2.801457)'), GeomFromEWKT('SRID=4674;POINT (-40.317975 -2.80147)'))) / (select extract(epoch from '2026-07-08 07:51:50'::timestamp) - extract(epoch from '2026-07-08 07:51:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31777 -2.801457)'), GeomFromEWKT('SRID=4674;POINT (-40.317975 -2.80147)'))) / (select extract(epoch from '2026-07-08 07:51:50'::timestamp) - extract(epoch from '2026-07-08 07:51:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.318137 -2.801483)', '2026-07-08 07:51:58', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317975 -2.80147)'), GeomFromEWKT('SRID=4674;POINT (-40.318137 -2.801483)'))) / (select extract(epoch from '2026-07-08 07:51:58'::timestamp) - extract(epoch from '2026-07-08 07:51:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317975 -2.80147)'), GeomFromEWKT('SRID=4674;POINT (-40.318137 -2.801483)'))) / (select extract(epoch from '2026-07-08 07:51:58'::timestamp) - extract(epoch from '2026-07-08 07:51:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.318338 -2.801487)', '2026-07-08 07:52:08', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318137 -2.801483)'), GeomFromEWKT('SRID=4674;POINT (-40.318338 -2.801487)'))) / (select extract(epoch from '2026-07-08 07:52:08'::timestamp) - extract(epoch from '2026-07-08 07:51:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318137 -2.801483)'), GeomFromEWKT('SRID=4674;POINT (-40.318338 -2.801487)'))) / (select extract(epoch from '2026-07-08 07:52:08'::timestamp) - extract(epoch from '2026-07-08 07:51:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.318497 -2.801491)', '2026-07-08 07:52:16', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318338 -2.801487)'), GeomFromEWKT('SRID=4674;POINT (-40.318497 -2.801491)'))) / (select extract(epoch from '2026-07-08 07:52:16'::timestamp) - extract(epoch from '2026-07-08 07:52:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318338 -2.801487)'), GeomFromEWKT('SRID=4674;POINT (-40.318497 -2.801491)'))) / (select extract(epoch from '2026-07-08 07:52:16'::timestamp) - extract(epoch from '2026-07-08 07:52:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.318674 -2.8015)', '2026-07-08 07:52:25', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318497 -2.801491)'), GeomFromEWKT('SRID=4674;POINT (-40.318674 -2.8015)'))) / (select extract(epoch from '2026-07-08 07:52:25'::timestamp) - extract(epoch from '2026-07-08 07:52:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318497 -2.801491)'), GeomFromEWKT('SRID=4674;POINT (-40.318674 -2.8015)'))) / (select extract(epoch from '2026-07-08 07:52:25'::timestamp) - extract(epoch from '2026-07-08 07:52: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'), 47637, 'SRID=4674;POINT (-40.318827 -2.8015)', '2026-07-08 07:52:33', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318674 -2.8015)'), GeomFromEWKT('SRID=4674;POINT (-40.318827 -2.8015)'))) / (select extract(epoch from '2026-07-08 07:52:33'::timestamp) - extract(epoch from '2026-07-08 07:52:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318674 -2.8015)'), GeomFromEWKT('SRID=4674;POINT (-40.318827 -2.8015)'))) / (select extract(epoch from '2026-07-08 07:52:33'::timestamp) - extract(epoch from '2026-07-08 07:52: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'), 47637, 'SRID=4674;POINT (-40.318967 -2.80151)', '2026-07-08 07:52:40', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318827 -2.8015)'), GeomFromEWKT('SRID=4674;POINT (-40.318967 -2.80151)'))) / (select extract(epoch from '2026-07-08 07:52:40'::timestamp) - extract(epoch from '2026-07-08 07:52:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318827 -2.8015)'), GeomFromEWKT('SRID=4674;POINT (-40.318967 -2.80151)'))) / (select extract(epoch from '2026-07-08 07:52:40'::timestamp) - extract(epoch from '2026-07-08 07:52: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'), 47637, 'SRID=4674;POINT (-40.319156 -2.801525)', '2026-07-08 07:52:49', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318967 -2.80151)'), GeomFromEWKT('SRID=4674;POINT (-40.319156 -2.801525)'))) / (select extract(epoch from '2026-07-08 07:52:49'::timestamp) - extract(epoch from '2026-07-08 07:52:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318967 -2.80151)'), GeomFromEWKT('SRID=4674;POINT (-40.319156 -2.801525)'))) / (select extract(epoch from '2026-07-08 07:52:49'::timestamp) - extract(epoch from '2026-07-08 07:52:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.319329 -2.801531)', '2026-07-08 07:52:58', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319156 -2.801525)'), GeomFromEWKT('SRID=4674;POINT (-40.319329 -2.801531)'))) / (select extract(epoch from '2026-07-08 07:52:58'::timestamp) - extract(epoch from '2026-07-08 07:52:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319156 -2.801525)'), GeomFromEWKT('SRID=4674;POINT (-40.319329 -2.801531)'))) / (select extract(epoch from '2026-07-08 07:52:58'::timestamp) - extract(epoch from '2026-07-08 07:52: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'), 47637, 'SRID=4674;POINT (-40.319483 -2.801523)', '2026-07-08 07:53:07', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319329 -2.801531)'), GeomFromEWKT('SRID=4674;POINT (-40.319483 -2.801523)'))) / (select extract(epoch from '2026-07-08 07:53:07'::timestamp) - extract(epoch from '2026-07-08 07:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319329 -2.801531)'), GeomFromEWKT('SRID=4674;POINT (-40.319483 -2.801523)'))) / (select extract(epoch from '2026-07-08 07:53:07'::timestamp) - extract(epoch from '2026-07-08 07:52: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'), 47637, 'SRID=4674;POINT (-40.319616 -2.801525)', '2026-07-08 07:53:15', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319483 -2.801523)'), GeomFromEWKT('SRID=4674;POINT (-40.319616 -2.801525)'))) / (select extract(epoch from '2026-07-08 07:53:15'::timestamp) - extract(epoch from '2026-07-08 07:53:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319483 -2.801523)'), GeomFromEWKT('SRID=4674;POINT (-40.319616 -2.801525)'))) / (select extract(epoch from '2026-07-08 07:53:15'::timestamp) - extract(epoch from '2026-07-08 07:53: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'), 47637, 'SRID=4674;POINT (-40.319786 -2.80152)', '2026-07-08 07:53:25', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319616 -2.801525)'), GeomFromEWKT('SRID=4674;POINT (-40.319786 -2.80152)'))) / (select extract(epoch from '2026-07-08 07:53:25'::timestamp) - extract(epoch from '2026-07-08 07:53:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319616 -2.801525)'), GeomFromEWKT('SRID=4674;POINT (-40.319786 -2.80152)'))) / (select extract(epoch from '2026-07-08 07:53:25'::timestamp) - extract(epoch from '2026-07-08 07:53: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'), 47637, 'SRID=4674;POINT (-40.319907 -2.801515)', '2026-07-08 07:53:32', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319786 -2.80152)'), GeomFromEWKT('SRID=4674;POINT (-40.319907 -2.801515)'))) / (select extract(epoch from '2026-07-08 07:53:32'::timestamp) - extract(epoch from '2026-07-08 07:53:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319786 -2.80152)'), GeomFromEWKT('SRID=4674;POINT (-40.319907 -2.801515)'))) / (select extract(epoch from '2026-07-08 07:53:32'::timestamp) - extract(epoch from '2026-07-08 07:53: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'), 47637, 'SRID=4674;POINT (-40.320075 -2.801522)', '2026-07-08 07:53:41', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319907 -2.801515)'), GeomFromEWKT('SRID=4674;POINT (-40.320075 -2.801522)'))) / (select extract(epoch from '2026-07-08 07:53:41'::timestamp) - extract(epoch from '2026-07-08 07:53:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319907 -2.801515)'), GeomFromEWKT('SRID=4674;POINT (-40.320075 -2.801522)'))) / (select extract(epoch from '2026-07-08 07:53:41'::timestamp) - extract(epoch from '2026-07-08 07:53:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.320233 -2.801539)', '2026-07-08 07:53:49', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320075 -2.801522)'), GeomFromEWKT('SRID=4674;POINT (-40.320233 -2.801539)'))) / (select extract(epoch from '2026-07-08 07:53:49'::timestamp) - extract(epoch from '2026-07-08 07:53:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320075 -2.801522)'), GeomFromEWKT('SRID=4674;POINT (-40.320233 -2.801539)'))) / (select extract(epoch from '2026-07-08 07:53:49'::timestamp) - extract(epoch from '2026-07-08 07:53: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'), 47637, 'SRID=4674;POINT (-40.320391 -2.801574)', '2026-07-08 07:53:57', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320233 -2.801539)'), GeomFromEWKT('SRID=4674;POINT (-40.320391 -2.801574)'))) / (select extract(epoch from '2026-07-08 07:53:57'::timestamp) - extract(epoch from '2026-07-08 07:53:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320233 -2.801539)'), GeomFromEWKT('SRID=4674;POINT (-40.320391 -2.801574)'))) / (select extract(epoch from '2026-07-08 07:53:57'::timestamp) - extract(epoch from '2026-07-08 07:53: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'), 47637, 'SRID=4674;POINT (-40.320505 -2.801584)', '2026-07-08 07:54:03', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320391 -2.801574)'), GeomFromEWKT('SRID=4674;POINT (-40.320505 -2.801584)'))) / (select extract(epoch from '2026-07-08 07:54:03'::timestamp) - extract(epoch from '2026-07-08 07:53:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320391 -2.801574)'), GeomFromEWKT('SRID=4674;POINT (-40.320505 -2.801584)'))) / (select extract(epoch from '2026-07-08 07:54:03'::timestamp) - extract(epoch from '2026-07-08 07:53:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.320613 -2.801593)', '2026-07-08 07:54:09', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320505 -2.801584)'), GeomFromEWKT('SRID=4674;POINT (-40.320613 -2.801593)'))) / (select extract(epoch from '2026-07-08 07:54:09'::timestamp) - extract(epoch from '2026-07-08 07:54:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320505 -2.801584)'), GeomFromEWKT('SRID=4674;POINT (-40.320613 -2.801593)'))) / (select extract(epoch from '2026-07-08 07:54:09'::timestamp) - extract(epoch from '2026-07-08 07:54: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'), 47637, 'SRID=4674;POINT (-40.320715 -2.801585)', '2026-07-08 07:54:15', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320613 -2.801593)'), GeomFromEWKT('SRID=4674;POINT (-40.320715 -2.801585)'))) / (select extract(epoch from '2026-07-08 07:54:15'::timestamp) - extract(epoch from '2026-07-08 07:54:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320613 -2.801593)'), GeomFromEWKT('SRID=4674;POINT (-40.320715 -2.801585)'))) / (select extract(epoch from '2026-07-08 07:54:15'::timestamp) - extract(epoch from '2026-07-08 07:54: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'), 47637, 'SRID=4674;POINT (-40.320852 -2.801588)', '2026-07-08 07:54:23', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320715 -2.801585)'), GeomFromEWKT('SRID=4674;POINT (-40.320852 -2.801588)'))) / (select extract(epoch from '2026-07-08 07:54:23'::timestamp) - extract(epoch from '2026-07-08 07:54:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320715 -2.801585)'), GeomFromEWKT('SRID=4674;POINT (-40.320852 -2.801588)'))) / (select extract(epoch from '2026-07-08 07:54:23'::timestamp) - extract(epoch from '2026-07-08 07:54:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.320952 -2.801583)', '2026-07-08 07:54:29', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320852 -2.801588)'), GeomFromEWKT('SRID=4674;POINT (-40.320952 -2.801583)'))) / (select extract(epoch from '2026-07-08 07:54:29'::timestamp) - extract(epoch from '2026-07-08 07:54:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320852 -2.801588)'), GeomFromEWKT('SRID=4674;POINT (-40.320952 -2.801583)'))) / (select extract(epoch from '2026-07-08 07:54:29'::timestamp) - extract(epoch from '2026-07-08 07:54: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'), 47637, 'SRID=4674;POINT (-40.321086 -2.801583)', '2026-07-08 07:54:37', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320952 -2.801583)'), GeomFromEWKT('SRID=4674;POINT (-40.321086 -2.801583)'))) / (select extract(epoch from '2026-07-08 07:54:37'::timestamp) - extract(epoch from '2026-07-08 07:54:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320952 -2.801583)'), GeomFromEWKT('SRID=4674;POINT (-40.321086 -2.801583)'))) / (select extract(epoch from '2026-07-08 07:54:37'::timestamp) - extract(epoch from '2026-07-08 07:54: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'), 47637, 'SRID=4674;POINT (-40.321203 -2.801587)', '2026-07-08 07:54:44', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321086 -2.801583)'), GeomFromEWKT('SRID=4674;POINT (-40.321203 -2.801587)'))) / (select extract(epoch from '2026-07-08 07:54:44'::timestamp) - extract(epoch from '2026-07-08 07:54:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321086 -2.801583)'), GeomFromEWKT('SRID=4674;POINT (-40.321203 -2.801587)'))) / (select extract(epoch from '2026-07-08 07:54:44'::timestamp) - extract(epoch from '2026-07-08 07:54: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'), 47637, 'SRID=4674;POINT (-40.321354 -2.801595)', '2026-07-08 07:54:53', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321203 -2.801587)'), GeomFromEWKT('SRID=4674;POINT (-40.321354 -2.801595)'))) / (select extract(epoch from '2026-07-08 07:54:53'::timestamp) - extract(epoch from '2026-07-08 07:54:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321203 -2.801587)'), GeomFromEWKT('SRID=4674;POINT (-40.321354 -2.801595)'))) / (select extract(epoch from '2026-07-08 07:54:53'::timestamp) - extract(epoch from '2026-07-08 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'), 47637, 'SRID=4674;POINT (-40.321497 -2.801597)', '2026-07-08 07:55:01', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321354 -2.801595)'), GeomFromEWKT('SRID=4674;POINT (-40.321497 -2.801597)'))) / (select extract(epoch from '2026-07-08 07:55:01'::timestamp) - extract(epoch from '2026-07-08 07:54:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321354 -2.801595)'), GeomFromEWKT('SRID=4674;POINT (-40.321497 -2.801597)'))) / (select extract(epoch from '2026-07-08 07:55:01'::timestamp) - extract(epoch from '2026-07-08 07:54: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'), 47637, 'SRID=4674;POINT (-40.321666 -2.801608)', '2026-07-08 07:55:10', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321497 -2.801597)'), GeomFromEWKT('SRID=4674;POINT (-40.321666 -2.801608)'))) / (select extract(epoch from '2026-07-08 07:55:10'::timestamp) - extract(epoch from '2026-07-08 07:55:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321497 -2.801597)'), GeomFromEWKT('SRID=4674;POINT (-40.321666 -2.801608)'))) / (select extract(epoch from '2026-07-08 07:55:10'::timestamp) - extract(epoch from '2026-07-08 07:55: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'), 47637, 'SRID=4674;POINT (-40.321834 -2.801615)', '2026-07-08 07:55:19', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321666 -2.801608)'), GeomFromEWKT('SRID=4674;POINT (-40.321834 -2.801615)'))) / (select extract(epoch from '2026-07-08 07:55:19'::timestamp) - extract(epoch from '2026-07-08 07:55:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321666 -2.801608)'), GeomFromEWKT('SRID=4674;POINT (-40.321834 -2.801615)'))) / (select extract(epoch from '2026-07-08 07:55:19'::timestamp) - extract(epoch from '2026-07-08 07:55:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.322017 -2.801629)', '2026-07-08 07:55:29', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321834 -2.801615)'), GeomFromEWKT('SRID=4674;POINT (-40.322017 -2.801629)'))) / (select extract(epoch from '2026-07-08 07:55:29'::timestamp) - extract(epoch from '2026-07-08 07:55:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321834 -2.801615)'), GeomFromEWKT('SRID=4674;POINT (-40.322017 -2.801629)'))) / (select extract(epoch from '2026-07-08 07:55:29'::timestamp) - extract(epoch from '2026-07-08 07:55: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'), 47637, 'SRID=4674;POINT (-40.322172 -2.801648)', '2026-07-08 07:55:38', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322017 -2.801629)'), GeomFromEWKT('SRID=4674;POINT (-40.322172 -2.801648)'))) / (select extract(epoch from '2026-07-08 07:55:38'::timestamp) - extract(epoch from '2026-07-08 07:55:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322017 -2.801629)'), GeomFromEWKT('SRID=4674;POINT (-40.322172 -2.801648)'))) / (select extract(epoch from '2026-07-08 07:55:38'::timestamp) - extract(epoch from '2026-07-08 07:55: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'), 47637, 'SRID=4674;POINT (-40.322335 -2.801675)', '2026-07-08 07:55:47', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322172 -2.801648)'), GeomFromEWKT('SRID=4674;POINT (-40.322335 -2.801675)'))) / (select extract(epoch from '2026-07-08 07:55:47'::timestamp) - extract(epoch from '2026-07-08 07:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322172 -2.801648)'), GeomFromEWKT('SRID=4674;POINT (-40.322335 -2.801675)'))) / (select extract(epoch from '2026-07-08 07:55:47'::timestamp) - extract(epoch from '2026-07-08 07:55:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.322501 -2.801691)', '2026-07-08 07:55:56', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322335 -2.801675)'), GeomFromEWKT('SRID=4674;POINT (-40.322501 -2.801691)'))) / (select extract(epoch from '2026-07-08 07:55:56'::timestamp) - extract(epoch from '2026-07-08 07:55:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322335 -2.801675)'), GeomFromEWKT('SRID=4674;POINT (-40.322501 -2.801691)'))) / (select extract(epoch from '2026-07-08 07:55:56'::timestamp) - extract(epoch from '2026-07-08 07:55:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.322649 -2.801685)', '2026-07-08 07:56:04', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322501 -2.801691)'), GeomFromEWKT('SRID=4674;POINT (-40.322649 -2.801685)'))) / (select extract(epoch from '2026-07-08 07:56:04'::timestamp) - extract(epoch from '2026-07-08 07:55:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322501 -2.801691)'), GeomFromEWKT('SRID=4674;POINT (-40.322649 -2.801685)'))) / (select extract(epoch from '2026-07-08 07:56:04'::timestamp) - extract(epoch from '2026-07-08 07:55: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'), 47637, 'SRID=4674;POINT (-40.322791 -2.801679)', '2026-07-08 07:56:12', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322649 -2.801685)'), GeomFromEWKT('SRID=4674;POINT (-40.322791 -2.801679)'))) / (select extract(epoch from '2026-07-08 07:56:12'::timestamp) - extract(epoch from '2026-07-08 07:56:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322649 -2.801685)'), GeomFromEWKT('SRID=4674;POINT (-40.322791 -2.801679)'))) / (select extract(epoch from '2026-07-08 07:56:12'::timestamp) - extract(epoch from '2026-07-08 07:56: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'), 47637, 'SRID=4674;POINT (-40.322985 -2.801683)', '2026-07-08 07:56:23', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322791 -2.801679)'), GeomFromEWKT('SRID=4674;POINT (-40.322985 -2.801683)'))) / (select extract(epoch from '2026-07-08 07:56:23'::timestamp) - extract(epoch from '2026-07-08 07:56:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322791 -2.801679)'), GeomFromEWKT('SRID=4674;POINT (-40.322985 -2.801683)'))) / (select extract(epoch from '2026-07-08 07:56:23'::timestamp) - extract(epoch from '2026-07-08 07:56: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'), 47637, 'SRID=4674;POINT (-40.32311 -2.8017)', '2026-07-08 07:56:30', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322985 -2.801683)'), GeomFromEWKT('SRID=4674;POINT (-40.32311 -2.8017)'))) / (select extract(epoch from '2026-07-08 07:56:30'::timestamp) - extract(epoch from '2026-07-08 07:56:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322985 -2.801683)'), GeomFromEWKT('SRID=4674;POINT (-40.32311 -2.8017)'))) / (select extract(epoch from '2026-07-08 07:56:30'::timestamp) - extract(epoch from '2026-07-08 07:56:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.323264 -2.801731)', '2026-07-08 07:56:38', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32311 -2.8017)'), GeomFromEWKT('SRID=4674;POINT (-40.323264 -2.801731)'))) / (select extract(epoch from '2026-07-08 07:56:38'::timestamp) - extract(epoch from '2026-07-08 07:56:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32311 -2.8017)'), GeomFromEWKT('SRID=4674;POINT (-40.323264 -2.801731)'))) / (select extract(epoch from '2026-07-08 07:56:38'::timestamp) - extract(epoch from '2026-07-08 07:56: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'), 47637, 'SRID=4674;POINT (-40.323422 -2.80179)', '2026-07-08 07:56:46', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323264 -2.801731)'), GeomFromEWKT('SRID=4674;POINT (-40.323422 -2.80179)'))) / (select extract(epoch from '2026-07-08 07:56:46'::timestamp) - extract(epoch from '2026-07-08 07:56:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323264 -2.801731)'), GeomFromEWKT('SRID=4674;POINT (-40.323422 -2.80179)'))) / (select extract(epoch from '2026-07-08 07:56:46'::timestamp) - extract(epoch from '2026-07-08 07:56: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'), 47637, 'SRID=4674;POINT (-40.323583 -2.801825)', '2026-07-08 07:56:54', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323422 -2.80179)'), GeomFromEWKT('SRID=4674;POINT (-40.323583 -2.801825)'))) / (select extract(epoch from '2026-07-08 07:56:54'::timestamp) - extract(epoch from '2026-07-08 07:56:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323422 -2.80179)'), GeomFromEWKT('SRID=4674;POINT (-40.323583 -2.801825)'))) / (select extract(epoch from '2026-07-08 07:56:54'::timestamp) - extract(epoch from '2026-07-08 07:56:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.323736 -2.801857)', '2026-07-08 07:57:02', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323583 -2.801825)'), GeomFromEWKT('SRID=4674;POINT (-40.323736 -2.801857)'))) / (select extract(epoch from '2026-07-08 07:57:02'::timestamp) - extract(epoch from '2026-07-08 07:56:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323583 -2.801825)'), GeomFromEWKT('SRID=4674;POINT (-40.323736 -2.801857)'))) / (select extract(epoch from '2026-07-08 07:57:02'::timestamp) - extract(epoch from '2026-07-08 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'), 47637, 'SRID=4674;POINT (-40.32386 -2.801883)', '2026-07-08 07:57:09', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323736 -2.801857)'), GeomFromEWKT('SRID=4674;POINT (-40.32386 -2.801883)'))) / (select extract(epoch from '2026-07-08 07:57:09'::timestamp) - extract(epoch from '2026-07-08 07:57:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323736 -2.801857)'), GeomFromEWKT('SRID=4674;POINT (-40.32386 -2.801883)'))) / (select extract(epoch from '2026-07-08 07:57:09'::timestamp) - extract(epoch from '2026-07-08 07:57:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.324017 -2.801902)', '2026-07-08 07:57:18', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32386 -2.801883)'), GeomFromEWKT('SRID=4674;POINT (-40.324017 -2.801902)'))) / (select extract(epoch from '2026-07-08 07:57:18'::timestamp) - extract(epoch from '2026-07-08 07:57:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32386 -2.801883)'), GeomFromEWKT('SRID=4674;POINT (-40.324017 -2.801902)'))) / (select extract(epoch from '2026-07-08 07:57:18'::timestamp) - extract(epoch from '2026-07-08 07:57: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'), 47637, 'SRID=4674;POINT (-40.324147 -2.801913)', '2026-07-08 07:57:25', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324017 -2.801902)'), GeomFromEWKT('SRID=4674;POINT (-40.324147 -2.801913)'))) / (select extract(epoch from '2026-07-08 07:57:25'::timestamp) - extract(epoch from '2026-07-08 07:57:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324017 -2.801902)'), GeomFromEWKT('SRID=4674;POINT (-40.324147 -2.801913)'))) / (select extract(epoch from '2026-07-08 07:57:25'::timestamp) - extract(epoch from '2026-07-08 07:57:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.324281 -2.801926)', '2026-07-08 07:57:32', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324147 -2.801913)'), GeomFromEWKT('SRID=4674;POINT (-40.324281 -2.801926)'))) / (select extract(epoch from '2026-07-08 07:57:32'::timestamp) - extract(epoch from '2026-07-08 07:57:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324147 -2.801913)'), GeomFromEWKT('SRID=4674;POINT (-40.324281 -2.801926)'))) / (select extract(epoch from '2026-07-08 07:57:32'::timestamp) - extract(epoch from '2026-07-08 07:57: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'), 47637, 'SRID=4674;POINT (-40.324378 -2.80194)', '2026-07-08 07:57:37', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324281 -2.801926)'), GeomFromEWKT('SRID=4674;POINT (-40.324378 -2.80194)'))) / (select extract(epoch from '2026-07-08 07:57:37'::timestamp) - extract(epoch from '2026-07-08 07:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324281 -2.801926)'), GeomFromEWKT('SRID=4674;POINT (-40.324378 -2.80194)'))) / (select extract(epoch from '2026-07-08 07:57:37'::timestamp) - extract(epoch from '2026-07-08 07:57: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'), 47637, 'SRID=4674;POINT (-40.324536 -2.801949)', '2026-07-08 07:57:45', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324378 -2.80194)'), GeomFromEWKT('SRID=4674;POINT (-40.324536 -2.801949)'))) / (select extract(epoch from '2026-07-08 07:57:45'::timestamp) - extract(epoch from '2026-07-08 07:57:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324378 -2.80194)'), GeomFromEWKT('SRID=4674;POINT (-40.324536 -2.801949)'))) / (select extract(epoch from '2026-07-08 07:57:45'::timestamp) - extract(epoch from '2026-07-08 07:57: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'), 47637, 'SRID=4674;POINT (-40.324704 -2.801955)', '2026-07-08 07:57:54', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324536 -2.801949)'), GeomFromEWKT('SRID=4674;POINT (-40.324704 -2.801955)'))) / (select extract(epoch from '2026-07-08 07:57:54'::timestamp) - extract(epoch from '2026-07-08 07:57:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324536 -2.801949)'), GeomFromEWKT('SRID=4674;POINT (-40.324704 -2.801955)'))) / (select extract(epoch from '2026-07-08 07:57:54'::timestamp) - extract(epoch from '2026-07-08 07:57: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'), 47637, 'SRID=4674;POINT (-40.324892 -2.80197)', '2026-07-08 07:58:04', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324704 -2.801955)'), GeomFromEWKT('SRID=4674;POINT (-40.324892 -2.80197)'))) / (select extract(epoch from '2026-07-08 07:58:04'::timestamp) - extract(epoch from '2026-07-08 07:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324704 -2.801955)'), GeomFromEWKT('SRID=4674;POINT (-40.324892 -2.80197)'))) / (select extract(epoch from '2026-07-08 07:58:04'::timestamp) - extract(epoch from '2026-07-08 07:57:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.325018 -2.801977)', '2026-07-08 07:58:11', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324892 -2.80197)'), GeomFromEWKT('SRID=4674;POINT (-40.325018 -2.801977)'))) / (select extract(epoch from '2026-07-08 07:58:11'::timestamp) - extract(epoch from '2026-07-08 07:58:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324892 -2.80197)'), GeomFromEWKT('SRID=4674;POINT (-40.325018 -2.801977)'))) / (select extract(epoch from '2026-07-08 07:58:11'::timestamp) - extract(epoch from '2026-07-08 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'), 47637, 'SRID=4674;POINT (-40.32518 -2.801979)', '2026-07-08 07:58:20', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325018 -2.801977)'), GeomFromEWKT('SRID=4674;POINT (-40.32518 -2.801979)'))) / (select extract(epoch from '2026-07-08 07:58:20'::timestamp) - extract(epoch from '2026-07-08 07:58:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325018 -2.801977)'), GeomFromEWKT('SRID=4674;POINT (-40.32518 -2.801979)'))) / (select extract(epoch from '2026-07-08 07:58:20'::timestamp) - extract(epoch from '2026-07-08 07:58: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'), 47637, 'SRID=4674;POINT (-40.325339 -2.80198)', '2026-07-08 07:58:29', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32518 -2.801979)'), GeomFromEWKT('SRID=4674;POINT (-40.325339 -2.80198)'))) / (select extract(epoch from '2026-07-08 07:58:29'::timestamp) - extract(epoch from '2026-07-08 07:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32518 -2.801979)'), GeomFromEWKT('SRID=4674;POINT (-40.325339 -2.80198)'))) / (select extract(epoch from '2026-07-08 07:58:29'::timestamp) - extract(epoch from '2026-07-08 07:58:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.325456 -2.80198)', '2026-07-08 07:58:36', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325339 -2.80198)'), GeomFromEWKT('SRID=4674;POINT (-40.325456 -2.80198)'))) / (select extract(epoch from '2026-07-08 07:58:36'::timestamp) - extract(epoch from '2026-07-08 07:58:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325339 -2.80198)'), GeomFromEWKT('SRID=4674;POINT (-40.325456 -2.80198)'))) / (select extract(epoch from '2026-07-08 07:58:36'::timestamp) - extract(epoch from '2026-07-08 07:58: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'), 47637, 'SRID=4674;POINT (-40.32561 -2.801988)', '2026-07-08 07:58:45', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325456 -2.80198)'), GeomFromEWKT('SRID=4674;POINT (-40.32561 -2.801988)'))) / (select extract(epoch from '2026-07-08 07:58:45'::timestamp) - extract(epoch from '2026-07-08 07:58:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325456 -2.80198)'), GeomFromEWKT('SRID=4674;POINT (-40.32561 -2.801988)'))) / (select extract(epoch from '2026-07-08 07:58:45'::timestamp) - extract(epoch from '2026-07-08 07:58: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'), 47637, 'SRID=4674;POINT (-40.325755 -2.802001)', '2026-07-08 07:58:53', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32561 -2.801988)'), GeomFromEWKT('SRID=4674;POINT (-40.325755 -2.802001)'))) / (select extract(epoch from '2026-07-08 07:58:53'::timestamp) - extract(epoch from '2026-07-08 07:58:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32561 -2.801988)'), GeomFromEWKT('SRID=4674;POINT (-40.325755 -2.802001)'))) / (select extract(epoch from '2026-07-08 07:58:53'::timestamp) - extract(epoch from '2026-07-08 07:58: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'), 47637, 'SRID=4674;POINT (-40.325854 -2.802016)', '2026-07-08 07:58:58', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325755 -2.802001)'), GeomFromEWKT('SRID=4674;POINT (-40.325854 -2.802016)'))) / (select extract(epoch from '2026-07-08 07:58:58'::timestamp) - extract(epoch from '2026-07-08 07:58:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325755 -2.802001)'), GeomFromEWKT('SRID=4674;POINT (-40.325854 -2.802016)'))) / (select extract(epoch from '2026-07-08 07:58:58'::timestamp) - extract(epoch from '2026-07-08 07:58: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'), 47637, 'SRID=4674;POINT (-40.326055 -2.802036)', '2026-07-08 07:59:08', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325854 -2.802016)'), GeomFromEWKT('SRID=4674;POINT (-40.326055 -2.802036)'))) / (select extract(epoch from '2026-07-08 07:59:08'::timestamp) - extract(epoch from '2026-07-08 07:58:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325854 -2.802016)'), GeomFromEWKT('SRID=4674;POINT (-40.326055 -2.802036)'))) / (select extract(epoch from '2026-07-08 07:59:08'::timestamp) - extract(epoch from '2026-07-08 07:58: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'), 47637, 'SRID=4674;POINT (-40.326197 -2.80203)', '2026-07-08 07:59:15', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326055 -2.802036)'), GeomFromEWKT('SRID=4674;POINT (-40.326197 -2.80203)'))) / (select extract(epoch from '2026-07-08 07:59:15'::timestamp) - extract(epoch from '2026-07-08 07:59:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326055 -2.802036)'), GeomFromEWKT('SRID=4674;POINT (-40.326197 -2.80203)'))) / (select extract(epoch from '2026-07-08 07:59:15'::timestamp) - extract(epoch from '2026-07-08 07:59: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'), 47637, 'SRID=4674;POINT (-40.326335 -2.802034)', '2026-07-08 07:59:22', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326197 -2.80203)'), GeomFromEWKT('SRID=4674;POINT (-40.326335 -2.802034)'))) / (select extract(epoch from '2026-07-08 07:59:22'::timestamp) - extract(epoch from '2026-07-08 07:59:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326197 -2.80203)'), GeomFromEWKT('SRID=4674;POINT (-40.326335 -2.802034)'))) / (select extract(epoch from '2026-07-08 07:59:22'::timestamp) - extract(epoch from '2026-07-08 07:59: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'), 47637, 'SRID=4674;POINT (-40.326497 -2.802039)', '2026-07-08 07:59:30', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326335 -2.802034)'), GeomFromEWKT('SRID=4674;POINT (-40.326497 -2.802039)'))) / (select extract(epoch from '2026-07-08 07:59:30'::timestamp) - extract(epoch from '2026-07-08 07:59:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326335 -2.802034)'), GeomFromEWKT('SRID=4674;POINT (-40.326497 -2.802039)'))) / (select extract(epoch from '2026-07-08 07:59:30'::timestamp) - extract(epoch from '2026-07-08 07:59: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'), 47637, 'SRID=4674;POINT (-40.326718 -2.802036)', '2026-07-08 07:59:40', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326497 -2.802039)'), GeomFromEWKT('SRID=4674;POINT (-40.326718 -2.802036)'))) / (select extract(epoch from '2026-07-08 07:59:40'::timestamp) - extract(epoch from '2026-07-08 07:59:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326497 -2.802039)'), GeomFromEWKT('SRID=4674;POINT (-40.326718 -2.802036)'))) / (select extract(epoch from '2026-07-08 07:59:40'::timestamp) - extract(epoch from '2026-07-08 07:59:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.326904 -2.802028)', '2026-07-08 07:59:48', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326718 -2.802036)'), GeomFromEWKT('SRID=4674;POINT (-40.326904 -2.802028)'))) / (select extract(epoch from '2026-07-08 07:59:48'::timestamp) - extract(epoch from '2026-07-08 07:59:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326718 -2.802036)'), GeomFromEWKT('SRID=4674;POINT (-40.326904 -2.802028)'))) / (select extract(epoch from '2026-07-08 07:59:48'::timestamp) - extract(epoch from '2026-07-08 07:59:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.327117 -2.802037)', '2026-07-08 07:59:58', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326904 -2.802028)'), GeomFromEWKT('SRID=4674;POINT (-40.327117 -2.802037)'))) / (select extract(epoch from '2026-07-08 07:59:58'::timestamp) - extract(epoch from '2026-07-08 07:59:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326904 -2.802028)'), GeomFromEWKT('SRID=4674;POINT (-40.327117 -2.802037)'))) / (select extract(epoch from '2026-07-08 07:59:58'::timestamp) - extract(epoch from '2026-07-08 07:59: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'), 47637, 'SRID=4674;POINT (-40.327277 -2.802042)', '2026-07-08 08:00:06', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327117 -2.802037)'), GeomFromEWKT('SRID=4674;POINT (-40.327277 -2.802042)'))) / (select extract(epoch from '2026-07-08 08:00:06'::timestamp) - extract(epoch from '2026-07-08 07:59:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327117 -2.802037)'), GeomFromEWKT('SRID=4674;POINT (-40.327277 -2.802042)'))) / (select extract(epoch from '2026-07-08 08:00:06'::timestamp) - extract(epoch from '2026-07-08 07:59:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
