 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.329413 -2.778303)', '2026-07-09 07:05:31', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329503 -2.778494)'), GeomFromEWKT('SRID=4674;POINT (-40.329413 -2.778303)'))) / (select extract(epoch from '2026-07-09 07:05:31'::timestamp) - extract(epoch from '2026-07-09 07:05:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329503 -2.778494)'), GeomFromEWKT('SRID=4674;POINT (-40.329413 -2.778303)'))) / (select extract(epoch from '2026-07-09 07:05:31'::timestamp) - extract(epoch from '2026-07-09 07:05:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.329318 -2.778164)', '2026-07-09 07:05:39', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329413 -2.778303)'), GeomFromEWKT('SRID=4674;POINT (-40.329318 -2.778164)'))) / (select extract(epoch from '2026-07-09 07:05:39'::timestamp) - extract(epoch from '2026-07-09 07:05:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329413 -2.778303)'), GeomFromEWKT('SRID=4674;POINT (-40.329318 -2.778164)'))) / (select extract(epoch from '2026-07-09 07:05:39'::timestamp) - extract(epoch from '2026-07-09 07:05: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'), 47808, 'SRID=4674;POINT (-40.329267 -2.778015)', '2026-07-09 07:05:47', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329318 -2.778164)'), GeomFromEWKT('SRID=4674;POINT (-40.329267 -2.778015)'))) / (select extract(epoch from '2026-07-09 07:05:47'::timestamp) - extract(epoch from '2026-07-09 07:05:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329318 -2.778164)'), GeomFromEWKT('SRID=4674;POINT (-40.329267 -2.778015)'))) / (select extract(epoch from '2026-07-09 07:05:47'::timestamp) - extract(epoch from '2026-07-09 07:05: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'), 47808, 'SRID=4674;POINT (-40.329219 -2.77788)', '2026-07-09 07:05:54', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329267 -2.778015)'), GeomFromEWKT('SRID=4674;POINT (-40.329219 -2.77788)'))) / (select extract(epoch from '2026-07-09 07:05:54'::timestamp) - extract(epoch from '2026-07-09 07:05:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329267 -2.778015)'), GeomFromEWKT('SRID=4674;POINT (-40.329219 -2.77788)'))) / (select extract(epoch from '2026-07-09 07:05:54'::timestamp) - extract(epoch from '2026-07-09 07:05: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'), 47808, 'SRID=4674;POINT (-40.329178 -2.777749)', '2026-07-09 07:06:01', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329219 -2.77788)'), GeomFromEWKT('SRID=4674;POINT (-40.329178 -2.777749)'))) / (select extract(epoch from '2026-07-09 07:06:01'::timestamp) - extract(epoch from '2026-07-09 07:05:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329219 -2.77788)'), GeomFromEWKT('SRID=4674;POINT (-40.329178 -2.777749)'))) / (select extract(epoch from '2026-07-09 07:06:01'::timestamp) - extract(epoch from '2026-07-09 07:05: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'), 47808, 'SRID=4674;POINT (-40.32915 -2.777675)', '2026-07-09 07:06:06', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329178 -2.777749)'), GeomFromEWKT('SRID=4674;POINT (-40.32915 -2.777675)'))) / (select extract(epoch from '2026-07-09 07:06:06'::timestamp) - extract(epoch from '2026-07-09 07:06:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329178 -2.777749)'), GeomFromEWKT('SRID=4674;POINT (-40.32915 -2.777675)'))) / (select extract(epoch from '2026-07-09 07:06:06'::timestamp) - extract(epoch from '2026-07-09 07:06: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'), 47808, 'SRID=4674;POINT (-40.329126 -2.777573)', '2026-07-09 07:06:13', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32915 -2.777675)'), GeomFromEWKT('SRID=4674;POINT (-40.329126 -2.777573)'))) / (select extract(epoch from '2026-07-09 07:06:13'::timestamp) - extract(epoch from '2026-07-09 07:06:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32915 -2.777675)'), GeomFromEWKT('SRID=4674;POINT (-40.329126 -2.777573)'))) / (select extract(epoch from '2026-07-09 07:06:13'::timestamp) - extract(epoch from '2026-07-09 07:06: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'), 47808, 'SRID=4674;POINT (-40.329097 -2.777461)', '2026-07-09 07:06:20', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329126 -2.777573)'), GeomFromEWKT('SRID=4674;POINT (-40.329097 -2.777461)'))) / (select extract(epoch from '2026-07-09 07:06:20'::timestamp) - extract(epoch from '2026-07-09 07:06:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329126 -2.777573)'), GeomFromEWKT('SRID=4674;POINT (-40.329097 -2.777461)'))) / (select extract(epoch from '2026-07-09 07:06:20'::timestamp) - extract(epoch from '2026-07-09 07:06: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'), 47808, 'SRID=4674;POINT (-40.329086 -2.777365)', '2026-07-09 07:06:26', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329097 -2.777461)'), GeomFromEWKT('SRID=4674;POINT (-40.329086 -2.777365)'))) / (select extract(epoch from '2026-07-09 07:06:26'::timestamp) - extract(epoch from '2026-07-09 07:06:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329097 -2.777461)'), GeomFromEWKT('SRID=4674;POINT (-40.329086 -2.777365)'))) / (select extract(epoch from '2026-07-09 07:06:26'::timestamp) - extract(epoch from '2026-07-09 07:06:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.329144 -2.777274)', '2026-07-09 07:06:32', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329086 -2.777365)'), GeomFromEWKT('SRID=4674;POINT (-40.329144 -2.777274)'))) / (select extract(epoch from '2026-07-09 07:06:32'::timestamp) - extract(epoch from '2026-07-09 07:06:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329086 -2.777365)'), GeomFromEWKT('SRID=4674;POINT (-40.329144 -2.777274)'))) / (select extract(epoch from '2026-07-09 07:06:32'::timestamp) - extract(epoch from '2026-07-09 07:06: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'), 47808, 'SRID=4674;POINT (-40.329223 -2.777204)', '2026-07-09 07:06:37', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329144 -2.777274)'), GeomFromEWKT('SRID=4674;POINT (-40.329223 -2.777204)'))) / (select extract(epoch from '2026-07-09 07:06:37'::timestamp) - extract(epoch from '2026-07-09 07:06:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329144 -2.777274)'), GeomFromEWKT('SRID=4674;POINT (-40.329223 -2.777204)'))) / (select extract(epoch from '2026-07-09 07:06:37'::timestamp) - extract(epoch from '2026-07-09 07:06: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'), 47808, 'SRID=4674;POINT (-40.329285 -2.777091)', '2026-07-09 07:06:43', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329223 -2.777204)'), GeomFromEWKT('SRID=4674;POINT (-40.329285 -2.777091)'))) / (select extract(epoch from '2026-07-09 07:06:43'::timestamp) - extract(epoch from '2026-07-09 07:06:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329223 -2.777204)'), GeomFromEWKT('SRID=4674;POINT (-40.329285 -2.777091)'))) / (select extract(epoch from '2026-07-09 07:06:43'::timestamp) - extract(epoch from '2026-07-09 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'), 47808, 'SRID=4674;POINT (-40.32928 -2.776939)', '2026-07-09 07:06:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329285 -2.777091)'), GeomFromEWKT('SRID=4674;POINT (-40.32928 -2.776939)'))) / (select extract(epoch from '2026-07-09 07:06:51'::timestamp) - extract(epoch from '2026-07-09 07:06:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329285 -2.777091)'), GeomFromEWKT('SRID=4674;POINT (-40.32928 -2.776939)'))) / (select extract(epoch from '2026-07-09 07:06:51'::timestamp) - extract(epoch from '2026-07-09 07:06: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'), 47808, 'SRID=4674;POINT (-40.329241 -2.776826)', '2026-07-09 07:06:58', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32928 -2.776939)'), GeomFromEWKT('SRID=4674;POINT (-40.329241 -2.776826)'))) / (select extract(epoch from '2026-07-09 07:06:58'::timestamp) - extract(epoch from '2026-07-09 07:06:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32928 -2.776939)'), GeomFromEWKT('SRID=4674;POINT (-40.329241 -2.776826)'))) / (select extract(epoch from '2026-07-09 07:06:58'::timestamp) - extract(epoch from '2026-07-09 07:06:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.329207 -2.776774)', '2026-07-09 07:07:06', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329241 -2.776826)'), GeomFromEWKT('SRID=4674;POINT (-40.329207 -2.776774)'))) / (select extract(epoch from '2026-07-09 07:07:06'::timestamp) - extract(epoch from '2026-07-09 07:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329241 -2.776826)'), GeomFromEWKT('SRID=4674;POINT (-40.329207 -2.776774)'))) / (select extract(epoch from '2026-07-09 07:07:06'::timestamp) - extract(epoch from '2026-07-09 07:06: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'), 47808, 'SRID=4674;POINT (-40.329193 -2.776819)', '2026-07-09 07:07:16', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329207 -2.776774)'), GeomFromEWKT('SRID=4674;POINT (-40.329193 -2.776819)'))) / (select extract(epoch from '2026-07-09 07:07:16'::timestamp) - extract(epoch from '2026-07-09 07:07:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329207 -2.776774)'), GeomFromEWKT('SRID=4674;POINT (-40.329193 -2.776819)'))) / (select extract(epoch from '2026-07-09 07:07:16'::timestamp) - extract(epoch from '2026-07-09 07:07:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.329158 -2.776836)', '2026-07-09 07:07:23', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329193 -2.776819)'), GeomFromEWKT('SRID=4674;POINT (-40.329158 -2.776836)'))) / (select extract(epoch from '2026-07-09 07:07:23'::timestamp) - extract(epoch from '2026-07-09 07:07:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329193 -2.776819)'), GeomFromEWKT('SRID=4674;POINT (-40.329158 -2.776836)'))) / (select extract(epoch from '2026-07-09 07:07:23'::timestamp) - extract(epoch from '2026-07-09 07:07: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'), 47808, 'SRID=4674;POINT (-40.329145 -2.776814)', '2026-07-09 07:07:33', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329158 -2.776836)'), GeomFromEWKT('SRID=4674;POINT (-40.329145 -2.776814)'))) / (select extract(epoch from '2026-07-09 07:07:33'::timestamp) - extract(epoch from '2026-07-09 07:07:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329158 -2.776836)'), GeomFromEWKT('SRID=4674;POINT (-40.329145 -2.776814)'))) / (select extract(epoch from '2026-07-09 07:07:33'::timestamp) - extract(epoch from '2026-07-09 07:07: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'), 47808, 'SRID=4674;POINT (-40.32914 -2.7768)', '2026-07-09 07:07:37', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329145 -2.776814)'), GeomFromEWKT('SRID=4674;POINT (-40.32914 -2.7768)'))) / (select extract(epoch from '2026-07-09 07:07:37'::timestamp) - extract(epoch from '2026-07-09 07:07:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329145 -2.776814)'), GeomFromEWKT('SRID=4674;POINT (-40.32914 -2.7768)'))) / (select extract(epoch from '2026-07-09 07:07:37'::timestamp) - extract(epoch from '2026-07-09 07:07: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'), 47808, 'SRID=4674;POINT (-40.329117 -2.776786)', '2026-07-09 07:07:45', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32914 -2.7768)'), GeomFromEWKT('SRID=4674;POINT (-40.329117 -2.776786)'))) / (select extract(epoch from '2026-07-09 07:07:45'::timestamp) - extract(epoch from '2026-07-09 07:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32914 -2.7768)'), GeomFromEWKT('SRID=4674;POINT (-40.329117 -2.776786)'))) / (select extract(epoch from '2026-07-09 07:07:45'::timestamp) - extract(epoch from '2026-07-09 07:07:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.329084 -2.7768)', '2026-07-09 07:08:15', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329117 -2.776786)'), GeomFromEWKT('SRID=4674;POINT (-40.329084 -2.7768)'))) / (select extract(epoch from '2026-07-09 07:08:15'::timestamp) - extract(epoch from '2026-07-09 07:07:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329117 -2.776786)'), GeomFromEWKT('SRID=4674;POINT (-40.329084 -2.7768)'))) / (select extract(epoch from '2026-07-09 07:08:15'::timestamp) - extract(epoch from '2026-07-09 07:07: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'), 47808, 'SRID=4674;POINT (-40.329034 -2.77682)', '2026-07-09 07:09:55', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329084 -2.7768)'), GeomFromEWKT('SRID=4674;POINT (-40.329034 -2.77682)'))) / (select extract(epoch from '2026-07-09 07:09:55'::timestamp) - extract(epoch from '2026-07-09 07:08:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329084 -2.7768)'), GeomFromEWKT('SRID=4674;POINT (-40.329034 -2.77682)'))) / (select extract(epoch from '2026-07-09 07:09:55'::timestamp) - extract(epoch from '2026-07-09 07:08:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.328996 -2.776818)', '2026-07-09 07:10:02', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329034 -2.77682)'), GeomFromEWKT('SRID=4674;POINT (-40.328996 -2.776818)'))) / (select extract(epoch from '2026-07-09 07:10:02'::timestamp) - extract(epoch from '2026-07-09 07:09:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329034 -2.77682)'), GeomFromEWKT('SRID=4674;POINT (-40.328996 -2.776818)'))) / (select extract(epoch from '2026-07-09 07:10:02'::timestamp) - extract(epoch from '2026-07-09 07:09: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'), 47808, 'SRID=4674;POINT (-40.328972 -2.776844)', '2026-07-09 07:10:09', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328996 -2.776818)'), GeomFromEWKT('SRID=4674;POINT (-40.328972 -2.776844)'))) / (select extract(epoch from '2026-07-09 07:10:09'::timestamp) - extract(epoch from '2026-07-09 07:10:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328996 -2.776818)'), GeomFromEWKT('SRID=4674;POINT (-40.328972 -2.776844)'))) / (select extract(epoch from '2026-07-09 07:10:09'::timestamp) - extract(epoch from '2026-07-09 07:10:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.328932 -2.776843)', '2026-07-09 07:10:16', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328972 -2.776844)'), GeomFromEWKT('SRID=4674;POINT (-40.328932 -2.776843)'))) / (select extract(epoch from '2026-07-09 07:10:16'::timestamp) - extract(epoch from '2026-07-09 07:10:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328972 -2.776844)'), GeomFromEWKT('SRID=4674;POINT (-40.328932 -2.776843)'))) / (select extract(epoch from '2026-07-09 07:10:16'::timestamp) - extract(epoch from '2026-07-09 07:10: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'), 47808, 'SRID=4674;POINT (-40.328899 -2.77683)', '2026-07-09 07:10:22', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328932 -2.776843)'), GeomFromEWKT('SRID=4674;POINT (-40.328899 -2.77683)'))) / (select extract(epoch from '2026-07-09 07:10:22'::timestamp) - extract(epoch from '2026-07-09 07:10:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328932 -2.776843)'), GeomFromEWKT('SRID=4674;POINT (-40.328899 -2.77683)'))) / (select extract(epoch from '2026-07-09 07:10:22'::timestamp) - extract(epoch from '2026-07-09 07:10:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.328894 -2.776827)', '2026-07-09 07:10:23', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328899 -2.77683)'), GeomFromEWKT('SRID=4674;POINT (-40.328894 -2.776827)'))) / (select extract(epoch from '2026-07-09 07:10:23'::timestamp) - extract(epoch from '2026-07-09 07:10:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328899 -2.77683)'), GeomFromEWKT('SRID=4674;POINT (-40.328894 -2.776827)'))) / (select extract(epoch from '2026-07-09 07:10:23'::timestamp) - extract(epoch from '2026-07-09 07:10:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.328864 -2.776809)', '2026-07-09 07:10:31', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328894 -2.776827)'), GeomFromEWKT('SRID=4674;POINT (-40.328864 -2.776809)'))) / (select extract(epoch from '2026-07-09 07:10:31'::timestamp) - extract(epoch from '2026-07-09 07:10:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328894 -2.776827)'), GeomFromEWKT('SRID=4674;POINT (-40.328864 -2.776809)'))) / (select extract(epoch from '2026-07-09 07:10:31'::timestamp) - extract(epoch from '2026-07-09 07:10: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'), 47808, 'SRID=4674;POINT (-40.328829 -2.7768)', '2026-07-09 07:10:40', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328864 -2.776809)'), GeomFromEWKT('SRID=4674;POINT (-40.328829 -2.7768)'))) / (select extract(epoch from '2026-07-09 07:10:40'::timestamp) - extract(epoch from '2026-07-09 07:10:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328864 -2.776809)'), GeomFromEWKT('SRID=4674;POINT (-40.328829 -2.7768)'))) / (select extract(epoch from '2026-07-09 07:10:40'::timestamp) - extract(epoch from '2026-07-09 07:10: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'), 47808, 'SRID=4674;POINT (-40.328797 -2.776797)', '2026-07-09 07:10:53', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328829 -2.7768)'), GeomFromEWKT('SRID=4674;POINT (-40.328797 -2.776797)'))) / (select extract(epoch from '2026-07-09 07:10:53'::timestamp) - extract(epoch from '2026-07-09 07:10:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328829 -2.7768)'), GeomFromEWKT('SRID=4674;POINT (-40.328797 -2.776797)'))) / (select extract(epoch from '2026-07-09 07:10:53'::timestamp) - extract(epoch from '2026-07-09 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'), 47808, 'SRID=4674;POINT (-40.328769 -2.776858)', '2026-07-09 07:12:34', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328797 -2.776797)'), GeomFromEWKT('SRID=4674;POINT (-40.328769 -2.776858)'))) / (select extract(epoch from '2026-07-09 07:12:34'::timestamp) - extract(epoch from '2026-07-09 07:10:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328797 -2.776797)'), GeomFromEWKT('SRID=4674;POINT (-40.328769 -2.776858)'))) / (select extract(epoch from '2026-07-09 07:12:34'::timestamp) - extract(epoch from '2026-07-09 07:10:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.328768 -2.776873)', '2026-07-09 07:13:04', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328769 -2.776858)'), GeomFromEWKT('SRID=4674;POINT (-40.328768 -2.776873)'))) / (select extract(epoch from '2026-07-09 07:13:04'::timestamp) - extract(epoch from '2026-07-09 07:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328769 -2.776858)'), GeomFromEWKT('SRID=4674;POINT (-40.328768 -2.776873)'))) / (select extract(epoch from '2026-07-09 07:13:04'::timestamp) - extract(epoch from '2026-07-09 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'), 47808, 'SRID=4674;POINT (-40.328772 -2.776877)', '2026-07-09 07:15:02', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328768 -2.776873)'), GeomFromEWKT('SRID=4674;POINT (-40.328772 -2.776877)'))) / (select extract(epoch from '2026-07-09 07:15:02'::timestamp) - extract(epoch from '2026-07-09 07:13:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328768 -2.776873)'), GeomFromEWKT('SRID=4674;POINT (-40.328772 -2.776877)'))) / (select extract(epoch from '2026-07-09 07:15:02'::timestamp) - extract(epoch from '2026-07-09 07:13: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'), 47808, 'SRID=4674;POINT (-40.328843 -2.77688)', '2026-07-09 07:15:14', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328772 -2.776877)'), GeomFromEWKT('SRID=4674;POINT (-40.328843 -2.77688)'))) / (select extract(epoch from '2026-07-09 07:15:14'::timestamp) - extract(epoch from '2026-07-09 07:15:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328772 -2.776877)'), GeomFromEWKT('SRID=4674;POINT (-40.328843 -2.77688)'))) / (select extract(epoch from '2026-07-09 07:15:14'::timestamp) - extract(epoch from '2026-07-09 07:15: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'), 47808, 'SRID=4674;POINT (-40.328932 -2.77689)', '2026-07-09 07:15:27', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328843 -2.77688)'), GeomFromEWKT('SRID=4674;POINT (-40.328932 -2.77689)'))) / (select extract(epoch from '2026-07-09 07:15:27'::timestamp) - extract(epoch from '2026-07-09 07:15:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328843 -2.77688)'), GeomFromEWKT('SRID=4674;POINT (-40.328932 -2.77689)'))) / (select extract(epoch from '2026-07-09 07:15:27'::timestamp) - extract(epoch from '2026-07-09 07:15: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'), 47808, 'SRID=4674;POINT (-40.328946 -2.776823)', '2026-07-09 07:15:36', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328932 -2.77689)'), GeomFromEWKT('SRID=4674;POINT (-40.328946 -2.776823)'))) / (select extract(epoch from '2026-07-09 07:15:36'::timestamp) - extract(epoch from '2026-07-09 07:15:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328932 -2.77689)'), GeomFromEWKT('SRID=4674;POINT (-40.328946 -2.776823)'))) / (select extract(epoch from '2026-07-09 07:15:36'::timestamp) - extract(epoch from '2026-07-09 07:15:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.328916 -2.776847)', '2026-07-09 07:15:42', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328946 -2.776823)'), GeomFromEWKT('SRID=4674;POINT (-40.328916 -2.776847)'))) / (select extract(epoch from '2026-07-09 07:15:42'::timestamp) - extract(epoch from '2026-07-09 07:15:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328946 -2.776823)'), GeomFromEWKT('SRID=4674;POINT (-40.328916 -2.776847)'))) / (select extract(epoch from '2026-07-09 07:15:42'::timestamp) - extract(epoch from '2026-07-09 07:15: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'), 47808, 'SRID=4674;POINT (-40.328869 -2.776977)', '2026-07-09 07:15:52', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328916 -2.776847)'), GeomFromEWKT('SRID=4674;POINT (-40.328869 -2.776977)'))) / (select extract(epoch from '2026-07-09 07:15:52'::timestamp) - extract(epoch from '2026-07-09 07:15:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328916 -2.776847)'), GeomFromEWKT('SRID=4674;POINT (-40.328869 -2.776977)'))) / (select extract(epoch from '2026-07-09 07:15:52'::timestamp) - extract(epoch from '2026-07-09 07:15:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.328872 -2.777109)', '2026-07-09 07:15:59', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328869 -2.776977)'), GeomFromEWKT('SRID=4674;POINT (-40.328872 -2.777109)'))) / (select extract(epoch from '2026-07-09 07:15:59'::timestamp) - extract(epoch from '2026-07-09 07:15:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328869 -2.776977)'), GeomFromEWKT('SRID=4674;POINT (-40.328872 -2.777109)'))) / (select extract(epoch from '2026-07-09 07:15:59'::timestamp) - extract(epoch from '2026-07-09 07:15:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.328882 -2.777257)', '2026-07-09 07:16:06', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328872 -2.777109)'), GeomFromEWKT('SRID=4674;POINT (-40.328882 -2.777257)'))) / (select extract(epoch from '2026-07-09 07:16:06'::timestamp) - extract(epoch from '2026-07-09 07:15:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328872 -2.777109)'), GeomFromEWKT('SRID=4674;POINT (-40.328882 -2.777257)'))) / (select extract(epoch from '2026-07-09 07:16:06'::timestamp) - extract(epoch from '2026-07-09 07:15: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'), 47808, 'SRID=4674;POINT (-40.328882 -2.777377)', '2026-07-09 07:16:12', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328882 -2.777257)'), GeomFromEWKT('SRID=4674;POINT (-40.328882 -2.777377)'))) / (select extract(epoch from '2026-07-09 07:16:12'::timestamp) - extract(epoch from '2026-07-09 07:16:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328882 -2.777257)'), GeomFromEWKT('SRID=4674;POINT (-40.328882 -2.777377)'))) / (select extract(epoch from '2026-07-09 07:16:12'::timestamp) - extract(epoch from '2026-07-09 07:16: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'), 47808, 'SRID=4674;POINT (-40.328896 -2.777544)', '2026-07-09 07:16:20', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328882 -2.777377)'), GeomFromEWKT('SRID=4674;POINT (-40.328896 -2.777544)'))) / (select extract(epoch from '2026-07-09 07:16:20'::timestamp) - extract(epoch from '2026-07-09 07:16:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328882 -2.777377)'), GeomFromEWKT('SRID=4674;POINT (-40.328896 -2.777544)'))) / (select extract(epoch from '2026-07-09 07:16:20'::timestamp) - extract(epoch from '2026-07-09 07:16:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.328913 -2.777713)', '2026-07-09 07:16:28', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328896 -2.777544)'), GeomFromEWKT('SRID=4674;POINT (-40.328913 -2.777713)'))) / (select extract(epoch from '2026-07-09 07:16:28'::timestamp) - extract(epoch from '2026-07-09 07:16:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328896 -2.777544)'), GeomFromEWKT('SRID=4674;POINT (-40.328913 -2.777713)'))) / (select extract(epoch from '2026-07-09 07:16:28'::timestamp) - extract(epoch from '2026-07-09 07:16: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'), 47808, 'SRID=4674;POINT (-40.328913 -2.777853)', '2026-07-09 07:16:35', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328913 -2.777713)'), GeomFromEWKT('SRID=4674;POINT (-40.328913 -2.777853)'))) / (select extract(epoch from '2026-07-09 07:16:35'::timestamp) - extract(epoch from '2026-07-09 07:16:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328913 -2.777713)'), GeomFromEWKT('SRID=4674;POINT (-40.328913 -2.777853)'))) / (select extract(epoch from '2026-07-09 07:16:35'::timestamp) - extract(epoch from '2026-07-09 07:16: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'), 47808, 'SRID=4674;POINT (-40.328922 -2.777965)', '2026-07-09 07:16:41', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328913 -2.777853)'), GeomFromEWKT('SRID=4674;POINT (-40.328922 -2.777965)'))) / (select extract(epoch from '2026-07-09 07:16:41'::timestamp) - extract(epoch from '2026-07-09 07:16:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328913 -2.777853)'), GeomFromEWKT('SRID=4674;POINT (-40.328922 -2.777965)'))) / (select extract(epoch from '2026-07-09 07:16:41'::timestamp) - extract(epoch from '2026-07-09 07:16:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.328934 -2.778098)', '2026-07-09 07:16:47', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328922 -2.777965)'), GeomFromEWKT('SRID=4674;POINT (-40.328934 -2.778098)'))) / (select extract(epoch from '2026-07-09 07:16:47'::timestamp) - extract(epoch from '2026-07-09 07:16:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328922 -2.777965)'), GeomFromEWKT('SRID=4674;POINT (-40.328934 -2.778098)'))) / (select extract(epoch from '2026-07-09 07:16:47'::timestamp) - extract(epoch from '2026-07-09 07:16:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.328935 -2.778227)', '2026-07-09 07:16:53', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328934 -2.778098)'), GeomFromEWKT('SRID=4674;POINT (-40.328935 -2.778227)'))) / (select extract(epoch from '2026-07-09 07:16:53'::timestamp) - extract(epoch from '2026-07-09 07:16:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328934 -2.778098)'), GeomFromEWKT('SRID=4674;POINT (-40.328935 -2.778227)'))) / (select extract(epoch from '2026-07-09 07:16:53'::timestamp) - extract(epoch from '2026-07-09 07:16: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'), 47808, 'SRID=4674;POINT (-40.32892 -2.778411)', '2026-07-09 07:17:01', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328935 -2.778227)'), GeomFromEWKT('SRID=4674;POINT (-40.32892 -2.778411)'))) / (select extract(epoch from '2026-07-09 07:17:01'::timestamp) - extract(epoch from '2026-07-09 07:16:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328935 -2.778227)'), GeomFromEWKT('SRID=4674;POINT (-40.32892 -2.778411)'))) / (select extract(epoch from '2026-07-09 07:17:01'::timestamp) - extract(epoch from '2026-07-09 07:16: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'), 47808, 'SRID=4674;POINT (-40.328905 -2.778611)', '2026-07-09 07:17:10', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32892 -2.778411)'), GeomFromEWKT('SRID=4674;POINT (-40.328905 -2.778611)'))) / (select extract(epoch from '2026-07-09 07:17:10'::timestamp) - extract(epoch from '2026-07-09 07:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32892 -2.778411)'), GeomFromEWKT('SRID=4674;POINT (-40.328905 -2.778611)'))) / (select extract(epoch from '2026-07-09 07:17:10'::timestamp) - extract(epoch from '2026-07-09 07:17:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.328903 -2.778779)', '2026-07-09 07:17:18', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328905 -2.778611)'), GeomFromEWKT('SRID=4674;POINT (-40.328903 -2.778779)'))) / (select extract(epoch from '2026-07-09 07:17:18'::timestamp) - extract(epoch from '2026-07-09 07:17:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328905 -2.778611)'), GeomFromEWKT('SRID=4674;POINT (-40.328903 -2.778779)'))) / (select extract(epoch from '2026-07-09 07:17:18'::timestamp) - extract(epoch from '2026-07-09 07:17: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'), 47808, 'SRID=4674;POINT (-40.328915 -2.778942)', '2026-07-09 07:17:26', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328903 -2.778779)'), GeomFromEWKT('SRID=4674;POINT (-40.328915 -2.778942)'))) / (select extract(epoch from '2026-07-09 07:17:26'::timestamp) - extract(epoch from '2026-07-09 07:17:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328903 -2.778779)'), GeomFromEWKT('SRID=4674;POINT (-40.328915 -2.778942)'))) / (select extract(epoch from '2026-07-09 07:17:26'::timestamp) - extract(epoch from '2026-07-09 07:17: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'), 47808, 'SRID=4674;POINT (-40.328908 -2.779109)', '2026-07-09 07:17:33', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328915 -2.778942)'), GeomFromEWKT('SRID=4674;POINT (-40.328908 -2.779109)'))) / (select extract(epoch from '2026-07-09 07:17:33'::timestamp) - extract(epoch from '2026-07-09 07:17:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328915 -2.778942)'), GeomFromEWKT('SRID=4674;POINT (-40.328908 -2.779109)'))) / (select extract(epoch from '2026-07-09 07:17:33'::timestamp) - extract(epoch from '2026-07-09 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'), 47808, 'SRID=4674;POINT (-40.328921 -2.779282)', '2026-07-09 07:17:41', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328908 -2.779109)'), GeomFromEWKT('SRID=4674;POINT (-40.328921 -2.779282)'))) / (select extract(epoch from '2026-07-09 07:17:41'::timestamp) - extract(epoch from '2026-07-09 07:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328908 -2.779109)'), GeomFromEWKT('SRID=4674;POINT (-40.328921 -2.779282)'))) / (select extract(epoch from '2026-07-09 07:17:41'::timestamp) - extract(epoch from '2026-07-09 07:17: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'), 47808, 'SRID=4674;POINT (-40.32893 -2.779441)', '2026-07-09 07:17:49', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328921 -2.779282)'), GeomFromEWKT('SRID=4674;POINT (-40.32893 -2.779441)'))) / (select extract(epoch from '2026-07-09 07:17:49'::timestamp) - extract(epoch from '2026-07-09 07:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328921 -2.779282)'), GeomFromEWKT('SRID=4674;POINT (-40.32893 -2.779441)'))) / (select extract(epoch from '2026-07-09 07:17:49'::timestamp) - extract(epoch from '2026-07-09 07:17:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.328893 -2.779592)', '2026-07-09 07:17:56', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32893 -2.779441)'), GeomFromEWKT('SRID=4674;POINT (-40.328893 -2.779592)'))) / (select extract(epoch from '2026-07-09 07:17:56'::timestamp) - extract(epoch from '2026-07-09 07:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32893 -2.779441)'), GeomFromEWKT('SRID=4674;POINT (-40.328893 -2.779592)'))) / (select extract(epoch from '2026-07-09 07:17:56'::timestamp) - extract(epoch from '2026-07-09 07:17: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'), 47808, 'SRID=4674;POINT (-40.328893 -2.779751)', '2026-07-09 07:18:04', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328893 -2.779592)'), GeomFromEWKT('SRID=4674;POINT (-40.328893 -2.779751)'))) / (select extract(epoch from '2026-07-09 07:18:04'::timestamp) - extract(epoch from '2026-07-09 07:17:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328893 -2.779592)'), GeomFromEWKT('SRID=4674;POINT (-40.328893 -2.779751)'))) / (select extract(epoch from '2026-07-09 07:18:04'::timestamp) - extract(epoch from '2026-07-09 07:17: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'), 47808, 'SRID=4674;POINT (-40.328914 -2.779898)', '2026-07-09 07:18:11', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328893 -2.779751)'), GeomFromEWKT('SRID=4674;POINT (-40.328914 -2.779898)'))) / (select extract(epoch from '2026-07-09 07:18:11'::timestamp) - extract(epoch from '2026-07-09 07:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328893 -2.779751)'), GeomFromEWKT('SRID=4674;POINT (-40.328914 -2.779898)'))) / (select extract(epoch from '2026-07-09 07:18:11'::timestamp) - extract(epoch from '2026-07-09 07:18: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'), 47808, 'SRID=4674;POINT (-40.328932 -2.780049)', '2026-07-09 07:18:18', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328914 -2.779898)'), GeomFromEWKT('SRID=4674;POINT (-40.328932 -2.780049)'))) / (select extract(epoch from '2026-07-09 07:18:18'::timestamp) - extract(epoch from '2026-07-09 07:18:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328914 -2.779898)'), GeomFromEWKT('SRID=4674;POINT (-40.328932 -2.780049)'))) / (select extract(epoch from '2026-07-09 07:18:18'::timestamp) - extract(epoch from '2026-07-09 07:18: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'), 47808, 'SRID=4674;POINT (-40.328982 -2.78026)', '2026-07-09 07:18:27', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328932 -2.780049)'), GeomFromEWKT('SRID=4674;POINT (-40.328982 -2.78026)'))) / (select extract(epoch from '2026-07-09 07:18:27'::timestamp) - extract(epoch from '2026-07-09 07:18:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328932 -2.780049)'), GeomFromEWKT('SRID=4674;POINT (-40.328982 -2.78026)'))) / (select extract(epoch from '2026-07-09 07:18:27'::timestamp) - extract(epoch from '2026-07-09 07:18: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'), 47808, 'SRID=4674;POINT (-40.329012 -2.780406)', '2026-07-09 07:18:33', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328982 -2.78026)'), GeomFromEWKT('SRID=4674;POINT (-40.329012 -2.780406)'))) / (select extract(epoch from '2026-07-09 07:18:33'::timestamp) - extract(epoch from '2026-07-09 07:18:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328982 -2.78026)'), GeomFromEWKT('SRID=4674;POINT (-40.329012 -2.780406)'))) / (select extract(epoch from '2026-07-09 07:18:33'::timestamp) - extract(epoch from '2026-07-09 07:18: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'), 47808, 'SRID=4674;POINT (-40.329033 -2.780562)', '2026-07-09 07:18:40', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329012 -2.780406)'), GeomFromEWKT('SRID=4674;POINT (-40.329033 -2.780562)'))) / (select extract(epoch from '2026-07-09 07:18:40'::timestamp) - extract(epoch from '2026-07-09 07:18:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329012 -2.780406)'), GeomFromEWKT('SRID=4674;POINT (-40.329033 -2.780562)'))) / (select extract(epoch from '2026-07-09 07:18:40'::timestamp) - extract(epoch from '2026-07-09 07:18:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.329046 -2.780712)', '2026-07-09 07:18:46', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329033 -2.780562)'), GeomFromEWKT('SRID=4674;POINT (-40.329046 -2.780712)'))) / (select extract(epoch from '2026-07-09 07:18:46'::timestamp) - extract(epoch from '2026-07-09 07:18:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329033 -2.780562)'), GeomFromEWKT('SRID=4674;POINT (-40.329046 -2.780712)'))) / (select extract(epoch from '2026-07-09 07:18:46'::timestamp) - extract(epoch from '2026-07-09 07:18: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'), 47808, 'SRID=4674;POINT (-40.329101 -2.78087)', '2026-07-09 07:18:54', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329046 -2.780712)'), GeomFromEWKT('SRID=4674;POINT (-40.329101 -2.78087)'))) / (select extract(epoch from '2026-07-09 07:18:54'::timestamp) - extract(epoch from '2026-07-09 07:18:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329046 -2.780712)'), GeomFromEWKT('SRID=4674;POINT (-40.329101 -2.78087)'))) / (select extract(epoch from '2026-07-09 07:18:54'::timestamp) - extract(epoch from '2026-07-09 07:18:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.329132 -2.780998)', '2026-07-09 07:19:00', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329101 -2.78087)'), GeomFromEWKT('SRID=4674;POINT (-40.329132 -2.780998)'))) / (select extract(epoch from '2026-07-09 07:19:00'::timestamp) - extract(epoch from '2026-07-09 07:18:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329101 -2.78087)'), GeomFromEWKT('SRID=4674;POINT (-40.329132 -2.780998)'))) / (select extract(epoch from '2026-07-09 07:19:00'::timestamp) - extract(epoch from '2026-07-09 07:18: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'), 47808, 'SRID=4674;POINT (-40.329155 -2.781162)', '2026-07-09 07:19:07', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329132 -2.780998)'), GeomFromEWKT('SRID=4674;POINT (-40.329155 -2.781162)'))) / (select extract(epoch from '2026-07-09 07:19:07'::timestamp) - extract(epoch from '2026-07-09 07:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329132 -2.780998)'), GeomFromEWKT('SRID=4674;POINT (-40.329155 -2.781162)'))) / (select extract(epoch from '2026-07-09 07:19:07'::timestamp) - extract(epoch from '2026-07-09 07:19: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'), 47808, 'SRID=4674;POINT (-40.329176 -2.781302)', '2026-07-09 07:19:14', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329155 -2.781162)'), GeomFromEWKT('SRID=4674;POINT (-40.329176 -2.781302)'))) / (select extract(epoch from '2026-07-09 07:19:14'::timestamp) - extract(epoch from '2026-07-09 07:19:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329155 -2.781162)'), GeomFromEWKT('SRID=4674;POINT (-40.329176 -2.781302)'))) / (select extract(epoch from '2026-07-09 07:19:14'::timestamp) - extract(epoch from '2026-07-09 07:19: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'), 47808, 'SRID=4674;POINT (-40.329191 -2.781462)', '2026-07-09 07:19:21', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329176 -2.781302)'), GeomFromEWKT('SRID=4674;POINT (-40.329191 -2.781462)'))) / (select extract(epoch from '2026-07-09 07:19:21'::timestamp) - extract(epoch from '2026-07-09 07:19:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329176 -2.781302)'), GeomFromEWKT('SRID=4674;POINT (-40.329191 -2.781462)'))) / (select extract(epoch from '2026-07-09 07:19:21'::timestamp) - extract(epoch from '2026-07-09 07:19: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'), 47808, 'SRID=4674;POINT (-40.329227 -2.781618)', '2026-07-09 07:19:29', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329191 -2.781462)'), GeomFromEWKT('SRID=4674;POINT (-40.329227 -2.781618)'))) / (select extract(epoch from '2026-07-09 07:19:29'::timestamp) - extract(epoch from '2026-07-09 07:19:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329191 -2.781462)'), GeomFromEWKT('SRID=4674;POINT (-40.329227 -2.781618)'))) / (select extract(epoch from '2026-07-09 07:19:29'::timestamp) - extract(epoch from '2026-07-09 07:19: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'), 47808, 'SRID=4674;POINT (-40.329287 -2.78176)', '2026-07-09 07:19:36', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329227 -2.781618)'), GeomFromEWKT('SRID=4674;POINT (-40.329287 -2.78176)'))) / (select extract(epoch from '2026-07-09 07:19:36'::timestamp) - extract(epoch from '2026-07-09 07:19:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329227 -2.781618)'), GeomFromEWKT('SRID=4674;POINT (-40.329287 -2.78176)'))) / (select extract(epoch from '2026-07-09 07:19:36'::timestamp) - extract(epoch from '2026-07-09 07:19: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'), 47808, 'SRID=4674;POINT (-40.329314 -2.781913)', '2026-07-09 07:19:43', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329287 -2.78176)'), GeomFromEWKT('SRID=4674;POINT (-40.329314 -2.781913)'))) / (select extract(epoch from '2026-07-09 07:19:43'::timestamp) - extract(epoch from '2026-07-09 07:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329287 -2.78176)'), GeomFromEWKT('SRID=4674;POINT (-40.329314 -2.781913)'))) / (select extract(epoch from '2026-07-09 07:19:43'::timestamp) - extract(epoch from '2026-07-09 07:19: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'), 47808, 'SRID=4674;POINT (-40.329339 -2.782057)', '2026-07-09 07:19:50', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329314 -2.781913)'), GeomFromEWKT('SRID=4674;POINT (-40.329339 -2.782057)'))) / (select extract(epoch from '2026-07-09 07:19:50'::timestamp) - extract(epoch from '2026-07-09 07:19:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329314 -2.781913)'), GeomFromEWKT('SRID=4674;POINT (-40.329339 -2.782057)'))) / (select extract(epoch from '2026-07-09 07:19:50'::timestamp) - extract(epoch from '2026-07-09 07:19: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'), 47808, 'SRID=4674;POINT (-40.329354 -2.782205)', '2026-07-09 07:19:57', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329339 -2.782057)'), GeomFromEWKT('SRID=4674;POINT (-40.329354 -2.782205)'))) / (select extract(epoch from '2026-07-09 07:19:57'::timestamp) - extract(epoch from '2026-07-09 07:19:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329339 -2.782057)'), GeomFromEWKT('SRID=4674;POINT (-40.329354 -2.782205)'))) / (select extract(epoch from '2026-07-09 07:19:57'::timestamp) - extract(epoch from '2026-07-09 07:19:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.329349 -2.782264)', '2026-07-09 07:20:01', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329354 -2.782205)'), GeomFromEWKT('SRID=4674;POINT (-40.329349 -2.782264)'))) / (select extract(epoch from '2026-07-09 07:20:01'::timestamp) - extract(epoch from '2026-07-09 07:19:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329354 -2.782205)'), GeomFromEWKT('SRID=4674;POINT (-40.329349 -2.782264)'))) / (select extract(epoch from '2026-07-09 07:20:01'::timestamp) - extract(epoch from '2026-07-09 07:19:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.329332 -2.78229)', '2026-07-09 07:20:04', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329349 -2.782264)'), GeomFromEWKT('SRID=4674;POINT (-40.329332 -2.78229)'))) / (select extract(epoch from '2026-07-09 07:20:04'::timestamp) - extract(epoch from '2026-07-09 07:20:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329349 -2.782264)'), GeomFromEWKT('SRID=4674;POINT (-40.329332 -2.78229)'))) / (select extract(epoch from '2026-07-09 07:20:04'::timestamp) - extract(epoch from '2026-07-09 07:20: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'), 47808, 'SRID=4674;POINT (-40.329301 -2.782316)', '2026-07-09 07:20:12', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329332 -2.78229)'), GeomFromEWKT('SRID=4674;POINT (-40.329301 -2.782316)'))) / (select extract(epoch from '2026-07-09 07:20:12'::timestamp) - extract(epoch from '2026-07-09 07:20:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329332 -2.78229)'), GeomFromEWKT('SRID=4674;POINT (-40.329301 -2.782316)'))) / (select extract(epoch from '2026-07-09 07:20:12'::timestamp) - extract(epoch from '2026-07-09 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'), 47808, 'SRID=4674;POINT (-40.329342 -2.782295)', '2026-07-09 07:20:33', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329301 -2.782316)'), GeomFromEWKT('SRID=4674;POINT (-40.329342 -2.782295)'))) / (select extract(epoch from '2026-07-09 07:20:33'::timestamp) - extract(epoch from '2026-07-09 07:20:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329301 -2.782316)'), GeomFromEWKT('SRID=4674;POINT (-40.329342 -2.782295)'))) / (select extract(epoch from '2026-07-09 07:20:33'::timestamp) - extract(epoch from '2026-07-09 07:20:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.32937 -2.782276)', '2026-07-09 07:20:40', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329342 -2.782295)'), GeomFromEWKT('SRID=4674;POINT (-40.32937 -2.782276)'))) / (select extract(epoch from '2026-07-09 07:20:40'::timestamp) - extract(epoch from '2026-07-09 07:20:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329342 -2.782295)'), GeomFromEWKT('SRID=4674;POINT (-40.32937 -2.782276)'))) / (select extract(epoch from '2026-07-09 07:20:40'::timestamp) - extract(epoch from '2026-07-09 07:20:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.329414 -2.782265)', '2026-07-09 07:20:52', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32937 -2.782276)'), GeomFromEWKT('SRID=4674;POINT (-40.329414 -2.782265)'))) / (select extract(epoch from '2026-07-09 07:20:52'::timestamp) - extract(epoch from '2026-07-09 07:20:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32937 -2.782276)'), GeomFromEWKT('SRID=4674;POINT (-40.329414 -2.782265)'))) / (select extract(epoch from '2026-07-09 07:20:52'::timestamp) - extract(epoch from '2026-07-09 07:20: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'), 47808, 'SRID=4674;POINT (-40.329461 -2.782252)', '2026-07-09 07:21:04', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329414 -2.782265)'), GeomFromEWKT('SRID=4674;POINT (-40.329461 -2.782252)'))) / (select extract(epoch from '2026-07-09 07:21:04'::timestamp) - extract(epoch from '2026-07-09 07:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329414 -2.782265)'), GeomFromEWKT('SRID=4674;POINT (-40.329461 -2.782252)'))) / (select extract(epoch from '2026-07-09 07:21:04'::timestamp) - extract(epoch from '2026-07-09 07:20: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'), 47808, 'SRID=4674;POINT (-40.329466 -2.782245)', '2026-07-09 07:21:15', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329461 -2.782252)'), GeomFromEWKT('SRID=4674;POINT (-40.329466 -2.782245)'))) / (select extract(epoch from '2026-07-09 07:21:15'::timestamp) - extract(epoch from '2026-07-09 07:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329461 -2.782252)'), GeomFromEWKT('SRID=4674;POINT (-40.329466 -2.782245)'))) / (select extract(epoch from '2026-07-09 07:21:15'::timestamp) - extract(epoch from '2026-07-09 07:21: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'), 47808, 'SRID=4674;POINT (-40.329506 -2.782226)', '2026-07-09 07:21:23', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329466 -2.782245)'), GeomFromEWKT('SRID=4674;POINT (-40.329506 -2.782226)'))) / (select extract(epoch from '2026-07-09 07:21:23'::timestamp) - extract(epoch from '2026-07-09 07:21:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329466 -2.782245)'), GeomFromEWKT('SRID=4674;POINT (-40.329506 -2.782226)'))) / (select extract(epoch from '2026-07-09 07:21:23'::timestamp) - extract(epoch from '2026-07-09 07:21:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.329531 -2.782223)', '2026-07-09 07:21:29', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329506 -2.782226)'), GeomFromEWKT('SRID=4674;POINT (-40.329531 -2.782223)'))) / (select extract(epoch from '2026-07-09 07:21:29'::timestamp) - extract(epoch from '2026-07-09 07:21:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329506 -2.782226)'), GeomFromEWKT('SRID=4674;POINT (-40.329531 -2.782223)'))) / (select extract(epoch from '2026-07-09 07:21:29'::timestamp) - extract(epoch from '2026-07-09 07:21:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.329566 -2.782219)', '2026-07-09 07:21:36', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329531 -2.782223)'), GeomFromEWKT('SRID=4674;POINT (-40.329566 -2.782219)'))) / (select extract(epoch from '2026-07-09 07:21:36'::timestamp) - extract(epoch from '2026-07-09 07:21:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329531 -2.782223)'), GeomFromEWKT('SRID=4674;POINT (-40.329566 -2.782219)'))) / (select extract(epoch from '2026-07-09 07:21:36'::timestamp) - extract(epoch from '2026-07-09 07:21: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'), 47808, 'SRID=4674;POINT (-40.329681 -2.782241)', '2026-07-09 07:21:54', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329566 -2.782219)'), GeomFromEWKT('SRID=4674;POINT (-40.329681 -2.782241)'))) / (select extract(epoch from '2026-07-09 07:21:54'::timestamp) - extract(epoch from '2026-07-09 07:21:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329566 -2.782219)'), GeomFromEWKT('SRID=4674;POINT (-40.329681 -2.782241)'))) / (select extract(epoch from '2026-07-09 07:21:54'::timestamp) - extract(epoch from '2026-07-09 07:21: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'), 47808, 'SRID=4674;POINT (-40.329725 -2.782248)', '2026-07-09 07:22:08', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329681 -2.782241)'), GeomFromEWKT('SRID=4674;POINT (-40.329725 -2.782248)'))) / (select extract(epoch from '2026-07-09 07:22:08'::timestamp) - extract(epoch from '2026-07-09 07:21:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329681 -2.782241)'), GeomFromEWKT('SRID=4674;POINT (-40.329725 -2.782248)'))) / (select extract(epoch from '2026-07-09 07:22:08'::timestamp) - extract(epoch from '2026-07-09 07:21:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.329752 -2.782244)', '2026-07-09 07:22:21', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329725 -2.782248)'), GeomFromEWKT('SRID=4674;POINT (-40.329752 -2.782244)'))) / (select extract(epoch from '2026-07-09 07:22:21'::timestamp) - extract(epoch from '2026-07-09 07:22:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329725 -2.782248)'), GeomFromEWKT('SRID=4674;POINT (-40.329752 -2.782244)'))) / (select extract(epoch from '2026-07-09 07:22:21'::timestamp) - extract(epoch from '2026-07-09 07:22:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.329786 -2.782247)', '2026-07-09 07:22:32', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329752 -2.782244)'), GeomFromEWKT('SRID=4674;POINT (-40.329786 -2.782247)'))) / (select extract(epoch from '2026-07-09 07:22:32'::timestamp) - extract(epoch from '2026-07-09 07:22:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329752 -2.782244)'), GeomFromEWKT('SRID=4674;POINT (-40.329786 -2.782247)'))) / (select extract(epoch from '2026-07-09 07:22:32'::timestamp) - extract(epoch from '2026-07-09 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'), 47808, 'SRID=4674;POINT (-40.329817 -2.78226)', '2026-07-09 07:22:43', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329786 -2.782247)'), GeomFromEWKT('SRID=4674;POINT (-40.329817 -2.78226)'))) / (select extract(epoch from '2026-07-09 07:22:43'::timestamp) - extract(epoch from '2026-07-09 07:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329786 -2.782247)'), GeomFromEWKT('SRID=4674;POINT (-40.329817 -2.78226)'))) / (select extract(epoch from '2026-07-09 07:22:43'::timestamp) - extract(epoch from '2026-07-09 07:22:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.329889 -2.782277)', '2026-07-09 07:23:09', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329817 -2.78226)'), GeomFromEWKT('SRID=4674;POINT (-40.329889 -2.782277)'))) / (select extract(epoch from '2026-07-09 07:23:09'::timestamp) - extract(epoch from '2026-07-09 07:22:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329817 -2.78226)'), GeomFromEWKT('SRID=4674;POINT (-40.329889 -2.782277)'))) / (select extract(epoch from '2026-07-09 07:23:09'::timestamp) - extract(epoch from '2026-07-09 07:22: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'), 47808, 'SRID=4674;POINT (-40.329981 -2.782181)', '2026-07-09 07:23:33', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329889 -2.782277)'), GeomFromEWKT('SRID=4674;POINT (-40.329981 -2.782181)'))) / (select extract(epoch from '2026-07-09 07:23:33'::timestamp) - extract(epoch from '2026-07-09 07:23:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329889 -2.782277)'), GeomFromEWKT('SRID=4674;POINT (-40.329981 -2.782181)'))) / (select extract(epoch from '2026-07-09 07:23:33'::timestamp) - extract(epoch from '2026-07-09 07:23: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'), 47808, 'SRID=4674;POINT (-40.330062 -2.782119)', '2026-07-09 07:23:39', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329981 -2.782181)'), GeomFromEWKT('SRID=4674;POINT (-40.330062 -2.782119)'))) / (select extract(epoch from '2026-07-09 07:23:39'::timestamp) - extract(epoch from '2026-07-09 07:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329981 -2.782181)'), GeomFromEWKT('SRID=4674;POINT (-40.330062 -2.782119)'))) / (select extract(epoch from '2026-07-09 07:23:39'::timestamp) - extract(epoch from '2026-07-09 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'), 47808, 'SRID=4674;POINT (-40.330191 -2.782124)', '2026-07-09 07:23:45', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330062 -2.782119)'), GeomFromEWKT('SRID=4674;POINT (-40.330191 -2.782124)'))) / (select extract(epoch from '2026-07-09 07:23:45'::timestamp) - extract(epoch from '2026-07-09 07:23:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330062 -2.782119)'), GeomFromEWKT('SRID=4674;POINT (-40.330191 -2.782124)'))) / (select extract(epoch from '2026-07-09 07:23:45'::timestamp) - extract(epoch from '2026-07-09 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'), 47808, 'SRID=4674;POINT (-40.330313 -2.782203)', '2026-07-09 07:23:52', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330191 -2.782124)'), GeomFromEWKT('SRID=4674;POINT (-40.330313 -2.782203)'))) / (select extract(epoch from '2026-07-09 07:23:52'::timestamp) - extract(epoch from '2026-07-09 07:23:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330191 -2.782124)'), GeomFromEWKT('SRID=4674;POINT (-40.330313 -2.782203)'))) / (select extract(epoch from '2026-07-09 07:23:52'::timestamp) - extract(epoch from '2026-07-09 07:23: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'), 47808, 'SRID=4674;POINT (-40.330425 -2.782334)', '2026-07-09 07:23:59', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330313 -2.782203)'), GeomFromEWKT('SRID=4674;POINT (-40.330425 -2.782334)'))) / (select extract(epoch from '2026-07-09 07:23:59'::timestamp) - extract(epoch from '2026-07-09 07:23:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330313 -2.782203)'), GeomFromEWKT('SRID=4674;POINT (-40.330425 -2.782334)'))) / (select extract(epoch from '2026-07-09 07:23:59'::timestamp) - extract(epoch from '2026-07-09 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'), 47808, 'SRID=4674;POINT (-40.330539 -2.782471)', '2026-07-09 07:24:06', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330425 -2.782334)'), GeomFromEWKT('SRID=4674;POINT (-40.330539 -2.782471)'))) / (select extract(epoch from '2026-07-09 07:24:06'::timestamp) - extract(epoch from '2026-07-09 07:23:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330425 -2.782334)'), GeomFromEWKT('SRID=4674;POINT (-40.330539 -2.782471)'))) / (select extract(epoch from '2026-07-09 07:24:06'::timestamp) - extract(epoch from '2026-07-09 07:23: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'), 47808, 'SRID=4674;POINT (-40.330639 -2.782595)', '2026-07-09 07:24:13', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330539 -2.782471)'), GeomFromEWKT('SRID=4674;POINT (-40.330639 -2.782595)'))) / (select extract(epoch from '2026-07-09 07:24:13'::timestamp) - extract(epoch from '2026-07-09 07:24:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330539 -2.782471)'), GeomFromEWKT('SRID=4674;POINT (-40.330639 -2.782595)'))) / (select extract(epoch from '2026-07-09 07:24:13'::timestamp) - extract(epoch from '2026-07-09 07:24:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.33077 -2.78272)', '2026-07-09 07:24:20', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330639 -2.782595)'), GeomFromEWKT('SRID=4674;POINT (-40.33077 -2.78272)'))) / (select extract(epoch from '2026-07-09 07:24:20'::timestamp) - extract(epoch from '2026-07-09 07:24:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330639 -2.782595)'), GeomFromEWKT('SRID=4674;POINT (-40.33077 -2.78272)'))) / (select extract(epoch from '2026-07-09 07:24:20'::timestamp) - extract(epoch from '2026-07-09 07:24:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.330903 -2.782795)', '2026-07-09 07:24:27', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33077 -2.78272)'), GeomFromEWKT('SRID=4674;POINT (-40.330903 -2.782795)'))) / (select extract(epoch from '2026-07-09 07:24:27'::timestamp) - extract(epoch from '2026-07-09 07:24:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33077 -2.78272)'), GeomFromEWKT('SRID=4674;POINT (-40.330903 -2.782795)'))) / (select extract(epoch from '2026-07-09 07:24:27'::timestamp) - extract(epoch from '2026-07-09 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'), 47808, 'SRID=4674;POINT (-40.331019 -2.78289)', '2026-07-09 07:24:33', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330903 -2.782795)'), GeomFromEWKT('SRID=4674;POINT (-40.331019 -2.78289)'))) / (select extract(epoch from '2026-07-09 07:24:33'::timestamp) - extract(epoch from '2026-07-09 07:24:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330903 -2.782795)'), GeomFromEWKT('SRID=4674;POINT (-40.331019 -2.78289)'))) / (select extract(epoch from '2026-07-09 07:24:33'::timestamp) - extract(epoch from '2026-07-09 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'), 47808, 'SRID=4674;POINT (-40.331141 -2.78298)', '2026-07-09 07:24:39', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331019 -2.78289)'), GeomFromEWKT('SRID=4674;POINT (-40.331141 -2.78298)'))) / (select extract(epoch from '2026-07-09 07:24:39'::timestamp) - extract(epoch from '2026-07-09 07:24:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331019 -2.78289)'), GeomFromEWKT('SRID=4674;POINT (-40.331141 -2.78298)'))) / (select extract(epoch from '2026-07-09 07:24:39'::timestamp) - extract(epoch from '2026-07-09 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'), 47808, 'SRID=4674;POINT (-40.331238 -2.783087)', '2026-07-09 07:24:45', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331141 -2.78298)'), GeomFromEWKT('SRID=4674;POINT (-40.331238 -2.783087)'))) / (select extract(epoch from '2026-07-09 07:24:45'::timestamp) - extract(epoch from '2026-07-09 07:24:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331141 -2.78298)'), GeomFromEWKT('SRID=4674;POINT (-40.331238 -2.783087)'))) / (select extract(epoch from '2026-07-09 07:24:45'::timestamp) - extract(epoch from '2026-07-09 07:24: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'), 47808, 'SRID=4674;POINT (-40.331352 -2.783169)', '2026-07-09 07:24:50', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331238 -2.783087)'), GeomFromEWKT('SRID=4674;POINT (-40.331352 -2.783169)'))) / (select extract(epoch from '2026-07-09 07:24:50'::timestamp) - extract(epoch from '2026-07-09 07:24:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331238 -2.783087)'), GeomFromEWKT('SRID=4674;POINT (-40.331352 -2.783169)'))) / (select extract(epoch from '2026-07-09 07:24:50'::timestamp) - extract(epoch from '2026-07-09 07:24:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.331512 -2.783229)', '2026-07-09 07:24:57', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331352 -2.783169)'), GeomFromEWKT('SRID=4674;POINT (-40.331512 -2.783229)'))) / (select extract(epoch from '2026-07-09 07:24:57'::timestamp) - extract(epoch from '2026-07-09 07:24:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331352 -2.783169)'), GeomFromEWKT('SRID=4674;POINT (-40.331512 -2.783229)'))) / (select extract(epoch from '2026-07-09 07:24:57'::timestamp) - extract(epoch from '2026-07-09 07:24:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.331684 -2.783301)', '2026-07-09 07:25:04', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331512 -2.783229)'), GeomFromEWKT('SRID=4674;POINT (-40.331684 -2.783301)'))) / (select extract(epoch from '2026-07-09 07:25:04'::timestamp) - extract(epoch from '2026-07-09 07:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331512 -2.783229)'), GeomFromEWKT('SRID=4674;POINT (-40.331684 -2.783301)'))) / (select extract(epoch from '2026-07-09 07:25:04'::timestamp) - extract(epoch from '2026-07-09 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'), 47808, 'SRID=4674;POINT (-40.331833 -2.783403)', '2026-07-09 07:25:12', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331684 -2.783301)'), GeomFromEWKT('SRID=4674;POINT (-40.331833 -2.783403)'))) / (select extract(epoch from '2026-07-09 07:25:12'::timestamp) - extract(epoch from '2026-07-09 07:25:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331684 -2.783301)'), GeomFromEWKT('SRID=4674;POINT (-40.331833 -2.783403)'))) / (select extract(epoch from '2026-07-09 07:25:12'::timestamp) - extract(epoch from '2026-07-09 07:25: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'), 47808, 'SRID=4674;POINT (-40.331932 -2.783497)', '2026-07-09 07:25:18', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331833 -2.783403)'), GeomFromEWKT('SRID=4674;POINT (-40.331932 -2.783497)'))) / (select extract(epoch from '2026-07-09 07:25:18'::timestamp) - extract(epoch from '2026-07-09 07:25:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331833 -2.783403)'), GeomFromEWKT('SRID=4674;POINT (-40.331932 -2.783497)'))) / (select extract(epoch from '2026-07-09 07:25:18'::timestamp) - extract(epoch from '2026-07-09 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'), 47808, 'SRID=4674;POINT (-40.332056 -2.783646)', '2026-07-09 07:25:26', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331932 -2.783497)'), GeomFromEWKT('SRID=4674;POINT (-40.332056 -2.783646)'))) / (select extract(epoch from '2026-07-09 07:25:26'::timestamp) - extract(epoch from '2026-07-09 07:25:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331932 -2.783497)'), GeomFromEWKT('SRID=4674;POINT (-40.332056 -2.783646)'))) / (select extract(epoch from '2026-07-09 07:25:26'::timestamp) - extract(epoch from '2026-07-09 07:25:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.332197 -2.783738)', '2026-07-09 07:25:33', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332056 -2.783646)'), GeomFromEWKT('SRID=4674;POINT (-40.332197 -2.783738)'))) / (select extract(epoch from '2026-07-09 07:25:33'::timestamp) - extract(epoch from '2026-07-09 07:25:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332056 -2.783646)'), GeomFromEWKT('SRID=4674;POINT (-40.332197 -2.783738)'))) / (select extract(epoch from '2026-07-09 07:25:33'::timestamp) - extract(epoch from '2026-07-09 07:25:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.332338 -2.78381)', '2026-07-09 07:25:40', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332197 -2.783738)'), GeomFromEWKT('SRID=4674;POINT (-40.332338 -2.78381)'))) / (select extract(epoch from '2026-07-09 07:25:40'::timestamp) - extract(epoch from '2026-07-09 07:25:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332197 -2.783738)'), GeomFromEWKT('SRID=4674;POINT (-40.332338 -2.78381)'))) / (select extract(epoch from '2026-07-09 07:25:40'::timestamp) - extract(epoch from '2026-07-09 07:25:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.332542 -2.783885)', '2026-07-09 07:25:48', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332338 -2.78381)'), GeomFromEWKT('SRID=4674;POINT (-40.332542 -2.783885)'))) / (select extract(epoch from '2026-07-09 07:25:48'::timestamp) - extract(epoch from '2026-07-09 07:25:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332338 -2.78381)'), GeomFromEWKT('SRID=4674;POINT (-40.332542 -2.783885)'))) / (select extract(epoch from '2026-07-09 07:25:48'::timestamp) - extract(epoch from '2026-07-09 07:25: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'), 47808, 'SRID=4674;POINT (-40.332653 -2.783926)', '2026-07-09 07:25:53', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332542 -2.783885)'), GeomFromEWKT('SRID=4674;POINT (-40.332653 -2.783926)'))) / (select extract(epoch from '2026-07-09 07:25:53'::timestamp) - extract(epoch from '2026-07-09 07:25:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332542 -2.783885)'), GeomFromEWKT('SRID=4674;POINT (-40.332653 -2.783926)'))) / (select extract(epoch from '2026-07-09 07:25:53'::timestamp) - extract(epoch from '2026-07-09 07:25: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'), 47808, 'SRID=4674;POINT (-40.332791 -2.783991)', '2026-07-09 07:25:59', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332653 -2.783926)'), GeomFromEWKT('SRID=4674;POINT (-40.332791 -2.783991)'))) / (select extract(epoch from '2026-07-09 07:25:59'::timestamp) - extract(epoch from '2026-07-09 07:25:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332653 -2.783926)'), GeomFromEWKT('SRID=4674;POINT (-40.332791 -2.783991)'))) / (select extract(epoch from '2026-07-09 07:25:59'::timestamp) - extract(epoch from '2026-07-09 07:25: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'), 47808, 'SRID=4674;POINT (-40.332911 -2.784088)', '2026-07-09 07:26:05', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332791 -2.783991)'), GeomFromEWKT('SRID=4674;POINT (-40.332911 -2.784088)'))) / (select extract(epoch from '2026-07-09 07:26:05'::timestamp) - extract(epoch from '2026-07-09 07:25:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332791 -2.783991)'), GeomFromEWKT('SRID=4674;POINT (-40.332911 -2.784088)'))) / (select extract(epoch from '2026-07-09 07:26:05'::timestamp) - extract(epoch from '2026-07-09 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'), 47808, 'SRID=4674;POINT (-40.333008 -2.784172)', '2026-07-09 07:26:10', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332911 -2.784088)'), GeomFromEWKT('SRID=4674;POINT (-40.333008 -2.784172)'))) / (select extract(epoch from '2026-07-09 07:26:10'::timestamp) - extract(epoch from '2026-07-09 07:26:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332911 -2.784088)'), GeomFromEWKT('SRID=4674;POINT (-40.333008 -2.784172)'))) / (select extract(epoch from '2026-07-09 07:26:10'::timestamp) - extract(epoch from '2026-07-09 07:26:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.333126 -2.784304)', '2026-07-09 07:26:17', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333008 -2.784172)'), GeomFromEWKT('SRID=4674;POINT (-40.333126 -2.784304)'))) / (select extract(epoch from '2026-07-09 07:26:17'::timestamp) - extract(epoch from '2026-07-09 07:26:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333008 -2.784172)'), GeomFromEWKT('SRID=4674;POINT (-40.333126 -2.784304)'))) / (select extract(epoch from '2026-07-09 07:26:17'::timestamp) - extract(epoch from '2026-07-09 07:26:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.333235 -2.784431)', '2026-07-09 07:26:24', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333126 -2.784304)'), GeomFromEWKT('SRID=4674;POINT (-40.333235 -2.784431)'))) / (select extract(epoch from '2026-07-09 07:26:24'::timestamp) - extract(epoch from '2026-07-09 07:26:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333126 -2.784304)'), GeomFromEWKT('SRID=4674;POINT (-40.333235 -2.784431)'))) / (select extract(epoch from '2026-07-09 07:26:24'::timestamp) - extract(epoch from '2026-07-09 07:26:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.333332 -2.784563)', '2026-07-09 07:26:31', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333235 -2.784431)'), GeomFromEWKT('SRID=4674;POINT (-40.333332 -2.784563)'))) / (select extract(epoch from '2026-07-09 07:26:31'::timestamp) - extract(epoch from '2026-07-09 07:26:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333235 -2.784431)'), GeomFromEWKT('SRID=4674;POINT (-40.333332 -2.784563)'))) / (select extract(epoch from '2026-07-09 07:26:31'::timestamp) - extract(epoch from '2026-07-09 07:26: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'), 47808, 'SRID=4674;POINT (-40.333443 -2.784661)', '2026-07-09 07:26:37', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333332 -2.784563)'), GeomFromEWKT('SRID=4674;POINT (-40.333443 -2.784661)'))) / (select extract(epoch from '2026-07-09 07:26:37'::timestamp) - extract(epoch from '2026-07-09 07:26:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333332 -2.784563)'), GeomFromEWKT('SRID=4674;POINT (-40.333443 -2.784661)'))) / (select extract(epoch from '2026-07-09 07:26:37'::timestamp) - extract(epoch from '2026-07-09 07:26:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.333568 -2.784766)', '2026-07-09 07:26:44', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333443 -2.784661)'), GeomFromEWKT('SRID=4674;POINT (-40.333568 -2.784766)'))) / (select extract(epoch from '2026-07-09 07:26:44'::timestamp) - extract(epoch from '2026-07-09 07:26:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333443 -2.784661)'), GeomFromEWKT('SRID=4674;POINT (-40.333568 -2.784766)'))) / (select extract(epoch from '2026-07-09 07:26:44'::timestamp) - extract(epoch from '2026-07-09 07:26: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'), 47808, 'SRID=4674;POINT (-40.33369 -2.784893)', '2026-07-09 07:26:51', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333568 -2.784766)'), GeomFromEWKT('SRID=4674;POINT (-40.33369 -2.784893)'))) / (select extract(epoch from '2026-07-09 07:26:51'::timestamp) - extract(epoch from '2026-07-09 07:26:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333568 -2.784766)'), GeomFromEWKT('SRID=4674;POINT (-40.33369 -2.784893)'))) / (select extract(epoch from '2026-07-09 07:26:51'::timestamp) - extract(epoch from '2026-07-09 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'), 47808, 'SRID=4674;POINT (-40.333777 -2.784983)', '2026-07-09 07:26:56', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33369 -2.784893)'), GeomFromEWKT('SRID=4674;POINT (-40.333777 -2.784983)'))) / (select extract(epoch from '2026-07-09 07:26:56'::timestamp) - extract(epoch from '2026-07-09 07:26:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33369 -2.784893)'), GeomFromEWKT('SRID=4674;POINT (-40.333777 -2.784983)'))) / (select extract(epoch from '2026-07-09 07:26:56'::timestamp) - extract(epoch from '2026-07-09 07:26: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'), 47808, 'SRID=4674;POINT (-40.333876 -2.78511)', '2026-07-09 07:27:03', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333777 -2.784983)'), GeomFromEWKT('SRID=4674;POINT (-40.333876 -2.78511)'))) / (select extract(epoch from '2026-07-09 07:27:03'::timestamp) - extract(epoch from '2026-07-09 07:26:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333777 -2.784983)'), GeomFromEWKT('SRID=4674;POINT (-40.333876 -2.78511)'))) / (select extract(epoch from '2026-07-09 07:27:03'::timestamp) - extract(epoch from '2026-07-09 07:26:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.333982 -2.785244)', '2026-07-09 07:27:10', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333876 -2.78511)'), GeomFromEWKT('SRID=4674;POINT (-40.333982 -2.785244)'))) / (select extract(epoch from '2026-07-09 07:27:10'::timestamp) - extract(epoch from '2026-07-09 07:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333876 -2.78511)'), GeomFromEWKT('SRID=4674;POINT (-40.333982 -2.785244)'))) / (select extract(epoch from '2026-07-09 07:27:10'::timestamp) - extract(epoch from '2026-07-09 07:27: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'), 47808, 'SRID=4674;POINT (-40.334097 -2.78537)', '2026-07-09 07:27:17', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333982 -2.785244)'), GeomFromEWKT('SRID=4674;POINT (-40.334097 -2.78537)'))) / (select extract(epoch from '2026-07-09 07:27:17'::timestamp) - extract(epoch from '2026-07-09 07:27:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333982 -2.785244)'), GeomFromEWKT('SRID=4674;POINT (-40.334097 -2.78537)'))) / (select extract(epoch from '2026-07-09 07:27:17'::timestamp) - extract(epoch from '2026-07-09 07:27: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'), 47808, 'SRID=4674;POINT (-40.334268 -2.785552)', '2026-07-09 07:27:27', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334097 -2.78537)'), GeomFromEWKT('SRID=4674;POINT (-40.334268 -2.785552)'))) / (select extract(epoch from '2026-07-09 07:27:27'::timestamp) - extract(epoch from '2026-07-09 07:27:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334097 -2.78537)'), GeomFromEWKT('SRID=4674;POINT (-40.334268 -2.785552)'))) / (select extract(epoch from '2026-07-09 07:27:27'::timestamp) - extract(epoch from '2026-07-09 07:27: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'), 47808, 'SRID=4674;POINT (-40.334368 -2.785672)', '2026-07-09 07:27:33', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334268 -2.785552)'), GeomFromEWKT('SRID=4674;POINT (-40.334368 -2.785672)'))) / (select extract(epoch from '2026-07-09 07:27:33'::timestamp) - extract(epoch from '2026-07-09 07:27:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334268 -2.785552)'), GeomFromEWKT('SRID=4674;POINT (-40.334368 -2.785672)'))) / (select extract(epoch from '2026-07-09 07:27:33'::timestamp) - extract(epoch from '2026-07-09 07:27:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.33447 -2.785799)', '2026-07-09 07:27:40', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334368 -2.785672)'), GeomFromEWKT('SRID=4674;POINT (-40.33447 -2.785799)'))) / (select extract(epoch from '2026-07-09 07:27:40'::timestamp) - extract(epoch from '2026-07-09 07:27:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334368 -2.785672)'), GeomFromEWKT('SRID=4674;POINT (-40.33447 -2.785799)'))) / (select extract(epoch from '2026-07-09 07:27:40'::timestamp) - extract(epoch from '2026-07-09 07:27:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.334583 -2.78597)', '2026-07-09 07:27:48', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33447 -2.785799)'), GeomFromEWKT('SRID=4674;POINT (-40.334583 -2.78597)'))) / (select extract(epoch from '2026-07-09 07:27:48'::timestamp) - extract(epoch from '2026-07-09 07:27:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33447 -2.785799)'), GeomFromEWKT('SRID=4674;POINT (-40.334583 -2.78597)'))) / (select extract(epoch from '2026-07-09 07:27:48'::timestamp) - extract(epoch from '2026-07-09 07:27:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.334671 -2.786082)', '2026-07-09 07:27:54', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334583 -2.78597)'), GeomFromEWKT('SRID=4674;POINT (-40.334671 -2.786082)'))) / (select extract(epoch from '2026-07-09 07:27:54'::timestamp) - extract(epoch from '2026-07-09 07:27:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334583 -2.78597)'), GeomFromEWKT('SRID=4674;POINT (-40.334671 -2.786082)'))) / (select extract(epoch from '2026-07-09 07:27:54'::timestamp) - extract(epoch from '2026-07-09 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'), 47808, 'SRID=4674;POINT (-40.334758 -2.786193)', '2026-07-09 07:28:00', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334671 -2.786082)'), GeomFromEWKT('SRID=4674;POINT (-40.334758 -2.786193)'))) / (select extract(epoch from '2026-07-09 07:28:00'::timestamp) - extract(epoch from '2026-07-09 07:27:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334671 -2.786082)'), GeomFromEWKT('SRID=4674;POINT (-40.334758 -2.786193)'))) / (select extract(epoch from '2026-07-09 07:28:00'::timestamp) - extract(epoch from '2026-07-09 07:27: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'), 47808, 'SRID=4674;POINT (-40.334829 -2.786322)', '2026-07-09 07:28:06', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334758 -2.786193)'), GeomFromEWKT('SRID=4674;POINT (-40.334829 -2.786322)'))) / (select extract(epoch from '2026-07-09 07:28:06'::timestamp) - extract(epoch from '2026-07-09 07:28:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334758 -2.786193)'), GeomFromEWKT('SRID=4674;POINT (-40.334829 -2.786322)'))) / (select extract(epoch from '2026-07-09 07:28:06'::timestamp) - extract(epoch from '2026-07-09 07:28: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'), 47808, 'SRID=4674;POINT (-40.334938 -2.786461)', '2026-07-09 07:28:13', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334829 -2.786322)'), GeomFromEWKT('SRID=4674;POINT (-40.334938 -2.786461)'))) / (select extract(epoch from '2026-07-09 07:28:13'::timestamp) - extract(epoch from '2026-07-09 07:28:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334829 -2.786322)'), GeomFromEWKT('SRID=4674;POINT (-40.334938 -2.786461)'))) / (select extract(epoch from '2026-07-09 07:28:13'::timestamp) - extract(epoch from '2026-07-09 07:28:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.335046 -2.786577)', '2026-07-09 07:28:20', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334938 -2.786461)'), GeomFromEWKT('SRID=4674;POINT (-40.335046 -2.786577)'))) / (select extract(epoch from '2026-07-09 07:28:20'::timestamp) - extract(epoch from '2026-07-09 07:28:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334938 -2.786461)'), GeomFromEWKT('SRID=4674;POINT (-40.335046 -2.786577)'))) / (select extract(epoch from '2026-07-09 07:28:20'::timestamp) - extract(epoch from '2026-07-09 07:28:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.335174 -2.786689)', '2026-07-09 07:28:27', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335046 -2.786577)'), GeomFromEWKT('SRID=4674;POINT (-40.335174 -2.786689)'))) / (select extract(epoch from '2026-07-09 07:28:27'::timestamp) - extract(epoch from '2026-07-09 07:28:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335046 -2.786577)'), GeomFromEWKT('SRID=4674;POINT (-40.335174 -2.786689)'))) / (select extract(epoch from '2026-07-09 07:28:27'::timestamp) - extract(epoch from '2026-07-09 07:28: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'), 47808, 'SRID=4674;POINT (-40.335365 -2.786818)', '2026-07-09 07:28:36', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335174 -2.786689)'), GeomFromEWKT('SRID=4674;POINT (-40.335365 -2.786818)'))) / (select extract(epoch from '2026-07-09 07:28:36'::timestamp) - extract(epoch from '2026-07-09 07:28:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335174 -2.786689)'), GeomFromEWKT('SRID=4674;POINT (-40.335365 -2.786818)'))) / (select extract(epoch from '2026-07-09 07:28:36'::timestamp) - extract(epoch from '2026-07-09 07:28:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.335543 -2.786921)', '2026-07-09 07:28:44', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335365 -2.786818)'), GeomFromEWKT('SRID=4674;POINT (-40.335543 -2.786921)'))) / (select extract(epoch from '2026-07-09 07:28:44'::timestamp) - extract(epoch from '2026-07-09 07:28:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335365 -2.786818)'), GeomFromEWKT('SRID=4674;POINT (-40.335543 -2.786921)'))) / (select extract(epoch from '2026-07-09 07:28:44'::timestamp) - extract(epoch from '2026-07-09 07: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'), 47808, 'SRID=4674;POINT (-40.335697 -2.787024)', '2026-07-09 07:28:51', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335543 -2.786921)'), GeomFromEWKT('SRID=4674;POINT (-40.335697 -2.787024)'))) / (select extract(epoch from '2026-07-09 07:28:51'::timestamp) - extract(epoch from '2026-07-09 07:28:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335543 -2.786921)'), GeomFromEWKT('SRID=4674;POINT (-40.335697 -2.787024)'))) / (select extract(epoch from '2026-07-09 07:28:51'::timestamp) - extract(epoch from '2026-07-09 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'), 47808, 'SRID=4674;POINT (-40.335886 -2.787125)', '2026-07-09 07:28:59', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335697 -2.787024)'), GeomFromEWKT('SRID=4674;POINT (-40.335886 -2.787125)'))) / (select extract(epoch from '2026-07-09 07:28:59'::timestamp) - extract(epoch from '2026-07-09 07:28:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335697 -2.787024)'), GeomFromEWKT('SRID=4674;POINT (-40.335886 -2.787125)'))) / (select extract(epoch from '2026-07-09 07:28:59'::timestamp) - extract(epoch from '2026-07-09 07:28:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.33607 -2.787207)', '2026-07-09 07:29:07', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335886 -2.787125)'), GeomFromEWKT('SRID=4674;POINT (-40.33607 -2.787207)'))) / (select extract(epoch from '2026-07-09 07:29:07'::timestamp) - extract(epoch from '2026-07-09 07:28:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335886 -2.787125)'), GeomFromEWKT('SRID=4674;POINT (-40.33607 -2.787207)'))) / (select extract(epoch from '2026-07-09 07:29:07'::timestamp) - extract(epoch from '2026-07-09 07:28: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'), 47808, 'SRID=4674;POINT (-40.336182 -2.787293)', '2026-07-09 07:29:13', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33607 -2.787207)'), GeomFromEWKT('SRID=4674;POINT (-40.336182 -2.787293)'))) / (select extract(epoch from '2026-07-09 07:29:13'::timestamp) - extract(epoch from '2026-07-09 07:29:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33607 -2.787207)'), GeomFromEWKT('SRID=4674;POINT (-40.336182 -2.787293)'))) / (select extract(epoch from '2026-07-09 07:29:13'::timestamp) - extract(epoch from '2026-07-09 07:29:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.33626 -2.787389)', '2026-07-09 07:29:19', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336182 -2.787293)'), GeomFromEWKT('SRID=4674;POINT (-40.33626 -2.787389)'))) / (select extract(epoch from '2026-07-09 07:29:19'::timestamp) - extract(epoch from '2026-07-09 07:29:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336182 -2.787293)'), GeomFromEWKT('SRID=4674;POINT (-40.33626 -2.787389)'))) / (select extract(epoch from '2026-07-09 07:29:19'::timestamp) - extract(epoch from '2026-07-09 07:29: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'), 47808, 'SRID=4674;POINT (-40.33632 -2.787487)', '2026-07-09 07:29:24', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33626 -2.787389)'), GeomFromEWKT('SRID=4674;POINT (-40.33632 -2.787487)'))) / (select extract(epoch from '2026-07-09 07:29:24'::timestamp) - extract(epoch from '2026-07-09 07:29:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33626 -2.787389)'), GeomFromEWKT('SRID=4674;POINT (-40.33632 -2.787487)'))) / (select extract(epoch from '2026-07-09 07:29:24'::timestamp) - extract(epoch from '2026-07-09 07:29:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.33641 -2.787614)', '2026-07-09 07:29:30', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33632 -2.787487)'), GeomFromEWKT('SRID=4674;POINT (-40.33641 -2.787614)'))) / (select extract(epoch from '2026-07-09 07:29:30'::timestamp) - extract(epoch from '2026-07-09 07:29:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33632 -2.787487)'), GeomFromEWKT('SRID=4674;POINT (-40.33641 -2.787614)'))) / (select extract(epoch from '2026-07-09 07:29:30'::timestamp) - extract(epoch from '2026-07-09 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'), 47808, 'SRID=4674;POINT (-40.336499 -2.787715)', '2026-07-09 07:29:36', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33641 -2.787614)'), GeomFromEWKT('SRID=4674;POINT (-40.336499 -2.787715)'))) / (select extract(epoch from '2026-07-09 07:29:36'::timestamp) - extract(epoch from '2026-07-09 07:29:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33641 -2.787614)'), GeomFromEWKT('SRID=4674;POINT (-40.336499 -2.787715)'))) / (select extract(epoch from '2026-07-09 07:29:36'::timestamp) - extract(epoch from '2026-07-09 07:29: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'), 47808, 'SRID=4674;POINT (-40.336586 -2.787795)', '2026-07-09 07:29:40', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336499 -2.787715)'), GeomFromEWKT('SRID=4674;POINT (-40.336586 -2.787795)'))) / (select extract(epoch from '2026-07-09 07:29:40'::timestamp) - extract(epoch from '2026-07-09 07:29:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336499 -2.787715)'), GeomFromEWKT('SRID=4674;POINT (-40.336586 -2.787795)'))) / (select extract(epoch from '2026-07-09 07:29:40'::timestamp) - extract(epoch from '2026-07-09 07:29:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.336678 -2.787911)', '2026-07-09 07:29:46', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336586 -2.787795)'), GeomFromEWKT('SRID=4674;POINT (-40.336678 -2.787911)'))) / (select extract(epoch from '2026-07-09 07:29:46'::timestamp) - extract(epoch from '2026-07-09 07:29:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336586 -2.787795)'), GeomFromEWKT('SRID=4674;POINT (-40.336678 -2.787911)'))) / (select extract(epoch from '2026-07-09 07:29:46'::timestamp) - extract(epoch from '2026-07-09 07:29:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.336787 -2.788029)', '2026-07-09 07:29:53', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336678 -2.787911)'), GeomFromEWKT('SRID=4674;POINT (-40.336787 -2.788029)'))) / (select extract(epoch from '2026-07-09 07:29:53'::timestamp) - extract(epoch from '2026-07-09 07:29:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336678 -2.787911)'), GeomFromEWKT('SRID=4674;POINT (-40.336787 -2.788029)'))) / (select extract(epoch from '2026-07-09 07:29:53'::timestamp) - extract(epoch from '2026-07-09 07:29:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.336913 -2.788149)', '2026-07-09 07:30:00', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336787 -2.788029)'), GeomFromEWKT('SRID=4674;POINT (-40.336913 -2.788149)'))) / (select extract(epoch from '2026-07-09 07:30:00'::timestamp) - extract(epoch from '2026-07-09 07:29:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336787 -2.788029)'), GeomFromEWKT('SRID=4674;POINT (-40.336913 -2.788149)'))) / (select extract(epoch from '2026-07-09 07:30:00'::timestamp) - extract(epoch from '2026-07-09 07: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'), 47808, 'SRID=4674;POINT (-40.337031 -2.788276)', '2026-07-09 07:30:07', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336913 -2.788149)'), GeomFromEWKT('SRID=4674;POINT (-40.337031 -2.788276)'))) / (select extract(epoch from '2026-07-09 07:30:07'::timestamp) - extract(epoch from '2026-07-09 07:30:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336913 -2.788149)'), GeomFromEWKT('SRID=4674;POINT (-40.337031 -2.788276)'))) / (select extract(epoch from '2026-07-09 07:30:07'::timestamp) - extract(epoch from '2026-07-09 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'), 47808, 'SRID=4674;POINT (-40.337148 -2.788433)', '2026-07-09 07:30:14', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337031 -2.788276)'), GeomFromEWKT('SRID=4674;POINT (-40.337148 -2.788433)'))) / (select extract(epoch from '2026-07-09 07:30:14'::timestamp) - extract(epoch from '2026-07-09 07:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337031 -2.788276)'), GeomFromEWKT('SRID=4674;POINT (-40.337148 -2.788433)'))) / (select extract(epoch from '2026-07-09 07:30:14'::timestamp) - extract(epoch from '2026-07-09 07:30: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'), 47808, 'SRID=4674;POINT (-40.337252 -2.788524)', '2026-07-09 07:30:21', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337148 -2.788433)'), GeomFromEWKT('SRID=4674;POINT (-40.337252 -2.788524)'))) / (select extract(epoch from '2026-07-09 07:30:21'::timestamp) - extract(epoch from '2026-07-09 07:30:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337148 -2.788433)'), GeomFromEWKT('SRID=4674;POINT (-40.337252 -2.788524)'))) / (select extract(epoch from '2026-07-09 07:30:21'::timestamp) - extract(epoch from '2026-07-09 07:30:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.337399 -2.788629)', '2026-07-09 07:30:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337252 -2.788524)'), GeomFromEWKT('SRID=4674;POINT (-40.337399 -2.788629)'))) / (select extract(epoch from '2026-07-09 07:30:29'::timestamp) - extract(epoch from '2026-07-09 07:30:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337252 -2.788524)'), GeomFromEWKT('SRID=4674;POINT (-40.337399 -2.788629)'))) / (select extract(epoch from '2026-07-09 07:30:29'::timestamp) - extract(epoch from '2026-07-09 07:30: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'), 47808, 'SRID=4674;POINT (-40.337515 -2.788717)', '2026-07-09 07:30:35', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337399 -2.788629)'), GeomFromEWKT('SRID=4674;POINT (-40.337515 -2.788717)'))) / (select extract(epoch from '2026-07-09 07:30:35'::timestamp) - extract(epoch from '2026-07-09 07:30:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337399 -2.788629)'), GeomFromEWKT('SRID=4674;POINT (-40.337515 -2.788717)'))) / (select extract(epoch from '2026-07-09 07:30:35'::timestamp) - extract(epoch from '2026-07-09 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'), 47808, 'SRID=4674;POINT (-40.337683 -2.788839)', '2026-07-09 07:30:43', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337515 -2.788717)'), GeomFromEWKT('SRID=4674;POINT (-40.337683 -2.788839)'))) / (select extract(epoch from '2026-07-09 07:30:43'::timestamp) - extract(epoch from '2026-07-09 07:30:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337515 -2.788717)'), GeomFromEWKT('SRID=4674;POINT (-40.337683 -2.788839)'))) / (select extract(epoch from '2026-07-09 07:30:43'::timestamp) - extract(epoch from '2026-07-09 07:30: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'), 47808, 'SRID=4674;POINT (-40.337828 -2.788984)', '2026-07-09 07:30:51', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337683 -2.788839)'), GeomFromEWKT('SRID=4674;POINT (-40.337828 -2.788984)'))) / (select extract(epoch from '2026-07-09 07:30:51'::timestamp) - extract(epoch from '2026-07-09 07:30:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337683 -2.788839)'), GeomFromEWKT('SRID=4674;POINT (-40.337828 -2.788984)'))) / (select extract(epoch from '2026-07-09 07:30:51'::timestamp) - extract(epoch from '2026-07-09 07:30:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.337926 -2.789123)', '2026-07-09 07:30:58', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337828 -2.788984)'), GeomFromEWKT('SRID=4674;POINT (-40.337926 -2.789123)'))) / (select extract(epoch from '2026-07-09 07:30:58'::timestamp) - extract(epoch from '2026-07-09 07:30:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337828 -2.788984)'), GeomFromEWKT('SRID=4674;POINT (-40.337926 -2.789123)'))) / (select extract(epoch from '2026-07-09 07:30:58'::timestamp) - extract(epoch from '2026-07-09 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'), 47808, 'SRID=4674;POINT (-40.338 -2.78922)', '2026-07-09 07:31:03', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337926 -2.789123)'), GeomFromEWKT('SRID=4674;POINT (-40.338 -2.78922)'))) / (select extract(epoch from '2026-07-09 07:31:03'::timestamp) - extract(epoch from '2026-07-09 07:30:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337926 -2.789123)'), GeomFromEWKT('SRID=4674;POINT (-40.338 -2.78922)'))) / (select extract(epoch from '2026-07-09 07:31:03'::timestamp) - extract(epoch from '2026-07-09 07:30: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'), 47808, 'SRID=4674;POINT (-40.338089 -2.789322)', '2026-07-09 07:31:09', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338 -2.78922)'), GeomFromEWKT('SRID=4674;POINT (-40.338089 -2.789322)'))) / (select extract(epoch from '2026-07-09 07:31:09'::timestamp) - extract(epoch from '2026-07-09 07:31:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338 -2.78922)'), GeomFromEWKT('SRID=4674;POINT (-40.338089 -2.789322)'))) / (select extract(epoch from '2026-07-09 07:31:09'::timestamp) - extract(epoch from '2026-07-09 07:31: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'), 47808, 'SRID=4674;POINT (-40.338172 -2.789451)', '2026-07-09 07:31:15', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338089 -2.789322)'), GeomFromEWKT('SRID=4674;POINT (-40.338172 -2.789451)'))) / (select extract(epoch from '2026-07-09 07:31:15'::timestamp) - extract(epoch from '2026-07-09 07:31:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338089 -2.789322)'), GeomFromEWKT('SRID=4674;POINT (-40.338172 -2.789451)'))) / (select extract(epoch from '2026-07-09 07:31:15'::timestamp) - extract(epoch from '2026-07-09 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'), 47808, 'SRID=4674;POINT (-40.338277 -2.789584)', '2026-07-09 07:31:23', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338172 -2.789451)'), GeomFromEWKT('SRID=4674;POINT (-40.338277 -2.789584)'))) / (select extract(epoch from '2026-07-09 07:31:23'::timestamp) - extract(epoch from '2026-07-09 07:31:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338172 -2.789451)'), GeomFromEWKT('SRID=4674;POINT (-40.338277 -2.789584)'))) / (select extract(epoch from '2026-07-09 07:31:23'::timestamp) - extract(epoch from '2026-07-09 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'), 47808, 'SRID=4674;POINT (-40.338398 -2.789704)', '2026-07-09 07:31:30', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338277 -2.789584)'), GeomFromEWKT('SRID=4674;POINT (-40.338398 -2.789704)'))) / (select extract(epoch from '2026-07-09 07:31:30'::timestamp) - extract(epoch from '2026-07-09 07:31:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338277 -2.789584)'), GeomFromEWKT('SRID=4674;POINT (-40.338398 -2.789704)'))) / (select extract(epoch from '2026-07-09 07:31:30'::timestamp) - extract(epoch from '2026-07-09 07:31: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'), 47808, 'SRID=4674;POINT (-40.338533 -2.789863)', '2026-07-09 07:31:38', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338398 -2.789704)'), GeomFromEWKT('SRID=4674;POINT (-40.338533 -2.789863)'))) / (select extract(epoch from '2026-07-09 07:31:38'::timestamp) - extract(epoch from '2026-07-09 07:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338398 -2.789704)'), GeomFromEWKT('SRID=4674;POINT (-40.338533 -2.789863)'))) / (select extract(epoch from '2026-07-09 07:31:38'::timestamp) - extract(epoch from '2026-07-09 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'), 47808, 'SRID=4674;POINT (-40.338631 -2.789918)', '2026-07-09 07:31:43', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338533 -2.789863)'), GeomFromEWKT('SRID=4674;POINT (-40.338631 -2.789918)'))) / (select extract(epoch from '2026-07-09 07:31:43'::timestamp) - extract(epoch from '2026-07-09 07:31:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338533 -2.789863)'), GeomFromEWKT('SRID=4674;POINT (-40.338631 -2.789918)'))) / (select extract(epoch from '2026-07-09 07:31:43'::timestamp) - extract(epoch from '2026-07-09 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'), 47808, 'SRID=4674;POINT (-40.338797 -2.790028)', '2026-07-09 07:31:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338631 -2.789918)'), GeomFromEWKT('SRID=4674;POINT (-40.338797 -2.790028)'))) / (select extract(epoch from '2026-07-09 07:31:52'::timestamp) - extract(epoch from '2026-07-09 07:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338631 -2.789918)'), GeomFromEWKT('SRID=4674;POINT (-40.338797 -2.790028)'))) / (select extract(epoch from '2026-07-09 07:31:52'::timestamp) - extract(epoch from '2026-07-09 07:31: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'), 47808, 'SRID=4674;POINT (-40.338907 -2.790162)', '2026-07-09 07:31:59', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338797 -2.790028)'), GeomFromEWKT('SRID=4674;POINT (-40.338907 -2.790162)'))) / (select extract(epoch from '2026-07-09 07:31:59'::timestamp) - extract(epoch from '2026-07-09 07:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338797 -2.790028)'), GeomFromEWKT('SRID=4674;POINT (-40.338907 -2.790162)'))) / (select extract(epoch from '2026-07-09 07:31:59'::timestamp) - extract(epoch from '2026-07-09 07:31:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.339036 -2.790299)', '2026-07-09 07:32:06', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338907 -2.790162)'), GeomFromEWKT('SRID=4674;POINT (-40.339036 -2.790299)'))) / (select extract(epoch from '2026-07-09 07:32:06'::timestamp) - extract(epoch from '2026-07-09 07:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338907 -2.790162)'), GeomFromEWKT('SRID=4674;POINT (-40.339036 -2.790299)'))) / (select extract(epoch from '2026-07-09 07:32:06'::timestamp) - extract(epoch from '2026-07-09 07:31: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'), 47808, 'SRID=4674;POINT (-40.339142 -2.790441)', '2026-07-09 07:32:14', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339036 -2.790299)'), GeomFromEWKT('SRID=4674;POINT (-40.339142 -2.790441)'))) / (select extract(epoch from '2026-07-09 07:32:14'::timestamp) - extract(epoch from '2026-07-09 07:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339036 -2.790299)'), GeomFromEWKT('SRID=4674;POINT (-40.339142 -2.790441)'))) / (select extract(epoch from '2026-07-09 07:32:14'::timestamp) - extract(epoch from '2026-07-09 07:32: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'), 47808, 'SRID=4674;POINT (-40.339231 -2.790557)', '2026-07-09 07:32:20', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339142 -2.790441)'), GeomFromEWKT('SRID=4674;POINT (-40.339231 -2.790557)'))) / (select extract(epoch from '2026-07-09 07:32:20'::timestamp) - extract(epoch from '2026-07-09 07:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339142 -2.790441)'), GeomFromEWKT('SRID=4674;POINT (-40.339231 -2.790557)'))) / (select extract(epoch from '2026-07-09 07:32:20'::timestamp) - extract(epoch from '2026-07-09 07:32:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.339353 -2.790733)', '2026-07-09 07:32:28', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339231 -2.790557)'), GeomFromEWKT('SRID=4674;POINT (-40.339353 -2.790733)'))) / (select extract(epoch from '2026-07-09 07:32:28'::timestamp) - extract(epoch from '2026-07-09 07:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339231 -2.790557)'), GeomFromEWKT('SRID=4674;POINT (-40.339353 -2.790733)'))) / (select extract(epoch from '2026-07-09 07:32:28'::timestamp) - extract(epoch from '2026-07-09 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'), 47808, 'SRID=4674;POINT (-40.33947 -2.790831)', '2026-07-09 07:32:35', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339353 -2.790733)'), GeomFromEWKT('SRID=4674;POINT (-40.33947 -2.790831)'))) / (select extract(epoch from '2026-07-09 07:32:35'::timestamp) - extract(epoch from '2026-07-09 07:32:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339353 -2.790733)'), GeomFromEWKT('SRID=4674;POINT (-40.33947 -2.790831)'))) / (select extract(epoch from '2026-07-09 07:32:35'::timestamp) - extract(epoch from '2026-07-09 07:32:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.33961 -2.790967)', '2026-07-09 07:32:43', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33947 -2.790831)'), GeomFromEWKT('SRID=4674;POINT (-40.33961 -2.790967)'))) / (select extract(epoch from '2026-07-09 07:32:43'::timestamp) - extract(epoch from '2026-07-09 07:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33947 -2.790831)'), GeomFromEWKT('SRID=4674;POINT (-40.33961 -2.790967)'))) / (select extract(epoch from '2026-07-09 07:32:43'::timestamp) - extract(epoch from '2026-07-09 07:32: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'), 47808, 'SRID=4674;POINT (-40.339715 -2.791051)', '2026-07-09 07:32:49', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33961 -2.790967)'), GeomFromEWKT('SRID=4674;POINT (-40.339715 -2.791051)'))) / (select extract(epoch from '2026-07-09 07:32:49'::timestamp) - extract(epoch from '2026-07-09 07:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33961 -2.790967)'), GeomFromEWKT('SRID=4674;POINT (-40.339715 -2.791051)'))) / (select extract(epoch from '2026-07-09 07:32:49'::timestamp) - extract(epoch from '2026-07-09 07:32: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'), 47808, 'SRID=4674;POINT (-40.339828 -2.791192)', '2026-07-09 07:32:57', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339715 -2.791051)'), GeomFromEWKT('SRID=4674;POINT (-40.339828 -2.791192)'))) / (select extract(epoch from '2026-07-09 07:32:57'::timestamp) - extract(epoch from '2026-07-09 07:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339715 -2.791051)'), GeomFromEWKT('SRID=4674;POINT (-40.339828 -2.791192)'))) / (select extract(epoch from '2026-07-09 07:32:57'::timestamp) - extract(epoch from '2026-07-09 07:32: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'), 47808, 'SRID=4674;POINT (-40.339936 -2.791331)', '2026-07-09 07:33:04', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339828 -2.791192)'), GeomFromEWKT('SRID=4674;POINT (-40.339936 -2.791331)'))) / (select extract(epoch from '2026-07-09 07:33:04'::timestamp) - extract(epoch from '2026-07-09 07:32:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339828 -2.791192)'), GeomFromEWKT('SRID=4674;POINT (-40.339936 -2.791331)'))) / (select extract(epoch from '2026-07-09 07:33:04'::timestamp) - extract(epoch from '2026-07-09 07:32:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.340038 -2.79144)', '2026-07-09 07:33:10', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339936 -2.791331)'), GeomFromEWKT('SRID=4674;POINT (-40.340038 -2.79144)'))) / (select extract(epoch from '2026-07-09 07:33:10'::timestamp) - extract(epoch from '2026-07-09 07:33:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339936 -2.791331)'), GeomFromEWKT('SRID=4674;POINT (-40.340038 -2.79144)'))) / (select extract(epoch from '2026-07-09 07:33:10'::timestamp) - extract(epoch from '2026-07-09 07:33:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.340158 -2.79158)', '2026-07-09 07:33:18', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340038 -2.79144)'), GeomFromEWKT('SRID=4674;POINT (-40.340158 -2.79158)'))) / (select extract(epoch from '2026-07-09 07:33:18'::timestamp) - extract(epoch from '2026-07-09 07:33:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340038 -2.79144)'), GeomFromEWKT('SRID=4674;POINT (-40.340158 -2.79158)'))) / (select extract(epoch from '2026-07-09 07:33:18'::timestamp) - extract(epoch from '2026-07-09 07:33: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'), 47808, 'SRID=4674;POINT (-40.340249 -2.791716)', '2026-07-09 07:33:25', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340158 -2.79158)'), GeomFromEWKT('SRID=4674;POINT (-40.340249 -2.791716)'))) / (select extract(epoch from '2026-07-09 07:33:25'::timestamp) - extract(epoch from '2026-07-09 07:33:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340158 -2.79158)'), GeomFromEWKT('SRID=4674;POINT (-40.340249 -2.791716)'))) / (select extract(epoch from '2026-07-09 07:33:25'::timestamp) - extract(epoch from '2026-07-09 07:33: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'), 47808, 'SRID=4674;POINT (-40.340402 -2.791856)', '2026-07-09 07:33:33', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340249 -2.791716)'), GeomFromEWKT('SRID=4674;POINT (-40.340402 -2.791856)'))) / (select extract(epoch from '2026-07-09 07:33:33'::timestamp) - extract(epoch from '2026-07-09 07:33:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340249 -2.791716)'), GeomFromEWKT('SRID=4674;POINT (-40.340402 -2.791856)'))) / (select extract(epoch from '2026-07-09 07:33:33'::timestamp) - extract(epoch from '2026-07-09 07:33:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.340576 -2.791999)', '2026-07-09 07:33:41', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340402 -2.791856)'), GeomFromEWKT('SRID=4674;POINT (-40.340576 -2.791999)'))) / (select extract(epoch from '2026-07-09 07:33:41'::timestamp) - extract(epoch from '2026-07-09 07:33:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340402 -2.791856)'), GeomFromEWKT('SRID=4674;POINT (-40.340576 -2.791999)'))) / (select extract(epoch from '2026-07-09 07:33:41'::timestamp) - extract(epoch from '2026-07-09 07:33:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.340682 -2.792127)', '2026-07-09 07:33:47', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340576 -2.791999)'), GeomFromEWKT('SRID=4674;POINT (-40.340682 -2.792127)'))) / (select extract(epoch from '2026-07-09 07:33:47'::timestamp) - extract(epoch from '2026-07-09 07:33:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340576 -2.791999)'), GeomFromEWKT('SRID=4674;POINT (-40.340682 -2.792127)'))) / (select extract(epoch from '2026-07-09 07:33:47'::timestamp) - extract(epoch from '2026-07-09 07:33:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.340776 -2.792269)', '2026-07-09 07:33:54', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340682 -2.792127)'), GeomFromEWKT('SRID=4674;POINT (-40.340776 -2.792269)'))) / (select extract(epoch from '2026-07-09 07:33:54'::timestamp) - extract(epoch from '2026-07-09 07:33:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340682 -2.792127)'), GeomFromEWKT('SRID=4674;POINT (-40.340776 -2.792269)'))) / (select extract(epoch from '2026-07-09 07:33:54'::timestamp) - extract(epoch from '2026-07-09 07:33:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.340874 -2.792415)', '2026-07-09 07:34:01', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340776 -2.792269)'), GeomFromEWKT('SRID=4674;POINT (-40.340874 -2.792415)'))) / (select extract(epoch from '2026-07-09 07:34:01'::timestamp) - extract(epoch from '2026-07-09 07:33:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340776 -2.792269)'), GeomFromEWKT('SRID=4674;POINT (-40.340874 -2.792415)'))) / (select extract(epoch from '2026-07-09 07:34:01'::timestamp) - extract(epoch from '2026-07-09 07:33: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'), 47808, 'SRID=4674;POINT (-40.340966 -2.792528)', '2026-07-09 07:34:07', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340874 -2.792415)'), GeomFromEWKT('SRID=4674;POINT (-40.340966 -2.792528)'))) / (select extract(epoch from '2026-07-09 07:34:07'::timestamp) - extract(epoch from '2026-07-09 07:34:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340874 -2.792415)'), GeomFromEWKT('SRID=4674;POINT (-40.340966 -2.792528)'))) / (select extract(epoch from '2026-07-09 07:34:07'::timestamp) - extract(epoch from '2026-07-09 07:34: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'), 47808, 'SRID=4674;POINT (-40.341049 -2.792636)', '2026-07-09 07:34:13', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340966 -2.792528)'), GeomFromEWKT('SRID=4674;POINT (-40.341049 -2.792636)'))) / (select extract(epoch from '2026-07-09 07:34:13'::timestamp) - extract(epoch from '2026-07-09 07:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340966 -2.792528)'), GeomFromEWKT('SRID=4674;POINT (-40.341049 -2.792636)'))) / (select extract(epoch from '2026-07-09 07:34:13'::timestamp) - extract(epoch from '2026-07-09 07:34:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.341136 -2.79275)', '2026-07-09 07:34:19', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341049 -2.792636)'), GeomFromEWKT('SRID=4674;POINT (-40.341136 -2.79275)'))) / (select extract(epoch from '2026-07-09 07:34:19'::timestamp) - extract(epoch from '2026-07-09 07:34:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341049 -2.792636)'), GeomFromEWKT('SRID=4674;POINT (-40.341136 -2.79275)'))) / (select extract(epoch from '2026-07-09 07:34:19'::timestamp) - extract(epoch from '2026-07-09 07:34:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.341215 -2.792822)', '2026-07-09 07:34:24', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341136 -2.79275)'), GeomFromEWKT('SRID=4674;POINT (-40.341215 -2.792822)'))) / (select extract(epoch from '2026-07-09 07:34:24'::timestamp) - extract(epoch from '2026-07-09 07:34:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341136 -2.79275)'), GeomFromEWKT('SRID=4674;POINT (-40.341215 -2.792822)'))) / (select extract(epoch from '2026-07-09 07:34:24'::timestamp) - extract(epoch from '2026-07-09 07:34:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.341307 -2.792927)', '2026-07-09 07:34:30', -6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341215 -2.792822)'), GeomFromEWKT('SRID=4674;POINT (-40.341307 -2.792927)'))) / (select extract(epoch from '2026-07-09 07:34:30'::timestamp) - extract(epoch from '2026-07-09 07:34:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341215 -2.792822)'), GeomFromEWKT('SRID=4674;POINT (-40.341307 -2.792927)'))) / (select extract(epoch from '2026-07-09 07:34:30'::timestamp) - extract(epoch from '2026-07-09 07:34: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'), 47808, 'SRID=4674;POINT (-40.341418 -2.793011)', '2026-07-09 07:34:36', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341307 -2.792927)'), GeomFromEWKT('SRID=4674;POINT (-40.341418 -2.793011)'))) / (select extract(epoch from '2026-07-09 07:34:36'::timestamp) - extract(epoch from '2026-07-09 07:34:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341307 -2.792927)'), GeomFromEWKT('SRID=4674;POINT (-40.341418 -2.793011)'))) / (select extract(epoch from '2026-07-09 07:34:36'::timestamp) - extract(epoch from '2026-07-09 07:34: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'), 47808, 'SRID=4674;POINT (-40.341578 -2.793096)', '2026-07-09 07:34:43', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341418 -2.793011)'), GeomFromEWKT('SRID=4674;POINT (-40.341578 -2.793096)'))) / (select extract(epoch from '2026-07-09 07:34:43'::timestamp) - extract(epoch from '2026-07-09 07:34:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341418 -2.793011)'), GeomFromEWKT('SRID=4674;POINT (-40.341578 -2.793096)'))) / (select extract(epoch from '2026-07-09 07:34:43'::timestamp) - extract(epoch from '2026-07-09 07:34: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'), 47808, 'SRID=4674;POINT (-40.341715 -2.793169)', '2026-07-09 07:34:49', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341578 -2.793096)'), GeomFromEWKT('SRID=4674;POINT (-40.341715 -2.793169)'))) / (select extract(epoch from '2026-07-09 07:34:49'::timestamp) - extract(epoch from '2026-07-09 07:34:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341578 -2.793096)'), GeomFromEWKT('SRID=4674;POINT (-40.341715 -2.793169)'))) / (select extract(epoch from '2026-07-09 07:34:49'::timestamp) - extract(epoch from '2026-07-09 07:34:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.34187 -2.793256)', '2026-07-09 07:34:56', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341715 -2.793169)'), GeomFromEWKT('SRID=4674;POINT (-40.34187 -2.793256)'))) / (select extract(epoch from '2026-07-09 07:34:56'::timestamp) - extract(epoch from '2026-07-09 07:34:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341715 -2.793169)'), GeomFromEWKT('SRID=4674;POINT (-40.34187 -2.793256)'))) / (select extract(epoch from '2026-07-09 07:34:56'::timestamp) - extract(epoch from '2026-07-09 07: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'), 47808, 'SRID=4674;POINT (-40.341999 -2.793333)', '2026-07-09 07:35:02', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34187 -2.793256)'), GeomFromEWKT('SRID=4674;POINT (-40.341999 -2.793333)'))) / (select extract(epoch from '2026-07-09 07:35:02'::timestamp) - extract(epoch from '2026-07-09 07:34:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34187 -2.793256)'), GeomFromEWKT('SRID=4674;POINT (-40.341999 -2.793333)'))) / (select extract(epoch from '2026-07-09 07:35:02'::timestamp) - extract(epoch from '2026-07-09 07:34: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'), 47808, 'SRID=4674;POINT (-40.342122 -2.793459)', '2026-07-09 07:35:09', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341999 -2.793333)'), GeomFromEWKT('SRID=4674;POINT (-40.342122 -2.793459)'))) / (select extract(epoch from '2026-07-09 07:35:09'::timestamp) - extract(epoch from '2026-07-09 07:35:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341999 -2.793333)'), GeomFromEWKT('SRID=4674;POINT (-40.342122 -2.793459)'))) / (select extract(epoch from '2026-07-09 07:35:09'::timestamp) - extract(epoch from '2026-07-09 07:35:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.342227 -2.793616)', '2026-07-09 07:35:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342122 -2.793459)'), GeomFromEWKT('SRID=4674;POINT (-40.342227 -2.793616)'))) / (select extract(epoch from '2026-07-09 07:35:17'::timestamp) - extract(epoch from '2026-07-09 07:35:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342122 -2.793459)'), GeomFromEWKT('SRID=4674;POINT (-40.342227 -2.793616)'))) / (select extract(epoch from '2026-07-09 07:35:17'::timestamp) - extract(epoch from '2026-07-09 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'), 47808, 'SRID=4674;POINT (-40.342341 -2.793788)', '2026-07-09 07:35:26', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342227 -2.793616)'), GeomFromEWKT('SRID=4674;POINT (-40.342341 -2.793788)'))) / (select extract(epoch from '2026-07-09 07:35:26'::timestamp) - extract(epoch from '2026-07-09 07:35:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342227 -2.793616)'), GeomFromEWKT('SRID=4674;POINT (-40.342341 -2.793788)'))) / (select extract(epoch from '2026-07-09 07:35:26'::timestamp) - extract(epoch from '2026-07-09 07:35: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'), 47808, 'SRID=4674;POINT (-40.342461 -2.793925)', '2026-07-09 07:35:34', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342341 -2.793788)'), GeomFromEWKT('SRID=4674;POINT (-40.342461 -2.793925)'))) / (select extract(epoch from '2026-07-09 07:35:34'::timestamp) - extract(epoch from '2026-07-09 07:35:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342341 -2.793788)'), GeomFromEWKT('SRID=4674;POINT (-40.342461 -2.793925)'))) / (select extract(epoch from '2026-07-09 07:35:34'::timestamp) - extract(epoch from '2026-07-09 07:35:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.342583 -2.794062)', '2026-07-09 07:35:41', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342461 -2.793925)'), GeomFromEWKT('SRID=4674;POINT (-40.342583 -2.794062)'))) / (select extract(epoch from '2026-07-09 07:35:41'::timestamp) - extract(epoch from '2026-07-09 07:35:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342461 -2.793925)'), GeomFromEWKT('SRID=4674;POINT (-40.342583 -2.794062)'))) / (select extract(epoch from '2026-07-09 07:35:41'::timestamp) - extract(epoch from '2026-07-09 07:35: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'), 47808, 'SRID=4674;POINT (-40.342649 -2.794179)', '2026-07-09 07:35:47', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342583 -2.794062)'), GeomFromEWKT('SRID=4674;POINT (-40.342649 -2.794179)'))) / (select extract(epoch from '2026-07-09 07:35:47'::timestamp) - extract(epoch from '2026-07-09 07:35:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342583 -2.794062)'), GeomFromEWKT('SRID=4674;POINT (-40.342649 -2.794179)'))) / (select extract(epoch from '2026-07-09 07:35:47'::timestamp) - extract(epoch from '2026-07-09 07:35:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.342735 -2.794318)', '2026-07-09 07:35:54', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342649 -2.794179)'), GeomFromEWKT('SRID=4674;POINT (-40.342735 -2.794318)'))) / (select extract(epoch from '2026-07-09 07:35:54'::timestamp) - extract(epoch from '2026-07-09 07:35:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342649 -2.794179)'), GeomFromEWKT('SRID=4674;POINT (-40.342735 -2.794318)'))) / (select extract(epoch from '2026-07-09 07:35:54'::timestamp) - extract(epoch from '2026-07-09 07:35:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.342838 -2.794454)', '2026-07-09 07:36:01', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342735 -2.794318)'), GeomFromEWKT('SRID=4674;POINT (-40.342838 -2.794454)'))) / (select extract(epoch from '2026-07-09 07:36:01'::timestamp) - extract(epoch from '2026-07-09 07:35:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342735 -2.794318)'), GeomFromEWKT('SRID=4674;POINT (-40.342838 -2.794454)'))) / (select extract(epoch from '2026-07-09 07:36:01'::timestamp) - extract(epoch from '2026-07-09 07:35: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'), 47808, 'SRID=4674;POINT (-40.342988 -2.794583)', '2026-07-09 07:36:08', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342838 -2.794454)'), GeomFromEWKT('SRID=4674;POINT (-40.342988 -2.794583)'))) / (select extract(epoch from '2026-07-09 07:36:08'::timestamp) - extract(epoch from '2026-07-09 07:36:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342838 -2.794454)'), GeomFromEWKT('SRID=4674;POINT (-40.342988 -2.794583)'))) / (select extract(epoch from '2026-07-09 07:36:08'::timestamp) - extract(epoch from '2026-07-09 07:36: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'), 47808, 'SRID=4674;POINT (-40.343115 -2.794734)', '2026-07-09 07:36:15', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342988 -2.794583)'), GeomFromEWKT('SRID=4674;POINT (-40.343115 -2.794734)'))) / (select extract(epoch from '2026-07-09 07:36:15'::timestamp) - extract(epoch from '2026-07-09 07:36:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342988 -2.794583)'), GeomFromEWKT('SRID=4674;POINT (-40.343115 -2.794734)'))) / (select extract(epoch from '2026-07-09 07:36:15'::timestamp) - extract(epoch from '2026-07-09 07:36:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.343214 -2.794825)', '2026-07-09 07:36:21', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343115 -2.794734)'), GeomFromEWKT('SRID=4674;POINT (-40.343214 -2.794825)'))) / (select extract(epoch from '2026-07-09 07:36:21'::timestamp) - extract(epoch from '2026-07-09 07:36:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343115 -2.794734)'), GeomFromEWKT('SRID=4674;POINT (-40.343214 -2.794825)'))) / (select extract(epoch from '2026-07-09 07:36:21'::timestamp) - extract(epoch from '2026-07-09 07:36: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'), 47808, 'SRID=4674;POINT (-40.343321 -2.794966)', '2026-07-09 07:36:28', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343214 -2.794825)'), GeomFromEWKT('SRID=4674;POINT (-40.343321 -2.794966)'))) / (select extract(epoch from '2026-07-09 07:36:28'::timestamp) - extract(epoch from '2026-07-09 07:36:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343214 -2.794825)'), GeomFromEWKT('SRID=4674;POINT (-40.343321 -2.794966)'))) / (select extract(epoch from '2026-07-09 07:36:28'::timestamp) - extract(epoch from '2026-07-09 07:36:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.343427 -2.795059)', '2026-07-09 07:36:34', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343321 -2.794966)'), GeomFromEWKT('SRID=4674;POINT (-40.343427 -2.795059)'))) / (select extract(epoch from '2026-07-09 07:36:34'::timestamp) - extract(epoch from '2026-07-09 07:36:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343321 -2.794966)'), GeomFromEWKT('SRID=4674;POINT (-40.343427 -2.795059)'))) / (select extract(epoch from '2026-07-09 07:36:34'::timestamp) - extract(epoch from '2026-07-09 07:36:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.343524 -2.795165)', '2026-07-09 07:36:40', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343427 -2.795059)'), GeomFromEWKT('SRID=4674;POINT (-40.343524 -2.795165)'))) / (select extract(epoch from '2026-07-09 07:36:40'::timestamp) - extract(epoch from '2026-07-09 07:36:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343427 -2.795059)'), GeomFromEWKT('SRID=4674;POINT (-40.343524 -2.795165)'))) / (select extract(epoch from '2026-07-09 07:36:40'::timestamp) - extract(epoch from '2026-07-09 07:36:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.343656 -2.795303)', '2026-07-09 07:36:48', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343524 -2.795165)'), GeomFromEWKT('SRID=4674;POINT (-40.343656 -2.795303)'))) / (select extract(epoch from '2026-07-09 07:36:48'::timestamp) - extract(epoch from '2026-07-09 07:36:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343524 -2.795165)'), GeomFromEWKT('SRID=4674;POINT (-40.343656 -2.795303)'))) / (select extract(epoch from '2026-07-09 07:36:48'::timestamp) - extract(epoch from '2026-07-09 07:36:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.343781 -2.795456)', '2026-07-09 07:36:56', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343656 -2.795303)'), GeomFromEWKT('SRID=4674;POINT (-40.343781 -2.795456)'))) / (select extract(epoch from '2026-07-09 07:36:56'::timestamp) - extract(epoch from '2026-07-09 07:36:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343656 -2.795303)'), GeomFromEWKT('SRID=4674;POINT (-40.343781 -2.795456)'))) / (select extract(epoch from '2026-07-09 07:36:56'::timestamp) - extract(epoch from '2026-07-09 07:36:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.343892 -2.795597)', '2026-07-09 07:37:04', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343781 -2.795456)'), GeomFromEWKT('SRID=4674;POINT (-40.343892 -2.795597)'))) / (select extract(epoch from '2026-07-09 07:37:04'::timestamp) - extract(epoch from '2026-07-09 07:36:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343781 -2.795456)'), GeomFromEWKT('SRID=4674;POINT (-40.343892 -2.795597)'))) / (select extract(epoch from '2026-07-09 07:37:04'::timestamp) - extract(epoch from '2026-07-09 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'), 47808, 'SRID=4674;POINT (-40.343993 -2.795728)', '2026-07-09 07:37:11', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343892 -2.795597)'), GeomFromEWKT('SRID=4674;POINT (-40.343993 -2.795728)'))) / (select extract(epoch from '2026-07-09 07:37:11'::timestamp) - extract(epoch from '2026-07-09 07:37:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343892 -2.795597)'), GeomFromEWKT('SRID=4674;POINT (-40.343993 -2.795728)'))) / (select extract(epoch from '2026-07-09 07:37:11'::timestamp) - extract(epoch from '2026-07-09 07:37: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'), 47808, 'SRID=4674;POINT (-40.344104 -2.795834)', '2026-07-09 07:37:17', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343993 -2.795728)'), GeomFromEWKT('SRID=4674;POINT (-40.344104 -2.795834)'))) / (select extract(epoch from '2026-07-09 07:37:17'::timestamp) - extract(epoch from '2026-07-09 07:37:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343993 -2.795728)'), GeomFromEWKT('SRID=4674;POINT (-40.344104 -2.795834)'))) / (select extract(epoch from '2026-07-09 07:37:17'::timestamp) - extract(epoch from '2026-07-09 07:37:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.344209 -2.795962)', '2026-07-09 07:37:23', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344104 -2.795834)'), GeomFromEWKT('SRID=4674;POINT (-40.344209 -2.795962)'))) / (select extract(epoch from '2026-07-09 07:37:23'::timestamp) - extract(epoch from '2026-07-09 07:37:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344104 -2.795834)'), GeomFromEWKT('SRID=4674;POINT (-40.344209 -2.795962)'))) / (select extract(epoch from '2026-07-09 07:37:23'::timestamp) - extract(epoch from '2026-07-09 07:37:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.344324 -2.7961)', '2026-07-09 07:37:29', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344209 -2.795962)'), GeomFromEWKT('SRID=4674;POINT (-40.344324 -2.7961)'))) / (select extract(epoch from '2026-07-09 07:37:29'::timestamp) - extract(epoch from '2026-07-09 07:37:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344209 -2.795962)'), GeomFromEWKT('SRID=4674;POINT (-40.344324 -2.7961)'))) / (select extract(epoch from '2026-07-09 07:37:29'::timestamp) - extract(epoch from '2026-07-09 07:37: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'), 47808, 'SRID=4674;POINT (-40.344408 -2.79617)', '2026-07-09 07:37:34', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344324 -2.7961)'), GeomFromEWKT('SRID=4674;POINT (-40.344408 -2.79617)'))) / (select extract(epoch from '2026-07-09 07:37:34'::timestamp) - extract(epoch from '2026-07-09 07:37:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344324 -2.7961)'), GeomFromEWKT('SRID=4674;POINT (-40.344408 -2.79617)'))) / (select extract(epoch from '2026-07-09 07:37:34'::timestamp) - extract(epoch from '2026-07-09 07:37: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'), 47808, 'SRID=4674;POINT (-40.344566 -2.796314)', '2026-07-09 07:37:43', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344408 -2.79617)'), GeomFromEWKT('SRID=4674;POINT (-40.344566 -2.796314)'))) / (select extract(epoch from '2026-07-09 07:37:43'::timestamp) - extract(epoch from '2026-07-09 07:37:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344408 -2.79617)'), GeomFromEWKT('SRID=4674;POINT (-40.344566 -2.796314)'))) / (select extract(epoch from '2026-07-09 07:37:43'::timestamp) - extract(epoch from '2026-07-09 07:37:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.344687 -2.796495)', '2026-07-09 07:37:52', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344566 -2.796314)'), GeomFromEWKT('SRID=4674;POINT (-40.344687 -2.796495)'))) / (select extract(epoch from '2026-07-09 07:37:52'::timestamp) - extract(epoch from '2026-07-09 07:37:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344566 -2.796314)'), GeomFromEWKT('SRID=4674;POINT (-40.344687 -2.796495)'))) / (select extract(epoch from '2026-07-09 07:37:52'::timestamp) - extract(epoch from '2026-07-09 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'), 47808, 'SRID=4674;POINT (-40.344796 -2.796616)', '2026-07-09 07:37:59', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344687 -2.796495)'), GeomFromEWKT('SRID=4674;POINT (-40.344796 -2.796616)'))) / (select extract(epoch from '2026-07-09 07:37:59'::timestamp) - extract(epoch from '2026-07-09 07:37:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344687 -2.796495)'), GeomFromEWKT('SRID=4674;POINT (-40.344796 -2.796616)'))) / (select extract(epoch from '2026-07-09 07:37:59'::timestamp) - extract(epoch from '2026-07-09 07:37:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.344897 -2.796713)', '2026-07-09 07:38:05', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344796 -2.796616)'), GeomFromEWKT('SRID=4674;POINT (-40.344897 -2.796713)'))) / (select extract(epoch from '2026-07-09 07:38:05'::timestamp) - extract(epoch from '2026-07-09 07:37:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344796 -2.796616)'), GeomFromEWKT('SRID=4674;POINT (-40.344897 -2.796713)'))) / (select extract(epoch from '2026-07-09 07:38:05'::timestamp) - extract(epoch from '2026-07-09 07: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'), 47808, 'SRID=4674;POINT (-40.345033 -2.796865)', '2026-07-09 07:38:13', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344897 -2.796713)'), GeomFromEWKT('SRID=4674;POINT (-40.345033 -2.796865)'))) / (select extract(epoch from '2026-07-09 07:38:13'::timestamp) - extract(epoch from '2026-07-09 07:38:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344897 -2.796713)'), GeomFromEWKT('SRID=4674;POINT (-40.345033 -2.796865)'))) / (select extract(epoch from '2026-07-09 07:38:13'::timestamp) - extract(epoch from '2026-07-09 07:38:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.345172 -2.796987)', '2026-07-09 07:38:21', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345033 -2.796865)'), GeomFromEWKT('SRID=4674;POINT (-40.345172 -2.796987)'))) / (select extract(epoch from '2026-07-09 07:38:21'::timestamp) - extract(epoch from '2026-07-09 07:38:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345033 -2.796865)'), GeomFromEWKT('SRID=4674;POINT (-40.345172 -2.796987)'))) / (select extract(epoch from '2026-07-09 07:38:21'::timestamp) - extract(epoch from '2026-07-09 07:38: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'), 47808, 'SRID=4674;POINT (-40.345305 -2.79712)', '2026-07-09 07:38:29', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345172 -2.796987)'), GeomFromEWKT('SRID=4674;POINT (-40.345305 -2.79712)'))) / (select extract(epoch from '2026-07-09 07:38:29'::timestamp) - extract(epoch from '2026-07-09 07:38:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345172 -2.796987)'), GeomFromEWKT('SRID=4674;POINT (-40.345305 -2.79712)'))) / (select extract(epoch from '2026-07-09 07:38:29'::timestamp) - extract(epoch from '2026-07-09 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'), 47808, 'SRID=4674;POINT (-40.345412 -2.797212)', '2026-07-09 07:38:35', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345305 -2.79712)'), GeomFromEWKT('SRID=4674;POINT (-40.345412 -2.797212)'))) / (select extract(epoch from '2026-07-09 07:38:35'::timestamp) - extract(epoch from '2026-07-09 07:38:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345305 -2.79712)'), GeomFromEWKT('SRID=4674;POINT (-40.345412 -2.797212)'))) / (select extract(epoch from '2026-07-09 07:38:35'::timestamp) - extract(epoch from '2026-07-09 07:38:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.345527 -2.797312)', '2026-07-09 07:38:41', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345412 -2.797212)'), GeomFromEWKT('SRID=4674;POINT (-40.345527 -2.797312)'))) / (select extract(epoch from '2026-07-09 07:38:41'::timestamp) - extract(epoch from '2026-07-09 07:38:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345412 -2.797212)'), GeomFromEWKT('SRID=4674;POINT (-40.345527 -2.797312)'))) / (select extract(epoch from '2026-07-09 07:38:41'::timestamp) - extract(epoch from '2026-07-09 07:38: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'), 47808, 'SRID=4674;POINT (-40.345627 -2.797419)', '2026-07-09 07:38:47', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345527 -2.797312)'), GeomFromEWKT('SRID=4674;POINT (-40.345627 -2.797419)'))) / (select extract(epoch from '2026-07-09 07:38:47'::timestamp) - extract(epoch from '2026-07-09 07:38:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345527 -2.797312)'), GeomFromEWKT('SRID=4674;POINT (-40.345627 -2.797419)'))) / (select extract(epoch from '2026-07-09 07:38:47'::timestamp) - extract(epoch from '2026-07-09 07:38: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'), 47808, 'SRID=4674;POINT (-40.345717 -2.797536)', '2026-07-09 07:38:53', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345627 -2.797419)'), GeomFromEWKT('SRID=4674;POINT (-40.345717 -2.797536)'))) / (select extract(epoch from '2026-07-09 07:38:53'::timestamp) - extract(epoch from '2026-07-09 07:38:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345627 -2.797419)'), GeomFromEWKT('SRID=4674;POINT (-40.345717 -2.797536)'))) / (select extract(epoch from '2026-07-09 07:38:53'::timestamp) - extract(epoch from '2026-07-09 07:38:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.34579 -2.797622)', '2026-07-09 07:38:58', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345717 -2.797536)'), GeomFromEWKT('SRID=4674;POINT (-40.34579 -2.797622)'))) / (select extract(epoch from '2026-07-09 07:38:58'::timestamp) - extract(epoch from '2026-07-09 07:38:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345717 -2.797536)'), GeomFromEWKT('SRID=4674;POINT (-40.34579 -2.797622)'))) / (select extract(epoch from '2026-07-09 07:38:58'::timestamp) - extract(epoch from '2026-07-09 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'), 47808, 'SRID=4674;POINT (-40.345876 -2.797756)', '2026-07-09 07:39:04', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34579 -2.797622)'), GeomFromEWKT('SRID=4674;POINT (-40.345876 -2.797756)'))) / (select extract(epoch from '2026-07-09 07:39:04'::timestamp) - extract(epoch from '2026-07-09 07:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34579 -2.797622)'), GeomFromEWKT('SRID=4674;POINT (-40.345876 -2.797756)'))) / (select extract(epoch from '2026-07-09 07:39:04'::timestamp) - extract(epoch from '2026-07-09 07:38:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.345969 -2.797871)', '2026-07-09 07:39:10', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345876 -2.797756)'), GeomFromEWKT('SRID=4674;POINT (-40.345969 -2.797871)'))) / (select extract(epoch from '2026-07-09 07:39:10'::timestamp) - extract(epoch from '2026-07-09 07:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345876 -2.797756)'), GeomFromEWKT('SRID=4674;POINT (-40.345969 -2.797871)'))) / (select extract(epoch from '2026-07-09 07:39:10'::timestamp) - extract(epoch from '2026-07-09 07:39:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.346094 -2.798034)', '2026-07-09 07:39:18', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345969 -2.797871)'), GeomFromEWKT('SRID=4674;POINT (-40.346094 -2.798034)'))) / (select extract(epoch from '2026-07-09 07:39:18'::timestamp) - extract(epoch from '2026-07-09 07:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345969 -2.797871)'), GeomFromEWKT('SRID=4674;POINT (-40.346094 -2.798034)'))) / (select extract(epoch from '2026-07-09 07:39:18'::timestamp) - extract(epoch from '2026-07-09 07:39: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'), 47808, 'SRID=4674;POINT (-40.346177 -2.798156)', '2026-07-09 07:39:24', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346094 -2.798034)'), GeomFromEWKT('SRID=4674;POINT (-40.346177 -2.798156)'))) / (select extract(epoch from '2026-07-09 07:39:24'::timestamp) - extract(epoch from '2026-07-09 07:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346094 -2.798034)'), GeomFromEWKT('SRID=4674;POINT (-40.346177 -2.798156)'))) / (select extract(epoch from '2026-07-09 07:39:24'::timestamp) - extract(epoch from '2026-07-09 07:39: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'), 47808, 'SRID=4674;POINT (-40.346256 -2.798278)', '2026-07-09 07:39:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346177 -2.798156)'), GeomFromEWKT('SRID=4674;POINT (-40.346256 -2.798278)'))) / (select extract(epoch from '2026-07-09 07:39:30'::timestamp) - extract(epoch from '2026-07-09 07:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346177 -2.798156)'), GeomFromEWKT('SRID=4674;POINT (-40.346256 -2.798278)'))) / (select extract(epoch from '2026-07-09 07:39:30'::timestamp) - extract(epoch from '2026-07-09 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'), 47808, 'SRID=4674;POINT (-40.346364 -2.798407)', '2026-07-09 07:39:37', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346256 -2.798278)'), GeomFromEWKT('SRID=4674;POINT (-40.346364 -2.798407)'))) / (select extract(epoch from '2026-07-09 07:39:37'::timestamp) - extract(epoch from '2026-07-09 07:39:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346256 -2.798278)'), GeomFromEWKT('SRID=4674;POINT (-40.346364 -2.798407)'))) / (select extract(epoch from '2026-07-09 07:39:37'::timestamp) - extract(epoch from '2026-07-09 07:39:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.346469 -2.798506)', '2026-07-09 07:39:43', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346364 -2.798407)'), GeomFromEWKT('SRID=4674;POINT (-40.346469 -2.798506)'))) / (select extract(epoch from '2026-07-09 07:39:43'::timestamp) - extract(epoch from '2026-07-09 07:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346364 -2.798407)'), GeomFromEWKT('SRID=4674;POINT (-40.346469 -2.798506)'))) / (select extract(epoch from '2026-07-09 07:39:43'::timestamp) - extract(epoch from '2026-07-09 07:39:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.346575 -2.798604)', '2026-07-09 07:39:49', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346469 -2.798506)'), GeomFromEWKT('SRID=4674;POINT (-40.346575 -2.798604)'))) / (select extract(epoch from '2026-07-09 07:39:49'::timestamp) - extract(epoch from '2026-07-09 07:39:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346469 -2.798506)'), GeomFromEWKT('SRID=4674;POINT (-40.346575 -2.798604)'))) / (select extract(epoch from '2026-07-09 07:39:49'::timestamp) - extract(epoch from '2026-07-09 07:39: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'), 47808, 'SRID=4674;POINT (-40.346666 -2.798735)', '2026-07-09 07:39:56', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346575 -2.798604)'), GeomFromEWKT('SRID=4674;POINT (-40.346666 -2.798735)'))) / (select extract(epoch from '2026-07-09 07:39:56'::timestamp) - extract(epoch from '2026-07-09 07:39:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346575 -2.798604)'), GeomFromEWKT('SRID=4674;POINT (-40.346666 -2.798735)'))) / (select extract(epoch from '2026-07-09 07:39:56'::timestamp) - extract(epoch from '2026-07-09 07:39:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.346782 -2.798899)', '2026-07-09 07:40:04', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346666 -2.798735)'), GeomFromEWKT('SRID=4674;POINT (-40.346782 -2.798899)'))) / (select extract(epoch from '2026-07-09 07:40:04'::timestamp) - extract(epoch from '2026-07-09 07:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346666 -2.798735)'), GeomFromEWKT('SRID=4674;POINT (-40.346782 -2.798899)'))) / (select extract(epoch from '2026-07-09 07:40:04'::timestamp) - extract(epoch from '2026-07-09 07:39: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'), 47808, 'SRID=4674;POINT (-40.346897 -2.799007)', '2026-07-09 07:40:11', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346782 -2.798899)'), GeomFromEWKT('SRID=4674;POINT (-40.346897 -2.799007)'))) / (select extract(epoch from '2026-07-09 07:40:11'::timestamp) - extract(epoch from '2026-07-09 07:40:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346782 -2.798899)'), GeomFromEWKT('SRID=4674;POINT (-40.346897 -2.799007)'))) / (select extract(epoch from '2026-07-09 07:40:11'::timestamp) - extract(epoch from '2026-07-09 07:40:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.347082 -2.799178)', '2026-07-09 07:40:21', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346897 -2.799007)'), GeomFromEWKT('SRID=4674;POINT (-40.347082 -2.799178)'))) / (select extract(epoch from '2026-07-09 07:40:21'::timestamp) - extract(epoch from '2026-07-09 07:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346897 -2.799007)'), GeomFromEWKT('SRID=4674;POINT (-40.347082 -2.799178)'))) / (select extract(epoch from '2026-07-09 07:40:21'::timestamp) - extract(epoch from '2026-07-09 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'), 47808, 'SRID=4674;POINT (-40.34722 -2.799323)', '2026-07-09 07:40:29', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347082 -2.799178)'), GeomFromEWKT('SRID=4674;POINT (-40.34722 -2.799323)'))) / (select extract(epoch from '2026-07-09 07:40:29'::timestamp) - extract(epoch from '2026-07-09 07:40:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347082 -2.799178)'), GeomFromEWKT('SRID=4674;POINT (-40.34722 -2.799323)'))) / (select extract(epoch from '2026-07-09 07:40:29'::timestamp) - extract(epoch from '2026-07-09 07:40: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'), 47808, 'SRID=4674;POINT (-40.347328 -2.799445)', '2026-07-09 07:40:36', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34722 -2.799323)'), GeomFromEWKT('SRID=4674;POINT (-40.347328 -2.799445)'))) / (select extract(epoch from '2026-07-09 07:40:36'::timestamp) - extract(epoch from '2026-07-09 07:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34722 -2.799323)'), GeomFromEWKT('SRID=4674;POINT (-40.347328 -2.799445)'))) / (select extract(epoch from '2026-07-09 07:40:36'::timestamp) - extract(epoch from '2026-07-09 07:40:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.347428 -2.799574)', '2026-07-09 07:40:43', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347328 -2.799445)'), GeomFromEWKT('SRID=4674;POINT (-40.347428 -2.799574)'))) / (select extract(epoch from '2026-07-09 07:40:43'::timestamp) - extract(epoch from '2026-07-09 07:40:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347328 -2.799445)'), GeomFromEWKT('SRID=4674;POINT (-40.347428 -2.799574)'))) / (select extract(epoch from '2026-07-09 07:40:43'::timestamp) - extract(epoch from '2026-07-09 07:40: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'), 47808, 'SRID=4674;POINT (-40.347562 -2.799722)', '2026-07-09 07:40:51', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347428 -2.799574)'), GeomFromEWKT('SRID=4674;POINT (-40.347562 -2.799722)'))) / (select extract(epoch from '2026-07-09 07:40:51'::timestamp) - extract(epoch from '2026-07-09 07:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347428 -2.799574)'), GeomFromEWKT('SRID=4674;POINT (-40.347562 -2.799722)'))) / (select extract(epoch from '2026-07-09 07:40:51'::timestamp) - extract(epoch from '2026-07-09 07:40:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.34772 -2.799882)', '2026-07-09 07:41:00', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347562 -2.799722)'), GeomFromEWKT('SRID=4674;POINT (-40.34772 -2.799882)'))) / (select extract(epoch from '2026-07-09 07:41:00'::timestamp) - extract(epoch from '2026-07-09 07:40:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347562 -2.799722)'), GeomFromEWKT('SRID=4674;POINT (-40.34772 -2.799882)'))) / (select extract(epoch from '2026-07-09 07:41:00'::timestamp) - extract(epoch from '2026-07-09 07:40:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.347857 -2.800014)', '2026-07-09 07:41:08', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34772 -2.799882)'), GeomFromEWKT('SRID=4674;POINT (-40.347857 -2.800014)'))) / (select extract(epoch from '2026-07-09 07:41:08'::timestamp) - extract(epoch from '2026-07-09 07:41:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34772 -2.799882)'), GeomFromEWKT('SRID=4674;POINT (-40.347857 -2.800014)'))) / (select extract(epoch from '2026-07-09 07:41:08'::timestamp) - extract(epoch from '2026-07-09 07:41:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.347977 -2.800142)', '2026-07-09 07:41:15', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347857 -2.800014)'), GeomFromEWKT('SRID=4674;POINT (-40.347977 -2.800142)'))) / (select extract(epoch from '2026-07-09 07:41:15'::timestamp) - extract(epoch from '2026-07-09 07:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347857 -2.800014)'), GeomFromEWKT('SRID=4674;POINT (-40.347977 -2.800142)'))) / (select extract(epoch from '2026-07-09 07:41:15'::timestamp) - extract(epoch from '2026-07-09 07:41:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.348097 -2.800254)', '2026-07-09 07:41:22', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347977 -2.800142)'), GeomFromEWKT('SRID=4674;POINT (-40.348097 -2.800254)'))) / (select extract(epoch from '2026-07-09 07:41:22'::timestamp) - extract(epoch from '2026-07-09 07:41:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347977 -2.800142)'), GeomFromEWKT('SRID=4674;POINT (-40.348097 -2.800254)'))) / (select extract(epoch from '2026-07-09 07:41:22'::timestamp) - extract(epoch from '2026-07-09 07:41:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.348211 -2.800379)', '2026-07-09 07:41:29', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348097 -2.800254)'), GeomFromEWKT('SRID=4674;POINT (-40.348211 -2.800379)'))) / (select extract(epoch from '2026-07-09 07:41:29'::timestamp) - extract(epoch from '2026-07-09 07:41:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348097 -2.800254)'), GeomFromEWKT('SRID=4674;POINT (-40.348211 -2.800379)'))) / (select extract(epoch from '2026-07-09 07:41:29'::timestamp) - extract(epoch from '2026-07-09 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'), 47808, 'SRID=4674;POINT (-40.348336 -2.800529)', '2026-07-09 07:41:37', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348211 -2.800379)'), GeomFromEWKT('SRID=4674;POINT (-40.348336 -2.800529)'))) / (select extract(epoch from '2026-07-09 07:41:37'::timestamp) - extract(epoch from '2026-07-09 07:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348211 -2.800379)'), GeomFromEWKT('SRID=4674;POINT (-40.348336 -2.800529)'))) / (select extract(epoch from '2026-07-09 07:41:37'::timestamp) - extract(epoch from '2026-07-09 07:41:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.348523 -2.800722)', '2026-07-09 07:41:48', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348336 -2.800529)'), GeomFromEWKT('SRID=4674;POINT (-40.348523 -2.800722)'))) / (select extract(epoch from '2026-07-09 07:41:48'::timestamp) - extract(epoch from '2026-07-09 07:41:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348336 -2.800529)'), GeomFromEWKT('SRID=4674;POINT (-40.348523 -2.800722)'))) / (select extract(epoch from '2026-07-09 07:41:48'::timestamp) - extract(epoch from '2026-07-09 07:41:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.348675 -2.800855)', '2026-07-09 07:41:56', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348523 -2.800722)'), GeomFromEWKT('SRID=4674;POINT (-40.348675 -2.800855)'))) / (select extract(epoch from '2026-07-09 07:41:56'::timestamp) - extract(epoch from '2026-07-09 07:41:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348523 -2.800722)'), GeomFromEWKT('SRID=4674;POINT (-40.348675 -2.800855)'))) / (select extract(epoch from '2026-07-09 07:41:56'::timestamp) - extract(epoch from '2026-07-09 07:41: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'), 47808, 'SRID=4674;POINT (-40.348802 -2.801006)', '2026-07-09 07:42:04', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348675 -2.800855)'), GeomFromEWKT('SRID=4674;POINT (-40.348802 -2.801006)'))) / (select extract(epoch from '2026-07-09 07:42:04'::timestamp) - extract(epoch from '2026-07-09 07:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348675 -2.800855)'), GeomFromEWKT('SRID=4674;POINT (-40.348802 -2.801006)'))) / (select extract(epoch from '2026-07-09 07:42:04'::timestamp) - extract(epoch from '2026-07-09 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'), 47808, 'SRID=4674;POINT (-40.348912 -2.801093)', '2026-07-09 07:42:10', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348802 -2.801006)'), GeomFromEWKT('SRID=4674;POINT (-40.348912 -2.801093)'))) / (select extract(epoch from '2026-07-09 07:42:10'::timestamp) - extract(epoch from '2026-07-09 07:42:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348802 -2.801006)'), GeomFromEWKT('SRID=4674;POINT (-40.348912 -2.801093)'))) / (select extract(epoch from '2026-07-09 07:42:10'::timestamp) - extract(epoch from '2026-07-09 07: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'), 47808, 'SRID=4674;POINT (-40.349081 -2.80122)', '2026-07-09 07:42:19', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348912 -2.801093)'), GeomFromEWKT('SRID=4674;POINT (-40.349081 -2.80122)'))) / (select extract(epoch from '2026-07-09 07:42:19'::timestamp) - extract(epoch from '2026-07-09 07:42:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348912 -2.801093)'), GeomFromEWKT('SRID=4674;POINT (-40.349081 -2.80122)'))) / (select extract(epoch from '2026-07-09 07:42:19'::timestamp) - extract(epoch from '2026-07-09 07:42:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.349199 -2.801306)', '2026-07-09 07:42:25', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349081 -2.80122)'), GeomFromEWKT('SRID=4674;POINT (-40.349199 -2.801306)'))) / (select extract(epoch from '2026-07-09 07:42:25'::timestamp) - extract(epoch from '2026-07-09 07:42:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349081 -2.80122)'), GeomFromEWKT('SRID=4674;POINT (-40.349199 -2.801306)'))) / (select extract(epoch from '2026-07-09 07:42:25'::timestamp) - extract(epoch from '2026-07-09 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'), 47808, 'SRID=4674;POINT (-40.349382 -2.801379)', '2026-07-09 07:42:33', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349199 -2.801306)'), GeomFromEWKT('SRID=4674;POINT (-40.349382 -2.801379)'))) / (select extract(epoch from '2026-07-09 07:42:33'::timestamp) - extract(epoch from '2026-07-09 07:42:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349199 -2.801306)'), GeomFromEWKT('SRID=4674;POINT (-40.349382 -2.801379)'))) / (select extract(epoch from '2026-07-09 07:42:33'::timestamp) - extract(epoch from '2026-07-09 07:42:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.349552 -2.801502)', '2026-07-09 07:42:42', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349382 -2.801379)'), GeomFromEWKT('SRID=4674;POINT (-40.349552 -2.801502)'))) / (select extract(epoch from '2026-07-09 07:42:42'::timestamp) - extract(epoch from '2026-07-09 07:42:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349382 -2.801379)'), GeomFromEWKT('SRID=4674;POINT (-40.349552 -2.801502)'))) / (select extract(epoch from '2026-07-09 07:42:42'::timestamp) - extract(epoch from '2026-07-09 07:42:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.349683 -2.801575)', '2026-07-09 07:42:48', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349552 -2.801502)'), GeomFromEWKT('SRID=4674;POINT (-40.349683 -2.801575)'))) / (select extract(epoch from '2026-07-09 07:42:48'::timestamp) - extract(epoch from '2026-07-09 07:42:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349552 -2.801502)'), GeomFromEWKT('SRID=4674;POINT (-40.349683 -2.801575)'))) / (select extract(epoch from '2026-07-09 07:42:48'::timestamp) - extract(epoch from '2026-07-09 07:42: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'), 47808, 'SRID=4674;POINT (-40.349809 -2.801652)', '2026-07-09 07:42:54', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349683 -2.801575)'), GeomFromEWKT('SRID=4674;POINT (-40.349809 -2.801652)'))) / (select extract(epoch from '2026-07-09 07:42:54'::timestamp) - extract(epoch from '2026-07-09 07:42:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349683 -2.801575)'), GeomFromEWKT('SRID=4674;POINT (-40.349809 -2.801652)'))) / (select extract(epoch from '2026-07-09 07:42:54'::timestamp) - extract(epoch from '2026-07-09 07: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'), 47808, 'SRID=4674;POINT (-40.349938 -2.801776)', '2026-07-09 07:43:01', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349809 -2.801652)'), GeomFromEWKT('SRID=4674;POINT (-40.349938 -2.801776)'))) / (select extract(epoch from '2026-07-09 07:43:01'::timestamp) - extract(epoch from '2026-07-09 07:42:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349809 -2.801652)'), GeomFromEWKT('SRID=4674;POINT (-40.349938 -2.801776)'))) / (select extract(epoch from '2026-07-09 07:43:01'::timestamp) - extract(epoch from '2026-07-09 07:42: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'), 47808, 'SRID=4674;POINT (-40.350052 -2.80191)', '2026-07-09 07:43:08', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349938 -2.801776)'), GeomFromEWKT('SRID=4674;POINT (-40.350052 -2.80191)'))) / (select extract(epoch from '2026-07-09 07:43:08'::timestamp) - extract(epoch from '2026-07-09 07:43:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349938 -2.801776)'), GeomFromEWKT('SRID=4674;POINT (-40.350052 -2.80191)'))) / (select extract(epoch from '2026-07-09 07:43:08'::timestamp) - extract(epoch from '2026-07-09 07:43:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.350148 -2.802048)', '2026-07-09 07:43:15', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350052 -2.80191)'), GeomFromEWKT('SRID=4674;POINT (-40.350148 -2.802048)'))) / (select extract(epoch from '2026-07-09 07:43:15'::timestamp) - extract(epoch from '2026-07-09 07:43:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350052 -2.80191)'), GeomFromEWKT('SRID=4674;POINT (-40.350148 -2.802048)'))) / (select extract(epoch from '2026-07-09 07:43:15'::timestamp) - extract(epoch from '2026-07-09 07:43: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'), 47808, 'SRID=4674;POINT (-40.350235 -2.802187)', '2026-07-09 07:43:22', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350148 -2.802048)'), GeomFromEWKT('SRID=4674;POINT (-40.350235 -2.802187)'))) / (select extract(epoch from '2026-07-09 07:43:22'::timestamp) - extract(epoch from '2026-07-09 07:43:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350148 -2.802048)'), GeomFromEWKT('SRID=4674;POINT (-40.350235 -2.802187)'))) / (select extract(epoch from '2026-07-09 07:43:22'::timestamp) - extract(epoch from '2026-07-09 07:43: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'), 47808, 'SRID=4674;POINT (-40.350381 -2.802307)', '2026-07-09 07:43:29', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350235 -2.802187)'), GeomFromEWKT('SRID=4674;POINT (-40.350381 -2.802307)'))) / (select extract(epoch from '2026-07-09 07:43:29'::timestamp) - extract(epoch from '2026-07-09 07:43:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350235 -2.802187)'), GeomFromEWKT('SRID=4674;POINT (-40.350381 -2.802307)'))) / (select extract(epoch from '2026-07-09 07:43:29'::timestamp) - extract(epoch from '2026-07-09 07:43: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'), 47808, 'SRID=4674;POINT (-40.350498 -2.802413)', '2026-07-09 07:43:36', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350381 -2.802307)'), GeomFromEWKT('SRID=4674;POINT (-40.350498 -2.802413)'))) / (select extract(epoch from '2026-07-09 07:43:36'::timestamp) - extract(epoch from '2026-07-09 07:43:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350381 -2.802307)'), GeomFromEWKT('SRID=4674;POINT (-40.350498 -2.802413)'))) / (select extract(epoch from '2026-07-09 07:43:36'::timestamp) - extract(epoch from '2026-07-09 07:43: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'), 47808, 'SRID=4674;POINT (-40.350612 -2.80253)', '2026-07-09 07:43:43', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350498 -2.802413)'), GeomFromEWKT('SRID=4674;POINT (-40.350612 -2.80253)'))) / (select extract(epoch from '2026-07-09 07:43:43'::timestamp) - extract(epoch from '2026-07-09 07:43:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350498 -2.802413)'), GeomFromEWKT('SRID=4674;POINT (-40.350612 -2.80253)'))) / (select extract(epoch from '2026-07-09 07:43:43'::timestamp) - extract(epoch from '2026-07-09 07:43:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.350713 -2.802639)', '2026-07-09 07:43:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350612 -2.80253)'), GeomFromEWKT('SRID=4674;POINT (-40.350713 -2.802639)'))) / (select extract(epoch from '2026-07-09 07:43:49'::timestamp) - extract(epoch from '2026-07-09 07:43:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350612 -2.80253)'), GeomFromEWKT('SRID=4674;POINT (-40.350713 -2.802639)'))) / (select extract(epoch from '2026-07-09 07:43:49'::timestamp) - extract(epoch from '2026-07-09 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'), 47808, 'SRID=4674;POINT (-40.350827 -2.802737)', '2026-07-09 07:43:55', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350713 -2.802639)'), GeomFromEWKT('SRID=4674;POINT (-40.350827 -2.802737)'))) / (select extract(epoch from '2026-07-09 07:43:55'::timestamp) - extract(epoch from '2026-07-09 07:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350713 -2.802639)'), GeomFromEWKT('SRID=4674;POINT (-40.350827 -2.802737)'))) / (select extract(epoch from '2026-07-09 07:43:55'::timestamp) - extract(epoch from '2026-07-09 07:43:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.350943 -2.802825)', '2026-07-09 07:44:01', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350827 -2.802737)'), GeomFromEWKT('SRID=4674;POINT (-40.350943 -2.802825)'))) / (select extract(epoch from '2026-07-09 07:44:01'::timestamp) - extract(epoch from '2026-07-09 07:43:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350827 -2.802737)'), GeomFromEWKT('SRID=4674;POINT (-40.350943 -2.802825)'))) / (select extract(epoch from '2026-07-09 07:44:01'::timestamp) - extract(epoch from '2026-07-09 07:43: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'), 47808, 'SRID=4674;POINT (-40.351098 -2.802932)', '2026-07-09 07:44:09', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350943 -2.802825)'), GeomFromEWKT('SRID=4674;POINT (-40.351098 -2.802932)'))) / (select extract(epoch from '2026-07-09 07:44:09'::timestamp) - extract(epoch from '2026-07-09 07:44:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350943 -2.802825)'), GeomFromEWKT('SRID=4674;POINT (-40.351098 -2.802932)'))) / (select extract(epoch from '2026-07-09 07:44:09'::timestamp) - extract(epoch from '2026-07-09 07:44: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'), 47808, 'SRID=4674;POINT (-40.351256 -2.803058)', '2026-07-09 07:44:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351098 -2.802932)'), GeomFromEWKT('SRID=4674;POINT (-40.351256 -2.803058)'))) / (select extract(epoch from '2026-07-09 07:44:17'::timestamp) - extract(epoch from '2026-07-09 07:44:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351098 -2.802932)'), GeomFromEWKT('SRID=4674;POINT (-40.351256 -2.803058)'))) / (select extract(epoch from '2026-07-09 07:44:17'::timestamp) - extract(epoch from '2026-07-09 07:44: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'), 47808, 'SRID=4674;POINT (-40.351412 -2.803215)', '2026-07-09 07:44:26', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351256 -2.803058)'), GeomFromEWKT('SRID=4674;POINT (-40.351412 -2.803215)'))) / (select extract(epoch from '2026-07-09 07:44:26'::timestamp) - extract(epoch from '2026-07-09 07:44:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351256 -2.803058)'), GeomFromEWKT('SRID=4674;POINT (-40.351412 -2.803215)'))) / (select extract(epoch from '2026-07-09 07:44:26'::timestamp) - extract(epoch from '2026-07-09 07:44: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'), 47808, 'SRID=4674;POINT (-40.35153 -2.803341)', '2026-07-09 07:44:33', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351412 -2.803215)'), GeomFromEWKT('SRID=4674;POINT (-40.35153 -2.803341)'))) / (select extract(epoch from '2026-07-09 07:44:33'::timestamp) - extract(epoch from '2026-07-09 07:44:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351412 -2.803215)'), GeomFromEWKT('SRID=4674;POINT (-40.35153 -2.803341)'))) / (select extract(epoch from '2026-07-09 07:44:33'::timestamp) - extract(epoch from '2026-07-09 07:44: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'), 47808, 'SRID=4674;POINT (-40.351681 -2.80347)', '2026-07-09 07:44:41', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35153 -2.803341)'), GeomFromEWKT('SRID=4674;POINT (-40.351681 -2.80347)'))) / (select extract(epoch from '2026-07-09 07:44:41'::timestamp) - extract(epoch from '2026-07-09 07:44:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35153 -2.803341)'), GeomFromEWKT('SRID=4674;POINT (-40.351681 -2.80347)'))) / (select extract(epoch from '2026-07-09 07:44:41'::timestamp) - extract(epoch from '2026-07-09 07:44:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.351793 -2.803582)', '2026-07-09 07:44:47', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351681 -2.80347)'), GeomFromEWKT('SRID=4674;POINT (-40.351793 -2.803582)'))) / (select extract(epoch from '2026-07-09 07:44:47'::timestamp) - extract(epoch from '2026-07-09 07:44:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351681 -2.80347)'), GeomFromEWKT('SRID=4674;POINT (-40.351793 -2.803582)'))) / (select extract(epoch from '2026-07-09 07:44:47'::timestamp) - extract(epoch from '2026-07-09 07:44: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'), 47808, 'SRID=4674;POINT (-40.35193 -2.803665)', '2026-07-09 07:44:54', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351793 -2.803582)'), GeomFromEWKT('SRID=4674;POINT (-40.35193 -2.803665)'))) / (select extract(epoch from '2026-07-09 07:44:54'::timestamp) - extract(epoch from '2026-07-09 07:44:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351793 -2.803582)'), GeomFromEWKT('SRID=4674;POINT (-40.35193 -2.803665)'))) / (select extract(epoch from '2026-07-09 07:44:54'::timestamp) - extract(epoch from '2026-07-09 07:44:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.352105 -2.803759)', '2026-07-09 07:45:02', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35193 -2.803665)'), GeomFromEWKT('SRID=4674;POINT (-40.352105 -2.803759)'))) / (select extract(epoch from '2026-07-09 07:45:02'::timestamp) - extract(epoch from '2026-07-09 07:44:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35193 -2.803665)'), GeomFromEWKT('SRID=4674;POINT (-40.352105 -2.803759)'))) / (select extract(epoch from '2026-07-09 07:45:02'::timestamp) - extract(epoch from '2026-07-09 07:44: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'), 47808, 'SRID=4674;POINT (-40.352239 -2.803857)', '2026-07-09 07:45:09', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352105 -2.803759)'), GeomFromEWKT('SRID=4674;POINT (-40.352239 -2.803857)'))) / (select extract(epoch from '2026-07-09 07:45:09'::timestamp) - extract(epoch from '2026-07-09 07:45:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352105 -2.803759)'), GeomFromEWKT('SRID=4674;POINT (-40.352239 -2.803857)'))) / (select extract(epoch from '2026-07-09 07:45:09'::timestamp) - extract(epoch from '2026-07-09 07:45: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'), 47808, 'SRID=4674;POINT (-40.352358 -2.803967)', '2026-07-09 07:45:15', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352239 -2.803857)'), GeomFromEWKT('SRID=4674;POINT (-40.352358 -2.803967)'))) / (select extract(epoch from '2026-07-09 07:45:15'::timestamp) - extract(epoch from '2026-07-09 07:45:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352239 -2.803857)'), GeomFromEWKT('SRID=4674;POINT (-40.352358 -2.803967)'))) / (select extract(epoch from '2026-07-09 07:45:15'::timestamp) - extract(epoch from '2026-07-09 07:45:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.352498 -2.804076)', '2026-07-09 07:45:22', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352358 -2.803967)'), GeomFromEWKT('SRID=4674;POINT (-40.352498 -2.804076)'))) / (select extract(epoch from '2026-07-09 07:45:22'::timestamp) - extract(epoch from '2026-07-09 07:45:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352358 -2.803967)'), GeomFromEWKT('SRID=4674;POINT (-40.352498 -2.804076)'))) / (select extract(epoch from '2026-07-09 07:45:22'::timestamp) - extract(epoch from '2026-07-09 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'), 47808, 'SRID=4674;POINT (-40.352651 -2.804199)', '2026-07-09 07:45:30', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352498 -2.804076)'), GeomFromEWKT('SRID=4674;POINT (-40.352651 -2.804199)'))) / (select extract(epoch from '2026-07-09 07:45:30'::timestamp) - extract(epoch from '2026-07-09 07:45:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352498 -2.804076)'), GeomFromEWKT('SRID=4674;POINT (-40.352651 -2.804199)'))) / (select extract(epoch from '2026-07-09 07:45:30'::timestamp) - extract(epoch from '2026-07-09 07:45:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.352774 -2.804303)', '2026-07-09 07:45:37', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352651 -2.804199)'), GeomFromEWKT('SRID=4674;POINT (-40.352774 -2.804303)'))) / (select extract(epoch from '2026-07-09 07:45:37'::timestamp) - extract(epoch from '2026-07-09 07:45:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352651 -2.804199)'), GeomFromEWKT('SRID=4674;POINT (-40.352774 -2.804303)'))) / (select extract(epoch from '2026-07-09 07:45:37'::timestamp) - extract(epoch from '2026-07-09 07:45: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'), 47808, 'SRID=4674;POINT (-40.352933 -2.804417)', '2026-07-09 07:45:45', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352774 -2.804303)'), GeomFromEWKT('SRID=4674;POINT (-40.352933 -2.804417)'))) / (select extract(epoch from '2026-07-09 07:45:45'::timestamp) - extract(epoch from '2026-07-09 07:45:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352774 -2.804303)'), GeomFromEWKT('SRID=4674;POINT (-40.352933 -2.804417)'))) / (select extract(epoch from '2026-07-09 07:45:45'::timestamp) - extract(epoch from '2026-07-09 07:45:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.353071 -2.804526)', '2026-07-09 07:45:52', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352933 -2.804417)'), GeomFromEWKT('SRID=4674;POINT (-40.353071 -2.804526)'))) / (select extract(epoch from '2026-07-09 07:45:52'::timestamp) - extract(epoch from '2026-07-09 07:45:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352933 -2.804417)'), GeomFromEWKT('SRID=4674;POINT (-40.353071 -2.804526)'))) / (select extract(epoch from '2026-07-09 07:45:52'::timestamp) - extract(epoch from '2026-07-09 07:45: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'), 47808, 'SRID=4674;POINT (-40.353175 -2.804623)', '2026-07-09 07:45:57', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353071 -2.804526)'), GeomFromEWKT('SRID=4674;POINT (-40.353175 -2.804623)'))) / (select extract(epoch from '2026-07-09 07:45:57'::timestamp) - extract(epoch from '2026-07-09 07:45:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353071 -2.804526)'), GeomFromEWKT('SRID=4674;POINT (-40.353175 -2.804623)'))) / (select extract(epoch from '2026-07-09 07:45:57'::timestamp) - extract(epoch from '2026-07-09 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'), 47808, 'SRID=4674;POINT (-40.353305 -2.804729)', '2026-07-09 07:46:04', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353175 -2.804623)'), GeomFromEWKT('SRID=4674;POINT (-40.353305 -2.804729)'))) / (select extract(epoch from '2026-07-09 07:46:04'::timestamp) - extract(epoch from '2026-07-09 07:45:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353175 -2.804623)'), GeomFromEWKT('SRID=4674;POINT (-40.353305 -2.804729)'))) / (select extract(epoch from '2026-07-09 07:46:04'::timestamp) - extract(epoch from '2026-07-09 07:45: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'), 47808, 'SRID=4674;POINT (-40.353427 -2.8048)', '2026-07-09 07:46:10', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353305 -2.804729)'), GeomFromEWKT('SRID=4674;POINT (-40.353427 -2.8048)'))) / (select extract(epoch from '2026-07-09 07:46:10'::timestamp) - extract(epoch from '2026-07-09 07:46:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353305 -2.804729)'), GeomFromEWKT('SRID=4674;POINT (-40.353427 -2.8048)'))) / (select extract(epoch from '2026-07-09 07:46:10'::timestamp) - extract(epoch from '2026-07-09 07:46: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'), 47808, 'SRID=4674;POINT (-40.353543 -2.804882)', '2026-07-09 07:46:16', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353427 -2.8048)'), GeomFromEWKT('SRID=4674;POINT (-40.353543 -2.804882)'))) / (select extract(epoch from '2026-07-09 07:46:16'::timestamp) - extract(epoch from '2026-07-09 07:46:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353427 -2.8048)'), GeomFromEWKT('SRID=4674;POINT (-40.353543 -2.804882)'))) / (select extract(epoch from '2026-07-09 07:46:16'::timestamp) - extract(epoch from '2026-07-09 07:46: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'), 47808, 'SRID=4674;POINT (-40.353682 -2.804986)', '2026-07-09 07:46:23', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353543 -2.804882)'), GeomFromEWKT('SRID=4674;POINT (-40.353682 -2.804986)'))) / (select extract(epoch from '2026-07-09 07:46:23'::timestamp) - extract(epoch from '2026-07-09 07:46:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353543 -2.804882)'), GeomFromEWKT('SRID=4674;POINT (-40.353682 -2.804986)'))) / (select extract(epoch from '2026-07-09 07:46:23'::timestamp) - extract(epoch from '2026-07-09 07:46:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.353842 -2.805101)', '2026-07-09 07:46:31', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353682 -2.804986)'), GeomFromEWKT('SRID=4674;POINT (-40.353842 -2.805101)'))) / (select extract(epoch from '2026-07-09 07:46:31'::timestamp) - extract(epoch from '2026-07-09 07:46:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353682 -2.804986)'), GeomFromEWKT('SRID=4674;POINT (-40.353842 -2.805101)'))) / (select extract(epoch from '2026-07-09 07:46:31'::timestamp) - extract(epoch from '2026-07-09 07:46: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'), 47808, 'SRID=4674;POINT (-40.354013 -2.805217)', '2026-07-09 07:46:39', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353842 -2.805101)'), GeomFromEWKT('SRID=4674;POINT (-40.354013 -2.805217)'))) / (select extract(epoch from '2026-07-09 07:46:39'::timestamp) - extract(epoch from '2026-07-09 07:46:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353842 -2.805101)'), GeomFromEWKT('SRID=4674;POINT (-40.354013 -2.805217)'))) / (select extract(epoch from '2026-07-09 07:46:39'::timestamp) - extract(epoch from '2026-07-09 07:46: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'), 47808, 'SRID=4674;POINT (-40.354204 -2.805357)', '2026-07-09 07:46:49', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354013 -2.805217)'), GeomFromEWKT('SRID=4674;POINT (-40.354204 -2.805357)'))) / (select extract(epoch from '2026-07-09 07:46:49'::timestamp) - extract(epoch from '2026-07-09 07:46:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354013 -2.805217)'), GeomFromEWKT('SRID=4674;POINT (-40.354204 -2.805357)'))) / (select extract(epoch from '2026-07-09 07:46:49'::timestamp) - extract(epoch from '2026-07-09 07:46: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'), 47808, 'SRID=4674;POINT (-40.354387 -2.805478)', '2026-07-09 07:46:58', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354204 -2.805357)'), GeomFromEWKT('SRID=4674;POINT (-40.354387 -2.805478)'))) / (select extract(epoch from '2026-07-09 07:46:58'::timestamp) - extract(epoch from '2026-07-09 07:46:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354204 -2.805357)'), GeomFromEWKT('SRID=4674;POINT (-40.354387 -2.805478)'))) / (select extract(epoch from '2026-07-09 07:46:58'::timestamp) - extract(epoch from '2026-07-09 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'), 47808, 'SRID=4674;POINT (-40.354542 -2.805579)', '2026-07-09 07:47:06', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354387 -2.805478)'), GeomFromEWKT('SRID=4674;POINT (-40.354542 -2.805579)'))) / (select extract(epoch from '2026-07-09 07:47:06'::timestamp) - extract(epoch from '2026-07-09 07:46:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354387 -2.805478)'), GeomFromEWKT('SRID=4674;POINT (-40.354542 -2.805579)'))) / (select extract(epoch from '2026-07-09 07:47:06'::timestamp) - extract(epoch from '2026-07-09 07:46:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.354694 -2.805671)', '2026-07-09 07:47:13', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354542 -2.805579)'), GeomFromEWKT('SRID=4674;POINT (-40.354694 -2.805671)'))) / (select extract(epoch from '2026-07-09 07:47:13'::timestamp) - extract(epoch from '2026-07-09 07:47:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354542 -2.805579)'), GeomFromEWKT('SRID=4674;POINT (-40.354694 -2.805671)'))) / (select extract(epoch from '2026-07-09 07:47:13'::timestamp) - extract(epoch from '2026-07-09 07:47: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'), 47808, 'SRID=4674;POINT (-40.354846 -2.805757)', '2026-07-09 07:47:21', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354694 -2.805671)'), GeomFromEWKT('SRID=4674;POINT (-40.354846 -2.805757)'))) / (select extract(epoch from '2026-07-09 07:47:21'::timestamp) - extract(epoch from '2026-07-09 07:47:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354694 -2.805671)'), GeomFromEWKT('SRID=4674;POINT (-40.354846 -2.805757)'))) / (select extract(epoch from '2026-07-09 07:47:21'::timestamp) - extract(epoch from '2026-07-09 07:47:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.35501 -2.805852)', '2026-07-09 07:47:29', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354846 -2.805757)'), GeomFromEWKT('SRID=4674;POINT (-40.35501 -2.805852)'))) / (select extract(epoch from '2026-07-09 07:47:29'::timestamp) - extract(epoch from '2026-07-09 07:47:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354846 -2.805757)'), GeomFromEWKT('SRID=4674;POINT (-40.35501 -2.805852)'))) / (select extract(epoch from '2026-07-09 07:47:29'::timestamp) - extract(epoch from '2026-07-09 07:47: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'), 47808, 'SRID=4674;POINT (-40.355153 -2.805964)', '2026-07-09 07:47:36', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35501 -2.805852)'), GeomFromEWKT('SRID=4674;POINT (-40.355153 -2.805964)'))) / (select extract(epoch from '2026-07-09 07:47:36'::timestamp) - extract(epoch from '2026-07-09 07:47:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35501 -2.805852)'), GeomFromEWKT('SRID=4674;POINT (-40.355153 -2.805964)'))) / (select extract(epoch from '2026-07-09 07:47:36'::timestamp) - extract(epoch from '2026-07-09 07:47: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'), 47808, 'SRID=4674;POINT (-40.355289 -2.80605)', '2026-07-09 07:47:43', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355153 -2.805964)'), GeomFromEWKT('SRID=4674;POINT (-40.355289 -2.80605)'))) / (select extract(epoch from '2026-07-09 07:47:43'::timestamp) - extract(epoch from '2026-07-09 07:47:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355153 -2.805964)'), GeomFromEWKT('SRID=4674;POINT (-40.355289 -2.80605)'))) / (select extract(epoch from '2026-07-09 07:47:43'::timestamp) - extract(epoch from '2026-07-09 07:47: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'), 47808, 'SRID=4674;POINT (-40.355428 -2.806133)', '2026-07-09 07:47:49', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355289 -2.80605)'), GeomFromEWKT('SRID=4674;POINT (-40.355428 -2.806133)'))) / (select extract(epoch from '2026-07-09 07:47:49'::timestamp) - extract(epoch from '2026-07-09 07:47:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355289 -2.80605)'), GeomFromEWKT('SRID=4674;POINT (-40.355428 -2.806133)'))) / (select extract(epoch from '2026-07-09 07:47:49'::timestamp) - extract(epoch from '2026-07-09 07:47: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'), 47808, 'SRID=4674;POINT (-40.355568 -2.806209)', '2026-07-09 07:47:56', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355428 -2.806133)'), GeomFromEWKT('SRID=4674;POINT (-40.355568 -2.806209)'))) / (select extract(epoch from '2026-07-09 07:47:56'::timestamp) - extract(epoch from '2026-07-09 07:47:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355428 -2.806133)'), GeomFromEWKT('SRID=4674;POINT (-40.355568 -2.806209)'))) / (select extract(epoch from '2026-07-09 07:47:56'::timestamp) - extract(epoch from '2026-07-09 07:47: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'), 47808, 'SRID=4674;POINT (-40.355665 -2.806283)', '2026-07-09 07:48:01', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355568 -2.806209)'), GeomFromEWKT('SRID=4674;POINT (-40.355665 -2.806283)'))) / (select extract(epoch from '2026-07-09 07:48:01'::timestamp) - extract(epoch from '2026-07-09 07:47:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355568 -2.806209)'), GeomFromEWKT('SRID=4674;POINT (-40.355665 -2.806283)'))) / (select extract(epoch from '2026-07-09 07:48:01'::timestamp) - extract(epoch from '2026-07-09 07:47: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'), 47808, 'SRID=4674;POINT (-40.35581 -2.806354)', '2026-07-09 07:48:07', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355665 -2.806283)'), GeomFromEWKT('SRID=4674;POINT (-40.35581 -2.806354)'))) / (select extract(epoch from '2026-07-09 07:48:07'::timestamp) - extract(epoch from '2026-07-09 07:48:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355665 -2.806283)'), GeomFromEWKT('SRID=4674;POINT (-40.35581 -2.806354)'))) / (select extract(epoch from '2026-07-09 07:48:07'::timestamp) - extract(epoch from '2026-07-09 07:48: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'), 47808, 'SRID=4674;POINT (-40.355916 -2.806435)', '2026-07-09 07:48:13', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35581 -2.806354)'), GeomFromEWKT('SRID=4674;POINT (-40.355916 -2.806435)'))) / (select extract(epoch from '2026-07-09 07:48:13'::timestamp) - extract(epoch from '2026-07-09 07:48:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35581 -2.806354)'), GeomFromEWKT('SRID=4674;POINT (-40.355916 -2.806435)'))) / (select extract(epoch from '2026-07-09 07:48:13'::timestamp) - extract(epoch from '2026-07-09 07:48: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'), 47808, 'SRID=4674;POINT (-40.356017 -2.806514)', '2026-07-09 07:48:18', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355916 -2.806435)'), GeomFromEWKT('SRID=4674;POINT (-40.356017 -2.806514)'))) / (select extract(epoch from '2026-07-09 07:48:18'::timestamp) - extract(epoch from '2026-07-09 07:48:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355916 -2.806435)'), GeomFromEWKT('SRID=4674;POINT (-40.356017 -2.806514)'))) / (select extract(epoch from '2026-07-09 07:48:18'::timestamp) - extract(epoch from '2026-07-09 07:48:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.356162 -2.806606)', '2026-07-09 07:48:25', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356017 -2.806514)'), GeomFromEWKT('SRID=4674;POINT (-40.356162 -2.806606)'))) / (select extract(epoch from '2026-07-09 07:48:25'::timestamp) - extract(epoch from '2026-07-09 07:48:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356017 -2.806514)'), GeomFromEWKT('SRID=4674;POINT (-40.356162 -2.806606)'))) / (select extract(epoch from '2026-07-09 07:48:25'::timestamp) - extract(epoch from '2026-07-09 07:48: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'), 47808, 'SRID=4674;POINT (-40.356269 -2.806673)', '2026-07-09 07:48:30', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356162 -2.806606)'), GeomFromEWKT('SRID=4674;POINT (-40.356269 -2.806673)'))) / (select extract(epoch from '2026-07-09 07:48:30'::timestamp) - extract(epoch from '2026-07-09 07:48:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356162 -2.806606)'), GeomFromEWKT('SRID=4674;POINT (-40.356269 -2.806673)'))) / (select extract(epoch from '2026-07-09 07:48:30'::timestamp) - extract(epoch from '2026-07-09 07: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'), 47808, 'SRID=4674;POINT (-40.356439 -2.806739)', '2026-07-09 07:48:37', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356269 -2.806673)'), GeomFromEWKT('SRID=4674;POINT (-40.356439 -2.806739)'))) / (select extract(epoch from '2026-07-09 07:48:37'::timestamp) - extract(epoch from '2026-07-09 07:48:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356269 -2.806673)'), GeomFromEWKT('SRID=4674;POINT (-40.356439 -2.806739)'))) / (select extract(epoch from '2026-07-09 07:48:37'::timestamp) - extract(epoch from '2026-07-09 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'), 47808, 'SRID=4674;POINT (-40.356601 -2.80679)', '2026-07-09 07:48:44', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356439 -2.806739)'), GeomFromEWKT('SRID=4674;POINT (-40.356601 -2.80679)'))) / (select extract(epoch from '2026-07-09 07:48:44'::timestamp) - extract(epoch from '2026-07-09 07:48:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356439 -2.806739)'), GeomFromEWKT('SRID=4674;POINT (-40.356601 -2.80679)'))) / (select extract(epoch from '2026-07-09 07:48:44'::timestamp) - extract(epoch from '2026-07-09 07:48:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.356768 -2.806884)', '2026-07-09 07:48:52', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356601 -2.80679)'), GeomFromEWKT('SRID=4674;POINT (-40.356768 -2.806884)'))) / (select extract(epoch from '2026-07-09 07:48:52'::timestamp) - extract(epoch from '2026-07-09 07:48:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356601 -2.80679)'), GeomFromEWKT('SRID=4674;POINT (-40.356768 -2.806884)'))) / (select extract(epoch from '2026-07-09 07:48:52'::timestamp) - extract(epoch from '2026-07-09 07:48: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'), 47808, 'SRID=4674;POINT (-40.356923 -2.807027)', '2026-07-09 07:49:01', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356768 -2.806884)'), GeomFromEWKT('SRID=4674;POINT (-40.356923 -2.807027)'))) / (select extract(epoch from '2026-07-09 07:49:01'::timestamp) - extract(epoch from '2026-07-09 07:48:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356768 -2.806884)'), GeomFromEWKT('SRID=4674;POINT (-40.356923 -2.807027)'))) / (select extract(epoch from '2026-07-09 07:49:01'::timestamp) - extract(epoch from '2026-07-09 07:48:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47808, 'SRID=4674;POINT (-40.357056 -2.807197)', '2026-07-09 07:49:10', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356923 -2.807027)'), GeomFromEWKT('SRID=4674;POINT (-40.357056 -2.807197)'))) / (select extract(epoch from '2026-07-09 07:49:10'::timestamp) - extract(epoch from '2026-07-09 07:49:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356923 -2.807027)'), GeomFromEWKT('SRID=4674;POINT (-40.357056 -2.807197)'))) / (select extract(epoch from '2026-07-09 07:49:10'::timestamp) - extract(epoch from '2026-07-09 07:49:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
