 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.421467 -2.733285)', '2026-07-17 10:00:57', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421443 -2.733273)'), GeomFromEWKT('SRID=4674;POINT (-40.421467 -2.733285)'))) / (select extract(epoch from '2026-07-17 10:00:57'::timestamp) - extract(epoch from '2026-07-17 10:00:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421443 -2.733273)'), GeomFromEWKT('SRID=4674;POINT (-40.421467 -2.733285)'))) / (select extract(epoch from '2026-07-17 10:00:57'::timestamp) - extract(epoch from '2026-07-17 10:00:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.421503 -2.733269)', '2026-07-17 10:01:05', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421467 -2.733285)'), GeomFromEWKT('SRID=4674;POINT (-40.421503 -2.733269)'))) / (select extract(epoch from '2026-07-17 10:01:05'::timestamp) - extract(epoch from '2026-07-17 10:00:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421467 -2.733285)'), GeomFromEWKT('SRID=4674;POINT (-40.421503 -2.733269)'))) / (select extract(epoch from '2026-07-17 10:01:05'::timestamp) - extract(epoch from '2026-07-17 10:00: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'), 47831, 'SRID=4674;POINT (-40.421549 -2.733227)', '2026-07-17 10:01:12', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421503 -2.733269)'), GeomFromEWKT('SRID=4674;POINT (-40.421549 -2.733227)'))) / (select extract(epoch from '2026-07-17 10:01:12'::timestamp) - extract(epoch from '2026-07-17 10:01:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421503 -2.733269)'), GeomFromEWKT('SRID=4674;POINT (-40.421549 -2.733227)'))) / (select extract(epoch from '2026-07-17 10:01:12'::timestamp) - extract(epoch from '2026-07-17 10:01: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'), 47831, 'SRID=4674;POINT (-40.421586 -2.733169)', '2026-07-17 10:01:21', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421549 -2.733227)'), GeomFromEWKT('SRID=4674;POINT (-40.421586 -2.733169)'))) / (select extract(epoch from '2026-07-17 10:01:21'::timestamp) - extract(epoch from '2026-07-17 10:01:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421549 -2.733227)'), GeomFromEWKT('SRID=4674;POINT (-40.421586 -2.733169)'))) / (select extract(epoch from '2026-07-17 10:01:21'::timestamp) - extract(epoch from '2026-07-17 10:01: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'), 47831, 'SRID=4674;POINT (-40.421615 -2.733137)', '2026-07-17 10:01:28', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421586 -2.733169)'), GeomFromEWKT('SRID=4674;POINT (-40.421615 -2.733137)'))) / (select extract(epoch from '2026-07-17 10:01:28'::timestamp) - extract(epoch from '2026-07-17 10:01:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421586 -2.733169)'), GeomFromEWKT('SRID=4674;POINT (-40.421615 -2.733137)'))) / (select extract(epoch from '2026-07-17 10:01:28'::timestamp) - extract(epoch from '2026-07-17 10:01:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.421639 -2.733045)', '2026-07-17 10:01:40', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421615 -2.733137)'), GeomFromEWKT('SRID=4674;POINT (-40.421639 -2.733045)'))) / (select extract(epoch from '2026-07-17 10:01:40'::timestamp) - extract(epoch from '2026-07-17 10:01:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421615 -2.733137)'), GeomFromEWKT('SRID=4674;POINT (-40.421639 -2.733045)'))) / (select extract(epoch from '2026-07-17 10:01:40'::timestamp) - extract(epoch from '2026-07-17 10:01: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'), 47831, 'SRID=4674;POINT (-40.421641 -2.73302)', '2026-07-17 10:01:48', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421639 -2.733045)'), GeomFromEWKT('SRID=4674;POINT (-40.421641 -2.73302)'))) / (select extract(epoch from '2026-07-17 10:01:48'::timestamp) - extract(epoch from '2026-07-17 10:01:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421639 -2.733045)'), GeomFromEWKT('SRID=4674;POINT (-40.421641 -2.73302)'))) / (select extract(epoch from '2026-07-17 10:01:48'::timestamp) - extract(epoch from '2026-07-17 10:01:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.421672 -2.732957)', '2026-07-17 10:02:14', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421641 -2.73302)'), GeomFromEWKT('SRID=4674;POINT (-40.421672 -2.732957)'))) / (select extract(epoch from '2026-07-17 10:02:14'::timestamp) - extract(epoch from '2026-07-17 10:01:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421641 -2.73302)'), GeomFromEWKT('SRID=4674;POINT (-40.421672 -2.732957)'))) / (select extract(epoch from '2026-07-17 10:02:14'::timestamp) - extract(epoch from '2026-07-17 10:01: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'), 47831, 'SRID=4674;POINT (-40.421699 -2.732933)', '2026-07-17 10:02:22', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421672 -2.732957)'), GeomFromEWKT('SRID=4674;POINT (-40.421699 -2.732933)'))) / (select extract(epoch from '2026-07-17 10:02:22'::timestamp) - extract(epoch from '2026-07-17 10:02:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421672 -2.732957)'), GeomFromEWKT('SRID=4674;POINT (-40.421699 -2.732933)'))) / (select extract(epoch from '2026-07-17 10:02:22'::timestamp) - extract(epoch from '2026-07-17 10:02: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'), 47831, 'SRID=4674;POINT (-40.421727 -2.732898)', '2026-07-17 10:02:30', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421699 -2.732933)'), GeomFromEWKT('SRID=4674;POINT (-40.421727 -2.732898)'))) / (select extract(epoch from '2026-07-17 10:02:30'::timestamp) - extract(epoch from '2026-07-17 10:02:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421699 -2.732933)'), GeomFromEWKT('SRID=4674;POINT (-40.421727 -2.732898)'))) / (select extract(epoch from '2026-07-17 10:02:30'::timestamp) - extract(epoch from '2026-07-17 10:02:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.421752 -2.732833)', '2026-07-17 10:02:43', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421727 -2.732898)'), GeomFromEWKT('SRID=4674;POINT (-40.421752 -2.732833)'))) / (select extract(epoch from '2026-07-17 10:02:43'::timestamp) - extract(epoch from '2026-07-17 10:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421727 -2.732898)'), GeomFromEWKT('SRID=4674;POINT (-40.421752 -2.732833)'))) / (select extract(epoch from '2026-07-17 10:02:43'::timestamp) - extract(epoch from '2026-07-17 10:02:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.421771 -2.732784)', '2026-07-17 10:02:54', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421752 -2.732833)'), GeomFromEWKT('SRID=4674;POINT (-40.421771 -2.732784)'))) / (select extract(epoch from '2026-07-17 10:02:54'::timestamp) - extract(epoch from '2026-07-17 10:02:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421752 -2.732833)'), GeomFromEWKT('SRID=4674;POINT (-40.421771 -2.732784)'))) / (select extract(epoch from '2026-07-17 10:02:54'::timestamp) - extract(epoch from '2026-07-17 10:02: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'), 47831, 'SRID=4674;POINT (-40.421799 -2.732737)', '2026-07-17 10:03:04', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421771 -2.732784)'), GeomFromEWKT('SRID=4674;POINT (-40.421799 -2.732737)'))) / (select extract(epoch from '2026-07-17 10:03:04'::timestamp) - extract(epoch from '2026-07-17 10:02:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421771 -2.732784)'), GeomFromEWKT('SRID=4674;POINT (-40.421799 -2.732737)'))) / (select extract(epoch from '2026-07-17 10:03:04'::timestamp) - extract(epoch from '2026-07-17 10:02: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'), 47831, 'SRID=4674;POINT (-40.421837 -2.732676)', '2026-07-17 10:03:20', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421799 -2.732737)'), GeomFromEWKT('SRID=4674;POINT (-40.421837 -2.732676)'))) / (select extract(epoch from '2026-07-17 10:03:20'::timestamp) - extract(epoch from '2026-07-17 10:03:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421799 -2.732737)'), GeomFromEWKT('SRID=4674;POINT (-40.421837 -2.732676)'))) / (select extract(epoch from '2026-07-17 10:03:20'::timestamp) - extract(epoch from '2026-07-17 10:03: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'), 47831, 'SRID=4674;POINT (-40.421865 -2.732606)', '2026-07-17 10:03:36', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421837 -2.732676)'), GeomFromEWKT('SRID=4674;POINT (-40.421865 -2.732606)'))) / (select extract(epoch from '2026-07-17 10:03:36'::timestamp) - extract(epoch from '2026-07-17 10:03:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421837 -2.732676)'), GeomFromEWKT('SRID=4674;POINT (-40.421865 -2.732606)'))) / (select extract(epoch from '2026-07-17 10:03:36'::timestamp) - extract(epoch from '2026-07-17 10:03: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'), 47831, 'SRID=4674;POINT (-40.42188 -2.73252)', '2026-07-17 10:03:51', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421865 -2.732606)'), GeomFromEWKT('SRID=4674;POINT (-40.42188 -2.73252)'))) / (select extract(epoch from '2026-07-17 10:03:51'::timestamp) - extract(epoch from '2026-07-17 10:03:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421865 -2.732606)'), GeomFromEWKT('SRID=4674;POINT (-40.42188 -2.73252)'))) / (select extract(epoch from '2026-07-17 10:03:51'::timestamp) - extract(epoch from '2026-07-17 10:03: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'), 47831, 'SRID=4674;POINT (-40.421843 -2.732398)', '2026-07-17 10:04:02', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42188 -2.73252)'), GeomFromEWKT('SRID=4674;POINT (-40.421843 -2.732398)'))) / (select extract(epoch from '2026-07-17 10:04:02'::timestamp) - extract(epoch from '2026-07-17 10:03:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42188 -2.73252)'), GeomFromEWKT('SRID=4674;POINT (-40.421843 -2.732398)'))) / (select extract(epoch from '2026-07-17 10:04:02'::timestamp) - extract(epoch from '2026-07-17 10:03: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'), 47831, 'SRID=4674;POINT (-40.421878 -2.732259)', '2026-07-17 10:04:12', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421843 -2.732398)'), GeomFromEWKT('SRID=4674;POINT (-40.421878 -2.732259)'))) / (select extract(epoch from '2026-07-17 10:04:12'::timestamp) - extract(epoch from '2026-07-17 10:04:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421843 -2.732398)'), GeomFromEWKT('SRID=4674;POINT (-40.421878 -2.732259)'))) / (select extract(epoch from '2026-07-17 10:04:12'::timestamp) - extract(epoch from '2026-07-17 10:04: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'), 47831, 'SRID=4674;POINT (-40.42197 -2.732229)', '2026-07-17 10:04:19', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421878 -2.732259)'), GeomFromEWKT('SRID=4674;POINT (-40.42197 -2.732229)'))) / (select extract(epoch from '2026-07-17 10:04:19'::timestamp) - extract(epoch from '2026-07-17 10:04:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421878 -2.732259)'), GeomFromEWKT('SRID=4674;POINT (-40.42197 -2.732229)'))) / (select extract(epoch from '2026-07-17 10:04:19'::timestamp) - extract(epoch from '2026-07-17 10:04: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'), 47831, 'SRID=4674;POINT (-40.422022 -2.732284)', '2026-07-17 10:04:25', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42197 -2.732229)'), GeomFromEWKT('SRID=4674;POINT (-40.422022 -2.732284)'))) / (select extract(epoch from '2026-07-17 10:04:25'::timestamp) - extract(epoch from '2026-07-17 10:04:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42197 -2.732229)'), GeomFromEWKT('SRID=4674;POINT (-40.422022 -2.732284)'))) / (select extract(epoch from '2026-07-17 10:04:25'::timestamp) - extract(epoch from '2026-07-17 10:04:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.422019 -2.732386)', '2026-07-17 10:04:32', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422022 -2.732284)'), GeomFromEWKT('SRID=4674;POINT (-40.422019 -2.732386)'))) / (select extract(epoch from '2026-07-17 10:04:32'::timestamp) - extract(epoch from '2026-07-17 10:04:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422022 -2.732284)'), GeomFromEWKT('SRID=4674;POINT (-40.422019 -2.732386)'))) / (select extract(epoch from '2026-07-17 10:04:32'::timestamp) - extract(epoch from '2026-07-17 10:04:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.421976 -2.7325)', '2026-07-17 10:04:39', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422019 -2.732386)'), GeomFromEWKT('SRID=4674;POINT (-40.421976 -2.7325)'))) / (select extract(epoch from '2026-07-17 10:04:39'::timestamp) - extract(epoch from '2026-07-17 10:04:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422019 -2.732386)'), GeomFromEWKT('SRID=4674;POINT (-40.421976 -2.7325)'))) / (select extract(epoch from '2026-07-17 10:04:39'::timestamp) - extract(epoch from '2026-07-17 10:04:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.421914 -2.732606)', '2026-07-17 10:04:46', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421976 -2.7325)'), GeomFromEWKT('SRID=4674;POINT (-40.421914 -2.732606)'))) / (select extract(epoch from '2026-07-17 10:04:46'::timestamp) - extract(epoch from '2026-07-17 10:04:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421976 -2.7325)'), GeomFromEWKT('SRID=4674;POINT (-40.421914 -2.732606)'))) / (select extract(epoch from '2026-07-17 10:04:46'::timestamp) - extract(epoch from '2026-07-17 10:04:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.421826 -2.732755)', '2026-07-17 10:04:55', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421914 -2.732606)'), GeomFromEWKT('SRID=4674;POINT (-40.421826 -2.732755)'))) / (select extract(epoch from '2026-07-17 10:04:55'::timestamp) - extract(epoch from '2026-07-17 10:04:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421914 -2.732606)'), GeomFromEWKT('SRID=4674;POINT (-40.421826 -2.732755)'))) / (select extract(epoch from '2026-07-17 10:04:55'::timestamp) - extract(epoch from '2026-07-17 10:04: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'), 47831, 'SRID=4674;POINT (-40.421728 -2.732881)', '2026-07-17 10:05:04', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421826 -2.732755)'), GeomFromEWKT('SRID=4674;POINT (-40.421728 -2.732881)'))) / (select extract(epoch from '2026-07-17 10:05:04'::timestamp) - extract(epoch from '2026-07-17 10:04:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421826 -2.732755)'), GeomFromEWKT('SRID=4674;POINT (-40.421728 -2.732881)'))) / (select extract(epoch from '2026-07-17 10:05:04'::timestamp) - extract(epoch from '2026-07-17 10:04: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'), 47831, 'SRID=4674;POINT (-40.421685 -2.732984)', '2026-07-17 10:05:10', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421728 -2.732881)'), GeomFromEWKT('SRID=4674;POINT (-40.421685 -2.732984)'))) / (select extract(epoch from '2026-07-17 10:05:10'::timestamp) - extract(epoch from '2026-07-17 10:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421728 -2.732881)'), GeomFromEWKT('SRID=4674;POINT (-40.421685 -2.732984)'))) / (select extract(epoch from '2026-07-17 10:05:10'::timestamp) - extract(epoch from '2026-07-17 10:05: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'), 47831, 'SRID=4674;POINT (-40.421634 -2.733158)', '2026-07-17 10:05:19', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421685 -2.732984)'), GeomFromEWKT('SRID=4674;POINT (-40.421634 -2.733158)'))) / (select extract(epoch from '2026-07-17 10:05:19'::timestamp) - extract(epoch from '2026-07-17 10:05:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421685 -2.732984)'), GeomFromEWKT('SRID=4674;POINT (-40.421634 -2.733158)'))) / (select extract(epoch from '2026-07-17 10:05:19'::timestamp) - extract(epoch from '2026-07-17 10:05:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.421599 -2.733234)', '2026-07-17 10:05:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421634 -2.733158)'), GeomFromEWKT('SRID=4674;POINT (-40.421599 -2.733234)'))) / (select extract(epoch from '2026-07-17 10:05:25'::timestamp) - extract(epoch from '2026-07-17 10:05:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421634 -2.733158)'), GeomFromEWKT('SRID=4674;POINT (-40.421599 -2.733234)'))) / (select extract(epoch from '2026-07-17 10:05:25'::timestamp) - extract(epoch from '2026-07-17 10:05:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.421519 -2.733279)', '2026-07-17 10:05:32', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421599 -2.733234)'), GeomFromEWKT('SRID=4674;POINT (-40.421519 -2.733279)'))) / (select extract(epoch from '2026-07-17 10:05:32'::timestamp) - extract(epoch from '2026-07-17 10:05:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421599 -2.733234)'), GeomFromEWKT('SRID=4674;POINT (-40.421519 -2.733279)'))) / (select extract(epoch from '2026-07-17 10:05:32'::timestamp) - extract(epoch from '2026-07-17 10:05:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.421423 -2.733296)', '2026-07-17 10:05:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421519 -2.733279)'), GeomFromEWKT('SRID=4674;POINT (-40.421423 -2.733296)'))) / (select extract(epoch from '2026-07-17 10:05:38'::timestamp) - extract(epoch from '2026-07-17 10:05:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421519 -2.733279)'), GeomFromEWKT('SRID=4674;POINT (-40.421423 -2.733296)'))) / (select extract(epoch from '2026-07-17 10:05:38'::timestamp) - extract(epoch from '2026-07-17 10:05:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.421307 -2.733315)', '2026-07-17 10:05:46', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421423 -2.733296)'), GeomFromEWKT('SRID=4674;POINT (-40.421307 -2.733315)'))) / (select extract(epoch from '2026-07-17 10:05:46'::timestamp) - extract(epoch from '2026-07-17 10:05:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421423 -2.733296)'), GeomFromEWKT('SRID=4674;POINT (-40.421307 -2.733315)'))) / (select extract(epoch from '2026-07-17 10:05:46'::timestamp) - extract(epoch from '2026-07-17 10:05: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'), 47831, 'SRID=4674;POINT (-40.421215 -2.733393)', '2026-07-17 10:05:54', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421307 -2.733315)'), GeomFromEWKT('SRID=4674;POINT (-40.421215 -2.733393)'))) / (select extract(epoch from '2026-07-17 10:05:54'::timestamp) - extract(epoch from '2026-07-17 10:05:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421307 -2.733315)'), GeomFromEWKT('SRID=4674;POINT (-40.421215 -2.733393)'))) / (select extract(epoch from '2026-07-17 10:05:54'::timestamp) - extract(epoch from '2026-07-17 10:05:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.421154 -2.73353)', '2026-07-17 10:06:03', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421215 -2.733393)'), GeomFromEWKT('SRID=4674;POINT (-40.421154 -2.73353)'))) / (select extract(epoch from '2026-07-17 10:06:03'::timestamp) - extract(epoch from '2026-07-17 10:05:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421215 -2.733393)'), GeomFromEWKT('SRID=4674;POINT (-40.421154 -2.73353)'))) / (select extract(epoch from '2026-07-17 10:06:03'::timestamp) - extract(epoch from '2026-07-17 10: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'), 47831, 'SRID=4674;POINT (-40.42116 -2.733669)', '2026-07-17 10:06:11', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421154 -2.73353)'), GeomFromEWKT('SRID=4674;POINT (-40.42116 -2.733669)'))) / (select extract(epoch from '2026-07-17 10:06:11'::timestamp) - extract(epoch from '2026-07-17 10:06:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421154 -2.73353)'), GeomFromEWKT('SRID=4674;POINT (-40.42116 -2.733669)'))) / (select extract(epoch from '2026-07-17 10:06:11'::timestamp) - extract(epoch from '2026-07-17 10:06:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.421123 -2.733804)', '2026-07-17 10:06:19', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42116 -2.733669)'), GeomFromEWKT('SRID=4674;POINT (-40.421123 -2.733804)'))) / (select extract(epoch from '2026-07-17 10:06:19'::timestamp) - extract(epoch from '2026-07-17 10:06:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42116 -2.733669)'), GeomFromEWKT('SRID=4674;POINT (-40.421123 -2.733804)'))) / (select extract(epoch from '2026-07-17 10:06:19'::timestamp) - extract(epoch from '2026-07-17 10:06:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.421077 -2.733949)', '2026-07-17 10:06:28', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421123 -2.733804)'), GeomFromEWKT('SRID=4674;POINT (-40.421077 -2.733949)'))) / (select extract(epoch from '2026-07-17 10:06:28'::timestamp) - extract(epoch from '2026-07-17 10:06:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421123 -2.733804)'), GeomFromEWKT('SRID=4674;POINT (-40.421077 -2.733949)'))) / (select extract(epoch from '2026-07-17 10:06:28'::timestamp) - extract(epoch from '2026-07-17 10:06: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'), 47831, 'SRID=4674;POINT (-40.421055 -2.734059)', '2026-07-17 10:06:34', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421077 -2.733949)'), GeomFromEWKT('SRID=4674;POINT (-40.421055 -2.734059)'))) / (select extract(epoch from '2026-07-17 10:06:34'::timestamp) - extract(epoch from '2026-07-17 10:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421077 -2.733949)'), GeomFromEWKT('SRID=4674;POINT (-40.421055 -2.734059)'))) / (select extract(epoch from '2026-07-17 10:06:34'::timestamp) - extract(epoch from '2026-07-17 10:06:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.420982 -2.734182)', '2026-07-17 10:06:43', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421055 -2.734059)'), GeomFromEWKT('SRID=4674;POINT (-40.420982 -2.734182)'))) / (select extract(epoch from '2026-07-17 10:06:43'::timestamp) - extract(epoch from '2026-07-17 10:06:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421055 -2.734059)'), GeomFromEWKT('SRID=4674;POINT (-40.420982 -2.734182)'))) / (select extract(epoch from '2026-07-17 10:06:43'::timestamp) - extract(epoch from '2026-07-17 10:06:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.420907 -2.734309)', '2026-07-17 10:06:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420982 -2.734182)'), GeomFromEWKT('SRID=4674;POINT (-40.420907 -2.734309)'))) / (select extract(epoch from '2026-07-17 10:06:52'::timestamp) - extract(epoch from '2026-07-17 10:06:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420982 -2.734182)'), GeomFromEWKT('SRID=4674;POINT (-40.420907 -2.734309)'))) / (select extract(epoch from '2026-07-17 10:06:52'::timestamp) - extract(epoch from '2026-07-17 10: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'), 47831, 'SRID=4674;POINT (-40.420885 -2.734411)', '2026-07-17 10:07:00', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420907 -2.734309)'), GeomFromEWKT('SRID=4674;POINT (-40.420885 -2.734411)'))) / (select extract(epoch from '2026-07-17 10:07:00'::timestamp) - extract(epoch from '2026-07-17 10:06:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420907 -2.734309)'), GeomFromEWKT('SRID=4674;POINT (-40.420885 -2.734411)'))) / (select extract(epoch from '2026-07-17 10:07:00'::timestamp) - extract(epoch from '2026-07-17 10:06: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'), 47831, 'SRID=4674;POINT (-40.420839 -2.73449)', '2026-07-17 10:07:07', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420885 -2.734411)'), GeomFromEWKT('SRID=4674;POINT (-40.420839 -2.73449)'))) / (select extract(epoch from '2026-07-17 10:07:07'::timestamp) - extract(epoch from '2026-07-17 10:07:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420885 -2.734411)'), GeomFromEWKT('SRID=4674;POINT (-40.420839 -2.73449)'))) / (select extract(epoch from '2026-07-17 10:07:07'::timestamp) - extract(epoch from '2026-07-17 10:07:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.420805 -2.734557)', '2026-07-17 10:07:14', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420839 -2.73449)'), GeomFromEWKT('SRID=4674;POINT (-40.420805 -2.734557)'))) / (select extract(epoch from '2026-07-17 10:07:14'::timestamp) - extract(epoch from '2026-07-17 10:07:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420839 -2.73449)'), GeomFromEWKT('SRID=4674;POINT (-40.420805 -2.734557)'))) / (select extract(epoch from '2026-07-17 10:07:14'::timestamp) - extract(epoch from '2026-07-17 10:07:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.420749 -2.734625)', '2026-07-17 10:07:23', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420805 -2.734557)'), GeomFromEWKT('SRID=4674;POINT (-40.420749 -2.734625)'))) / (select extract(epoch from '2026-07-17 10:07:23'::timestamp) - extract(epoch from '2026-07-17 10:07:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420805 -2.734557)'), GeomFromEWKT('SRID=4674;POINT (-40.420749 -2.734625)'))) / (select extract(epoch from '2026-07-17 10:07:23'::timestamp) - extract(epoch from '2026-07-17 10:07: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'), 47831, 'SRID=4674;POINT (-40.420682 -2.734689)', '2026-07-17 10:07:32', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420749 -2.734625)'), GeomFromEWKT('SRID=4674;POINT (-40.420682 -2.734689)'))) / (select extract(epoch from '2026-07-17 10:07:32'::timestamp) - extract(epoch from '2026-07-17 10:07:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420749 -2.734625)'), GeomFromEWKT('SRID=4674;POINT (-40.420682 -2.734689)'))) / (select extract(epoch from '2026-07-17 10:07:32'::timestamp) - extract(epoch from '2026-07-17 10: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'), 47831, 'SRID=4674;POINT (-40.420665 -2.734759)', '2026-07-17 10:07:38', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420682 -2.734689)'), GeomFromEWKT('SRID=4674;POINT (-40.420665 -2.734759)'))) / (select extract(epoch from '2026-07-17 10:07:38'::timestamp) - extract(epoch from '2026-07-17 10:07:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420682 -2.734689)'), GeomFromEWKT('SRID=4674;POINT (-40.420665 -2.734759)'))) / (select extract(epoch from '2026-07-17 10:07:38'::timestamp) - extract(epoch from '2026-07-17 10:07: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'), 47831, 'SRID=4674;POINT (-40.420672 -2.734828)', '2026-07-17 10:07:48', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420665 -2.734759)'), GeomFromEWKT('SRID=4674;POINT (-40.420672 -2.734828)'))) / (select extract(epoch from '2026-07-17 10:07:48'::timestamp) - extract(epoch from '2026-07-17 10:07:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420665 -2.734759)'), GeomFromEWKT('SRID=4674;POINT (-40.420672 -2.734828)'))) / (select extract(epoch from '2026-07-17 10:07:48'::timestamp) - extract(epoch from '2026-07-17 10:07: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'), 47831, 'SRID=4674;POINT (-40.420637 -2.734802)', '2026-07-17 10:07:58', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420672 -2.734828)'), GeomFromEWKT('SRID=4674;POINT (-40.420637 -2.734802)'))) / (select extract(epoch from '2026-07-17 10:07:58'::timestamp) - extract(epoch from '2026-07-17 10:07:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420672 -2.734828)'), GeomFromEWKT('SRID=4674;POINT (-40.420637 -2.734802)'))) / (select extract(epoch from '2026-07-17 10:07:58'::timestamp) - extract(epoch from '2026-07-17 10:07: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'), 47831, 'SRID=4674;POINT (-40.420639 -2.734735)', '2026-07-17 10:08:07', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420637 -2.734802)'), GeomFromEWKT('SRID=4674;POINT (-40.420639 -2.734735)'))) / (select extract(epoch from '2026-07-17 10:08:07'::timestamp) - extract(epoch from '2026-07-17 10:07:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420637 -2.734802)'), GeomFromEWKT('SRID=4674;POINT (-40.420639 -2.734735)'))) / (select extract(epoch from '2026-07-17 10:08:07'::timestamp) - extract(epoch from '2026-07-17 10:07:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.420675 -2.734595)', '2026-07-17 10:08:27', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420639 -2.734735)'), GeomFromEWKT('SRID=4674;POINT (-40.420675 -2.734595)'))) / (select extract(epoch from '2026-07-17 10:08:27'::timestamp) - extract(epoch from '2026-07-17 10:08:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420639 -2.734735)'), GeomFromEWKT('SRID=4674;POINT (-40.420675 -2.734595)'))) / (select extract(epoch from '2026-07-17 10:08:27'::timestamp) - extract(epoch from '2026-07-17 10:08: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'), 47831, 'SRID=4674;POINT (-40.420704 -2.734526)', '2026-07-17 10:08:42', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420675 -2.734595)'), GeomFromEWKT('SRID=4674;POINT (-40.420704 -2.734526)'))) / (select extract(epoch from '2026-07-17 10:08:42'::timestamp) - extract(epoch from '2026-07-17 10:08:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420675 -2.734595)'), GeomFromEWKT('SRID=4674;POINT (-40.420704 -2.734526)'))) / (select extract(epoch from '2026-07-17 10:08:42'::timestamp) - extract(epoch from '2026-07-17 10:08:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.420714 -2.734479)', '2026-07-17 10:08:55', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420704 -2.734526)'), GeomFromEWKT('SRID=4674;POINT (-40.420714 -2.734479)'))) / (select extract(epoch from '2026-07-17 10:08:55'::timestamp) - extract(epoch from '2026-07-17 10:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420704 -2.734526)'), GeomFromEWKT('SRID=4674;POINT (-40.420714 -2.734479)'))) / (select extract(epoch from '2026-07-17 10:08:55'::timestamp) - extract(epoch from '2026-07-17 10:08:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.420736 -2.734403)', '2026-07-17 10:09:11', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420714 -2.734479)'), GeomFromEWKT('SRID=4674;POINT (-40.420736 -2.734403)'))) / (select extract(epoch from '2026-07-17 10:09:11'::timestamp) - extract(epoch from '2026-07-17 10:08:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420714 -2.734479)'), GeomFromEWKT('SRID=4674;POINT (-40.420736 -2.734403)'))) / (select extract(epoch from '2026-07-17 10:09:11'::timestamp) - extract(epoch from '2026-07-17 10:08: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'), 47831, 'SRID=4674;POINT (-40.420726 -2.734321)', '2026-07-17 10:09:25', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420736 -2.734403)'), GeomFromEWKT('SRID=4674;POINT (-40.420726 -2.734321)'))) / (select extract(epoch from '2026-07-17 10:09:25'::timestamp) - extract(epoch from '2026-07-17 10:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420736 -2.734403)'), GeomFromEWKT('SRID=4674;POINT (-40.420726 -2.734321)'))) / (select extract(epoch from '2026-07-17 10:09:25'::timestamp) - extract(epoch from '2026-07-17 10:09:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.420722 -2.734319)', '2026-07-17 10:09:34', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420726 -2.734321)'), GeomFromEWKT('SRID=4674;POINT (-40.420722 -2.734319)'))) / (select extract(epoch from '2026-07-17 10:09:34'::timestamp) - extract(epoch from '2026-07-17 10:09:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420726 -2.734321)'), GeomFromEWKT('SRID=4674;POINT (-40.420722 -2.734319)'))) / (select extract(epoch from '2026-07-17 10:09:34'::timestamp) - extract(epoch from '2026-07-17 10:09:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.420643 -2.73436)', '2026-07-17 10:09:44', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420722 -2.734319)'), GeomFromEWKT('SRID=4674;POINT (-40.420643 -2.73436)'))) / (select extract(epoch from '2026-07-17 10:09:44'::timestamp) - extract(epoch from '2026-07-17 10:09:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420722 -2.734319)'), GeomFromEWKT('SRID=4674;POINT (-40.420643 -2.73436)'))) / (select extract(epoch from '2026-07-17 10:09:44'::timestamp) - extract(epoch from '2026-07-17 10:09: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'), 47831, 'SRID=4674;POINT (-40.420635 -2.734363)', '2026-07-17 10:09:56', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420643 -2.73436)'), GeomFromEWKT('SRID=4674;POINT (-40.420635 -2.734363)'))) / (select extract(epoch from '2026-07-17 10:09:56'::timestamp) - extract(epoch from '2026-07-17 10:09:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420643 -2.73436)'), GeomFromEWKT('SRID=4674;POINT (-40.420635 -2.734363)'))) / (select extract(epoch from '2026-07-17 10:09:56'::timestamp) - extract(epoch from '2026-07-17 10:09: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'), 47831, 'SRID=4674;POINT (-40.420659 -2.734286)', '2026-07-17 10:10:14', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420635 -2.734363)'), GeomFromEWKT('SRID=4674;POINT (-40.420659 -2.734286)'))) / (select extract(epoch from '2026-07-17 10:10:14'::timestamp) - extract(epoch from '2026-07-17 10:09:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420635 -2.734363)'), GeomFromEWKT('SRID=4674;POINT (-40.420659 -2.734286)'))) / (select extract(epoch from '2026-07-17 10:10:14'::timestamp) - extract(epoch from '2026-07-17 10:09:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.42067 -2.734253)', '2026-07-17 10:10:23', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420659 -2.734286)'), GeomFromEWKT('SRID=4674;POINT (-40.42067 -2.734253)'))) / (select extract(epoch from '2026-07-17 10:10:23'::timestamp) - extract(epoch from '2026-07-17 10:10:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420659 -2.734286)'), GeomFromEWKT('SRID=4674;POINT (-40.42067 -2.734253)'))) / (select extract(epoch from '2026-07-17 10:10:23'::timestamp) - extract(epoch from '2026-07-17 10:10: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'), 47831, 'SRID=4674;POINT (-40.420738 -2.734187)', '2026-07-17 10:10:41', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42067 -2.734253)'), GeomFromEWKT('SRID=4674;POINT (-40.420738 -2.734187)'))) / (select extract(epoch from '2026-07-17 10:10:41'::timestamp) - extract(epoch from '2026-07-17 10:10:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42067 -2.734253)'), GeomFromEWKT('SRID=4674;POINT (-40.420738 -2.734187)'))) / (select extract(epoch from '2026-07-17 10:10:41'::timestamp) - extract(epoch from '2026-07-17 10: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'), 47831, 'SRID=4674;POINT (-40.42077 -2.734117)', '2026-07-17 10:11:00', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420738 -2.734187)'), GeomFromEWKT('SRID=4674;POINT (-40.42077 -2.734117)'))) / (select extract(epoch from '2026-07-17 10:11:00'::timestamp) - extract(epoch from '2026-07-17 10:10:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420738 -2.734187)'), GeomFromEWKT('SRID=4674;POINT (-40.42077 -2.734117)'))) / (select extract(epoch from '2026-07-17 10:11:00'::timestamp) - extract(epoch from '2026-07-17 10:10: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'), 47831, 'SRID=4674;POINT (-40.420773 -2.73408)', '2026-07-17 10:11:10', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42077 -2.734117)'), GeomFromEWKT('SRID=4674;POINT (-40.420773 -2.73408)'))) / (select extract(epoch from '2026-07-17 10:11:10'::timestamp) - extract(epoch from '2026-07-17 10:11:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42077 -2.734117)'), GeomFromEWKT('SRID=4674;POINT (-40.420773 -2.73408)'))) / (select extract(epoch from '2026-07-17 10:11:10'::timestamp) - extract(epoch from '2026-07-17 10:11: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'), 47831, 'SRID=4674;POINT (-40.420775 -2.73396)', '2026-07-17 10:11:19', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420773 -2.73408)'), GeomFromEWKT('SRID=4674;POINT (-40.420775 -2.73396)'))) / (select extract(epoch from '2026-07-17 10:11:19'::timestamp) - extract(epoch from '2026-07-17 10:11:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420773 -2.73408)'), GeomFromEWKT('SRID=4674;POINT (-40.420775 -2.73396)'))) / (select extract(epoch from '2026-07-17 10:11:19'::timestamp) - extract(epoch from '2026-07-17 10:11: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'), 47831, 'SRID=4674;POINT (-40.420786 -2.733945)', '2026-07-17 10:11:20', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420775 -2.73396)'), GeomFromEWKT('SRID=4674;POINT (-40.420786 -2.733945)'))) / (select extract(epoch from '2026-07-17 10:11:20'::timestamp) - extract(epoch from '2026-07-17 10:11:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420775 -2.73396)'), GeomFromEWKT('SRID=4674;POINT (-40.420786 -2.733945)'))) / (select extract(epoch from '2026-07-17 10:11:20'::timestamp) - extract(epoch from '2026-07-17 10:11: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'), 47831, 'SRID=4674;POINT (-40.420851 -2.733918)', '2026-07-17 10:11:24', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420786 -2.733945)'), GeomFromEWKT('SRID=4674;POINT (-40.420851 -2.733918)'))) / (select extract(epoch from '2026-07-17 10:11:24'::timestamp) - extract(epoch from '2026-07-17 10:11:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420786 -2.733945)'), GeomFromEWKT('SRID=4674;POINT (-40.420851 -2.733918)'))) / (select extract(epoch from '2026-07-17 10:11:24'::timestamp) - extract(epoch from '2026-07-17 10:11: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'), 47831, 'SRID=4674;POINT (-40.420956 -2.733941)', '2026-07-17 10:11:30', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420851 -2.733918)'), GeomFromEWKT('SRID=4674;POINT (-40.420956 -2.733941)'))) / (select extract(epoch from '2026-07-17 10:11:30'::timestamp) - extract(epoch from '2026-07-17 10:11:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420851 -2.733918)'), GeomFromEWKT('SRID=4674;POINT (-40.420956 -2.733941)'))) / (select extract(epoch from '2026-07-17 10:11:30'::timestamp) - extract(epoch from '2026-07-17 10:11: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'), 47831, 'SRID=4674;POINT (-40.421023 -2.734059)', '2026-07-17 10:11:38', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420956 -2.733941)'), GeomFromEWKT('SRID=4674;POINT (-40.421023 -2.734059)'))) / (select extract(epoch from '2026-07-17 10:11:38'::timestamp) - extract(epoch from '2026-07-17 10:11:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420956 -2.733941)'), GeomFromEWKT('SRID=4674;POINT (-40.421023 -2.734059)'))) / (select extract(epoch from '2026-07-17 10:11:38'::timestamp) - extract(epoch from '2026-07-17 10:11: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'), 47831, 'SRID=4674;POINT (-40.421016 -2.734169)', '2026-07-17 10:11:44', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421023 -2.734059)'), GeomFromEWKT('SRID=4674;POINT (-40.421016 -2.734169)'))) / (select extract(epoch from '2026-07-17 10:11:44'::timestamp) - extract(epoch from '2026-07-17 10:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421023 -2.734059)'), GeomFromEWKT('SRID=4674;POINT (-40.421016 -2.734169)'))) / (select extract(epoch from '2026-07-17 10:11:44'::timestamp) - extract(epoch from '2026-07-17 10:11: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'), 47831, 'SRID=4674;POINT (-40.420969 -2.734266)', '2026-07-17 10:11:52', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421016 -2.734169)'), GeomFromEWKT('SRID=4674;POINT (-40.420969 -2.734266)'))) / (select extract(epoch from '2026-07-17 10:11:52'::timestamp) - extract(epoch from '2026-07-17 10:11:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421016 -2.734169)'), GeomFromEWKT('SRID=4674;POINT (-40.420969 -2.734266)'))) / (select extract(epoch from '2026-07-17 10:11:52'::timestamp) - extract(epoch from '2026-07-17 10:11:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.420926 -2.734327)', '2026-07-17 10:11:58', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420969 -2.734266)'), GeomFromEWKT('SRID=4674;POINT (-40.420926 -2.734327)'))) / (select extract(epoch from '2026-07-17 10:11:58'::timestamp) - extract(epoch from '2026-07-17 10:11:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420969 -2.734266)'), GeomFromEWKT('SRID=4674;POINT (-40.420926 -2.734327)'))) / (select extract(epoch from '2026-07-17 10:11:58'::timestamp) - extract(epoch from '2026-07-17 10:11:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.420948 -2.734438)', '2026-07-17 10:12:04', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420926 -2.734327)'), GeomFromEWKT('SRID=4674;POINT (-40.420948 -2.734438)'))) / (select extract(epoch from '2026-07-17 10:12:04'::timestamp) - extract(epoch from '2026-07-17 10:11:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420926 -2.734327)'), GeomFromEWKT('SRID=4674;POINT (-40.420948 -2.734438)'))) / (select extract(epoch from '2026-07-17 10:12:04'::timestamp) - extract(epoch from '2026-07-17 10:11:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.421011 -2.73453)', '2026-07-17 10:12:10', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420948 -2.734438)'), GeomFromEWKT('SRID=4674;POINT (-40.421011 -2.73453)'))) / (select extract(epoch from '2026-07-17 10:12:10'::timestamp) - extract(epoch from '2026-07-17 10:12:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420948 -2.734438)'), GeomFromEWKT('SRID=4674;POINT (-40.421011 -2.73453)'))) / (select extract(epoch from '2026-07-17 10:12:10'::timestamp) - extract(epoch from '2026-07-17 10:12:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.421178 -2.734639)', '2026-07-17 10:12:18', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421011 -2.73453)'), GeomFromEWKT('SRID=4674;POINT (-40.421178 -2.734639)'))) / (select extract(epoch from '2026-07-17 10:12:18'::timestamp) - extract(epoch from '2026-07-17 10:12:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421011 -2.73453)'), GeomFromEWKT('SRID=4674;POINT (-40.421178 -2.734639)'))) / (select extract(epoch from '2026-07-17 10:12:18'::timestamp) - extract(epoch from '2026-07-17 10:12:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.421365 -2.734717)', '2026-07-17 10:12:26', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421178 -2.734639)'), GeomFromEWKT('SRID=4674;POINT (-40.421365 -2.734717)'))) / (select extract(epoch from '2026-07-17 10:12:26'::timestamp) - extract(epoch from '2026-07-17 10:12:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421178 -2.734639)'), GeomFromEWKT('SRID=4674;POINT (-40.421365 -2.734717)'))) / (select extract(epoch from '2026-07-17 10:12:26'::timestamp) - extract(epoch from '2026-07-17 10:12: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'), 47831, 'SRID=4674;POINT (-40.421537 -2.734783)', '2026-07-17 10:12:33', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421365 -2.734717)'), GeomFromEWKT('SRID=4674;POINT (-40.421537 -2.734783)'))) / (select extract(epoch from '2026-07-17 10:12:33'::timestamp) - extract(epoch from '2026-07-17 10:12:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421365 -2.734717)'), GeomFromEWKT('SRID=4674;POINT (-40.421537 -2.734783)'))) / (select extract(epoch from '2026-07-17 10:12:33'::timestamp) - extract(epoch from '2026-07-17 10:12: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'), 47831, 'SRID=4674;POINT (-40.421645 -2.734851)', '2026-07-17 10:12:39', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421537 -2.734783)'), GeomFromEWKT('SRID=4674;POINT (-40.421645 -2.734851)'))) / (select extract(epoch from '2026-07-17 10:12:39'::timestamp) - extract(epoch from '2026-07-17 10:12:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421537 -2.734783)'), GeomFromEWKT('SRID=4674;POINT (-40.421645 -2.734851)'))) / (select extract(epoch from '2026-07-17 10:12:39'::timestamp) - extract(epoch from '2026-07-17 10:12: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'), 47831, 'SRID=4674;POINT (-40.421716 -2.735004)', '2026-07-17 10:12:47', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421645 -2.734851)'), GeomFromEWKT('SRID=4674;POINT (-40.421716 -2.735004)'))) / (select extract(epoch from '2026-07-17 10:12:47'::timestamp) - extract(epoch from '2026-07-17 10:12:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421645 -2.734851)'), GeomFromEWKT('SRID=4674;POINT (-40.421716 -2.735004)'))) / (select extract(epoch from '2026-07-17 10:12:47'::timestamp) - extract(epoch from '2026-07-17 10:12: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'), 47831, 'SRID=4674;POINT (-40.42179 -2.735175)', '2026-07-17 10:12:55', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421716 -2.735004)'), GeomFromEWKT('SRID=4674;POINT (-40.42179 -2.735175)'))) / (select extract(epoch from '2026-07-17 10:12:55'::timestamp) - extract(epoch from '2026-07-17 10:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421716 -2.735004)'), GeomFromEWKT('SRID=4674;POINT (-40.42179 -2.735175)'))) / (select extract(epoch from '2026-07-17 10:12:55'::timestamp) - extract(epoch from '2026-07-17 10:12:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.421861 -2.735321)', '2026-07-17 10:13:02', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42179 -2.735175)'), GeomFromEWKT('SRID=4674;POINT (-40.421861 -2.735321)'))) / (select extract(epoch from '2026-07-17 10:13:02'::timestamp) - extract(epoch from '2026-07-17 10:12:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42179 -2.735175)'), GeomFromEWKT('SRID=4674;POINT (-40.421861 -2.735321)'))) / (select extract(epoch from '2026-07-17 10:13:02'::timestamp) - extract(epoch from '2026-07-17 10:12: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'), 47831, 'SRID=4674;POINT (-40.421942 -2.735447)', '2026-07-17 10:13:09', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421861 -2.735321)'), GeomFromEWKT('SRID=4674;POINT (-40.421942 -2.735447)'))) / (select extract(epoch from '2026-07-17 10:13:09'::timestamp) - extract(epoch from '2026-07-17 10:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421861 -2.735321)'), GeomFromEWKT('SRID=4674;POINT (-40.421942 -2.735447)'))) / (select extract(epoch from '2026-07-17 10:13:09'::timestamp) - extract(epoch from '2026-07-17 10:13:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.422054 -2.735599)', '2026-07-17 10:13:17', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421942 -2.735447)'), GeomFromEWKT('SRID=4674;POINT (-40.422054 -2.735599)'))) / (select extract(epoch from '2026-07-17 10:13:17'::timestamp) - extract(epoch from '2026-07-17 10:13:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421942 -2.735447)'), GeomFromEWKT('SRID=4674;POINT (-40.422054 -2.735599)'))) / (select extract(epoch from '2026-07-17 10:13:17'::timestamp) - extract(epoch from '2026-07-17 10:13: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'), 47831, 'SRID=4674;POINT (-40.422166 -2.735699)', '2026-07-17 10:13:24', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422054 -2.735599)'), GeomFromEWKT('SRID=4674;POINT (-40.422166 -2.735699)'))) / (select extract(epoch from '2026-07-17 10:13:24'::timestamp) - extract(epoch from '2026-07-17 10:13:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422054 -2.735599)'), GeomFromEWKT('SRID=4674;POINT (-40.422166 -2.735699)'))) / (select extract(epoch from '2026-07-17 10:13:24'::timestamp) - extract(epoch from '2026-07-17 10:13: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'), 47831, 'SRID=4674;POINT (-40.422305 -2.735822)', '2026-07-17 10:13:32', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422166 -2.735699)'), GeomFromEWKT('SRID=4674;POINT (-40.422305 -2.735822)'))) / (select extract(epoch from '2026-07-17 10:13:32'::timestamp) - extract(epoch from '2026-07-17 10:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422166 -2.735699)'), GeomFromEWKT('SRID=4674;POINT (-40.422305 -2.735822)'))) / (select extract(epoch from '2026-07-17 10:13:32'::timestamp) - extract(epoch from '2026-07-17 10:13:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.422407 -2.735923)', '2026-07-17 10:13:38', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422305 -2.735822)'), GeomFromEWKT('SRID=4674;POINT (-40.422407 -2.735923)'))) / (select extract(epoch from '2026-07-17 10:13:38'::timestamp) - extract(epoch from '2026-07-17 10:13:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422305 -2.735822)'), GeomFromEWKT('SRID=4674;POINT (-40.422407 -2.735923)'))) / (select extract(epoch from '2026-07-17 10:13:38'::timestamp) - extract(epoch from '2026-07-17 10:13:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.422566 -2.736007)', '2026-07-17 10:13:45', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422407 -2.735923)'), GeomFromEWKT('SRID=4674;POINT (-40.422566 -2.736007)'))) / (select extract(epoch from '2026-07-17 10:13:45'::timestamp) - extract(epoch from '2026-07-17 10:13:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422407 -2.735923)'), GeomFromEWKT('SRID=4674;POINT (-40.422566 -2.736007)'))) / (select extract(epoch from '2026-07-17 10:13:45'::timestamp) - extract(epoch from '2026-07-17 10:13: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'), 47831, 'SRID=4674;POINT (-40.422708 -2.736081)', '2026-07-17 10:13:51', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422566 -2.736007)'), GeomFromEWKT('SRID=4674;POINT (-40.422708 -2.736081)'))) / (select extract(epoch from '2026-07-17 10:13:51'::timestamp) - extract(epoch from '2026-07-17 10:13:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422566 -2.736007)'), GeomFromEWKT('SRID=4674;POINT (-40.422708 -2.736081)'))) / (select extract(epoch from '2026-07-17 10:13:51'::timestamp) - extract(epoch from '2026-07-17 10:13:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.422881 -2.736193)', '2026-07-17 10:13:59', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422708 -2.736081)'), GeomFromEWKT('SRID=4674;POINT (-40.422881 -2.736193)'))) / (select extract(epoch from '2026-07-17 10:13:59'::timestamp) - extract(epoch from '2026-07-17 10:13:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422708 -2.736081)'), GeomFromEWKT('SRID=4674;POINT (-40.422881 -2.736193)'))) / (select extract(epoch from '2026-07-17 10:13:59'::timestamp) - extract(epoch from '2026-07-17 10:13: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'), 47831, 'SRID=4674;POINT (-40.423041 -2.736282)', '2026-07-17 10:14:07', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422881 -2.736193)'), GeomFromEWKT('SRID=4674;POINT (-40.423041 -2.736282)'))) / (select extract(epoch from '2026-07-17 10:14:07'::timestamp) - extract(epoch from '2026-07-17 10:13:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422881 -2.736193)'), GeomFromEWKT('SRID=4674;POINT (-40.423041 -2.736282)'))) / (select extract(epoch from '2026-07-17 10:14:07'::timestamp) - extract(epoch from '2026-07-17 10:13: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'), 47831, 'SRID=4674;POINT (-40.423162 -2.736366)', '2026-07-17 10:14:13', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423041 -2.736282)'), GeomFromEWKT('SRID=4674;POINT (-40.423162 -2.736366)'))) / (select extract(epoch from '2026-07-17 10:14:13'::timestamp) - extract(epoch from '2026-07-17 10:14:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423041 -2.736282)'), GeomFromEWKT('SRID=4674;POINT (-40.423162 -2.736366)'))) / (select extract(epoch from '2026-07-17 10:14:13'::timestamp) - extract(epoch from '2026-07-17 10:14: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'), 47831, 'SRID=4674;POINT (-40.423266 -2.736479)', '2026-07-17 10:14:20', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423162 -2.736366)'), GeomFromEWKT('SRID=4674;POINT (-40.423266 -2.736479)'))) / (select extract(epoch from '2026-07-17 10:14:20'::timestamp) - extract(epoch from '2026-07-17 10:14:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423162 -2.736366)'), GeomFromEWKT('SRID=4674;POINT (-40.423266 -2.736479)'))) / (select extract(epoch from '2026-07-17 10:14:20'::timestamp) - extract(epoch from '2026-07-17 10:14:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.42338 -2.736617)', '2026-07-17 10:14:28', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423266 -2.736479)'), GeomFromEWKT('SRID=4674;POINT (-40.42338 -2.736617)'))) / (select extract(epoch from '2026-07-17 10:14:28'::timestamp) - extract(epoch from '2026-07-17 10:14:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423266 -2.736479)'), GeomFromEWKT('SRID=4674;POINT (-40.42338 -2.736617)'))) / (select extract(epoch from '2026-07-17 10:14:28'::timestamp) - extract(epoch from '2026-07-17 10:14:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.423488 -2.736757)', '2026-07-17 10:14:35', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42338 -2.736617)'), GeomFromEWKT('SRID=4674;POINT (-40.423488 -2.736757)'))) / (select extract(epoch from '2026-07-17 10:14:35'::timestamp) - extract(epoch from '2026-07-17 10:14:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42338 -2.736617)'), GeomFromEWKT('SRID=4674;POINT (-40.423488 -2.736757)'))) / (select extract(epoch from '2026-07-17 10:14:35'::timestamp) - extract(epoch from '2026-07-17 10:14:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.42358 -2.736854)', '2026-07-17 10:14:41', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423488 -2.736757)'), GeomFromEWKT('SRID=4674;POINT (-40.42358 -2.736854)'))) / (select extract(epoch from '2026-07-17 10:14:41'::timestamp) - extract(epoch from '2026-07-17 10:14:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423488 -2.736757)'), GeomFromEWKT('SRID=4674;POINT (-40.42358 -2.736854)'))) / (select extract(epoch from '2026-07-17 10:14:41'::timestamp) - extract(epoch from '2026-07-17 10:14: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'), 47831, 'SRID=4674;POINT (-40.42372 -2.736993)', '2026-07-17 10:14:49', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42358 -2.736854)'), GeomFromEWKT('SRID=4674;POINT (-40.42372 -2.736993)'))) / (select extract(epoch from '2026-07-17 10:14:49'::timestamp) - extract(epoch from '2026-07-17 10:14:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42358 -2.736854)'), GeomFromEWKT('SRID=4674;POINT (-40.42372 -2.736993)'))) / (select extract(epoch from '2026-07-17 10:14:49'::timestamp) - extract(epoch from '2026-07-17 10:14: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'), 47831, 'SRID=4674;POINT (-40.423874 -2.737135)', '2026-07-17 10:14:57', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42372 -2.736993)'), GeomFromEWKT('SRID=4674;POINT (-40.423874 -2.737135)'))) / (select extract(epoch from '2026-07-17 10:14:57'::timestamp) - extract(epoch from '2026-07-17 10:14:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42372 -2.736993)'), GeomFromEWKT('SRID=4674;POINT (-40.423874 -2.737135)'))) / (select extract(epoch from '2026-07-17 10:14:57'::timestamp) - extract(epoch from '2026-07-17 10:14: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'), 47831, 'SRID=4674;POINT (-40.424004 -2.737264)', '2026-07-17 10:15:05', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423874 -2.737135)'), GeomFromEWKT('SRID=4674;POINT (-40.424004 -2.737264)'))) / (select extract(epoch from '2026-07-17 10:15:05'::timestamp) - extract(epoch from '2026-07-17 10:14:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423874 -2.737135)'), GeomFromEWKT('SRID=4674;POINT (-40.424004 -2.737264)'))) / (select extract(epoch from '2026-07-17 10:15:05'::timestamp) - extract(epoch from '2026-07-17 10:14: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'), 47831, 'SRID=4674;POINT (-40.424102 -2.73742)', '2026-07-17 10:15:13', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424004 -2.737264)'), GeomFromEWKT('SRID=4674;POINT (-40.424102 -2.73742)'))) / (select extract(epoch from '2026-07-17 10:15:13'::timestamp) - extract(epoch from '2026-07-17 10:15:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424004 -2.737264)'), GeomFromEWKT('SRID=4674;POINT (-40.424102 -2.73742)'))) / (select extract(epoch from '2026-07-17 10:15:13'::timestamp) - extract(epoch from '2026-07-17 10:15: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'), 47831, 'SRID=4674;POINT (-40.424147 -2.737557)', '2026-07-17 10:15:20', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424102 -2.73742)'), GeomFromEWKT('SRID=4674;POINT (-40.424147 -2.737557)'))) / (select extract(epoch from '2026-07-17 10:15:20'::timestamp) - extract(epoch from '2026-07-17 10:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424102 -2.73742)'), GeomFromEWKT('SRID=4674;POINT (-40.424147 -2.737557)'))) / (select extract(epoch from '2026-07-17 10:15:20'::timestamp) - extract(epoch from '2026-07-17 10:15:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.424201 -2.737663)', '2026-07-17 10:15:26', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424147 -2.737557)'), GeomFromEWKT('SRID=4674;POINT (-40.424201 -2.737663)'))) / (select extract(epoch from '2026-07-17 10:15:26'::timestamp) - extract(epoch from '2026-07-17 10:15:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424147 -2.737557)'), GeomFromEWKT('SRID=4674;POINT (-40.424201 -2.737663)'))) / (select extract(epoch from '2026-07-17 10:15:26'::timestamp) - extract(epoch from '2026-07-17 10:15: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'), 47831, 'SRID=4674;POINT (-40.424266 -2.737793)', '2026-07-17 10:15:33', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424201 -2.737663)'), GeomFromEWKT('SRID=4674;POINT (-40.424266 -2.737793)'))) / (select extract(epoch from '2026-07-17 10:15:33'::timestamp) - extract(epoch from '2026-07-17 10:15:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424201 -2.737663)'), GeomFromEWKT('SRID=4674;POINT (-40.424266 -2.737793)'))) / (select extract(epoch from '2026-07-17 10:15:33'::timestamp) - extract(epoch from '2026-07-17 10:15: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'), 47831, 'SRID=4674;POINT (-40.424344 -2.73792)', '2026-07-17 10:15:40', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424266 -2.737793)'), GeomFromEWKT('SRID=4674;POINT (-40.424344 -2.73792)'))) / (select extract(epoch from '2026-07-17 10:15:40'::timestamp) - extract(epoch from '2026-07-17 10:15:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424266 -2.737793)'), GeomFromEWKT('SRID=4674;POINT (-40.424344 -2.73792)'))) / (select extract(epoch from '2026-07-17 10:15:40'::timestamp) - extract(epoch from '2026-07-17 10:15: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'), 47831, 'SRID=4674;POINT (-40.424434 -2.738082)', '2026-07-17 10:15:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424344 -2.73792)'), GeomFromEWKT('SRID=4674;POINT (-40.424434 -2.738082)'))) / (select extract(epoch from '2026-07-17 10:15:48'::timestamp) - extract(epoch from '2026-07-17 10:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424344 -2.73792)'), GeomFromEWKT('SRID=4674;POINT (-40.424434 -2.738082)'))) / (select extract(epoch from '2026-07-17 10:15:48'::timestamp) - extract(epoch from '2026-07-17 10:15: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'), 47831, 'SRID=4674;POINT (-40.424459 -2.738207)', '2026-07-17 10:15:54', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424434 -2.738082)'), GeomFromEWKT('SRID=4674;POINT (-40.424459 -2.738207)'))) / (select extract(epoch from '2026-07-17 10:15:54'::timestamp) - extract(epoch from '2026-07-17 10:15:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424434 -2.738082)'), GeomFromEWKT('SRID=4674;POINT (-40.424459 -2.738207)'))) / (select extract(epoch from '2026-07-17 10:15:54'::timestamp) - extract(epoch from '2026-07-17 10:15: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'), 47831, 'SRID=4674;POINT (-40.424417 -2.738338)', '2026-07-17 10:16:01', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424459 -2.738207)'), GeomFromEWKT('SRID=4674;POINT (-40.424417 -2.738338)'))) / (select extract(epoch from '2026-07-17 10:16:01'::timestamp) - extract(epoch from '2026-07-17 10:15:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424459 -2.738207)'), GeomFromEWKT('SRID=4674;POINT (-40.424417 -2.738338)'))) / (select extract(epoch from '2026-07-17 10:16:01'::timestamp) - extract(epoch from '2026-07-17 10:15: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'), 47831, 'SRID=4674;POINT (-40.424374 -2.738497)', '2026-07-17 10:16:09', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424417 -2.738338)'), GeomFromEWKT('SRID=4674;POINT (-40.424374 -2.738497)'))) / (select extract(epoch from '2026-07-17 10:16:09'::timestamp) - extract(epoch from '2026-07-17 10:16:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424417 -2.738338)'), GeomFromEWKT('SRID=4674;POINT (-40.424374 -2.738497)'))) / (select extract(epoch from '2026-07-17 10:16:09'::timestamp) - extract(epoch from '2026-07-17 10:16: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'), 47831, 'SRID=4674;POINT (-40.424388 -2.73866)', '2026-07-17 10:16:16', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424374 -2.738497)'), GeomFromEWKT('SRID=4674;POINT (-40.424388 -2.73866)'))) / (select extract(epoch from '2026-07-17 10:16:16'::timestamp) - extract(epoch from '2026-07-17 10:16:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424374 -2.738497)'), GeomFromEWKT('SRID=4674;POINT (-40.424388 -2.73866)'))) / (select extract(epoch from '2026-07-17 10:16:16'::timestamp) - extract(epoch from '2026-07-17 10:16:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.424431 -2.738844)', '2026-07-17 10:16:24', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424388 -2.73866)'), GeomFromEWKT('SRID=4674;POINT (-40.424431 -2.738844)'))) / (select extract(epoch from '2026-07-17 10:16:24'::timestamp) - extract(epoch from '2026-07-17 10:16:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424388 -2.73866)'), GeomFromEWKT('SRID=4674;POINT (-40.424431 -2.738844)'))) / (select extract(epoch from '2026-07-17 10:16:24'::timestamp) - extract(epoch from '2026-07-17 10:16: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'), 47831, 'SRID=4674;POINT (-40.424521 -2.738984)', '2026-07-17 10:16:31', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424431 -2.738844)'), GeomFromEWKT('SRID=4674;POINT (-40.424521 -2.738984)'))) / (select extract(epoch from '2026-07-17 10:16:31'::timestamp) - extract(epoch from '2026-07-17 10:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424431 -2.738844)'), GeomFromEWKT('SRID=4674;POINT (-40.424521 -2.738984)'))) / (select extract(epoch from '2026-07-17 10:16:31'::timestamp) - extract(epoch from '2026-07-17 10:16: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'), 47831, 'SRID=4674;POINT (-40.424671 -2.739088)', '2026-07-17 10:16:39', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424521 -2.738984)'), GeomFromEWKT('SRID=4674;POINT (-40.424671 -2.739088)'))) / (select extract(epoch from '2026-07-17 10:16:39'::timestamp) - extract(epoch from '2026-07-17 10:16:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424521 -2.738984)'), GeomFromEWKT('SRID=4674;POINT (-40.424671 -2.739088)'))) / (select extract(epoch from '2026-07-17 10:16:39'::timestamp) - extract(epoch from '2026-07-17 10:16: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'), 47831, 'SRID=4674;POINT (-40.424853 -2.739141)', '2026-07-17 10:16:47', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424671 -2.739088)'), GeomFromEWKT('SRID=4674;POINT (-40.424853 -2.739141)'))) / (select extract(epoch from '2026-07-17 10:16:47'::timestamp) - extract(epoch from '2026-07-17 10:16:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424671 -2.739088)'), GeomFromEWKT('SRID=4674;POINT (-40.424853 -2.739141)'))) / (select extract(epoch from '2026-07-17 10:16:47'::timestamp) - extract(epoch from '2026-07-17 10:16: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'), 47831, 'SRID=4674;POINT (-40.425015 -2.73924)', '2026-07-17 10:16:55', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424853 -2.739141)'), GeomFromEWKT('SRID=4674;POINT (-40.425015 -2.73924)'))) / (select extract(epoch from '2026-07-17 10:16:55'::timestamp) - extract(epoch from '2026-07-17 10:16:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424853 -2.739141)'), GeomFromEWKT('SRID=4674;POINT (-40.425015 -2.73924)'))) / (select extract(epoch from '2026-07-17 10:16:55'::timestamp) - extract(epoch from '2026-07-17 10: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'), 47831, 'SRID=4674;POINT (-40.425144 -2.739402)', '2026-07-17 10:17:05', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425015 -2.73924)'), GeomFromEWKT('SRID=4674;POINT (-40.425144 -2.739402)'))) / (select extract(epoch from '2026-07-17 10:17:05'::timestamp) - extract(epoch from '2026-07-17 10:16:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425015 -2.73924)'), GeomFromEWKT('SRID=4674;POINT (-40.425144 -2.739402)'))) / (select extract(epoch from '2026-07-17 10:17:05'::timestamp) - extract(epoch from '2026-07-17 10:16: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'), 47831, 'SRID=4674;POINT (-40.425255 -2.739562)', '2026-07-17 10:17:13', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425144 -2.739402)'), GeomFromEWKT('SRID=4674;POINT (-40.425255 -2.739562)'))) / (select extract(epoch from '2026-07-17 10:17:13'::timestamp) - extract(epoch from '2026-07-17 10:17:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425144 -2.739402)'), GeomFromEWKT('SRID=4674;POINT (-40.425255 -2.739562)'))) / (select extract(epoch from '2026-07-17 10:17:13'::timestamp) - extract(epoch from '2026-07-17 10:17: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'), 47831, 'SRID=4674;POINT (-40.425333 -2.73972)', '2026-07-17 10:17:21', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425255 -2.739562)'), GeomFromEWKT('SRID=4674;POINT (-40.425333 -2.73972)'))) / (select extract(epoch from '2026-07-17 10:17:21'::timestamp) - extract(epoch from '2026-07-17 10:17:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425255 -2.739562)'), GeomFromEWKT('SRID=4674;POINT (-40.425333 -2.73972)'))) / (select extract(epoch from '2026-07-17 10:17:21'::timestamp) - extract(epoch from '2026-07-17 10:17: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'), 47831, 'SRID=4674;POINT (-40.42541 -2.739897)', '2026-07-17 10:17:30', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425333 -2.73972)'), GeomFromEWKT('SRID=4674;POINT (-40.42541 -2.739897)'))) / (select extract(epoch from '2026-07-17 10:17:30'::timestamp) - extract(epoch from '2026-07-17 10:17:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425333 -2.73972)'), GeomFromEWKT('SRID=4674;POINT (-40.42541 -2.739897)'))) / (select extract(epoch from '2026-07-17 10:17:30'::timestamp) - extract(epoch from '2026-07-17 10:17: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'), 47831, 'SRID=4674;POINT (-40.425502 -2.740055)', '2026-07-17 10:17:38', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42541 -2.739897)'), GeomFromEWKT('SRID=4674;POINT (-40.425502 -2.740055)'))) / (select extract(epoch from '2026-07-17 10:17:38'::timestamp) - extract(epoch from '2026-07-17 10:17:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42541 -2.739897)'), GeomFromEWKT('SRID=4674;POINT (-40.425502 -2.740055)'))) / (select extract(epoch from '2026-07-17 10:17:38'::timestamp) - extract(epoch from '2026-07-17 10:17: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'), 47831, 'SRID=4674;POINT (-40.42562 -2.740176)', '2026-07-17 10:17:45', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425502 -2.740055)'), GeomFromEWKT('SRID=4674;POINT (-40.42562 -2.740176)'))) / (select extract(epoch from '2026-07-17 10:17:45'::timestamp) - extract(epoch from '2026-07-17 10:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425502 -2.740055)'), GeomFromEWKT('SRID=4674;POINT (-40.42562 -2.740176)'))) / (select extract(epoch from '2026-07-17 10:17:45'::timestamp) - extract(epoch from '2026-07-17 10:17:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.425756 -2.740284)', '2026-07-17 10:17:52', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42562 -2.740176)'), GeomFromEWKT('SRID=4674;POINT (-40.425756 -2.740284)'))) / (select extract(epoch from '2026-07-17 10:17:52'::timestamp) - extract(epoch from '2026-07-17 10:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42562 -2.740176)'), GeomFromEWKT('SRID=4674;POINT (-40.425756 -2.740284)'))) / (select extract(epoch from '2026-07-17 10:17:52'::timestamp) - extract(epoch from '2026-07-17 10:17:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.425905 -2.740404)', '2026-07-17 10:17:59', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425756 -2.740284)'), GeomFromEWKT('SRID=4674;POINT (-40.425905 -2.740404)'))) / (select extract(epoch from '2026-07-17 10:17:59'::timestamp) - extract(epoch from '2026-07-17 10:17:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425756 -2.740284)'), GeomFromEWKT('SRID=4674;POINT (-40.425905 -2.740404)'))) / (select extract(epoch from '2026-07-17 10:17:59'::timestamp) - extract(epoch from '2026-07-17 10:17: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'), 47831, 'SRID=4674;POINT (-40.426014 -2.740573)', '2026-07-17 10:18:07', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425905 -2.740404)'), GeomFromEWKT('SRID=4674;POINT (-40.426014 -2.740573)'))) / (select extract(epoch from '2026-07-17 10:18:07'::timestamp) - extract(epoch from '2026-07-17 10:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425905 -2.740404)'), GeomFromEWKT('SRID=4674;POINT (-40.426014 -2.740573)'))) / (select extract(epoch from '2026-07-17 10:18:07'::timestamp) - extract(epoch from '2026-07-17 10:17: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'), 47831, 'SRID=4674;POINT (-40.426001 -2.740698)', '2026-07-17 10:18:14', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426014 -2.740573)'), GeomFromEWKT('SRID=4674;POINT (-40.426001 -2.740698)'))) / (select extract(epoch from '2026-07-17 10:18:14'::timestamp) - extract(epoch from '2026-07-17 10:18:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426014 -2.740573)'), GeomFromEWKT('SRID=4674;POINT (-40.426001 -2.740698)'))) / (select extract(epoch from '2026-07-17 10:18:14'::timestamp) - extract(epoch from '2026-07-17 10:18: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'), 47831, 'SRID=4674;POINT (-40.425934 -2.740837)', '2026-07-17 10:18:22', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426001 -2.740698)'), GeomFromEWKT('SRID=4674;POINT (-40.425934 -2.740837)'))) / (select extract(epoch from '2026-07-17 10:18:22'::timestamp) - extract(epoch from '2026-07-17 10:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426001 -2.740698)'), GeomFromEWKT('SRID=4674;POINT (-40.425934 -2.740837)'))) / (select extract(epoch from '2026-07-17 10:18:22'::timestamp) - extract(epoch from '2026-07-17 10:18: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'), 47831, 'SRID=4674;POINT (-40.425885 -2.740956)', '2026-07-17 10:18:28', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425934 -2.740837)'), GeomFromEWKT('SRID=4674;POINT (-40.425885 -2.740956)'))) / (select extract(epoch from '2026-07-17 10:18:28'::timestamp) - extract(epoch from '2026-07-17 10:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425934 -2.740837)'), GeomFromEWKT('SRID=4674;POINT (-40.425885 -2.740956)'))) / (select extract(epoch from '2026-07-17 10:18:28'::timestamp) - extract(epoch from '2026-07-17 10:18:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.425888 -2.740977)', '2026-07-17 10:18:29', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425885 -2.740956)'), GeomFromEWKT('SRID=4674;POINT (-40.425888 -2.740977)'))) / (select extract(epoch from '2026-07-17 10:18:29'::timestamp) - extract(epoch from '2026-07-17 10:18:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425885 -2.740956)'), GeomFromEWKT('SRID=4674;POINT (-40.425888 -2.740977)'))) / (select extract(epoch from '2026-07-17 10:18:29'::timestamp) - extract(epoch from '2026-07-17 10:18:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.425958 -2.741091)', '2026-07-17 10:18:35', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425888 -2.740977)'), GeomFromEWKT('SRID=4674;POINT (-40.425958 -2.741091)'))) / (select extract(epoch from '2026-07-17 10:18:35'::timestamp) - extract(epoch from '2026-07-17 10:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425888 -2.740977)'), GeomFromEWKT('SRID=4674;POINT (-40.425958 -2.741091)'))) / (select extract(epoch from '2026-07-17 10:18:35'::timestamp) - extract(epoch from '2026-07-17 10:18:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.426112 -2.741169)', '2026-07-17 10:18:43', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425958 -2.741091)'), GeomFromEWKT('SRID=4674;POINT (-40.426112 -2.741169)'))) / (select extract(epoch from '2026-07-17 10:18:43'::timestamp) - extract(epoch from '2026-07-17 10:18:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425958 -2.741091)'), GeomFromEWKT('SRID=4674;POINT (-40.426112 -2.741169)'))) / (select extract(epoch from '2026-07-17 10:18:43'::timestamp) - extract(epoch from '2026-07-17 10:18:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.426291 -2.741182)', '2026-07-17 10:18:51', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426112 -2.741169)'), GeomFromEWKT('SRID=4674;POINT (-40.426291 -2.741182)'))) / (select extract(epoch from '2026-07-17 10:18:51'::timestamp) - extract(epoch from '2026-07-17 10:18:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426112 -2.741169)'), GeomFromEWKT('SRID=4674;POINT (-40.426291 -2.741182)'))) / (select extract(epoch from '2026-07-17 10:18:51'::timestamp) - extract(epoch from '2026-07-17 10:18: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'), 47831, 'SRID=4674;POINT (-40.426415 -2.741241)', '2026-07-17 10:18:57', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426291 -2.741182)'), GeomFromEWKT('SRID=4674;POINT (-40.426415 -2.741241)'))) / (select extract(epoch from '2026-07-17 10:18:57'::timestamp) - extract(epoch from '2026-07-17 10:18:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426291 -2.741182)'), GeomFromEWKT('SRID=4674;POINT (-40.426415 -2.741241)'))) / (select extract(epoch from '2026-07-17 10:18:57'::timestamp) - extract(epoch from '2026-07-17 10:18: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'), 47831, 'SRID=4674;POINT (-40.426535 -2.741357)', '2026-07-17 10:19:04', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426415 -2.741241)'), GeomFromEWKT('SRID=4674;POINT (-40.426535 -2.741357)'))) / (select extract(epoch from '2026-07-17 10:19:04'::timestamp) - extract(epoch from '2026-07-17 10:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426415 -2.741241)'), GeomFromEWKT('SRID=4674;POINT (-40.426535 -2.741357)'))) / (select extract(epoch from '2026-07-17 10:19:04'::timestamp) - extract(epoch from '2026-07-17 10:18:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.426616 -2.741492)', '2026-07-17 10:19:11', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426535 -2.741357)'), GeomFromEWKT('SRID=4674;POINT (-40.426616 -2.741492)'))) / (select extract(epoch from '2026-07-17 10:19:11'::timestamp) - extract(epoch from '2026-07-17 10:19:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426535 -2.741357)'), GeomFromEWKT('SRID=4674;POINT (-40.426616 -2.741492)'))) / (select extract(epoch from '2026-07-17 10:19:11'::timestamp) - extract(epoch from '2026-07-17 10:19:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.426722 -2.741642)', '2026-07-17 10:19:19', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426616 -2.741492)'), GeomFromEWKT('SRID=4674;POINT (-40.426722 -2.741642)'))) / (select extract(epoch from '2026-07-17 10:19:19'::timestamp) - extract(epoch from '2026-07-17 10:19:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426616 -2.741492)'), GeomFromEWKT('SRID=4674;POINT (-40.426722 -2.741642)'))) / (select extract(epoch from '2026-07-17 10:19:19'::timestamp) - extract(epoch from '2026-07-17 10:19: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'), 47831, 'SRID=4674;POINT (-40.426855 -2.741743)', '2026-07-17 10:19:26', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426722 -2.741642)'), GeomFromEWKT('SRID=4674;POINT (-40.426855 -2.741743)'))) / (select extract(epoch from '2026-07-17 10:19:26'::timestamp) - extract(epoch from '2026-07-17 10:19:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426722 -2.741642)'), GeomFromEWKT('SRID=4674;POINT (-40.426855 -2.741743)'))) / (select extract(epoch from '2026-07-17 10:19:26'::timestamp) - extract(epoch from '2026-07-17 10:19:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.42703 -2.741806)', '2026-07-17 10:19:33', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426855 -2.741743)'), GeomFromEWKT('SRID=4674;POINT (-40.42703 -2.741806)'))) / (select extract(epoch from '2026-07-17 10:19:33'::timestamp) - extract(epoch from '2026-07-17 10:19:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426855 -2.741743)'), GeomFromEWKT('SRID=4674;POINT (-40.42703 -2.741806)'))) / (select extract(epoch from '2026-07-17 10:19:33'::timestamp) - extract(epoch from '2026-07-17 10:19:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.427201 -2.741851)', '2026-07-17 10:19:40', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42703 -2.741806)'), GeomFromEWKT('SRID=4674;POINT (-40.427201 -2.741851)'))) / (select extract(epoch from '2026-07-17 10:19:40'::timestamp) - extract(epoch from '2026-07-17 10:19:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42703 -2.741806)'), GeomFromEWKT('SRID=4674;POINT (-40.427201 -2.741851)'))) / (select extract(epoch from '2026-07-17 10:19:40'::timestamp) - extract(epoch from '2026-07-17 10:19:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.427372 -2.741907)', '2026-07-17 10:19:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427201 -2.741851)'), GeomFromEWKT('SRID=4674;POINT (-40.427372 -2.741907)'))) / (select extract(epoch from '2026-07-17 10:19:48'::timestamp) - extract(epoch from '2026-07-17 10:19:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427201 -2.741851)'), GeomFromEWKT('SRID=4674;POINT (-40.427372 -2.741907)'))) / (select extract(epoch from '2026-07-17 10:19:48'::timestamp) - extract(epoch from '2026-07-17 10:19: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'), 47831, 'SRID=4674;POINT (-40.427516 -2.742005)', '2026-07-17 10:19:55', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427372 -2.741907)'), GeomFromEWKT('SRID=4674;POINT (-40.427516 -2.742005)'))) / (select extract(epoch from '2026-07-17 10:19:55'::timestamp) - extract(epoch from '2026-07-17 10:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427372 -2.741907)'), GeomFromEWKT('SRID=4674;POINT (-40.427516 -2.742005)'))) / (select extract(epoch from '2026-07-17 10:19:55'::timestamp) - extract(epoch from '2026-07-17 10:19:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.427671 -2.742159)', '2026-07-17 10:20:04', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427516 -2.742005)'), GeomFromEWKT('SRID=4674;POINT (-40.427671 -2.742159)'))) / (select extract(epoch from '2026-07-17 10:20:04'::timestamp) - extract(epoch from '2026-07-17 10:19:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427516 -2.742005)'), GeomFromEWKT('SRID=4674;POINT (-40.427671 -2.742159)'))) / (select extract(epoch from '2026-07-17 10:20:04'::timestamp) - extract(epoch from '2026-07-17 10:19: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'), 47831, 'SRID=4674;POINT (-40.427795 -2.742284)', '2026-07-17 10:20:11', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427671 -2.742159)'), GeomFromEWKT('SRID=4674;POINT (-40.427795 -2.742284)'))) / (select extract(epoch from '2026-07-17 10:20:11'::timestamp) - extract(epoch from '2026-07-17 10:20:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427671 -2.742159)'), GeomFromEWKT('SRID=4674;POINT (-40.427795 -2.742284)'))) / (select extract(epoch from '2026-07-17 10:20:11'::timestamp) - extract(epoch from '2026-07-17 10: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'), 47831, 'SRID=4674;POINT (-40.427853 -2.742413)', '2026-07-17 10:20:17', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427795 -2.742284)'), GeomFromEWKT('SRID=4674;POINT (-40.427853 -2.742413)'))) / (select extract(epoch from '2026-07-17 10:20:17'::timestamp) - extract(epoch from '2026-07-17 10:20:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427795 -2.742284)'), GeomFromEWKT('SRID=4674;POINT (-40.427853 -2.742413)'))) / (select extract(epoch from '2026-07-17 10:20:17'::timestamp) - extract(epoch from '2026-07-17 10:20:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.427921 -2.742584)', '2026-07-17 10:20:26', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427853 -2.742413)'), GeomFromEWKT('SRID=4674;POINT (-40.427921 -2.742584)'))) / (select extract(epoch from '2026-07-17 10:20:26'::timestamp) - extract(epoch from '2026-07-17 10:20:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427853 -2.742413)'), GeomFromEWKT('SRID=4674;POINT (-40.427921 -2.742584)'))) / (select extract(epoch from '2026-07-17 10:20:26'::timestamp) - extract(epoch from '2026-07-17 10:20:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.428009 -2.742754)', '2026-07-17 10:20:34', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427921 -2.742584)'), GeomFromEWKT('SRID=4674;POINT (-40.428009 -2.742754)'))) / (select extract(epoch from '2026-07-17 10:20:34'::timestamp) - extract(epoch from '2026-07-17 10:20:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427921 -2.742584)'), GeomFromEWKT('SRID=4674;POINT (-40.428009 -2.742754)'))) / (select extract(epoch from '2026-07-17 10:20:34'::timestamp) - extract(epoch from '2026-07-17 10:20: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'), 47831, 'SRID=4674;POINT (-40.428093 -2.742921)', '2026-07-17 10:20:42', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428009 -2.742754)'), GeomFromEWKT('SRID=4674;POINT (-40.428093 -2.742921)'))) / (select extract(epoch from '2026-07-17 10:20:42'::timestamp) - extract(epoch from '2026-07-17 10:20:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428009 -2.742754)'), GeomFromEWKT('SRID=4674;POINT (-40.428093 -2.742921)'))) / (select extract(epoch from '2026-07-17 10:20:42'::timestamp) - extract(epoch from '2026-07-17 10:20: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'), 47831, 'SRID=4674;POINT (-40.428215 -2.743091)', '2026-07-17 10:20:51', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428093 -2.742921)'), GeomFromEWKT('SRID=4674;POINT (-40.428215 -2.743091)'))) / (select extract(epoch from '2026-07-17 10:20:51'::timestamp) - extract(epoch from '2026-07-17 10:20:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428093 -2.742921)'), GeomFromEWKT('SRID=4674;POINT (-40.428215 -2.743091)'))) / (select extract(epoch from '2026-07-17 10:20:51'::timestamp) - extract(epoch from '2026-07-17 10:20: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'), 47831, 'SRID=4674;POINT (-40.4283 -2.743202)', '2026-07-17 10:20:57', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428215 -2.743091)'), GeomFromEWKT('SRID=4674;POINT (-40.4283 -2.743202)'))) / (select extract(epoch from '2026-07-17 10:20:57'::timestamp) - extract(epoch from '2026-07-17 10:20:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428215 -2.743091)'), GeomFromEWKT('SRID=4674;POINT (-40.4283 -2.743202)'))) / (select extract(epoch from '2026-07-17 10:20:57'::timestamp) - extract(epoch from '2026-07-17 10:20: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'), 47831, 'SRID=4674;POINT (-40.428364 -2.743292)', '2026-07-17 10:21:02', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4283 -2.743202)'), GeomFromEWKT('SRID=4674;POINT (-40.428364 -2.743292)'))) / (select extract(epoch from '2026-07-17 10:21:02'::timestamp) - extract(epoch from '2026-07-17 10:20:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4283 -2.743202)'), GeomFromEWKT('SRID=4674;POINT (-40.428364 -2.743292)'))) / (select extract(epoch from '2026-07-17 10:21:02'::timestamp) - extract(epoch from '2026-07-17 10:20:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.428448 -2.74336)', '2026-07-17 10:21:07', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428364 -2.743292)'), GeomFromEWKT('SRID=4674;POINT (-40.428448 -2.74336)'))) / (select extract(epoch from '2026-07-17 10:21:07'::timestamp) - extract(epoch from '2026-07-17 10:21:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428364 -2.743292)'), GeomFromEWKT('SRID=4674;POINT (-40.428448 -2.74336)'))) / (select extract(epoch from '2026-07-17 10:21:07'::timestamp) - extract(epoch from '2026-07-17 10:21: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'), 47831, 'SRID=4674;POINT (-40.428579 -2.743426)', '2026-07-17 10:21:15', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428448 -2.74336)'), GeomFromEWKT('SRID=4674;POINT (-40.428579 -2.743426)'))) / (select extract(epoch from '2026-07-17 10:21:15'::timestamp) - extract(epoch from '2026-07-17 10:21:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428448 -2.74336)'), GeomFromEWKT('SRID=4674;POINT (-40.428579 -2.743426)'))) / (select extract(epoch from '2026-07-17 10:21:15'::timestamp) - extract(epoch from '2026-07-17 10:21:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.428718 -2.743574)', '2026-07-17 10:21:24', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428579 -2.743426)'), GeomFromEWKT('SRID=4674;POINT (-40.428718 -2.743574)'))) / (select extract(epoch from '2026-07-17 10:21:24'::timestamp) - extract(epoch from '2026-07-17 10:21:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428579 -2.743426)'), GeomFromEWKT('SRID=4674;POINT (-40.428718 -2.743574)'))) / (select extract(epoch from '2026-07-17 10:21:24'::timestamp) - extract(epoch from '2026-07-17 10: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'), 47831, 'SRID=4674;POINT (-40.428853 -2.74378)', '2026-07-17 10:21:34', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428718 -2.743574)'), GeomFromEWKT('SRID=4674;POINT (-40.428853 -2.74378)'))) / (select extract(epoch from '2026-07-17 10:21:34'::timestamp) - extract(epoch from '2026-07-17 10:21:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428718 -2.743574)'), GeomFromEWKT('SRID=4674;POINT (-40.428853 -2.74378)'))) / (select extract(epoch from '2026-07-17 10:21:34'::timestamp) - extract(epoch from '2026-07-17 10:21:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.429017 -2.743927)', '2026-07-17 10:21:43', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428853 -2.74378)'), GeomFromEWKT('SRID=4674;POINT (-40.429017 -2.743927)'))) / (select extract(epoch from '2026-07-17 10:21:43'::timestamp) - extract(epoch from '2026-07-17 10:21:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428853 -2.74378)'), GeomFromEWKT('SRID=4674;POINT (-40.429017 -2.743927)'))) / (select extract(epoch from '2026-07-17 10:21:43'::timestamp) - extract(epoch from '2026-07-17 10:21: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'), 47831, 'SRID=4674;POINT (-40.429152 -2.744034)', '2026-07-17 10:21:50', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429017 -2.743927)'), GeomFromEWKT('SRID=4674;POINT (-40.429152 -2.744034)'))) / (select extract(epoch from '2026-07-17 10:21:50'::timestamp) - extract(epoch from '2026-07-17 10:21:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429017 -2.743927)'), GeomFromEWKT('SRID=4674;POINT (-40.429152 -2.744034)'))) / (select extract(epoch from '2026-07-17 10:21:50'::timestamp) - extract(epoch from '2026-07-17 10:21:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.429276 -2.744132)', '2026-07-17 10:21:57', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429152 -2.744034)'), GeomFromEWKT('SRID=4674;POINT (-40.429276 -2.744132)'))) / (select extract(epoch from '2026-07-17 10:21:57'::timestamp) - extract(epoch from '2026-07-17 10:21:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429152 -2.744034)'), GeomFromEWKT('SRID=4674;POINT (-40.429276 -2.744132)'))) / (select extract(epoch from '2026-07-17 10:21:57'::timestamp) - extract(epoch from '2026-07-17 10:21:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.429365 -2.744223)', '2026-07-17 10:22:03', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429276 -2.744132)'), GeomFromEWKT('SRID=4674;POINT (-40.429365 -2.744223)'))) / (select extract(epoch from '2026-07-17 10:22:03'::timestamp) - extract(epoch from '2026-07-17 10:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429276 -2.744132)'), GeomFromEWKT('SRID=4674;POINT (-40.429365 -2.744223)'))) / (select extract(epoch from '2026-07-17 10:22:03'::timestamp) - extract(epoch from '2026-07-17 10:21:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.429431 -2.744361)', '2026-07-17 10:22:11', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429365 -2.744223)'), GeomFromEWKT('SRID=4674;POINT (-40.429431 -2.744361)'))) / (select extract(epoch from '2026-07-17 10:22:11'::timestamp) - extract(epoch from '2026-07-17 10:22:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429365 -2.744223)'), GeomFromEWKT('SRID=4674;POINT (-40.429431 -2.744361)'))) / (select extract(epoch from '2026-07-17 10:22:11'::timestamp) - extract(epoch from '2026-07-17 10:22: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'), 47831, 'SRID=4674;POINT (-40.429483 -2.744471)', '2026-07-17 10:22:18', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429431 -2.744361)'), GeomFromEWKT('SRID=4674;POINT (-40.429483 -2.744471)'))) / (select extract(epoch from '2026-07-17 10:22:18'::timestamp) - extract(epoch from '2026-07-17 10:22:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429431 -2.744361)'), GeomFromEWKT('SRID=4674;POINT (-40.429483 -2.744471)'))) / (select extract(epoch from '2026-07-17 10:22:18'::timestamp) - extract(epoch from '2026-07-17 10:22:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.429542 -2.744549)', '2026-07-17 10:22:25', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429483 -2.744471)'), GeomFromEWKT('SRID=4674;POINT (-40.429542 -2.744549)'))) / (select extract(epoch from '2026-07-17 10:22:25'::timestamp) - extract(epoch from '2026-07-17 10:22:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429483 -2.744471)'), GeomFromEWKT('SRID=4674;POINT (-40.429542 -2.744549)'))) / (select extract(epoch from '2026-07-17 10:22:25'::timestamp) - extract(epoch from '2026-07-17 10:22: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'), 47831, 'SRID=4674;POINT (-40.429627 -2.744635)', '2026-07-17 10:22:34', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429542 -2.744549)'), GeomFromEWKT('SRID=4674;POINT (-40.429627 -2.744635)'))) / (select extract(epoch from '2026-07-17 10:22:34'::timestamp) - extract(epoch from '2026-07-17 10:22:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429542 -2.744549)'), GeomFromEWKT('SRID=4674;POINT (-40.429627 -2.744635)'))) / (select extract(epoch from '2026-07-17 10:22:34'::timestamp) - extract(epoch from '2026-07-17 10:22:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.429688 -2.744693)', '2026-07-17 10:22:41', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429627 -2.744635)'), GeomFromEWKT('SRID=4674;POINT (-40.429688 -2.744693)'))) / (select extract(epoch from '2026-07-17 10:22:41'::timestamp) - extract(epoch from '2026-07-17 10:22:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429627 -2.744635)'), GeomFromEWKT('SRID=4674;POINT (-40.429688 -2.744693)'))) / (select extract(epoch from '2026-07-17 10:22:41'::timestamp) - extract(epoch from '2026-07-17 10:22: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'), 47831, 'SRID=4674;POINT (-40.429731 -2.744731)', '2026-07-17 10:22:48', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429688 -2.744693)'), GeomFromEWKT('SRID=4674;POINT (-40.429731 -2.744731)'))) / (select extract(epoch from '2026-07-17 10:22:48'::timestamp) - extract(epoch from '2026-07-17 10:22:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429688 -2.744693)'), GeomFromEWKT('SRID=4674;POINT (-40.429731 -2.744731)'))) / (select extract(epoch from '2026-07-17 10:22:48'::timestamp) - extract(epoch from '2026-07-17 10:22: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'), 47831, 'SRID=4674;POINT (-40.429783 -2.744777)', '2026-07-17 10:22:55', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429731 -2.744731)'), GeomFromEWKT('SRID=4674;POINT (-40.429783 -2.744777)'))) / (select extract(epoch from '2026-07-17 10:22:55'::timestamp) - extract(epoch from '2026-07-17 10:22:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429731 -2.744731)'), GeomFromEWKT('SRID=4674;POINT (-40.429783 -2.744777)'))) / (select extract(epoch from '2026-07-17 10:22:55'::timestamp) - extract(epoch from '2026-07-17 10:22:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.429774 -2.744822)', '2026-07-17 10:23:02', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429783 -2.744777)'), GeomFromEWKT('SRID=4674;POINT (-40.429774 -2.744822)'))) / (select extract(epoch from '2026-07-17 10:23:02'::timestamp) - extract(epoch from '2026-07-17 10:22:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429783 -2.744777)'), GeomFromEWKT('SRID=4674;POINT (-40.429774 -2.744822)'))) / (select extract(epoch from '2026-07-17 10:23:02'::timestamp) - extract(epoch from '2026-07-17 10:22:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.429741 -2.74486)', '2026-07-17 10:23:09', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429774 -2.744822)'), GeomFromEWKT('SRID=4674;POINT (-40.429741 -2.74486)'))) / (select extract(epoch from '2026-07-17 10:23:09'::timestamp) - extract(epoch from '2026-07-17 10:23:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429774 -2.744822)'), GeomFromEWKT('SRID=4674;POINT (-40.429741 -2.74486)'))) / (select extract(epoch from '2026-07-17 10:23:09'::timestamp) - extract(epoch from '2026-07-17 10:23:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.42965 -2.744899)', '2026-07-17 10:23:25', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429741 -2.74486)'), GeomFromEWKT('SRID=4674;POINT (-40.42965 -2.744899)'))) / (select extract(epoch from '2026-07-17 10:23:25'::timestamp) - extract(epoch from '2026-07-17 10:23:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429741 -2.74486)'), GeomFromEWKT('SRID=4674;POINT (-40.42965 -2.744899)'))) / (select extract(epoch from '2026-07-17 10:23:25'::timestamp) - extract(epoch from '2026-07-17 10: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'), 47831, 'SRID=4674;POINT (-40.429581 -2.744892)', '2026-07-17 10:23:39', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42965 -2.744899)'), GeomFromEWKT('SRID=4674;POINT (-40.429581 -2.744892)'))) / (select extract(epoch from '2026-07-17 10:23:39'::timestamp) - extract(epoch from '2026-07-17 10:23:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42965 -2.744899)'), GeomFromEWKT('SRID=4674;POINT (-40.429581 -2.744892)'))) / (select extract(epoch from '2026-07-17 10:23:39'::timestamp) - extract(epoch from '2026-07-17 10:23: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'), 47831, 'SRID=4674;POINT (-40.429595 -2.744918)', '2026-07-17 10:23:45', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429581 -2.744892)'), GeomFromEWKT('SRID=4674;POINT (-40.429595 -2.744918)'))) / (select extract(epoch from '2026-07-17 10:23:45'::timestamp) - extract(epoch from '2026-07-17 10:23:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429581 -2.744892)'), GeomFromEWKT('SRID=4674;POINT (-40.429595 -2.744918)'))) / (select extract(epoch from '2026-07-17 10:23:45'::timestamp) - extract(epoch from '2026-07-17 10: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'), 47831, 'SRID=4674;POINT (-40.429674 -2.744892)', '2026-07-17 10:23:54', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429595 -2.744918)'), GeomFromEWKT('SRID=4674;POINT (-40.429674 -2.744892)'))) / (select extract(epoch from '2026-07-17 10:23:54'::timestamp) - extract(epoch from '2026-07-17 10:23:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429595 -2.744918)'), GeomFromEWKT('SRID=4674;POINT (-40.429674 -2.744892)'))) / (select extract(epoch from '2026-07-17 10:23:54'::timestamp) - extract(epoch from '2026-07-17 10: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'), 47831, 'SRID=4674;POINT (-40.42974 -2.744909)', '2026-07-17 10:24:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429674 -2.744892)'), GeomFromEWKT('SRID=4674;POINT (-40.42974 -2.744909)'))) / (select extract(epoch from '2026-07-17 10:24:00'::timestamp) - extract(epoch from '2026-07-17 10:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429674 -2.744892)'), GeomFromEWKT('SRID=4674;POINT (-40.42974 -2.744909)'))) / (select extract(epoch from '2026-07-17 10:24:00'::timestamp) - extract(epoch from '2026-07-17 10:23: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'), 47831, 'SRID=4674;POINT (-40.429784 -2.744964)', '2026-07-17 10:24:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42974 -2.744909)'), GeomFromEWKT('SRID=4674;POINT (-40.429784 -2.744964)'))) / (select extract(epoch from '2026-07-17 10:24:05'::timestamp) - extract(epoch from '2026-07-17 10:24:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42974 -2.744909)'), GeomFromEWKT('SRID=4674;POINT (-40.429784 -2.744964)'))) / (select extract(epoch from '2026-07-17 10:24:05'::timestamp) - extract(epoch from '2026-07-17 10:24: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'), 47831, 'SRID=4674;POINT (-40.429814 -2.744973)', '2026-07-17 10:24:07', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429784 -2.744964)'), GeomFromEWKT('SRID=4674;POINT (-40.429814 -2.744973)'))) / (select extract(epoch from '2026-07-17 10:24:07'::timestamp) - extract(epoch from '2026-07-17 10:24:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429784 -2.744964)'), GeomFromEWKT('SRID=4674;POINT (-40.429814 -2.744973)'))) / (select extract(epoch from '2026-07-17 10:24:07'::timestamp) - extract(epoch from '2026-07-17 10:24:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.429903 -2.744995)', '2026-07-17 10:24:14', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429814 -2.744973)'), GeomFromEWKT('SRID=4674;POINT (-40.429903 -2.744995)'))) / (select extract(epoch from '2026-07-17 10:24:14'::timestamp) - extract(epoch from '2026-07-17 10:24:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429814 -2.744973)'), GeomFromEWKT('SRID=4674;POINT (-40.429903 -2.744995)'))) / (select extract(epoch from '2026-07-17 10:24:14'::timestamp) - extract(epoch from '2026-07-17 10:24:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.42992 -2.745042)', '2026-07-17 10:24:21', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429903 -2.744995)'), GeomFromEWKT('SRID=4674;POINT (-40.42992 -2.745042)'))) / (select extract(epoch from '2026-07-17 10:24:21'::timestamp) - extract(epoch from '2026-07-17 10:24:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429903 -2.744995)'), GeomFromEWKT('SRID=4674;POINT (-40.42992 -2.745042)'))) / (select extract(epoch from '2026-07-17 10:24:21'::timestamp) - extract(epoch from '2026-07-17 10:24: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'), 47831, 'SRID=4674;POINT (-40.429903 -2.745072)', '2026-07-17 10:24:28', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42992 -2.745042)'), GeomFromEWKT('SRID=4674;POINT (-40.429903 -2.745072)'))) / (select extract(epoch from '2026-07-17 10:24:28'::timestamp) - extract(epoch from '2026-07-17 10:24:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42992 -2.745042)'), GeomFromEWKT('SRID=4674;POINT (-40.429903 -2.745072)'))) / (select extract(epoch from '2026-07-17 10:24:28'::timestamp) - extract(epoch from '2026-07-17 10:24:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.429865 -2.745058)', '2026-07-17 10:24:34', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429903 -2.745072)'), GeomFromEWKT('SRID=4674;POINT (-40.429865 -2.745058)'))) / (select extract(epoch from '2026-07-17 10:24:34'::timestamp) - extract(epoch from '2026-07-17 10:24:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429903 -2.745072)'), GeomFromEWKT('SRID=4674;POINT (-40.429865 -2.745058)'))) / (select extract(epoch from '2026-07-17 10:24:34'::timestamp) - extract(epoch from '2026-07-17 10:24:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.429833 -2.745051)', '2026-07-17 10:24:42', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429865 -2.745058)'), GeomFromEWKT('SRID=4674;POINT (-40.429833 -2.745051)'))) / (select extract(epoch from '2026-07-17 10:24:42'::timestamp) - extract(epoch from '2026-07-17 10:24:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429865 -2.745058)'), GeomFromEWKT('SRID=4674;POINT (-40.429833 -2.745051)'))) / (select extract(epoch from '2026-07-17 10:24:42'::timestamp) - extract(epoch from '2026-07-17 10:24:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.429847 -2.745008)', '2026-07-17 10:25:10', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429833 -2.745051)'), GeomFromEWKT('SRID=4674;POINT (-40.429847 -2.745008)'))) / (select extract(epoch from '2026-07-17 10:25:10'::timestamp) - extract(epoch from '2026-07-17 10:24:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429833 -2.745051)'), GeomFromEWKT('SRID=4674;POINT (-40.429847 -2.745008)'))) / (select extract(epoch from '2026-07-17 10:25:10'::timestamp) - extract(epoch from '2026-07-17 10:24:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.429883 -2.744936)', '2026-07-17 10:25:29', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429847 -2.745008)'), GeomFromEWKT('SRID=4674;POINT (-40.429883 -2.744936)'))) / (select extract(epoch from '2026-07-17 10:25:29'::timestamp) - extract(epoch from '2026-07-17 10:25:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429847 -2.745008)'), GeomFromEWKT('SRID=4674;POINT (-40.429883 -2.744936)'))) / (select extract(epoch from '2026-07-17 10:25:29'::timestamp) - extract(epoch from '2026-07-17 10:25: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'), 47831, 'SRID=4674;POINT (-40.429938 -2.744824)', '2026-07-17 10:25:48', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429883 -2.744936)'), GeomFromEWKT('SRID=4674;POINT (-40.429938 -2.744824)'))) / (select extract(epoch from '2026-07-17 10:25:48'::timestamp) - extract(epoch from '2026-07-17 10:25:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429883 -2.744936)'), GeomFromEWKT('SRID=4674;POINT (-40.429938 -2.744824)'))) / (select extract(epoch from '2026-07-17 10:25:48'::timestamp) - extract(epoch from '2026-07-17 10:25: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'), 47831, 'SRID=4674;POINT (-40.429894 -2.744701)', '2026-07-17 10:25:59', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429938 -2.744824)'), GeomFromEWKT('SRID=4674;POINT (-40.429894 -2.744701)'))) / (select extract(epoch from '2026-07-17 10:25:59'::timestamp) - extract(epoch from '2026-07-17 10:25:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429938 -2.744824)'), GeomFromEWKT('SRID=4674;POINT (-40.429894 -2.744701)'))) / (select extract(epoch from '2026-07-17 10:25:59'::timestamp) - extract(epoch from '2026-07-17 10: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'), 47831, 'SRID=4674;POINT (-40.429805 -2.744691)', '2026-07-17 10:26:12', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429894 -2.744701)'), GeomFromEWKT('SRID=4674;POINT (-40.429805 -2.744691)'))) / (select extract(epoch from '2026-07-17 10:26:12'::timestamp) - extract(epoch from '2026-07-17 10:25:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429894 -2.744701)'), GeomFromEWKT('SRID=4674;POINT (-40.429805 -2.744691)'))) / (select extract(epoch from '2026-07-17 10:26:12'::timestamp) - extract(epoch from '2026-07-17 10: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'), 47831, 'SRID=4674;POINT (-40.429793 -2.744738)', '2026-07-17 10:26:22', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429805 -2.744691)'), GeomFromEWKT('SRID=4674;POINT (-40.429793 -2.744738)'))) / (select extract(epoch from '2026-07-17 10:26:22'::timestamp) - extract(epoch from '2026-07-17 10:26:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429805 -2.744691)'), GeomFromEWKT('SRID=4674;POINT (-40.429793 -2.744738)'))) / (select extract(epoch from '2026-07-17 10:26:22'::timestamp) - extract(epoch from '2026-07-17 10:26: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'), 47831, 'SRID=4674;POINT (-40.429789 -2.744829)', '2026-07-17 10:26:35', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429793 -2.744738)'), GeomFromEWKT('SRID=4674;POINT (-40.429789 -2.744829)'))) / (select extract(epoch from '2026-07-17 10:26:35'::timestamp) - extract(epoch from '2026-07-17 10:26:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429793 -2.744738)'), GeomFromEWKT('SRID=4674;POINT (-40.429789 -2.744829)'))) / (select extract(epoch from '2026-07-17 10:26:35'::timestamp) - extract(epoch from '2026-07-17 10:26: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'), 47831, 'SRID=4674;POINT (-40.429779 -2.744924)', '2026-07-17 10:26:47', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429789 -2.744829)'), GeomFromEWKT('SRID=4674;POINT (-40.429779 -2.744924)'))) / (select extract(epoch from '2026-07-17 10:26:47'::timestamp) - extract(epoch from '2026-07-17 10:26:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429789 -2.744829)'), GeomFromEWKT('SRID=4674;POINT (-40.429779 -2.744924)'))) / (select extract(epoch from '2026-07-17 10:26:47'::timestamp) - extract(epoch from '2026-07-17 10:26: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'), 47831, 'SRID=4674;POINT (-40.429753 -2.744965)', '2026-07-17 10:26:57', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429779 -2.744924)'), GeomFromEWKT('SRID=4674;POINT (-40.429753 -2.744965)'))) / (select extract(epoch from '2026-07-17 10:26:57'::timestamp) - extract(epoch from '2026-07-17 10:26:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429779 -2.744924)'), GeomFromEWKT('SRID=4674;POINT (-40.429753 -2.744965)'))) / (select extract(epoch from '2026-07-17 10:26:57'::timestamp) - extract(epoch from '2026-07-17 10:26: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'), 47831, 'SRID=4674;POINT (-40.429742 -2.744964)', '2026-07-17 10:27:08', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429753 -2.744965)'), GeomFromEWKT('SRID=4674;POINT (-40.429742 -2.744964)'))) / (select extract(epoch from '2026-07-17 10:27:08'::timestamp) - extract(epoch from '2026-07-17 10:26:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429753 -2.744965)'), GeomFromEWKT('SRID=4674;POINT (-40.429742 -2.744964)'))) / (select extract(epoch from '2026-07-17 10:27:08'::timestamp) - extract(epoch from '2026-07-17 10:26: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'), 47831, 'SRID=4674;POINT (-40.429719 -2.744895)', '2026-07-17 10:27:37', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429742 -2.744964)'), GeomFromEWKT('SRID=4674;POINT (-40.429719 -2.744895)'))) / (select extract(epoch from '2026-07-17 10:27:37'::timestamp) - extract(epoch from '2026-07-17 10:27:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429742 -2.744964)'), GeomFromEWKT('SRID=4674;POINT (-40.429719 -2.744895)'))) / (select extract(epoch from '2026-07-17 10:27:37'::timestamp) - extract(epoch from '2026-07-17 10:27:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.429739 -2.744839)', '2026-07-17 10:27:48', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429719 -2.744895)'), GeomFromEWKT('SRID=4674;POINT (-40.429739 -2.744839)'))) / (select extract(epoch from '2026-07-17 10:27:48'::timestamp) - extract(epoch from '2026-07-17 10:27:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429719 -2.744895)'), GeomFromEWKT('SRID=4674;POINT (-40.429739 -2.744839)'))) / (select extract(epoch from '2026-07-17 10:27:48'::timestamp) - extract(epoch from '2026-07-17 10:27:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.429743 -2.744828)', '2026-07-17 10:27:49', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429739 -2.744839)'), GeomFromEWKT('SRID=4674;POINT (-40.429743 -2.744828)'))) / (select extract(epoch from '2026-07-17 10:27:49'::timestamp) - extract(epoch from '2026-07-17 10:27:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429739 -2.744839)'), GeomFromEWKT('SRID=4674;POINT (-40.429743 -2.744828)'))) / (select extract(epoch from '2026-07-17 10:27:49'::timestamp) - extract(epoch from '2026-07-17 10: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'), 47831, 'SRID=4674;POINT (-40.429776 -2.744762)', '2026-07-17 10:27:59', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429743 -2.744828)'), GeomFromEWKT('SRID=4674;POINT (-40.429776 -2.744762)'))) / (select extract(epoch from '2026-07-17 10:27:59'::timestamp) - extract(epoch from '2026-07-17 10:27:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429743 -2.744828)'), GeomFromEWKT('SRID=4674;POINT (-40.429776 -2.744762)'))) / (select extract(epoch from '2026-07-17 10:27:59'::timestamp) - extract(epoch from '2026-07-17 10:27:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.429806 -2.744708)', '2026-07-17 10:28:07', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429776 -2.744762)'), GeomFromEWKT('SRID=4674;POINT (-40.429806 -2.744708)'))) / (select extract(epoch from '2026-07-17 10:28:07'::timestamp) - extract(epoch from '2026-07-17 10:27:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429776 -2.744762)'), GeomFromEWKT('SRID=4674;POINT (-40.429806 -2.744708)'))) / (select extract(epoch from '2026-07-17 10:28:07'::timestamp) - extract(epoch from '2026-07-17 10:27: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'), 47831, 'SRID=4674;POINT (-40.429811 -2.744627)', '2026-07-17 10:28:17', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429806 -2.744708)'), GeomFromEWKT('SRID=4674;POINT (-40.429811 -2.744627)'))) / (select extract(epoch from '2026-07-17 10:28:17'::timestamp) - extract(epoch from '2026-07-17 10:28:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429806 -2.744708)'), GeomFromEWKT('SRID=4674;POINT (-40.429811 -2.744627)'))) / (select extract(epoch from '2026-07-17 10:28:17'::timestamp) - extract(epoch from '2026-07-17 10:28: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'), 47831, 'SRID=4674;POINT (-40.429785 -2.744564)', '2026-07-17 10:28:25', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429811 -2.744627)'), GeomFromEWKT('SRID=4674;POINT (-40.429785 -2.744564)'))) / (select extract(epoch from '2026-07-17 10:28:25'::timestamp) - extract(epoch from '2026-07-17 10:28:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429811 -2.744627)'), GeomFromEWKT('SRID=4674;POINT (-40.429785 -2.744564)'))) / (select extract(epoch from '2026-07-17 10:28:25'::timestamp) - extract(epoch from '2026-07-17 10:28:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.429773 -2.744534)', '2026-07-17 10:28:33', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429785 -2.744564)'), GeomFromEWKT('SRID=4674;POINT (-40.429773 -2.744534)'))) / (select extract(epoch from '2026-07-17 10:28:33'::timestamp) - extract(epoch from '2026-07-17 10:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429785 -2.744564)'), GeomFromEWKT('SRID=4674;POINT (-40.429773 -2.744534)'))) / (select extract(epoch from '2026-07-17 10:28:33'::timestamp) - extract(epoch from '2026-07-17 10:28:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.429754 -2.744517)', '2026-07-17 10:28:40', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429773 -2.744534)'), GeomFromEWKT('SRID=4674;POINT (-40.429754 -2.744517)'))) / (select extract(epoch from '2026-07-17 10:28:40'::timestamp) - extract(epoch from '2026-07-17 10:28:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429773 -2.744534)'), GeomFromEWKT('SRID=4674;POINT (-40.429754 -2.744517)'))) / (select extract(epoch from '2026-07-17 10:28:40'::timestamp) - extract(epoch from '2026-07-17 10:28: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'), 47831, 'SRID=4674;POINT (-40.429737 -2.74453)', '2026-07-17 10:28:48', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429754 -2.744517)'), GeomFromEWKT('SRID=4674;POINT (-40.429737 -2.74453)'))) / (select extract(epoch from '2026-07-17 10:28:48'::timestamp) - extract(epoch from '2026-07-17 10:28:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429754 -2.744517)'), GeomFromEWKT('SRID=4674;POINT (-40.429737 -2.74453)'))) / (select extract(epoch from '2026-07-17 10:28:48'::timestamp) - extract(epoch from '2026-07-17 10:28: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'), 47831, 'SRID=4674;POINT (-40.429773 -2.744573)', '2026-07-17 10:29:02', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429737 -2.74453)'), GeomFromEWKT('SRID=4674;POINT (-40.429773 -2.744573)'))) / (select extract(epoch from '2026-07-17 10:29:02'::timestamp) - extract(epoch from '2026-07-17 10:28:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429737 -2.74453)'), GeomFromEWKT('SRID=4674;POINT (-40.429773 -2.744573)'))) / (select extract(epoch from '2026-07-17 10:29:02'::timestamp) - extract(epoch from '2026-07-17 10:28: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'), 47831, 'SRID=4674;POINT (-40.429775 -2.744581)', '2026-07-17 10:29:15', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429773 -2.744573)'), GeomFromEWKT('SRID=4674;POINT (-40.429775 -2.744581)'))) / (select extract(epoch from '2026-07-17 10:29:15'::timestamp) - extract(epoch from '2026-07-17 10:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429773 -2.744573)'), GeomFromEWKT('SRID=4674;POINT (-40.429775 -2.744581)'))) / (select extract(epoch from '2026-07-17 10:29:15'::timestamp) - extract(epoch from '2026-07-17 10:29: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'), 47831, 'SRID=4674;POINT (-40.429801 -2.744571)', '2026-07-17 10:29:33', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429775 -2.744581)'), GeomFromEWKT('SRID=4674;POINT (-40.429801 -2.744571)'))) / (select extract(epoch from '2026-07-17 10:29:33'::timestamp) - extract(epoch from '2026-07-17 10:29:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429775 -2.744581)'), GeomFromEWKT('SRID=4674;POINT (-40.429801 -2.744571)'))) / (select extract(epoch from '2026-07-17 10:29:33'::timestamp) - extract(epoch from '2026-07-17 10:29:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.429772 -2.744481)', '2026-07-17 10:29:43', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429801 -2.744571)'), GeomFromEWKT('SRID=4674;POINT (-40.429772 -2.744481)'))) / (select extract(epoch from '2026-07-17 10:29:43'::timestamp) - extract(epoch from '2026-07-17 10:29:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429801 -2.744571)'), GeomFromEWKT('SRID=4674;POINT (-40.429772 -2.744481)'))) / (select extract(epoch from '2026-07-17 10:29:43'::timestamp) - extract(epoch from '2026-07-17 10:29: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'), 47831, 'SRID=4674;POINT (-40.429779 -2.744381)', '2026-07-17 10:29:51', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429772 -2.744481)'), GeomFromEWKT('SRID=4674;POINT (-40.429779 -2.744381)'))) / (select extract(epoch from '2026-07-17 10:29:51'::timestamp) - extract(epoch from '2026-07-17 10:29:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429772 -2.744481)'), GeomFromEWKT('SRID=4674;POINT (-40.429779 -2.744381)'))) / (select extract(epoch from '2026-07-17 10:29:51'::timestamp) - extract(epoch from '2026-07-17 10:29:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.42979 -2.744376)', '2026-07-17 10:29:53', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429779 -2.744381)'), GeomFromEWKT('SRID=4674;POINT (-40.42979 -2.744376)'))) / (select extract(epoch from '2026-07-17 10:29:53'::timestamp) - extract(epoch from '2026-07-17 10:29:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429779 -2.744381)'), GeomFromEWKT('SRID=4674;POINT (-40.42979 -2.744376)'))) / (select extract(epoch from '2026-07-17 10:29:53'::timestamp) - extract(epoch from '2026-07-17 10:29: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'), 47831, 'SRID=4674;POINT (-40.429829 -2.744391)', '2026-07-17 10:29:56', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42979 -2.744376)'), GeomFromEWKT('SRID=4674;POINT (-40.429829 -2.744391)'))) / (select extract(epoch from '2026-07-17 10:29:56'::timestamp) - extract(epoch from '2026-07-17 10:29:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42979 -2.744376)'), GeomFromEWKT('SRID=4674;POINT (-40.429829 -2.744391)'))) / (select extract(epoch from '2026-07-17 10:29:56'::timestamp) - extract(epoch from '2026-07-17 10: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'), 47831, 'SRID=4674;POINT (-40.42988 -2.744413)', '2026-07-17 10:29:59', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429829 -2.744391)'), GeomFromEWKT('SRID=4674;POINT (-40.42988 -2.744413)'))) / (select extract(epoch from '2026-07-17 10:29:59'::timestamp) - extract(epoch from '2026-07-17 10:29:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429829 -2.744391)'), GeomFromEWKT('SRID=4674;POINT (-40.42988 -2.744413)'))) / (select extract(epoch from '2026-07-17 10:29:59'::timestamp) - extract(epoch from '2026-07-17 10:29:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.429956 -2.744488)', '2026-07-17 10:30:06', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42988 -2.744413)'), GeomFromEWKT('SRID=4674;POINT (-40.429956 -2.744488)'))) / (select extract(epoch from '2026-07-17 10:30:06'::timestamp) - extract(epoch from '2026-07-17 10:29:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42988 -2.744413)'), GeomFromEWKT('SRID=4674;POINT (-40.429956 -2.744488)'))) / (select extract(epoch from '2026-07-17 10:30:06'::timestamp) - extract(epoch from '2026-07-17 10:29: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'), 47831, 'SRID=4674;POINT (-40.430016 -2.744598)', '2026-07-17 10:30:14', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429956 -2.744488)'), GeomFromEWKT('SRID=4674;POINT (-40.430016 -2.744598)'))) / (select extract(epoch from '2026-07-17 10:30:14'::timestamp) - extract(epoch from '2026-07-17 10:30:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429956 -2.744488)'), GeomFromEWKT('SRID=4674;POINT (-40.430016 -2.744598)'))) / (select extract(epoch from '2026-07-17 10:30:14'::timestamp) - extract(epoch from '2026-07-17 10:30: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'), 47831, 'SRID=4674;POINT (-40.430069 -2.744704)', '2026-07-17 10:30:21', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430016 -2.744598)'), GeomFromEWKT('SRID=4674;POINT (-40.430069 -2.744704)'))) / (select extract(epoch from '2026-07-17 10:30:21'::timestamp) - extract(epoch from '2026-07-17 10:30:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430016 -2.744598)'), GeomFromEWKT('SRID=4674;POINT (-40.430069 -2.744704)'))) / (select extract(epoch from '2026-07-17 10:30:21'::timestamp) - extract(epoch from '2026-07-17 10: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'), 47831, 'SRID=4674;POINT (-40.430104 -2.74484)', '2026-07-17 10:30:29', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430069 -2.744704)'), GeomFromEWKT('SRID=4674;POINT (-40.430104 -2.74484)'))) / (select extract(epoch from '2026-07-17 10:30:29'::timestamp) - extract(epoch from '2026-07-17 10:30:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430069 -2.744704)'), GeomFromEWKT('SRID=4674;POINT (-40.430104 -2.74484)'))) / (select extract(epoch from '2026-07-17 10:30:29'::timestamp) - extract(epoch from '2026-07-17 10: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'), 47831, 'SRID=4674;POINT (-40.430234 -2.74495)', '2026-07-17 10:30:39', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430104 -2.74484)'), GeomFromEWKT('SRID=4674;POINT (-40.430234 -2.74495)'))) / (select extract(epoch from '2026-07-17 10:30:39'::timestamp) - extract(epoch from '2026-07-17 10:30:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430104 -2.74484)'), GeomFromEWKT('SRID=4674;POINT (-40.430234 -2.74495)'))) / (select extract(epoch from '2026-07-17 10:30:39'::timestamp) - extract(epoch from '2026-07-17 10: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'), 47831, 'SRID=4674;POINT (-40.430335 -2.745027)', '2026-07-17 10:30:46', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430234 -2.74495)'), GeomFromEWKT('SRID=4674;POINT (-40.430335 -2.745027)'))) / (select extract(epoch from '2026-07-17 10:30:46'::timestamp) - extract(epoch from '2026-07-17 10:30:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430234 -2.74495)'), GeomFromEWKT('SRID=4674;POINT (-40.430335 -2.745027)'))) / (select extract(epoch from '2026-07-17 10:30:46'::timestamp) - extract(epoch from '2026-07-17 10:30: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'), 47831, 'SRID=4674;POINT (-40.430357 -2.745127)', '2026-07-17 10:30:54', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430335 -2.745027)'), GeomFromEWKT('SRID=4674;POINT (-40.430357 -2.745127)'))) / (select extract(epoch from '2026-07-17 10:30:54'::timestamp) - extract(epoch from '2026-07-17 10:30:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430335 -2.745027)'), GeomFromEWKT('SRID=4674;POINT (-40.430357 -2.745127)'))) / (select extract(epoch from '2026-07-17 10:30:54'::timestamp) - extract(epoch from '2026-07-17 10:30:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.430359 -2.745139)', '2026-07-17 10:30:55', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430357 -2.745127)'), GeomFromEWKT('SRID=4674;POINT (-40.430359 -2.745139)'))) / (select extract(epoch from '2026-07-17 10:30:55'::timestamp) - extract(epoch from '2026-07-17 10:30:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430357 -2.745127)'), GeomFromEWKT('SRID=4674;POINT (-40.430359 -2.745139)'))) / (select extract(epoch from '2026-07-17 10:30:55'::timestamp) - extract(epoch from '2026-07-17 10:30:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.430378 -2.745169)', '2026-07-17 10:31:00', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430359 -2.745139)'), GeomFromEWKT('SRID=4674;POINT (-40.430378 -2.745169)'))) / (select extract(epoch from '2026-07-17 10:31:00'::timestamp) - extract(epoch from '2026-07-17 10:30:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430359 -2.745139)'), GeomFromEWKT('SRID=4674;POINT (-40.430378 -2.745169)'))) / (select extract(epoch from '2026-07-17 10:31:00'::timestamp) - extract(epoch from '2026-07-17 10:30: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'), 47831, 'SRID=4674;POINT (-40.430395 -2.745223)', '2026-07-17 10:31:06', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430378 -2.745169)'), GeomFromEWKT('SRID=4674;POINT (-40.430395 -2.745223)'))) / (select extract(epoch from '2026-07-17 10:31:06'::timestamp) - extract(epoch from '2026-07-17 10:31:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430378 -2.745169)'), GeomFromEWKT('SRID=4674;POINT (-40.430395 -2.745223)'))) / (select extract(epoch from '2026-07-17 10:31:06'::timestamp) - extract(epoch from '2026-07-17 10:31: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'), 47831, 'SRID=4674;POINT (-40.430395 -2.745237)', '2026-07-17 10:31:08', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430395 -2.745223)'), GeomFromEWKT('SRID=4674;POINT (-40.430395 -2.745237)'))) / (select extract(epoch from '2026-07-17 10:31:08'::timestamp) - extract(epoch from '2026-07-17 10:31:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430395 -2.745223)'), GeomFromEWKT('SRID=4674;POINT (-40.430395 -2.745237)'))) / (select extract(epoch from '2026-07-17 10:31:08'::timestamp) - extract(epoch from '2026-07-17 10:31:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.430398 -2.745324)', '2026-07-17 10:31:16', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430395 -2.745237)'), GeomFromEWKT('SRID=4674;POINT (-40.430398 -2.745324)'))) / (select extract(epoch from '2026-07-17 10:31:16'::timestamp) - extract(epoch from '2026-07-17 10:31:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430395 -2.745237)'), GeomFromEWKT('SRID=4674;POINT (-40.430398 -2.745324)'))) / (select extract(epoch from '2026-07-17 10:31:16'::timestamp) - extract(epoch from '2026-07-17 10:31: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'), 47831, 'SRID=4674;POINT (-40.43043 -2.745351)', '2026-07-17 10:31:21', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430398 -2.745324)'), GeomFromEWKT('SRID=4674;POINT (-40.43043 -2.745351)'))) / (select extract(epoch from '2026-07-17 10:31:21'::timestamp) - extract(epoch from '2026-07-17 10:31:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430398 -2.745324)'), GeomFromEWKT('SRID=4674;POINT (-40.43043 -2.745351)'))) / (select extract(epoch from '2026-07-17 10:31:21'::timestamp) - extract(epoch from '2026-07-17 10:31: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'), 47831, 'SRID=4674;POINT (-40.43045 -2.745362)', '2026-07-17 10:31:23', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43043 -2.745351)'), GeomFromEWKT('SRID=4674;POINT (-40.43045 -2.745362)'))) / (select extract(epoch from '2026-07-17 10:31:23'::timestamp) - extract(epoch from '2026-07-17 10:31:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43043 -2.745351)'), GeomFromEWKT('SRID=4674;POINT (-40.43045 -2.745362)'))) / (select extract(epoch from '2026-07-17 10:31:23'::timestamp) - extract(epoch from '2026-07-17 10:31:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.430519 -2.74541)', '2026-07-17 10:31:29', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43045 -2.745362)'), GeomFromEWKT('SRID=4674;POINT (-40.430519 -2.74541)'))) / (select extract(epoch from '2026-07-17 10:31:29'::timestamp) - extract(epoch from '2026-07-17 10:31:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43045 -2.745362)'), GeomFromEWKT('SRID=4674;POINT (-40.430519 -2.74541)'))) / (select extract(epoch from '2026-07-17 10:31:29'::timestamp) - extract(epoch from '2026-07-17 10: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'), 47831, 'SRID=4674;POINT (-40.430556 -2.745444)', '2026-07-17 10:31:35', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430519 -2.74541)'), GeomFromEWKT('SRID=4674;POINT (-40.430556 -2.745444)'))) / (select extract(epoch from '2026-07-17 10:31:35'::timestamp) - extract(epoch from '2026-07-17 10:31:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430519 -2.74541)'), GeomFromEWKT('SRID=4674;POINT (-40.430556 -2.745444)'))) / (select extract(epoch from '2026-07-17 10:31:35'::timestamp) - extract(epoch from '2026-07-17 10:31: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'), 47831, 'SRID=4674;POINT (-40.430627 -2.745436)', '2026-07-17 10:31:43', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430556 -2.745444)'), GeomFromEWKT('SRID=4674;POINT (-40.430627 -2.745436)'))) / (select extract(epoch from '2026-07-17 10:31:43'::timestamp) - extract(epoch from '2026-07-17 10:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430556 -2.745444)'), GeomFromEWKT('SRID=4674;POINT (-40.430627 -2.745436)'))) / (select extract(epoch from '2026-07-17 10:31:43'::timestamp) - extract(epoch from '2026-07-17 10:31: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'), 47831, 'SRID=4674;POINT (-40.430691 -2.745356)', '2026-07-17 10:31:53', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430627 -2.745436)'), GeomFromEWKT('SRID=4674;POINT (-40.430691 -2.745356)'))) / (select extract(epoch from '2026-07-17 10:31:53'::timestamp) - extract(epoch from '2026-07-17 10:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430627 -2.745436)'), GeomFromEWKT('SRID=4674;POINT (-40.430691 -2.745356)'))) / (select extract(epoch from '2026-07-17 10:31:53'::timestamp) - extract(epoch from '2026-07-17 10: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'), 47831, 'SRID=4674;POINT (-40.430697 -2.745261)', '2026-07-17 10:32:02', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430691 -2.745356)'), GeomFromEWKT('SRID=4674;POINT (-40.430697 -2.745261)'))) / (select extract(epoch from '2026-07-17 10:32:02'::timestamp) - extract(epoch from '2026-07-17 10:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430691 -2.745356)'), GeomFromEWKT('SRID=4674;POINT (-40.430697 -2.745261)'))) / (select extract(epoch from '2026-07-17 10:32:02'::timestamp) - extract(epoch from '2026-07-17 10:31: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'), 47831, 'SRID=4674;POINT (-40.430654 -2.74519)', '2026-07-17 10:32:12', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430697 -2.745261)'), GeomFromEWKT('SRID=4674;POINT (-40.430654 -2.74519)'))) / (select extract(epoch from '2026-07-17 10:32:12'::timestamp) - extract(epoch from '2026-07-17 10:32:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430697 -2.745261)'), GeomFromEWKT('SRID=4674;POINT (-40.430654 -2.74519)'))) / (select extract(epoch from '2026-07-17 10:32:12'::timestamp) - extract(epoch from '2026-07-17 10:32: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'), 47831, 'SRID=4674;POINT (-40.430627 -2.745142)', '2026-07-17 10:32:21', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430654 -2.74519)'), GeomFromEWKT('SRID=4674;POINT (-40.430627 -2.745142)'))) / (select extract(epoch from '2026-07-17 10:32:21'::timestamp) - extract(epoch from '2026-07-17 10:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430654 -2.74519)'), GeomFromEWKT('SRID=4674;POINT (-40.430627 -2.745142)'))) / (select extract(epoch from '2026-07-17 10:32:21'::timestamp) - extract(epoch from '2026-07-17 10:32: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'), 47831, 'SRID=4674;POINT (-40.430616 -2.745137)', '2026-07-17 10:32:30', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430627 -2.745142)'), GeomFromEWKT('SRID=4674;POINT (-40.430616 -2.745137)'))) / (select extract(epoch from '2026-07-17 10:32:30'::timestamp) - extract(epoch from '2026-07-17 10:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430627 -2.745142)'), GeomFromEWKT('SRID=4674;POINT (-40.430616 -2.745137)'))) / (select extract(epoch from '2026-07-17 10:32:30'::timestamp) - extract(epoch from '2026-07-17 10:32:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.430569 -2.745151)', '2026-07-17 10:32:37', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430616 -2.745137)'), GeomFromEWKT('SRID=4674;POINT (-40.430569 -2.745151)'))) / (select extract(epoch from '2026-07-17 10:32:37'::timestamp) - extract(epoch from '2026-07-17 10:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430616 -2.745137)'), GeomFromEWKT('SRID=4674;POINT (-40.430569 -2.745151)'))) / (select extract(epoch from '2026-07-17 10:32:37'::timestamp) - extract(epoch from '2026-07-17 10:32:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.430559 -2.745169)', '2026-07-17 10:32:43', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430569 -2.745151)'), GeomFromEWKT('SRID=4674;POINT (-40.430559 -2.745169)'))) / (select extract(epoch from '2026-07-17 10:32:43'::timestamp) - extract(epoch from '2026-07-17 10:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430569 -2.745151)'), GeomFromEWKT('SRID=4674;POINT (-40.430559 -2.745169)'))) / (select extract(epoch from '2026-07-17 10:32:43'::timestamp) - extract(epoch from '2026-07-17 10:32:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.430552 -2.745188)', '2026-07-17 10:32:49', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430559 -2.745169)'), GeomFromEWKT('SRID=4674;POINT (-40.430552 -2.745188)'))) / (select extract(epoch from '2026-07-17 10:32:49'::timestamp) - extract(epoch from '2026-07-17 10:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430559 -2.745169)'), GeomFromEWKT('SRID=4674;POINT (-40.430552 -2.745188)'))) / (select extract(epoch from '2026-07-17 10:32:49'::timestamp) - extract(epoch from '2026-07-17 10: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'), 47831, 'SRID=4674;POINT (-40.430528 -2.745228)', '2026-07-17 10:32:59', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430552 -2.745188)'), GeomFromEWKT('SRID=4674;POINT (-40.430528 -2.745228)'))) / (select extract(epoch from '2026-07-17 10:32:59'::timestamp) - extract(epoch from '2026-07-17 10:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430552 -2.745188)'), GeomFromEWKT('SRID=4674;POINT (-40.430528 -2.745228)'))) / (select extract(epoch from '2026-07-17 10:32:59'::timestamp) - extract(epoch from '2026-07-17 10: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'), 47831, 'SRID=4674;POINT (-40.430546 -2.745259)', '2026-07-17 10:33:06', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430528 -2.745228)'), GeomFromEWKT('SRID=4674;POINT (-40.430546 -2.745259)'))) / (select extract(epoch from '2026-07-17 10:33:06'::timestamp) - extract(epoch from '2026-07-17 10:32:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430528 -2.745228)'), GeomFromEWKT('SRID=4674;POINT (-40.430546 -2.745259)'))) / (select extract(epoch from '2026-07-17 10:33:06'::timestamp) - extract(epoch from '2026-07-17 10:32:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.430547 -2.745269)', '2026-07-17 10:33:16', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430546 -2.745259)'), GeomFromEWKT('SRID=4674;POINT (-40.430547 -2.745269)'))) / (select extract(epoch from '2026-07-17 10:33:16'::timestamp) - extract(epoch from '2026-07-17 10:33:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430546 -2.745259)'), GeomFromEWKT('SRID=4674;POINT (-40.430547 -2.745269)'))) / (select extract(epoch from '2026-07-17 10:33:16'::timestamp) - extract(epoch from '2026-07-17 10:33:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.430595 -2.745194)', '2026-07-17 10:33:56', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430547 -2.745269)'), GeomFromEWKT('SRID=4674;POINT (-40.430595 -2.745194)'))) / (select extract(epoch from '2026-07-17 10:33:56'::timestamp) - extract(epoch from '2026-07-17 10:33:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430547 -2.745269)'), GeomFromEWKT('SRID=4674;POINT (-40.430595 -2.745194)'))) / (select extract(epoch from '2026-07-17 10:33:56'::timestamp) - extract(epoch from '2026-07-17 10:33:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.43061 -2.74516)', '2026-07-17 10:34:06', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430595 -2.745194)'), GeomFromEWKT('SRID=4674;POINT (-40.43061 -2.74516)'))) / (select extract(epoch from '2026-07-17 10:34:06'::timestamp) - extract(epoch from '2026-07-17 10:33:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430595 -2.745194)'), GeomFromEWKT('SRID=4674;POINT (-40.43061 -2.74516)'))) / (select extract(epoch from '2026-07-17 10:34:06'::timestamp) - extract(epoch from '2026-07-17 10:33: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'), 47831, 'SRID=4674;POINT (-40.430648 -2.745104)', '2026-07-17 10:34:20', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43061 -2.74516)'), GeomFromEWKT('SRID=4674;POINT (-40.430648 -2.745104)'))) / (select extract(epoch from '2026-07-17 10:34:20'::timestamp) - extract(epoch from '2026-07-17 10:34:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43061 -2.74516)'), GeomFromEWKT('SRID=4674;POINT (-40.430648 -2.745104)'))) / (select extract(epoch from '2026-07-17 10:34:20'::timestamp) - extract(epoch from '2026-07-17 10:34:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.430652 -2.745029)', '2026-07-17 10:34:29', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430648 -2.745104)'), GeomFromEWKT('SRID=4674;POINT (-40.430652 -2.745029)'))) / (select extract(epoch from '2026-07-17 10:34:29'::timestamp) - extract(epoch from '2026-07-17 10:34:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430648 -2.745104)'), GeomFromEWKT('SRID=4674;POINT (-40.430652 -2.745029)'))) / (select extract(epoch from '2026-07-17 10:34:29'::timestamp) - extract(epoch from '2026-07-17 10:34: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'), 47831, 'SRID=4674;POINT (-40.430616 -2.744986)', '2026-07-17 10:34:37', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430652 -2.745029)'), GeomFromEWKT('SRID=4674;POINT (-40.430616 -2.744986)'))) / (select extract(epoch from '2026-07-17 10:34:37'::timestamp) - extract(epoch from '2026-07-17 10:34:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430652 -2.745029)'), GeomFromEWKT('SRID=4674;POINT (-40.430616 -2.744986)'))) / (select extract(epoch from '2026-07-17 10:34:37'::timestamp) - extract(epoch from '2026-07-17 10:34:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.43059 -2.744998)', '2026-07-17 10:34:45', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430616 -2.744986)'), GeomFromEWKT('SRID=4674;POINT (-40.43059 -2.744998)'))) / (select extract(epoch from '2026-07-17 10:34:45'::timestamp) - extract(epoch from '2026-07-17 10:34:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430616 -2.744986)'), GeomFromEWKT('SRID=4674;POINT (-40.43059 -2.744998)'))) / (select extract(epoch from '2026-07-17 10:34:45'::timestamp) - extract(epoch from '2026-07-17 10:34: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'), 47831, 'SRID=4674;POINT (-40.430558 -2.745029)', '2026-07-17 10:34:54', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43059 -2.744998)'), GeomFromEWKT('SRID=4674;POINT (-40.430558 -2.745029)'))) / (select extract(epoch from '2026-07-17 10:34:54'::timestamp) - extract(epoch from '2026-07-17 10:34:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43059 -2.744998)'), GeomFromEWKT('SRID=4674;POINT (-40.430558 -2.745029)'))) / (select extract(epoch from '2026-07-17 10:34:54'::timestamp) - extract(epoch from '2026-07-17 10:34:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.430544 -2.745101)', '2026-07-17 10:35:11', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430558 -2.745029)'), GeomFromEWKT('SRID=4674;POINT (-40.430544 -2.745101)'))) / (select extract(epoch from '2026-07-17 10:35:11'::timestamp) - extract(epoch from '2026-07-17 10:34:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430558 -2.745029)'), GeomFromEWKT('SRID=4674;POINT (-40.430544 -2.745101)'))) / (select extract(epoch from '2026-07-17 10:35:11'::timestamp) - extract(epoch from '2026-07-17 10:34: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'), 47831, 'SRID=4674;POINT (-40.430527 -2.745168)', '2026-07-17 10:35:23', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430544 -2.745101)'), GeomFromEWKT('SRID=4674;POINT (-40.430527 -2.745168)'))) / (select extract(epoch from '2026-07-17 10:35:23'::timestamp) - extract(epoch from '2026-07-17 10:35:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430544 -2.745101)'), GeomFromEWKT('SRID=4674;POINT (-40.430527 -2.745168)'))) / (select extract(epoch from '2026-07-17 10:35:23'::timestamp) - extract(epoch from '2026-07-17 10:35: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'), 47831, 'SRID=4674;POINT (-40.430508 -2.745295)', '2026-07-17 10:35:41', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430527 -2.745168)'), GeomFromEWKT('SRID=4674;POINT (-40.430508 -2.745295)'))) / (select extract(epoch from '2026-07-17 10:35:41'::timestamp) - extract(epoch from '2026-07-17 10:35:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430527 -2.745168)'), GeomFromEWKT('SRID=4674;POINT (-40.430508 -2.745295)'))) / (select extract(epoch from '2026-07-17 10:35:41'::timestamp) - extract(epoch from '2026-07-17 10:35:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.43049 -2.745302)', '2026-07-17 10:35:51', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430508 -2.745295)'), GeomFromEWKT('SRID=4674;POINT (-40.43049 -2.745302)'))) / (select extract(epoch from '2026-07-17 10:35:51'::timestamp) - extract(epoch from '2026-07-17 10:35:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430508 -2.745295)'), GeomFromEWKT('SRID=4674;POINT (-40.43049 -2.745302)'))) / (select extract(epoch from '2026-07-17 10:35:51'::timestamp) - extract(epoch from '2026-07-17 10: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'), 47831, 'SRID=4674;POINT (-40.430521 -2.74528)', '2026-07-17 10:36:17', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43049 -2.745302)'), GeomFromEWKT('SRID=4674;POINT (-40.430521 -2.74528)'))) / (select extract(epoch from '2026-07-17 10:36:17'::timestamp) - extract(epoch from '2026-07-17 10:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43049 -2.745302)'), GeomFromEWKT('SRID=4674;POINT (-40.430521 -2.74528)'))) / (select extract(epoch from '2026-07-17 10:36:17'::timestamp) - extract(epoch from '2026-07-17 10:35:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.430545 -2.745237)', '2026-07-17 10:36:25', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430521 -2.74528)'), GeomFromEWKT('SRID=4674;POINT (-40.430545 -2.745237)'))) / (select extract(epoch from '2026-07-17 10:36:25'::timestamp) - extract(epoch from '2026-07-17 10:36:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430521 -2.74528)'), GeomFromEWKT('SRID=4674;POINT (-40.430545 -2.745237)'))) / (select extract(epoch from '2026-07-17 10:36:25'::timestamp) - extract(epoch from '2026-07-17 10:36:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.430562 -2.745199)', '2026-07-17 10:36:37', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430545 -2.745237)'), GeomFromEWKT('SRID=4674;POINT (-40.430562 -2.745199)'))) / (select extract(epoch from '2026-07-17 10:36:37'::timestamp) - extract(epoch from '2026-07-17 10:36:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430545 -2.745237)'), GeomFromEWKT('SRID=4674;POINT (-40.430562 -2.745199)'))) / (select extract(epoch from '2026-07-17 10:36:37'::timestamp) - extract(epoch from '2026-07-17 10:36:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.430598 -2.745157)', '2026-07-17 10:36:45', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430562 -2.745199)'), GeomFromEWKT('SRID=4674;POINT (-40.430598 -2.745157)'))) / (select extract(epoch from '2026-07-17 10:36:45'::timestamp) - extract(epoch from '2026-07-17 10:36:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430562 -2.745199)'), GeomFromEWKT('SRID=4674;POINT (-40.430598 -2.745157)'))) / (select extract(epoch from '2026-07-17 10:36:45'::timestamp) - extract(epoch from '2026-07-17 10:36: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'), 47831, 'SRID=4674;POINT (-40.430629 -2.745061)', '2026-07-17 10:36:56', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430598 -2.745157)'), GeomFromEWKT('SRID=4674;POINT (-40.430629 -2.745061)'))) / (select extract(epoch from '2026-07-17 10:36:56'::timestamp) - extract(epoch from '2026-07-17 10:36:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430598 -2.745157)'), GeomFromEWKT('SRID=4674;POINT (-40.430629 -2.745061)'))) / (select extract(epoch from '2026-07-17 10:36:56'::timestamp) - extract(epoch from '2026-07-17 10:36: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'), 47831, 'SRID=4674;POINT (-40.430602 -2.744999)', '2026-07-17 10:37:07', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430629 -2.745061)'), GeomFromEWKT('SRID=4674;POINT (-40.430602 -2.744999)'))) / (select extract(epoch from '2026-07-17 10:37:07'::timestamp) - extract(epoch from '2026-07-17 10:36:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430629 -2.745061)'), GeomFromEWKT('SRID=4674;POINT (-40.430602 -2.744999)'))) / (select extract(epoch from '2026-07-17 10:37:07'::timestamp) - extract(epoch from '2026-07-17 10: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'), 47831, 'SRID=4674;POINT (-40.430557 -2.745009)', '2026-07-17 10:37:17', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430602 -2.744999)'), GeomFromEWKT('SRID=4674;POINT (-40.430557 -2.745009)'))) / (select extract(epoch from '2026-07-17 10:37:17'::timestamp) - extract(epoch from '2026-07-17 10:37:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430602 -2.744999)'), GeomFromEWKT('SRID=4674;POINT (-40.430557 -2.745009)'))) / (select extract(epoch from '2026-07-17 10:37:17'::timestamp) - extract(epoch from '2026-07-17 10:37: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'), 47831, 'SRID=4674;POINT (-40.430549 -2.745068)', '2026-07-17 10:37:29', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430557 -2.745009)'), GeomFromEWKT('SRID=4674;POINT (-40.430549 -2.745068)'))) / (select extract(epoch from '2026-07-17 10:37:29'::timestamp) - extract(epoch from '2026-07-17 10:37:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430557 -2.745009)'), GeomFromEWKT('SRID=4674;POINT (-40.430549 -2.745068)'))) / (select extract(epoch from '2026-07-17 10:37:29'::timestamp) - extract(epoch from '2026-07-17 10: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'), 47831, 'SRID=4674;POINT (-40.430521 -2.745159)', '2026-07-17 10:37:42', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430549 -2.745068)'), GeomFromEWKT('SRID=4674;POINT (-40.430521 -2.745159)'))) / (select extract(epoch from '2026-07-17 10:37:42'::timestamp) - extract(epoch from '2026-07-17 10:37:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430549 -2.745068)'), GeomFromEWKT('SRID=4674;POINT (-40.430521 -2.745159)'))) / (select extract(epoch from '2026-07-17 10:37:42'::timestamp) - extract(epoch from '2026-07-17 10: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'), 47831, 'SRID=4674;POINT (-40.43049 -2.745246)', '2026-07-17 10:37:57', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430521 -2.745159)'), GeomFromEWKT('SRID=4674;POINT (-40.43049 -2.745246)'))) / (select extract(epoch from '2026-07-17 10:37:57'::timestamp) - extract(epoch from '2026-07-17 10:37:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430521 -2.745159)'), GeomFromEWKT('SRID=4674;POINT (-40.43049 -2.745246)'))) / (select extract(epoch from '2026-07-17 10:37:57'::timestamp) - extract(epoch from '2026-07-17 10:37:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.430454 -2.745264)', '2026-07-17 10:38:07', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43049 -2.745246)'), GeomFromEWKT('SRID=4674;POINT (-40.430454 -2.745264)'))) / (select extract(epoch from '2026-07-17 10:38:07'::timestamp) - extract(epoch from '2026-07-17 10:37:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43049 -2.745246)'), GeomFromEWKT('SRID=4674;POINT (-40.430454 -2.745264)'))) / (select extract(epoch from '2026-07-17 10:38:07'::timestamp) - extract(epoch from '2026-07-17 10:37: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'), 47831, 'SRID=4674;POINT (-40.430517 -2.745181)', '2026-07-17 10:38:44', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430454 -2.745264)'), GeomFromEWKT('SRID=4674;POINT (-40.430517 -2.745181)'))) / (select extract(epoch from '2026-07-17 10:38:44'::timestamp) - extract(epoch from '2026-07-17 10:38:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430454 -2.745264)'), GeomFromEWKT('SRID=4674;POINT (-40.430517 -2.745181)'))) / (select extract(epoch from '2026-07-17 10:38:44'::timestamp) - extract(epoch from '2026-07-17 10:38:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.430507 -2.745133)', '2026-07-17 10:38:52', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430517 -2.745181)'), GeomFromEWKT('SRID=4674;POINT (-40.430507 -2.745133)'))) / (select extract(epoch from '2026-07-17 10:38:52'::timestamp) - extract(epoch from '2026-07-17 10:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430517 -2.745181)'), GeomFromEWKT('SRID=4674;POINT (-40.430507 -2.745133)'))) / (select extract(epoch from '2026-07-17 10:38:52'::timestamp) - extract(epoch from '2026-07-17 10:38:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.43048 -2.745069)', '2026-07-17 10:39:06', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430507 -2.745133)'), GeomFromEWKT('SRID=4674;POINT (-40.43048 -2.745069)'))) / (select extract(epoch from '2026-07-17 10:39:06'::timestamp) - extract(epoch from '2026-07-17 10:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430507 -2.745133)'), GeomFromEWKT('SRID=4674;POINT (-40.43048 -2.745069)'))) / (select extract(epoch from '2026-07-17 10:39:06'::timestamp) - extract(epoch from '2026-07-17 10:38:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.430448 -2.745065)', '2026-07-17 10:39:16', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43048 -2.745069)'), GeomFromEWKT('SRID=4674;POINT (-40.430448 -2.745065)'))) / (select extract(epoch from '2026-07-17 10:39:16'::timestamp) - extract(epoch from '2026-07-17 10:39:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43048 -2.745069)'), GeomFromEWKT('SRID=4674;POINT (-40.430448 -2.745065)'))) / (select extract(epoch from '2026-07-17 10:39:16'::timestamp) - extract(epoch from '2026-07-17 10:39:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.430402 -2.745095)', '2026-07-17 10:39:25', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430448 -2.745065)'), GeomFromEWKT('SRID=4674;POINT (-40.430402 -2.745095)'))) / (select extract(epoch from '2026-07-17 10:39:25'::timestamp) - extract(epoch from '2026-07-17 10:39:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430448 -2.745065)'), GeomFromEWKT('SRID=4674;POINT (-40.430402 -2.745095)'))) / (select extract(epoch from '2026-07-17 10:39:25'::timestamp) - extract(epoch from '2026-07-17 10:39:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.430435 -2.745138)', '2026-07-17 10:39:36', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430402 -2.745095)'), GeomFromEWKT('SRID=4674;POINT (-40.430435 -2.745138)'))) / (select extract(epoch from '2026-07-17 10:39:36'::timestamp) - extract(epoch from '2026-07-17 10:39:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430402 -2.745095)'), GeomFromEWKT('SRID=4674;POINT (-40.430435 -2.745138)'))) / (select extract(epoch from '2026-07-17 10:39:36'::timestamp) - extract(epoch from '2026-07-17 10:39:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.430485 -2.745224)', '2026-07-17 10:39:53', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430435 -2.745138)'), GeomFromEWKT('SRID=4674;POINT (-40.430485 -2.745224)'))) / (select extract(epoch from '2026-07-17 10:39:53'::timestamp) - extract(epoch from '2026-07-17 10:39:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430435 -2.745138)'), GeomFromEWKT('SRID=4674;POINT (-40.430485 -2.745224)'))) / (select extract(epoch from '2026-07-17 10:39:53'::timestamp) - extract(epoch from '2026-07-17 10:39:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.430508 -2.745294)', '2026-07-17 10:40:07', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430485 -2.745224)'), GeomFromEWKT('SRID=4674;POINT (-40.430508 -2.745294)'))) / (select extract(epoch from '2026-07-17 10:40:07'::timestamp) - extract(epoch from '2026-07-17 10:39:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430485 -2.745224)'), GeomFromEWKT('SRID=4674;POINT (-40.430508 -2.745294)'))) / (select extract(epoch from '2026-07-17 10:40:07'::timestamp) - extract(epoch from '2026-07-17 10:39:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.43051 -2.745304)', '2026-07-17 10:40:18', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430508 -2.745294)'), GeomFromEWKT('SRID=4674;POINT (-40.43051 -2.745304)'))) / (select extract(epoch from '2026-07-17 10:40:18'::timestamp) - extract(epoch from '2026-07-17 10:40:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430508 -2.745294)'), GeomFromEWKT('SRID=4674;POINT (-40.43051 -2.745304)'))) / (select extract(epoch from '2026-07-17 10:40:18'::timestamp) - extract(epoch from '2026-07-17 10:40:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.430545 -2.745268)', '2026-07-17 10:40:42', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43051 -2.745304)'), GeomFromEWKT('SRID=4674;POINT (-40.430545 -2.745268)'))) / (select extract(epoch from '2026-07-17 10:40:42'::timestamp) - extract(epoch from '2026-07-17 10:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43051 -2.745304)'), GeomFromEWKT('SRID=4674;POINT (-40.430545 -2.745268)'))) / (select extract(epoch from '2026-07-17 10:40:42'::timestamp) - extract(epoch from '2026-07-17 10:40:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.430571 -2.745223)', '2026-07-17 10:40:54', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430545 -2.745268)'), GeomFromEWKT('SRID=4674;POINT (-40.430571 -2.745223)'))) / (select extract(epoch from '2026-07-17 10:40:54'::timestamp) - extract(epoch from '2026-07-17 10:40:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430545 -2.745268)'), GeomFromEWKT('SRID=4674;POINT (-40.430571 -2.745223)'))) / (select extract(epoch from '2026-07-17 10:40:54'::timestamp) - extract(epoch from '2026-07-17 10:40:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.430601 -2.745134)', '2026-07-17 10:41:07', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430571 -2.745223)'), GeomFromEWKT('SRID=4674;POINT (-40.430601 -2.745134)'))) / (select extract(epoch from '2026-07-17 10:41:07'::timestamp) - extract(epoch from '2026-07-17 10:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430571 -2.745223)'), GeomFromEWKT('SRID=4674;POINT (-40.430601 -2.745134)'))) / (select extract(epoch from '2026-07-17 10:41:07'::timestamp) - extract(epoch from '2026-07-17 10:40: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'), 47831, 'SRID=4674;POINT (-40.430574 -2.745067)', '2026-07-17 10:41:19', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430601 -2.745134)'), GeomFromEWKT('SRID=4674;POINT (-40.430574 -2.745067)'))) / (select extract(epoch from '2026-07-17 10:41:19'::timestamp) - extract(epoch from '2026-07-17 10:41:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430601 -2.745134)'), GeomFromEWKT('SRID=4674;POINT (-40.430574 -2.745067)'))) / (select extract(epoch from '2026-07-17 10:41:19'::timestamp) - extract(epoch from '2026-07-17 10:41:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.430544 -2.745055)', '2026-07-17 10:41:26', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430574 -2.745067)'), GeomFromEWKT('SRID=4674;POINT (-40.430544 -2.745055)'))) / (select extract(epoch from '2026-07-17 10:41:26'::timestamp) - extract(epoch from '2026-07-17 10:41:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430574 -2.745067)'), GeomFromEWKT('SRID=4674;POINT (-40.430544 -2.745055)'))) / (select extract(epoch from '2026-07-17 10:41:26'::timestamp) - extract(epoch from '2026-07-17 10:41:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.430512 -2.745086)', '2026-07-17 10:41:33', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430544 -2.745055)'), GeomFromEWKT('SRID=4674;POINT (-40.430512 -2.745086)'))) / (select extract(epoch from '2026-07-17 10:41:33'::timestamp) - extract(epoch from '2026-07-17 10:41:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430544 -2.745055)'), GeomFromEWKT('SRID=4674;POINT (-40.430512 -2.745086)'))) / (select extract(epoch from '2026-07-17 10:41:33'::timestamp) - extract(epoch from '2026-07-17 10:41:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.430511 -2.745144)', '2026-07-17 10:41:44', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430512 -2.745086)'), GeomFromEWKT('SRID=4674;POINT (-40.430511 -2.745144)'))) / (select extract(epoch from '2026-07-17 10:41:44'::timestamp) - extract(epoch from '2026-07-17 10:41:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430512 -2.745086)'), GeomFromEWKT('SRID=4674;POINT (-40.430511 -2.745144)'))) / (select extract(epoch from '2026-07-17 10:41:44'::timestamp) - extract(epoch from '2026-07-17 10:41: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'), 47831, 'SRID=4674;POINT (-40.430496 -2.745177)', '2026-07-17 10:41:54', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430511 -2.745144)'), GeomFromEWKT('SRID=4674;POINT (-40.430496 -2.745177)'))) / (select extract(epoch from '2026-07-17 10:41:54'::timestamp) - extract(epoch from '2026-07-17 10:41:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430511 -2.745144)'), GeomFromEWKT('SRID=4674;POINT (-40.430496 -2.745177)'))) / (select extract(epoch from '2026-07-17 10:41:54'::timestamp) - extract(epoch from '2026-07-17 10:41: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'), 47831, 'SRID=4674;POINT (-40.430569 -2.745125)', '2026-07-17 10:42:31', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430496 -2.745177)'), GeomFromEWKT('SRID=4674;POINT (-40.430569 -2.745125)'))) / (select extract(epoch from '2026-07-17 10:42:31'::timestamp) - extract(epoch from '2026-07-17 10:41:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430496 -2.745177)'), GeomFromEWKT('SRID=4674;POINT (-40.430569 -2.745125)'))) / (select extract(epoch from '2026-07-17 10:42:31'::timestamp) - extract(epoch from '2026-07-17 10:41:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.430609 -2.745078)', '2026-07-17 10:42:44', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430569 -2.745125)'), GeomFromEWKT('SRID=4674;POINT (-40.430609 -2.745078)'))) / (select extract(epoch from '2026-07-17 10:42:44'::timestamp) - extract(epoch from '2026-07-17 10:42:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430569 -2.745125)'), GeomFromEWKT('SRID=4674;POINT (-40.430609 -2.745078)'))) / (select extract(epoch from '2026-07-17 10:42:44'::timestamp) - extract(epoch from '2026-07-17 10:42:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.430648 -2.745039)', '2026-07-17 10:42:59', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430609 -2.745078)'), GeomFromEWKT('SRID=4674;POINT (-40.430648 -2.745039)'))) / (select extract(epoch from '2026-07-17 10:42:59'::timestamp) - extract(epoch from '2026-07-17 10:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430609 -2.745078)'), GeomFromEWKT('SRID=4674;POINT (-40.430648 -2.745039)'))) / (select extract(epoch from '2026-07-17 10:42:59'::timestamp) - extract(epoch from '2026-07-17 10:42:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.430691 -2.744975)', '2026-07-17 10:43:12', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430648 -2.745039)'), GeomFromEWKT('SRID=4674;POINT (-40.430691 -2.744975)'))) / (select extract(epoch from '2026-07-17 10:43:12'::timestamp) - extract(epoch from '2026-07-17 10:42:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430648 -2.745039)'), GeomFromEWKT('SRID=4674;POINT (-40.430691 -2.744975)'))) / (select extract(epoch from '2026-07-17 10:43:12'::timestamp) - extract(epoch from '2026-07-17 10:42:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.430734 -2.744925)', '2026-07-17 10:43:23', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430691 -2.744975)'), GeomFromEWKT('SRID=4674;POINT (-40.430734 -2.744925)'))) / (select extract(epoch from '2026-07-17 10:43:23'::timestamp) - extract(epoch from '2026-07-17 10:43:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430691 -2.744975)'), GeomFromEWKT('SRID=4674;POINT (-40.430734 -2.744925)'))) / (select extract(epoch from '2026-07-17 10:43:23'::timestamp) - extract(epoch from '2026-07-17 10:43:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.430691 -2.744819)', '2026-07-17 10:43:32', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430734 -2.744925)'), GeomFromEWKT('SRID=4674;POINT (-40.430691 -2.744819)'))) / (select extract(epoch from '2026-07-17 10:43:32'::timestamp) - extract(epoch from '2026-07-17 10:43:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430734 -2.744925)'), GeomFromEWKT('SRID=4674;POINT (-40.430691 -2.744819)'))) / (select extract(epoch from '2026-07-17 10:43:32'::timestamp) - extract(epoch from '2026-07-17 10:43:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.43062 -2.744704)', '2026-07-17 10:43:38', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430691 -2.744819)'), GeomFromEWKT('SRID=4674;POINT (-40.43062 -2.744704)'))) / (select extract(epoch from '2026-07-17 10:43:38'::timestamp) - extract(epoch from '2026-07-17 10:43:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430691 -2.744819)'), GeomFromEWKT('SRID=4674;POINT (-40.43062 -2.744704)'))) / (select extract(epoch from '2026-07-17 10:43:38'::timestamp) - extract(epoch from '2026-07-17 10:43:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.430497 -2.744559)', '2026-07-17 10:43:45', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43062 -2.744704)'), GeomFromEWKT('SRID=4674;POINT (-40.430497 -2.744559)'))) / (select extract(epoch from '2026-07-17 10:43:45'::timestamp) - extract(epoch from '2026-07-17 10:43:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43062 -2.744704)'), GeomFromEWKT('SRID=4674;POINT (-40.430497 -2.744559)'))) / (select extract(epoch from '2026-07-17 10:43:45'::timestamp) - extract(epoch from '2026-07-17 10:43: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'), 47831, 'SRID=4674;POINT (-40.430382 -2.744381)', '2026-07-17 10:43:53', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430497 -2.744559)'), GeomFromEWKT('SRID=4674;POINT (-40.430382 -2.744381)'))) / (select extract(epoch from '2026-07-17 10:43:53'::timestamp) - extract(epoch from '2026-07-17 10:43:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430497 -2.744559)'), GeomFromEWKT('SRID=4674;POINT (-40.430382 -2.744381)'))) / (select extract(epoch from '2026-07-17 10:43:53'::timestamp) - extract(epoch from '2026-07-17 10:43: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'), 47831, 'SRID=4674;POINT (-40.430337 -2.744219)', '2026-07-17 10:44:00', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430382 -2.744381)'), GeomFromEWKT('SRID=4674;POINT (-40.430337 -2.744219)'))) / (select extract(epoch from '2026-07-17 10:44:00'::timestamp) - extract(epoch from '2026-07-17 10:43:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430382 -2.744381)'), GeomFromEWKT('SRID=4674;POINT (-40.430337 -2.744219)'))) / (select extract(epoch from '2026-07-17 10:44:00'::timestamp) - extract(epoch from '2026-07-17 10:43: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'), 47831, 'SRID=4674;POINT (-40.430271 -2.743973)', '2026-07-17 10:44:09', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430337 -2.744219)'), GeomFromEWKT('SRID=4674;POINT (-40.430271 -2.743973)'))) / (select extract(epoch from '2026-07-17 10:44:09'::timestamp) - extract(epoch from '2026-07-17 10:44:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430337 -2.744219)'), GeomFromEWKT('SRID=4674;POINT (-40.430271 -2.743973)'))) / (select extract(epoch from '2026-07-17 10:44:09'::timestamp) - extract(epoch from '2026-07-17 10:44: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'), 47831, 'SRID=4674;POINT (-40.430164 -2.743761)', '2026-07-17 10:44:17', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430271 -2.743973)'), GeomFromEWKT('SRID=4674;POINT (-40.430164 -2.743761)'))) / (select extract(epoch from '2026-07-17 10:44:17'::timestamp) - extract(epoch from '2026-07-17 10:44:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430271 -2.743973)'), GeomFromEWKT('SRID=4674;POINT (-40.430164 -2.743761)'))) / (select extract(epoch from '2026-07-17 10:44:17'::timestamp) - extract(epoch from '2026-07-17 10: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'), 47831, 'SRID=4674;POINT (-40.43007 -2.743514)', '2026-07-17 10:44:26', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430164 -2.743761)'), GeomFromEWKT('SRID=4674;POINT (-40.43007 -2.743514)'))) / (select extract(epoch from '2026-07-17 10:44:26'::timestamp) - extract(epoch from '2026-07-17 10:44:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430164 -2.743761)'), GeomFromEWKT('SRID=4674;POINT (-40.43007 -2.743514)'))) / (select extract(epoch from '2026-07-17 10:44:26'::timestamp) - extract(epoch from '2026-07-17 10: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'), 47831, 'SRID=4674;POINT (-40.430025 -2.743297)', '2026-07-17 10:44:34', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43007 -2.743514)'), GeomFromEWKT('SRID=4674;POINT (-40.430025 -2.743297)'))) / (select extract(epoch from '2026-07-17 10:44:34'::timestamp) - extract(epoch from '2026-07-17 10:44:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43007 -2.743514)'), GeomFromEWKT('SRID=4674;POINT (-40.430025 -2.743297)'))) / (select extract(epoch from '2026-07-17 10:44:34'::timestamp) - extract(epoch from '2026-07-17 10: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'), 47831, 'SRID=4674;POINT (-40.430017 -2.743095)', '2026-07-17 10:44:41', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430025 -2.743297)'), GeomFromEWKT('SRID=4674;POINT (-40.430017 -2.743095)'))) / (select extract(epoch from '2026-07-17 10:44:41'::timestamp) - extract(epoch from '2026-07-17 10:44:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430025 -2.743297)'), GeomFromEWKT('SRID=4674;POINT (-40.430017 -2.743095)'))) / (select extract(epoch from '2026-07-17 10:44:41'::timestamp) - extract(epoch from '2026-07-17 10:44:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.42997 -2.742869)', '2026-07-17 10:44:49', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430017 -2.743095)'), GeomFromEWKT('SRID=4674;POINT (-40.42997 -2.742869)'))) / (select extract(epoch from '2026-07-17 10:44:49'::timestamp) - extract(epoch from '2026-07-17 10:44:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430017 -2.743095)'), GeomFromEWKT('SRID=4674;POINT (-40.42997 -2.742869)'))) / (select extract(epoch from '2026-07-17 10:44:49'::timestamp) - extract(epoch from '2026-07-17 10: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'), 47831, 'SRID=4674;POINT (-40.42989 -2.742711)', '2026-07-17 10:44:56', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42997 -2.742869)'), GeomFromEWKT('SRID=4674;POINT (-40.42989 -2.742711)'))) / (select extract(epoch from '2026-07-17 10:44:56'::timestamp) - extract(epoch from '2026-07-17 10:44:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42997 -2.742869)'), GeomFromEWKT('SRID=4674;POINT (-40.42989 -2.742711)'))) / (select extract(epoch from '2026-07-17 10:44:56'::timestamp) - extract(epoch from '2026-07-17 10:44: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'), 47831, 'SRID=4674;POINT (-40.429808 -2.742476)', '2026-07-17 10:45:05', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42989 -2.742711)'), GeomFromEWKT('SRID=4674;POINT (-40.429808 -2.742476)'))) / (select extract(epoch from '2026-07-17 10:45:05'::timestamp) - extract(epoch from '2026-07-17 10:44:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42989 -2.742711)'), GeomFromEWKT('SRID=4674;POINT (-40.429808 -2.742476)'))) / (select extract(epoch from '2026-07-17 10:45:05'::timestamp) - extract(epoch from '2026-07-17 10:44: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'), 47831, 'SRID=4674;POINT (-40.429739 -2.742336)', '2026-07-17 10:45:11', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429808 -2.742476)'), GeomFromEWKT('SRID=4674;POINT (-40.429739 -2.742336)'))) / (select extract(epoch from '2026-07-17 10:45:11'::timestamp) - extract(epoch from '2026-07-17 10:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429808 -2.742476)'), GeomFromEWKT('SRID=4674;POINT (-40.429739 -2.742336)'))) / (select extract(epoch from '2026-07-17 10:45:11'::timestamp) - extract(epoch from '2026-07-17 10:45: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'), 47831, 'SRID=4674;POINT (-40.429606 -2.74217)', '2026-07-17 10:45:19', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429739 -2.742336)'), GeomFromEWKT('SRID=4674;POINT (-40.429606 -2.74217)'))) / (select extract(epoch from '2026-07-17 10:45:19'::timestamp) - extract(epoch from '2026-07-17 10:45:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429739 -2.742336)'), GeomFromEWKT('SRID=4674;POINT (-40.429606 -2.74217)'))) / (select extract(epoch from '2026-07-17 10:45:19'::timestamp) - extract(epoch from '2026-07-17 10:45: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'), 47831, 'SRID=4674;POINT (-40.429495 -2.74203)', '2026-07-17 10:45:26', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429606 -2.74217)'), GeomFromEWKT('SRID=4674;POINT (-40.429495 -2.74203)'))) / (select extract(epoch from '2026-07-17 10:45:26'::timestamp) - extract(epoch from '2026-07-17 10:45:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429606 -2.74217)'), GeomFromEWKT('SRID=4674;POINT (-40.429495 -2.74203)'))) / (select extract(epoch from '2026-07-17 10:45:26'::timestamp) - extract(epoch from '2026-07-17 10:45: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'), 47831, 'SRID=4674;POINT (-40.429421 -2.741833)', '2026-07-17 10:45:34', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429495 -2.74203)'), GeomFromEWKT('SRID=4674;POINT (-40.429421 -2.741833)'))) / (select extract(epoch from '2026-07-17 10:45:34'::timestamp) - extract(epoch from '2026-07-17 10:45:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429495 -2.74203)'), GeomFromEWKT('SRID=4674;POINT (-40.429421 -2.741833)'))) / (select extract(epoch from '2026-07-17 10:45:34'::timestamp) - extract(epoch from '2026-07-17 10:45:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.429402 -2.741627)', '2026-07-17 10:45:41', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429421 -2.741833)'), GeomFromEWKT('SRID=4674;POINT (-40.429402 -2.741627)'))) / (select extract(epoch from '2026-07-17 10:45:41'::timestamp) - extract(epoch from '2026-07-17 10:45:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429421 -2.741833)'), GeomFromEWKT('SRID=4674;POINT (-40.429402 -2.741627)'))) / (select extract(epoch from '2026-07-17 10:45:41'::timestamp) - extract(epoch from '2026-07-17 10:45:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.429401 -2.741438)', '2026-07-17 10:45:48', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429402 -2.741627)'), GeomFromEWKT('SRID=4674;POINT (-40.429401 -2.741438)'))) / (select extract(epoch from '2026-07-17 10:45:48'::timestamp) - extract(epoch from '2026-07-17 10:45:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429402 -2.741627)'), GeomFromEWKT('SRID=4674;POINT (-40.429401 -2.741438)'))) / (select extract(epoch from '2026-07-17 10:45:48'::timestamp) - extract(epoch from '2026-07-17 10:45:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.42935 -2.74122)', '2026-07-17 10:45:56', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429401 -2.741438)'), GeomFromEWKT('SRID=4674;POINT (-40.42935 -2.74122)'))) / (select extract(epoch from '2026-07-17 10:45:56'::timestamp) - extract(epoch from '2026-07-17 10:45:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429401 -2.741438)'), GeomFromEWKT('SRID=4674;POINT (-40.42935 -2.74122)'))) / (select extract(epoch from '2026-07-17 10:45:56'::timestamp) - extract(epoch from '2026-07-17 10:45: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'), 47831, 'SRID=4674;POINT (-40.429213 -2.740986)', '2026-07-17 10:46:06', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42935 -2.74122)'), GeomFromEWKT('SRID=4674;POINT (-40.429213 -2.740986)'))) / (select extract(epoch from '2026-07-17 10:46:06'::timestamp) - extract(epoch from '2026-07-17 10:45:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42935 -2.74122)'), GeomFromEWKT('SRID=4674;POINT (-40.429213 -2.740986)'))) / (select extract(epoch from '2026-07-17 10:46:06'::timestamp) - extract(epoch from '2026-07-17 10:45: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'), 47831, 'SRID=4674;POINT (-40.429101 -2.740842)', '2026-07-17 10:46:13', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429213 -2.740986)'), GeomFromEWKT('SRID=4674;POINT (-40.429101 -2.740842)'))) / (select extract(epoch from '2026-07-17 10:46:13'::timestamp) - extract(epoch from '2026-07-17 10:46:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429213 -2.740986)'), GeomFromEWKT('SRID=4674;POINT (-40.429101 -2.740842)'))) / (select extract(epoch from '2026-07-17 10:46:13'::timestamp) - extract(epoch from '2026-07-17 10:46: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'), 47831, 'SRID=4674;POINT (-40.429026 -2.74067)', '2026-07-17 10:46:20', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429101 -2.740842)'), GeomFromEWKT('SRID=4674;POINT (-40.429026 -2.74067)'))) / (select extract(epoch from '2026-07-17 10:46:20'::timestamp) - extract(epoch from '2026-07-17 10:46:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429101 -2.740842)'), GeomFromEWKT('SRID=4674;POINT (-40.429026 -2.74067)'))) / (select extract(epoch from '2026-07-17 10:46:20'::timestamp) - extract(epoch from '2026-07-17 10:46: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'), 47831, 'SRID=4674;POINT (-40.428982 -2.740481)', '2026-07-17 10:46:27', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429026 -2.74067)'), GeomFromEWKT('SRID=4674;POINT (-40.428982 -2.740481)'))) / (select extract(epoch from '2026-07-17 10:46:27'::timestamp) - extract(epoch from '2026-07-17 10:46:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429026 -2.74067)'), GeomFromEWKT('SRID=4674;POINT (-40.428982 -2.740481)'))) / (select extract(epoch from '2026-07-17 10:46:27'::timestamp) - extract(epoch from '2026-07-17 10:46: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'), 47831, 'SRID=4674;POINT (-40.428932 -2.740223)', '2026-07-17 10:46:36', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428982 -2.740481)'), GeomFromEWKT('SRID=4674;POINT (-40.428932 -2.740223)'))) / (select extract(epoch from '2026-07-17 10:46:36'::timestamp) - extract(epoch from '2026-07-17 10:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428982 -2.740481)'), GeomFromEWKT('SRID=4674;POINT (-40.428932 -2.740223)'))) / (select extract(epoch from '2026-07-17 10:46:36'::timestamp) - extract(epoch from '2026-07-17 10:46:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.428903 -2.740028)', '2026-07-17 10:46:43', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428932 -2.740223)'), GeomFromEWKT('SRID=4674;POINT (-40.428903 -2.740028)'))) / (select extract(epoch from '2026-07-17 10:46:43'::timestamp) - extract(epoch from '2026-07-17 10:46:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428932 -2.740223)'), GeomFromEWKT('SRID=4674;POINT (-40.428903 -2.740028)'))) / (select extract(epoch from '2026-07-17 10:46:43'::timestamp) - extract(epoch from '2026-07-17 10:46:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.428888 -2.73986)', '2026-07-17 10:46:49', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428903 -2.740028)'), GeomFromEWKT('SRID=4674;POINT (-40.428888 -2.73986)'))) / (select extract(epoch from '2026-07-17 10:46:49'::timestamp) - extract(epoch from '2026-07-17 10:46:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428903 -2.740028)'), GeomFromEWKT('SRID=4674;POINT (-40.428888 -2.73986)'))) / (select extract(epoch from '2026-07-17 10:46:49'::timestamp) - extract(epoch from '2026-07-17 10:46: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'), 47831, 'SRID=4674;POINT (-40.428869 -2.739618)', '2026-07-17 10:46:58', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428888 -2.73986)'), GeomFromEWKT('SRID=4674;POINT (-40.428869 -2.739618)'))) / (select extract(epoch from '2026-07-17 10:46:58'::timestamp) - extract(epoch from '2026-07-17 10:46:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428888 -2.73986)'), GeomFromEWKT('SRID=4674;POINT (-40.428869 -2.739618)'))) / (select extract(epoch from '2026-07-17 10:46:58'::timestamp) - extract(epoch from '2026-07-17 10: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'), 47831, 'SRID=4674;POINT (-40.428868 -2.739421)', '2026-07-17 10:47:05', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428869 -2.739618)'), GeomFromEWKT('SRID=4674;POINT (-40.428868 -2.739421)'))) / (select extract(epoch from '2026-07-17 10:47:05'::timestamp) - extract(epoch from '2026-07-17 10:46:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428869 -2.739618)'), GeomFromEWKT('SRID=4674;POINT (-40.428868 -2.739421)'))) / (select extract(epoch from '2026-07-17 10:47:05'::timestamp) - extract(epoch from '2026-07-17 10: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'), 47831, 'SRID=4674;POINT (-40.428884 -2.739165)', '2026-07-17 10:47:14', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428868 -2.739421)'), GeomFromEWKT('SRID=4674;POINT (-40.428884 -2.739165)'))) / (select extract(epoch from '2026-07-17 10:47:14'::timestamp) - extract(epoch from '2026-07-17 10:47:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428868 -2.739421)'), GeomFromEWKT('SRID=4674;POINT (-40.428884 -2.739165)'))) / (select extract(epoch from '2026-07-17 10:47:14'::timestamp) - extract(epoch from '2026-07-17 10:47: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'), 47831, 'SRID=4674;POINT (-40.428891 -2.738965)', '2026-07-17 10:47:21', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428884 -2.739165)'), GeomFromEWKT('SRID=4674;POINT (-40.428891 -2.738965)'))) / (select extract(epoch from '2026-07-17 10:47:21'::timestamp) - extract(epoch from '2026-07-17 10:47:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428884 -2.739165)'), GeomFromEWKT('SRID=4674;POINT (-40.428891 -2.738965)'))) / (select extract(epoch from '2026-07-17 10:47:21'::timestamp) - extract(epoch from '2026-07-17 10:47: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'), 47831, 'SRID=4674;POINT (-40.42891 -2.738763)', '2026-07-17 10:47:28', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428891 -2.738965)'), GeomFromEWKT('SRID=4674;POINT (-40.42891 -2.738763)'))) / (select extract(epoch from '2026-07-17 10:47:28'::timestamp) - extract(epoch from '2026-07-17 10:47:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428891 -2.738965)'), GeomFromEWKT('SRID=4674;POINT (-40.42891 -2.738763)'))) / (select extract(epoch from '2026-07-17 10:47:28'::timestamp) - extract(epoch from '2026-07-17 10: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'), 47831, 'SRID=4674;POINT (-40.428933 -2.738596)', '2026-07-17 10:47:34', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42891 -2.738763)'), GeomFromEWKT('SRID=4674;POINT (-40.428933 -2.738596)'))) / (select extract(epoch from '2026-07-17 10:47:34'::timestamp) - extract(epoch from '2026-07-17 10:47:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42891 -2.738763)'), GeomFromEWKT('SRID=4674;POINT (-40.428933 -2.738596)'))) / (select extract(epoch from '2026-07-17 10:47:34'::timestamp) - extract(epoch from '2026-07-17 10:47: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'), 47831, 'SRID=4674;POINT (-40.428987 -2.738429)', '2026-07-17 10:47:40', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428933 -2.738596)'), GeomFromEWKT('SRID=4674;POINT (-40.428987 -2.738429)'))) / (select extract(epoch from '2026-07-17 10:47:40'::timestamp) - extract(epoch from '2026-07-17 10:47:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428933 -2.738596)'), GeomFromEWKT('SRID=4674;POINT (-40.428987 -2.738429)'))) / (select extract(epoch from '2026-07-17 10:47:40'::timestamp) - extract(epoch from '2026-07-17 10:47:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.429027 -2.738256)', '2026-07-17 10:47:46', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428987 -2.738429)'), GeomFromEWKT('SRID=4674;POINT (-40.429027 -2.738256)'))) / (select extract(epoch from '2026-07-17 10:47:46'::timestamp) - extract(epoch from '2026-07-17 10:47:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428987 -2.738429)'), GeomFromEWKT('SRID=4674;POINT (-40.429027 -2.738256)'))) / (select extract(epoch from '2026-07-17 10:47:46'::timestamp) - extract(epoch from '2026-07-17 10:47:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.429075 -2.738042)', '2026-07-17 10:47:54', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429027 -2.738256)'), GeomFromEWKT('SRID=4674;POINT (-40.429075 -2.738042)'))) / (select extract(epoch from '2026-07-17 10:47:54'::timestamp) - extract(epoch from '2026-07-17 10:47:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429027 -2.738256)'), GeomFromEWKT('SRID=4674;POINT (-40.429075 -2.738042)'))) / (select extract(epoch from '2026-07-17 10:47:54'::timestamp) - extract(epoch from '2026-07-17 10:47: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'), 47831, 'SRID=4674;POINT (-40.429101 -2.73788)', '2026-07-17 10:48:00', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429075 -2.738042)'), GeomFromEWKT('SRID=4674;POINT (-40.429101 -2.73788)'))) / (select extract(epoch from '2026-07-17 10:48:00'::timestamp) - extract(epoch from '2026-07-17 10:47:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429075 -2.738042)'), GeomFromEWKT('SRID=4674;POINT (-40.429101 -2.73788)'))) / (select extract(epoch from '2026-07-17 10:48:00'::timestamp) - extract(epoch from '2026-07-17 10:47: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'), 47831, 'SRID=4674;POINT (-40.429111 -2.737671)', '2026-07-17 10:48:07', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429101 -2.73788)'), GeomFromEWKT('SRID=4674;POINT (-40.429111 -2.737671)'))) / (select extract(epoch from '2026-07-17 10:48:07'::timestamp) - extract(epoch from '2026-07-17 10:48:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429101 -2.73788)'), GeomFromEWKT('SRID=4674;POINT (-40.429111 -2.737671)'))) / (select extract(epoch from '2026-07-17 10:48:07'::timestamp) - extract(epoch from '2026-07-17 10:48: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'), 47831, 'SRID=4674;POINT (-40.429105 -2.73748)', '2026-07-17 10:48:14', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429111 -2.737671)'), GeomFromEWKT('SRID=4674;POINT (-40.429105 -2.73748)'))) / (select extract(epoch from '2026-07-17 10:48:14'::timestamp) - extract(epoch from '2026-07-17 10:48:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429111 -2.737671)'), GeomFromEWKT('SRID=4674;POINT (-40.429105 -2.73748)'))) / (select extract(epoch from '2026-07-17 10:48:14'::timestamp) - extract(epoch from '2026-07-17 10: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'), 47831, 'SRID=4674;POINT (-40.429067 -2.737313)', '2026-07-17 10:48:20', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429105 -2.73748)'), GeomFromEWKT('SRID=4674;POINT (-40.429067 -2.737313)'))) / (select extract(epoch from '2026-07-17 10:48:20'::timestamp) - extract(epoch from '2026-07-17 10:48:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429105 -2.73748)'), GeomFromEWKT('SRID=4674;POINT (-40.429067 -2.737313)'))) / (select extract(epoch from '2026-07-17 10:48:20'::timestamp) - extract(epoch from '2026-07-17 10:48:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.428972 -2.737108)', '2026-07-17 10:48:28', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429067 -2.737313)'), GeomFromEWKT('SRID=4674;POINT (-40.428972 -2.737108)'))) / (select extract(epoch from '2026-07-17 10:48:28'::timestamp) - extract(epoch from '2026-07-17 10:48:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429067 -2.737313)'), GeomFromEWKT('SRID=4674;POINT (-40.428972 -2.737108)'))) / (select extract(epoch from '2026-07-17 10:48:28'::timestamp) - extract(epoch from '2026-07-17 10:48: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'), 47831, 'SRID=4674;POINT (-40.428859 -2.736948)', '2026-07-17 10:48:35', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428972 -2.737108)'), GeomFromEWKT('SRID=4674;POINT (-40.428859 -2.736948)'))) / (select extract(epoch from '2026-07-17 10:48:35'::timestamp) - extract(epoch from '2026-07-17 10:48:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428972 -2.737108)'), GeomFromEWKT('SRID=4674;POINT (-40.428859 -2.736948)'))) / (select extract(epoch from '2026-07-17 10:48:35'::timestamp) - extract(epoch from '2026-07-17 10:48: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'), 47831, 'SRID=4674;POINT (-40.428727 -2.736804)', '2026-07-17 10:48:43', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428859 -2.736948)'), GeomFromEWKT('SRID=4674;POINT (-40.428727 -2.736804)'))) / (select extract(epoch from '2026-07-17 10:48:43'::timestamp) - extract(epoch from '2026-07-17 10:48:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428859 -2.736948)'), GeomFromEWKT('SRID=4674;POINT (-40.428727 -2.736804)'))) / (select extract(epoch from '2026-07-17 10:48:43'::timestamp) - extract(epoch from '2026-07-17 10:48: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'), 47831, 'SRID=4674;POINT (-40.428686 -2.736641)', '2026-07-17 10:48:50', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428727 -2.736804)'), GeomFromEWKT('SRID=4674;POINT (-40.428686 -2.736641)'))) / (select extract(epoch from '2026-07-17 10:48:50'::timestamp) - extract(epoch from '2026-07-17 10:48:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428727 -2.736804)'), GeomFromEWKT('SRID=4674;POINT (-40.428686 -2.736641)'))) / (select extract(epoch from '2026-07-17 10:48:50'::timestamp) - extract(epoch from '2026-07-17 10:48: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'), 47831, 'SRID=4674;POINT (-40.428669 -2.736454)', '2026-07-17 10:48:57', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428686 -2.736641)'), GeomFromEWKT('SRID=4674;POINT (-40.428669 -2.736454)'))) / (select extract(epoch from '2026-07-17 10:48:57'::timestamp) - extract(epoch from '2026-07-17 10:48:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428686 -2.736641)'), GeomFromEWKT('SRID=4674;POINT (-40.428669 -2.736454)'))) / (select extract(epoch from '2026-07-17 10:48:57'::timestamp) - extract(epoch from '2026-07-17 10:48:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.42857 -2.736285)', '2026-07-17 10:49:04', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428669 -2.736454)'), GeomFromEWKT('SRID=4674;POINT (-40.42857 -2.736285)'))) / (select extract(epoch from '2026-07-17 10:49:04'::timestamp) - extract(epoch from '2026-07-17 10:48:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428669 -2.736454)'), GeomFromEWKT('SRID=4674;POINT (-40.42857 -2.736285)'))) / (select extract(epoch from '2026-07-17 10:49:04'::timestamp) - extract(epoch from '2026-07-17 10:48:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.428416 -2.736137)', '2026-07-17 10:49:12', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42857 -2.736285)'), GeomFromEWKT('SRID=4674;POINT (-40.428416 -2.736137)'))) / (select extract(epoch from '2026-07-17 10:49:12'::timestamp) - extract(epoch from '2026-07-17 10:49:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42857 -2.736285)'), GeomFromEWKT('SRID=4674;POINT (-40.428416 -2.736137)'))) / (select extract(epoch from '2026-07-17 10:49:12'::timestamp) - extract(epoch from '2026-07-17 10:49: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'), 47831, 'SRID=4674;POINT (-40.428271 -2.736052)', '2026-07-17 10:49:19', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428416 -2.736137)'), GeomFromEWKT('SRID=4674;POINT (-40.428271 -2.736052)'))) / (select extract(epoch from '2026-07-17 10:49:19'::timestamp) - extract(epoch from '2026-07-17 10:49:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428416 -2.736137)'), GeomFromEWKT('SRID=4674;POINT (-40.428271 -2.736052)'))) / (select extract(epoch from '2026-07-17 10:49:19'::timestamp) - extract(epoch from '2026-07-17 10:49:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.428145 -2.735947)', '2026-07-17 10:49:26', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428271 -2.736052)'), GeomFromEWKT('SRID=4674;POINT (-40.428145 -2.735947)'))) / (select extract(epoch from '2026-07-17 10:49:26'::timestamp) - extract(epoch from '2026-07-17 10:49:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428271 -2.736052)'), GeomFromEWKT('SRID=4674;POINT (-40.428145 -2.735947)'))) / (select extract(epoch from '2026-07-17 10:49:26'::timestamp) - extract(epoch from '2026-07-17 10:49: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'), 47831, 'SRID=4674;POINT (-40.42806 -2.735788)', '2026-07-17 10:49:33', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428145 -2.735947)'), GeomFromEWKT('SRID=4674;POINT (-40.42806 -2.735788)'))) / (select extract(epoch from '2026-07-17 10:49:33'::timestamp) - extract(epoch from '2026-07-17 10:49:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428145 -2.735947)'), GeomFromEWKT('SRID=4674;POINT (-40.42806 -2.735788)'))) / (select extract(epoch from '2026-07-17 10:49:33'::timestamp) - extract(epoch from '2026-07-17 10:49:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.427948 -2.735608)', '2026-07-17 10:49:41', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42806 -2.735788)'), GeomFromEWKT('SRID=4674;POINT (-40.427948 -2.735608)'))) / (select extract(epoch from '2026-07-17 10:49:41'::timestamp) - extract(epoch from '2026-07-17 10:49:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42806 -2.735788)'), GeomFromEWKT('SRID=4674;POINT (-40.427948 -2.735608)'))) / (select extract(epoch from '2026-07-17 10:49:41'::timestamp) - extract(epoch from '2026-07-17 10:49:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.427916 -2.735467)', '2026-07-17 10:49:47', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427948 -2.735608)'), GeomFromEWKT('SRID=4674;POINT (-40.427916 -2.735467)'))) / (select extract(epoch from '2026-07-17 10:49:47'::timestamp) - extract(epoch from '2026-07-17 10:49:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427948 -2.735608)'), GeomFromEWKT('SRID=4674;POINT (-40.427916 -2.735467)'))) / (select extract(epoch from '2026-07-17 10:49:47'::timestamp) - extract(epoch from '2026-07-17 10:49:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.42793 -2.735304)', '2026-07-17 10:49:53', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427916 -2.735467)'), GeomFromEWKT('SRID=4674;POINT (-40.42793 -2.735304)'))) / (select extract(epoch from '2026-07-17 10:49:53'::timestamp) - extract(epoch from '2026-07-17 10:49:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427916 -2.735467)'), GeomFromEWKT('SRID=4674;POINT (-40.42793 -2.735304)'))) / (select extract(epoch from '2026-07-17 10:49:53'::timestamp) - extract(epoch from '2026-07-17 10:49: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'), 47831, 'SRID=4674;POINT (-40.427966 -2.735096)', '2026-07-17 10:50:00', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42793 -2.735304)'), GeomFromEWKT('SRID=4674;POINT (-40.427966 -2.735096)'))) / (select extract(epoch from '2026-07-17 10:50:00'::timestamp) - extract(epoch from '2026-07-17 10:49:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42793 -2.735304)'), GeomFromEWKT('SRID=4674;POINT (-40.427966 -2.735096)'))) / (select extract(epoch from '2026-07-17 10:50:00'::timestamp) - extract(epoch from '2026-07-17 10:49:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.42802 -2.734908)', '2026-07-17 10:50:07', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427966 -2.735096)'), GeomFromEWKT('SRID=4674;POINT (-40.42802 -2.734908)'))) / (select extract(epoch from '2026-07-17 10:50:07'::timestamp) - extract(epoch from '2026-07-17 10:50:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427966 -2.735096)'), GeomFromEWKT('SRID=4674;POINT (-40.42802 -2.734908)'))) / (select extract(epoch from '2026-07-17 10:50:07'::timestamp) - extract(epoch from '2026-07-17 10:50: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'), 47831, 'SRID=4674;POINT (-40.428115 -2.734767)', '2026-07-17 10:50:13', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42802 -2.734908)'), GeomFromEWKT('SRID=4674;POINT (-40.428115 -2.734767)'))) / (select extract(epoch from '2026-07-17 10:50:13'::timestamp) - extract(epoch from '2026-07-17 10:50:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42802 -2.734908)'), GeomFromEWKT('SRID=4674;POINT (-40.428115 -2.734767)'))) / (select extract(epoch from '2026-07-17 10:50:13'::timestamp) - extract(epoch from '2026-07-17 10:50: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'), 47831, 'SRID=4674;POINT (-40.428251 -2.734668)', '2026-07-17 10:50:19', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428115 -2.734767)'), GeomFromEWKT('SRID=4674;POINT (-40.428251 -2.734668)'))) / (select extract(epoch from '2026-07-17 10:50:19'::timestamp) - extract(epoch from '2026-07-17 10:50:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428115 -2.734767)'), GeomFromEWKT('SRID=4674;POINT (-40.428251 -2.734668)'))) / (select extract(epoch from '2026-07-17 10:50:19'::timestamp) - extract(epoch from '2026-07-17 10:50: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'), 47831, 'SRID=4674;POINT (-40.428427 -2.734603)', '2026-07-17 10:50:26', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428251 -2.734668)'), GeomFromEWKT('SRID=4674;POINT (-40.428427 -2.734603)'))) / (select extract(epoch from '2026-07-17 10:50:26'::timestamp) - extract(epoch from '2026-07-17 10:50:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428251 -2.734668)'), GeomFromEWKT('SRID=4674;POINT (-40.428427 -2.734603)'))) / (select extract(epoch from '2026-07-17 10:50:26'::timestamp) - extract(epoch from '2026-07-17 10:50:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.42858 -2.734493)', '2026-07-17 10:50:33', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428427 -2.734603)'), GeomFromEWKT('SRID=4674;POINT (-40.42858 -2.734493)'))) / (select extract(epoch from '2026-07-17 10:50:33'::timestamp) - extract(epoch from '2026-07-17 10:50:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428427 -2.734603)'), GeomFromEWKT('SRID=4674;POINT (-40.42858 -2.734493)'))) / (select extract(epoch from '2026-07-17 10:50:33'::timestamp) - extract(epoch from '2026-07-17 10:50:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.428661 -2.734382)', '2026-07-17 10:50:38', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42858 -2.734493)'), GeomFromEWKT('SRID=4674;POINT (-40.428661 -2.734382)'))) / (select extract(epoch from '2026-07-17 10:50:38'::timestamp) - extract(epoch from '2026-07-17 10:50:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42858 -2.734493)'), GeomFromEWKT('SRID=4674;POINT (-40.428661 -2.734382)'))) / (select extract(epoch from '2026-07-17 10:50:38'::timestamp) - extract(epoch from '2026-07-17 10:50: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'), 47831, 'SRID=4674;POINT (-40.428752 -2.734215)', '2026-07-17 10:50:45', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428661 -2.734382)'), GeomFromEWKT('SRID=4674;POINT (-40.428752 -2.734215)'))) / (select extract(epoch from '2026-07-17 10:50:45'::timestamp) - extract(epoch from '2026-07-17 10:50:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428661 -2.734382)'), GeomFromEWKT('SRID=4674;POINT (-40.428752 -2.734215)'))) / (select extract(epoch from '2026-07-17 10:50:45'::timestamp) - extract(epoch from '2026-07-17 10:50: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'), 47831, 'SRID=4674;POINT (-40.428859 -2.734018)', '2026-07-17 10:50:53', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428752 -2.734215)'), GeomFromEWKT('SRID=4674;POINT (-40.428859 -2.734018)'))) / (select extract(epoch from '2026-07-17 10:50:53'::timestamp) - extract(epoch from '2026-07-17 10:50:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428752 -2.734215)'), GeomFromEWKT('SRID=4674;POINT (-40.428859 -2.734018)'))) / (select extract(epoch from '2026-07-17 10:50:53'::timestamp) - extract(epoch from '2026-07-17 10:50: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'), 47831, 'SRID=4674;POINT (-40.428955 -2.73384)', '2026-07-17 10:51:00', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428859 -2.734018)'), GeomFromEWKT('SRID=4674;POINT (-40.428955 -2.73384)'))) / (select extract(epoch from '2026-07-17 10:51:00'::timestamp) - extract(epoch from '2026-07-17 10:50:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428859 -2.734018)'), GeomFromEWKT('SRID=4674;POINT (-40.428955 -2.73384)'))) / (select extract(epoch from '2026-07-17 10:51:00'::timestamp) - extract(epoch from '2026-07-17 10:50: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'), 47831, 'SRID=4674;POINT (-40.429047 -2.733689)', '2026-07-17 10:51:06', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428955 -2.73384)'), GeomFromEWKT('SRID=4674;POINT (-40.429047 -2.733689)'))) / (select extract(epoch from '2026-07-17 10:51:06'::timestamp) - extract(epoch from '2026-07-17 10:51:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428955 -2.73384)'), GeomFromEWKT('SRID=4674;POINT (-40.429047 -2.733689)'))) / (select extract(epoch from '2026-07-17 10:51:06'::timestamp) - extract(epoch from '2026-07-17 10:51: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'), 47831, 'SRID=4674;POINT (-40.429133 -2.733552)', '2026-07-17 10:51:12', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429047 -2.733689)'), GeomFromEWKT('SRID=4674;POINT (-40.429133 -2.733552)'))) / (select extract(epoch from '2026-07-17 10:51:12'::timestamp) - extract(epoch from '2026-07-17 10:51:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429047 -2.733689)'), GeomFromEWKT('SRID=4674;POINT (-40.429133 -2.733552)'))) / (select extract(epoch from '2026-07-17 10:51:12'::timestamp) - extract(epoch from '2026-07-17 10:51: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'), 47831, 'SRID=4674;POINT (-40.42925 -2.733403)', '2026-07-17 10:51:19', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429133 -2.733552)'), GeomFromEWKT('SRID=4674;POINT (-40.42925 -2.733403)'))) / (select extract(epoch from '2026-07-17 10:51:19'::timestamp) - extract(epoch from '2026-07-17 10:51:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429133 -2.733552)'), GeomFromEWKT('SRID=4674;POINT (-40.42925 -2.733403)'))) / (select extract(epoch from '2026-07-17 10:51:19'::timestamp) - extract(epoch from '2026-07-17 10:51:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.429392 -2.733268)', '2026-07-17 10:51:26', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42925 -2.733403)'), GeomFromEWKT('SRID=4674;POINT (-40.429392 -2.733268)'))) / (select extract(epoch from '2026-07-17 10:51:26'::timestamp) - extract(epoch from '2026-07-17 10:51:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42925 -2.733403)'), GeomFromEWKT('SRID=4674;POINT (-40.429392 -2.733268)'))) / (select extract(epoch from '2026-07-17 10:51:26'::timestamp) - extract(epoch from '2026-07-17 10:51:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.429515 -2.733168)', '2026-07-17 10:51:32', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429392 -2.733268)'), GeomFromEWKT('SRID=4674;POINT (-40.429515 -2.733168)'))) / (select extract(epoch from '2026-07-17 10:51:32'::timestamp) - extract(epoch from '2026-07-17 10:51:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429392 -2.733268)'), GeomFromEWKT('SRID=4674;POINT (-40.429515 -2.733168)'))) / (select extract(epoch from '2026-07-17 10:51:32'::timestamp) - extract(epoch from '2026-07-17 10:51: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'), 47831, 'SRID=4674;POINT (-40.4297 -2.733019)', '2026-07-17 10:51:41', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429515 -2.733168)'), GeomFromEWKT('SRID=4674;POINT (-40.4297 -2.733019)'))) / (select extract(epoch from '2026-07-17 10:51:41'::timestamp) - extract(epoch from '2026-07-17 10:51:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429515 -2.733168)'), GeomFromEWKT('SRID=4674;POINT (-40.4297 -2.733019)'))) / (select extract(epoch from '2026-07-17 10:51:41'::timestamp) - extract(epoch from '2026-07-17 10:51: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'), 47831, 'SRID=4674;POINT (-40.429848 -2.732819)', '2026-07-17 10:51:50', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4297 -2.733019)'), GeomFromEWKT('SRID=4674;POINT (-40.429848 -2.732819)'))) / (select extract(epoch from '2026-07-17 10:51:50'::timestamp) - extract(epoch from '2026-07-17 10:51:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4297 -2.733019)'), GeomFromEWKT('SRID=4674;POINT (-40.429848 -2.732819)'))) / (select extract(epoch from '2026-07-17 10:51:50'::timestamp) - extract(epoch from '2026-07-17 10:51: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'), 47831, 'SRID=4674;POINT (-40.429978 -2.732679)', '2026-07-17 10:51:57', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429848 -2.732819)'), GeomFromEWKT('SRID=4674;POINT (-40.429978 -2.732679)'))) / (select extract(epoch from '2026-07-17 10:51:57'::timestamp) - extract(epoch from '2026-07-17 10:51:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429848 -2.732819)'), GeomFromEWKT('SRID=4674;POINT (-40.429978 -2.732679)'))) / (select extract(epoch from '2026-07-17 10:51:57'::timestamp) - extract(epoch from '2026-07-17 10:51:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.430132 -2.732515)', '2026-07-17 10:52:05', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429978 -2.732679)'), GeomFromEWKT('SRID=4674;POINT (-40.430132 -2.732515)'))) / (select extract(epoch from '2026-07-17 10:52:05'::timestamp) - extract(epoch from '2026-07-17 10:51:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429978 -2.732679)'), GeomFromEWKT('SRID=4674;POINT (-40.430132 -2.732515)'))) / (select extract(epoch from '2026-07-17 10:52:05'::timestamp) - extract(epoch from '2026-07-17 10:51: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'), 47831, 'SRID=4674;POINT (-40.430246 -2.732308)', '2026-07-17 10:52:13', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430132 -2.732515)'), GeomFromEWKT('SRID=4674;POINT (-40.430246 -2.732308)'))) / (select extract(epoch from '2026-07-17 10:52:13'::timestamp) - extract(epoch from '2026-07-17 10:52:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430132 -2.732515)'), GeomFromEWKT('SRID=4674;POINT (-40.430246 -2.732308)'))) / (select extract(epoch from '2026-07-17 10:52:13'::timestamp) - extract(epoch from '2026-07-17 10:52: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'), 47831, 'SRID=4674;POINT (-40.430325 -2.732153)', '2026-07-17 10:52:19', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430246 -2.732308)'), GeomFromEWKT('SRID=4674;POINT (-40.430325 -2.732153)'))) / (select extract(epoch from '2026-07-17 10:52:19'::timestamp) - extract(epoch from '2026-07-17 10:52:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430246 -2.732308)'), GeomFromEWKT('SRID=4674;POINT (-40.430325 -2.732153)'))) / (select extract(epoch from '2026-07-17 10:52:19'::timestamp) - extract(epoch from '2026-07-17 10:52: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'), 47831, 'SRID=4674;POINT (-40.4304 -2.732026)', '2026-07-17 10:52:24', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430325 -2.732153)'), GeomFromEWKT('SRID=4674;POINT (-40.4304 -2.732026)'))) / (select extract(epoch from '2026-07-17 10:52:24'::timestamp) - extract(epoch from '2026-07-17 10:52:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430325 -2.732153)'), GeomFromEWKT('SRID=4674;POINT (-40.4304 -2.732026)'))) / (select extract(epoch from '2026-07-17 10:52:24'::timestamp) - extract(epoch from '2026-07-17 10:52:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.430512 -2.731906)', '2026-07-17 10:52:30', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4304 -2.732026)'), GeomFromEWKT('SRID=4674;POINT (-40.430512 -2.731906)'))) / (select extract(epoch from '2026-07-17 10:52:30'::timestamp) - extract(epoch from '2026-07-17 10:52:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4304 -2.732026)'), GeomFromEWKT('SRID=4674;POINT (-40.430512 -2.731906)'))) / (select extract(epoch from '2026-07-17 10:52:30'::timestamp) - extract(epoch from '2026-07-17 10:52: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'), 47831, 'SRID=4674;POINT (-40.430624 -2.731748)', '2026-07-17 10:52:37', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430512 -2.731906)'), GeomFromEWKT('SRID=4674;POINT (-40.430624 -2.731748)'))) / (select extract(epoch from '2026-07-17 10:52:37'::timestamp) - extract(epoch from '2026-07-17 10:52:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430512 -2.731906)'), GeomFromEWKT('SRID=4674;POINT (-40.430624 -2.731748)'))) / (select extract(epoch from '2026-07-17 10:52:37'::timestamp) - extract(epoch from '2026-07-17 10:52:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.430744 -2.731589)', '2026-07-17 10:52:44', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430624 -2.731748)'), GeomFromEWKT('SRID=4674;POINT (-40.430744 -2.731589)'))) / (select extract(epoch from '2026-07-17 10:52:44'::timestamp) - extract(epoch from '2026-07-17 10:52:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430624 -2.731748)'), GeomFromEWKT('SRID=4674;POINT (-40.430744 -2.731589)'))) / (select extract(epoch from '2026-07-17 10:52:44'::timestamp) - extract(epoch from '2026-07-17 10:52: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'), 47831, 'SRID=4674;POINT (-40.430889 -2.731406)', '2026-07-17 10:52:52', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430744 -2.731589)'), GeomFromEWKT('SRID=4674;POINT (-40.430889 -2.731406)'))) / (select extract(epoch from '2026-07-17 10:52:52'::timestamp) - extract(epoch from '2026-07-17 10:52:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430744 -2.731589)'), GeomFromEWKT('SRID=4674;POINT (-40.430889 -2.731406)'))) / (select extract(epoch from '2026-07-17 10:52:52'::timestamp) - extract(epoch from '2026-07-17 10:52:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.430998 -2.731281)', '2026-07-17 10:52:58', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430889 -2.731406)'), GeomFromEWKT('SRID=4674;POINT (-40.430998 -2.731281)'))) / (select extract(epoch from '2026-07-17 10:52:58'::timestamp) - extract(epoch from '2026-07-17 10:52:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430889 -2.731406)'), GeomFromEWKT('SRID=4674;POINT (-40.430998 -2.731281)'))) / (select extract(epoch from '2026-07-17 10:52:58'::timestamp) - extract(epoch from '2026-07-17 10:52: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'), 47831, 'SRID=4674;POINT (-40.431123 -2.731119)', '2026-07-17 10:53:05', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430998 -2.731281)'), GeomFromEWKT('SRID=4674;POINT (-40.431123 -2.731119)'))) / (select extract(epoch from '2026-07-17 10:53:05'::timestamp) - extract(epoch from '2026-07-17 10:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430998 -2.731281)'), GeomFromEWKT('SRID=4674;POINT (-40.431123 -2.731119)'))) / (select extract(epoch from '2026-07-17 10:53:05'::timestamp) - extract(epoch from '2026-07-17 10:52:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.431191 -2.730993)', '2026-07-17 10:53:10', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431123 -2.731119)'), GeomFromEWKT('SRID=4674;POINT (-40.431191 -2.730993)'))) / (select extract(epoch from '2026-07-17 10:53:10'::timestamp) - extract(epoch from '2026-07-17 10:53:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431123 -2.731119)'), GeomFromEWKT('SRID=4674;POINT (-40.431191 -2.730993)'))) / (select extract(epoch from '2026-07-17 10:53:10'::timestamp) - extract(epoch from '2026-07-17 10:53:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.431272 -2.730818)', '2026-07-17 10:53:17', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431191 -2.730993)'), GeomFromEWKT('SRID=4674;POINT (-40.431272 -2.730818)'))) / (select extract(epoch from '2026-07-17 10:53:17'::timestamp) - extract(epoch from '2026-07-17 10:53:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431191 -2.730993)'), GeomFromEWKT('SRID=4674;POINT (-40.431272 -2.730818)'))) / (select extract(epoch from '2026-07-17 10:53:17'::timestamp) - extract(epoch from '2026-07-17 10:53:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.431358 -2.730602)', '2026-07-17 10:53:25', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431272 -2.730818)'), GeomFromEWKT('SRID=4674;POINT (-40.431358 -2.730602)'))) / (select extract(epoch from '2026-07-17 10:53:25'::timestamp) - extract(epoch from '2026-07-17 10:53:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431272 -2.730818)'), GeomFromEWKT('SRID=4674;POINT (-40.431358 -2.730602)'))) / (select extract(epoch from '2026-07-17 10:53:25'::timestamp) - extract(epoch from '2026-07-17 10:53: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'), 47831, 'SRID=4674;POINT (-40.431418 -2.730402)', '2026-07-17 10:53:32', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431358 -2.730602)'), GeomFromEWKT('SRID=4674;POINT (-40.431418 -2.730402)'))) / (select extract(epoch from '2026-07-17 10:53:32'::timestamp) - extract(epoch from '2026-07-17 10:53:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431358 -2.730602)'), GeomFromEWKT('SRID=4674;POINT (-40.431418 -2.730402)'))) / (select extract(epoch from '2026-07-17 10:53:32'::timestamp) - extract(epoch from '2026-07-17 10:53:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.431481 -2.73022)', '2026-07-17 10:53:39', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431418 -2.730402)'), GeomFromEWKT('SRID=4674;POINT (-40.431481 -2.73022)'))) / (select extract(epoch from '2026-07-17 10:53:39'::timestamp) - extract(epoch from '2026-07-17 10:53:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431418 -2.730402)'), GeomFromEWKT('SRID=4674;POINT (-40.431481 -2.73022)'))) / (select extract(epoch from '2026-07-17 10:53:39'::timestamp) - extract(epoch from '2026-07-17 10:53:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.431536 -2.730066)', '2026-07-17 10:53:45', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431481 -2.73022)'), GeomFromEWKT('SRID=4674;POINT (-40.431536 -2.730066)'))) / (select extract(epoch from '2026-07-17 10:53:45'::timestamp) - extract(epoch from '2026-07-17 10:53:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431481 -2.73022)'), GeomFromEWKT('SRID=4674;POINT (-40.431536 -2.730066)'))) / (select extract(epoch from '2026-07-17 10:53:45'::timestamp) - extract(epoch from '2026-07-17 10:53: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'), 47831, 'SRID=4674;POINT (-40.43158 -2.729853)', '2026-07-17 10:53:52', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431536 -2.730066)'), GeomFromEWKT('SRID=4674;POINT (-40.43158 -2.729853)'))) / (select extract(epoch from '2026-07-17 10:53:52'::timestamp) - extract(epoch from '2026-07-17 10:53:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431536 -2.730066)'), GeomFromEWKT('SRID=4674;POINT (-40.43158 -2.729853)'))) / (select extract(epoch from '2026-07-17 10:53:52'::timestamp) - extract(epoch from '2026-07-17 10:53: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'), 47831, 'SRID=4674;POINT (-40.43162 -2.729627)', '2026-07-17 10:54:00', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43158 -2.729853)'), GeomFromEWKT('SRID=4674;POINT (-40.43162 -2.729627)'))) / (select extract(epoch from '2026-07-17 10:54:00'::timestamp) - extract(epoch from '2026-07-17 10:53:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43158 -2.729853)'), GeomFromEWKT('SRID=4674;POINT (-40.43162 -2.729627)'))) / (select extract(epoch from '2026-07-17 10:54:00'::timestamp) - extract(epoch from '2026-07-17 10:53: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'), 47831, 'SRID=4674;POINT (-40.431679 -2.729436)', '2026-07-17 10:54:07', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43162 -2.729627)'), GeomFromEWKT('SRID=4674;POINT (-40.431679 -2.729436)'))) / (select extract(epoch from '2026-07-17 10:54:07'::timestamp) - extract(epoch from '2026-07-17 10:54:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43162 -2.729627)'), GeomFromEWKT('SRID=4674;POINT (-40.431679 -2.729436)'))) / (select extract(epoch from '2026-07-17 10:54:07'::timestamp) - extract(epoch from '2026-07-17 10:54: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'), 47831, 'SRID=4674;POINT (-40.431781 -2.729209)', '2026-07-17 10:54:16', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431679 -2.729436)'), GeomFromEWKT('SRID=4674;POINT (-40.431781 -2.729209)'))) / (select extract(epoch from '2026-07-17 10:54:16'::timestamp) - extract(epoch from '2026-07-17 10:54:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431679 -2.729436)'), GeomFromEWKT('SRID=4674;POINT (-40.431781 -2.729209)'))) / (select extract(epoch from '2026-07-17 10:54:16'::timestamp) - extract(epoch from '2026-07-17 10:54:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.431821 -2.729011)', '2026-07-17 10:54:23', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431781 -2.729209)'), GeomFromEWKT('SRID=4674;POINT (-40.431821 -2.729011)'))) / (select extract(epoch from '2026-07-17 10:54:23'::timestamp) - extract(epoch from '2026-07-17 10:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431781 -2.729209)'), GeomFromEWKT('SRID=4674;POINT (-40.431821 -2.729011)'))) / (select extract(epoch from '2026-07-17 10:54:23'::timestamp) - extract(epoch from '2026-07-17 10:54:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.4318 -2.728856)', '2026-07-17 10:54:29', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431821 -2.729011)'), GeomFromEWKT('SRID=4674;POINT (-40.4318 -2.728856)'))) / (select extract(epoch from '2026-07-17 10:54:29'::timestamp) - extract(epoch from '2026-07-17 10:54:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431821 -2.729011)'), GeomFromEWKT('SRID=4674;POINT (-40.4318 -2.728856)'))) / (select extract(epoch from '2026-07-17 10:54:29'::timestamp) - extract(epoch from '2026-07-17 10:54:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.431696 -2.728707)', '2026-07-17 10:54:36', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4318 -2.728856)'), GeomFromEWKT('SRID=4674;POINT (-40.431696 -2.728707)'))) / (select extract(epoch from '2026-07-17 10:54:36'::timestamp) - extract(epoch from '2026-07-17 10:54:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4318 -2.728856)'), GeomFromEWKT('SRID=4674;POINT (-40.431696 -2.728707)'))) / (select extract(epoch from '2026-07-17 10:54:36'::timestamp) - extract(epoch from '2026-07-17 10:54:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.431588 -2.728572)', '2026-07-17 10:54:43', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431696 -2.728707)'), GeomFromEWKT('SRID=4674;POINT (-40.431588 -2.728572)'))) / (select extract(epoch from '2026-07-17 10:54:43'::timestamp) - extract(epoch from '2026-07-17 10:54:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431696 -2.728707)'), GeomFromEWKT('SRID=4674;POINT (-40.431588 -2.728572)'))) / (select extract(epoch from '2026-07-17 10:54:43'::timestamp) - extract(epoch from '2026-07-17 10:54:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.431433 -2.728442)', '2026-07-17 10:54:51', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431588 -2.728572)'), GeomFromEWKT('SRID=4674;POINT (-40.431433 -2.728442)'))) / (select extract(epoch from '2026-07-17 10:54:51'::timestamp) - extract(epoch from '2026-07-17 10:54:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431588 -2.728572)'), GeomFromEWKT('SRID=4674;POINT (-40.431433 -2.728442)'))) / (select extract(epoch from '2026-07-17 10:54:51'::timestamp) - extract(epoch from '2026-07-17 10:54: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'), 47831, 'SRID=4674;POINT (-40.431295 -2.728303)', '2026-07-17 10:54:59', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431433 -2.728442)'), GeomFromEWKT('SRID=4674;POINT (-40.431295 -2.728303)'))) / (select extract(epoch from '2026-07-17 10:54:59'::timestamp) - extract(epoch from '2026-07-17 10:54:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431433 -2.728442)'), GeomFromEWKT('SRID=4674;POINT (-40.431295 -2.728303)'))) / (select extract(epoch from '2026-07-17 10:54:59'::timestamp) - extract(epoch from '2026-07-17 10:54:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.431108 -2.728159)', '2026-07-17 10:55:08', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431295 -2.728303)'), GeomFromEWKT('SRID=4674;POINT (-40.431108 -2.728159)'))) / (select extract(epoch from '2026-07-17 10:55:08'::timestamp) - extract(epoch from '2026-07-17 10:54:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431295 -2.728303)'), GeomFromEWKT('SRID=4674;POINT (-40.431108 -2.728159)'))) / (select extract(epoch from '2026-07-17 10:55:08'::timestamp) - extract(epoch from '2026-07-17 10:54: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'), 47831, 'SRID=4674;POINT (-40.430929 -2.728011)', '2026-07-17 10:55:17', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431108 -2.728159)'), GeomFromEWKT('SRID=4674;POINT (-40.430929 -2.728011)'))) / (select extract(epoch from '2026-07-17 10:55:17'::timestamp) - extract(epoch from '2026-07-17 10:55:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431108 -2.728159)'), GeomFromEWKT('SRID=4674;POINT (-40.430929 -2.728011)'))) / (select extract(epoch from '2026-07-17 10:55:17'::timestamp) - extract(epoch from '2026-07-17 10:55: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'), 47831, 'SRID=4674;POINT (-40.430795 -2.727843)', '2026-07-17 10:55:25', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430929 -2.728011)'), GeomFromEWKT('SRID=4674;POINT (-40.430795 -2.727843)'))) / (select extract(epoch from '2026-07-17 10:55:25'::timestamp) - extract(epoch from '2026-07-17 10:55:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430929 -2.728011)'), GeomFromEWKT('SRID=4674;POINT (-40.430795 -2.727843)'))) / (select extract(epoch from '2026-07-17 10:55:25'::timestamp) - extract(epoch from '2026-07-17 10:55:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.430663 -2.727626)', '2026-07-17 10:55:34', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430795 -2.727843)'), GeomFromEWKT('SRID=4674;POINT (-40.430663 -2.727626)'))) / (select extract(epoch from '2026-07-17 10:55:34'::timestamp) - extract(epoch from '2026-07-17 10:55:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430795 -2.727843)'), GeomFromEWKT('SRID=4674;POINT (-40.430663 -2.727626)'))) / (select extract(epoch from '2026-07-17 10:55:34'::timestamp) - extract(epoch from '2026-07-17 10:55: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'), 47831, 'SRID=4674;POINT (-40.430524 -2.727446)', '2026-07-17 10:55:43', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430663 -2.727626)'), GeomFromEWKT('SRID=4674;POINT (-40.430524 -2.727446)'))) / (select extract(epoch from '2026-07-17 10:55:43'::timestamp) - extract(epoch from '2026-07-17 10:55:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430663 -2.727626)'), GeomFromEWKT('SRID=4674;POINT (-40.430524 -2.727446)'))) / (select extract(epoch from '2026-07-17 10:55:43'::timestamp) - extract(epoch from '2026-07-17 10:55: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'), 47831, 'SRID=4674;POINT (-40.430369 -2.727307)', '2026-07-17 10:55:51', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430524 -2.727446)'), GeomFromEWKT('SRID=4674;POINT (-40.430369 -2.727307)'))) / (select extract(epoch from '2026-07-17 10:55:51'::timestamp) - extract(epoch from '2026-07-17 10:55:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430524 -2.727446)'), GeomFromEWKT('SRID=4674;POINT (-40.430369 -2.727307)'))) / (select extract(epoch from '2026-07-17 10:55:51'::timestamp) - extract(epoch from '2026-07-17 10:55: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'), 47831, 'SRID=4674;POINT (-40.430192 -2.727164)', '2026-07-17 10:56:00', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430369 -2.727307)'), GeomFromEWKT('SRID=4674;POINT (-40.430192 -2.727164)'))) / (select extract(epoch from '2026-07-17 10:56:00'::timestamp) - extract(epoch from '2026-07-17 10:55:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430369 -2.727307)'), GeomFromEWKT('SRID=4674;POINT (-40.430192 -2.727164)'))) / (select extract(epoch from '2026-07-17 10:56:00'::timestamp) - extract(epoch from '2026-07-17 10:55: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'), 47831, 'SRID=4674;POINT (-40.43006 -2.727015)', '2026-07-17 10:56:09', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430192 -2.727164)'), GeomFromEWKT('SRID=4674;POINT (-40.43006 -2.727015)'))) / (select extract(epoch from '2026-07-17 10:56:09'::timestamp) - extract(epoch from '2026-07-17 10:56:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430192 -2.727164)'), GeomFromEWKT('SRID=4674;POINT (-40.43006 -2.727015)'))) / (select extract(epoch from '2026-07-17 10:56:09'::timestamp) - extract(epoch from '2026-07-17 10:56: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'), 47831, 'SRID=4674;POINT (-40.429922 -2.726836)', '2026-07-17 10:56:18', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43006 -2.727015)'), GeomFromEWKT('SRID=4674;POINT (-40.429922 -2.726836)'))) / (select extract(epoch from '2026-07-17 10:56:18'::timestamp) - extract(epoch from '2026-07-17 10:56:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43006 -2.727015)'), GeomFromEWKT('SRID=4674;POINT (-40.429922 -2.726836)'))) / (select extract(epoch from '2026-07-17 10:56:18'::timestamp) - extract(epoch from '2026-07-17 10:56: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'), 47831, 'SRID=4674;POINT (-40.429773 -2.726708)', '2026-07-17 10:56:26', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429922 -2.726836)'), GeomFromEWKT('SRID=4674;POINT (-40.429773 -2.726708)'))) / (select extract(epoch from '2026-07-17 10:56:26'::timestamp) - extract(epoch from '2026-07-17 10:56:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429922 -2.726836)'), GeomFromEWKT('SRID=4674;POINT (-40.429773 -2.726708)'))) / (select extract(epoch from '2026-07-17 10:56:26'::timestamp) - extract(epoch from '2026-07-17 10:56:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.429643 -2.726522)', '2026-07-17 10:56:34', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429773 -2.726708)'), GeomFromEWKT('SRID=4674;POINT (-40.429643 -2.726522)'))) / (select extract(epoch from '2026-07-17 10:56:34'::timestamp) - extract(epoch from '2026-07-17 10:56:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429773 -2.726708)'), GeomFromEWKT('SRID=4674;POINT (-40.429643 -2.726522)'))) / (select extract(epoch from '2026-07-17 10:56:34'::timestamp) - extract(epoch from '2026-07-17 10:56:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.429465 -2.726338)', '2026-07-17 10:56:44', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429643 -2.726522)'), GeomFromEWKT('SRID=4674;POINT (-40.429465 -2.726338)'))) / (select extract(epoch from '2026-07-17 10:56:44'::timestamp) - extract(epoch from '2026-07-17 10:56:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429643 -2.726522)'), GeomFromEWKT('SRID=4674;POINT (-40.429465 -2.726338)'))) / (select extract(epoch from '2026-07-17 10:56:44'::timestamp) - extract(epoch from '2026-07-17 10:56:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.429268 -2.726136)', '2026-07-17 10:56:55', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429465 -2.726338)'), GeomFromEWKT('SRID=4674;POINT (-40.429268 -2.726136)'))) / (select extract(epoch from '2026-07-17 10:56:55'::timestamp) - extract(epoch from '2026-07-17 10:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429465 -2.726338)'), GeomFromEWKT('SRID=4674;POINT (-40.429268 -2.726136)'))) / (select extract(epoch from '2026-07-17 10:56:55'::timestamp) - extract(epoch from '2026-07-17 10:56: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'), 47831, 'SRID=4674;POINT (-40.429171 -2.72601)', '2026-07-17 10:57:01', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429268 -2.726136)'), GeomFromEWKT('SRID=4674;POINT (-40.429171 -2.72601)'))) / (select extract(epoch from '2026-07-17 10:57:01'::timestamp) - extract(epoch from '2026-07-17 10:56:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429268 -2.726136)'), GeomFromEWKT('SRID=4674;POINT (-40.429171 -2.72601)'))) / (select extract(epoch from '2026-07-17 10:57:01'::timestamp) - extract(epoch from '2026-07-17 10:56:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.42904 -2.725832)', '2026-07-17 10:57:09', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429171 -2.72601)'), GeomFromEWKT('SRID=4674;POINT (-40.42904 -2.725832)'))) / (select extract(epoch from '2026-07-17 10:57:09'::timestamp) - extract(epoch from '2026-07-17 10:57:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429171 -2.72601)'), GeomFromEWKT('SRID=4674;POINT (-40.42904 -2.725832)'))) / (select extract(epoch from '2026-07-17 10:57:09'::timestamp) - extract(epoch from '2026-07-17 10:57:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.428892 -2.725659)', '2026-07-17 10:57:18', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42904 -2.725832)'), GeomFromEWKT('SRID=4674;POINT (-40.428892 -2.725659)'))) / (select extract(epoch from '2026-07-17 10:57:18'::timestamp) - extract(epoch from '2026-07-17 10:57:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42904 -2.725832)'), GeomFromEWKT('SRID=4674;POINT (-40.428892 -2.725659)'))) / (select extract(epoch from '2026-07-17 10:57:18'::timestamp) - extract(epoch from '2026-07-17 10:57:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.428742 -2.725523)', '2026-07-17 10:57:26', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428892 -2.725659)'), GeomFromEWKT('SRID=4674;POINT (-40.428742 -2.725523)'))) / (select extract(epoch from '2026-07-17 10:57:26'::timestamp) - extract(epoch from '2026-07-17 10:57:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428892 -2.725659)'), GeomFromEWKT('SRID=4674;POINT (-40.428742 -2.725523)'))) / (select extract(epoch from '2026-07-17 10:57:26'::timestamp) - extract(epoch from '2026-07-17 10:57:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.428581 -2.725388)', '2026-07-17 10:57:34', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428742 -2.725523)'), GeomFromEWKT('SRID=4674;POINT (-40.428581 -2.725388)'))) / (select extract(epoch from '2026-07-17 10:57:34'::timestamp) - extract(epoch from '2026-07-17 10:57:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428742 -2.725523)'), GeomFromEWKT('SRID=4674;POINT (-40.428581 -2.725388)'))) / (select extract(epoch from '2026-07-17 10:57:34'::timestamp) - extract(epoch from '2026-07-17 10:57: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'), 47831, 'SRID=4674;POINT (-40.428454 -2.725265)', '2026-07-17 10:57:41', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428581 -2.725388)'), GeomFromEWKT('SRID=4674;POINT (-40.428454 -2.725265)'))) / (select extract(epoch from '2026-07-17 10:57:41'::timestamp) - extract(epoch from '2026-07-17 10:57:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428581 -2.725388)'), GeomFromEWKT('SRID=4674;POINT (-40.428454 -2.725265)'))) / (select extract(epoch from '2026-07-17 10:57:41'::timestamp) - extract(epoch from '2026-07-17 10:57:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.428275 -2.72509)', '2026-07-17 10:57:51', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428454 -2.725265)'), GeomFromEWKT('SRID=4674;POINT (-40.428275 -2.72509)'))) / (select extract(epoch from '2026-07-17 10:57:51'::timestamp) - extract(epoch from '2026-07-17 10:57:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428454 -2.725265)'), GeomFromEWKT('SRID=4674;POINT (-40.428275 -2.72509)'))) / (select extract(epoch from '2026-07-17 10:57:51'::timestamp) - extract(epoch from '2026-07-17 10:57: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'), 47831, 'SRID=4674;POINT (-40.428149 -2.724957)', '2026-07-17 10:57:58', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428275 -2.72509)'), GeomFromEWKT('SRID=4674;POINT (-40.428149 -2.724957)'))) / (select extract(epoch from '2026-07-17 10:57:58'::timestamp) - extract(epoch from '2026-07-17 10:57:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428275 -2.72509)'), GeomFromEWKT('SRID=4674;POINT (-40.428149 -2.724957)'))) / (select extract(epoch from '2026-07-17 10:57:58'::timestamp) - extract(epoch from '2026-07-17 10:57: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'), 47831, 'SRID=4674;POINT (-40.428033 -2.724799)', '2026-07-17 10:58:06', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428149 -2.724957)'), GeomFromEWKT('SRID=4674;POINT (-40.428033 -2.724799)'))) / (select extract(epoch from '2026-07-17 10:58:06'::timestamp) - extract(epoch from '2026-07-17 10:57:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428149 -2.724957)'), GeomFromEWKT('SRID=4674;POINT (-40.428033 -2.724799)'))) / (select extract(epoch from '2026-07-17 10:58:06'::timestamp) - extract(epoch from '2026-07-17 10:57: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'), 47831, 'SRID=4674;POINT (-40.427926 -2.724663)', '2026-07-17 10:58:13', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428033 -2.724799)'), GeomFromEWKT('SRID=4674;POINT (-40.427926 -2.724663)'))) / (select extract(epoch from '2026-07-17 10:58:13'::timestamp) - extract(epoch from '2026-07-17 10:58:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428033 -2.724799)'), GeomFromEWKT('SRID=4674;POINT (-40.427926 -2.724663)'))) / (select extract(epoch from '2026-07-17 10:58:13'::timestamp) - extract(epoch from '2026-07-17 10:58: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'), 47831, 'SRID=4674;POINT (-40.427789 -2.724509)', '2026-07-17 10:58:22', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427926 -2.724663)'), GeomFromEWKT('SRID=4674;POINT (-40.427789 -2.724509)'))) / (select extract(epoch from '2026-07-17 10:58:22'::timestamp) - extract(epoch from '2026-07-17 10:58:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427926 -2.724663)'), GeomFromEWKT('SRID=4674;POINT (-40.427789 -2.724509)'))) / (select extract(epoch from '2026-07-17 10:58:22'::timestamp) - extract(epoch from '2026-07-17 10:58: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'), 47831, 'SRID=4674;POINT (-40.427618 -2.72435)', '2026-07-17 10:58:31', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427789 -2.724509)'), GeomFromEWKT('SRID=4674;POINT (-40.427618 -2.72435)'))) / (select extract(epoch from '2026-07-17 10:58:31'::timestamp) - extract(epoch from '2026-07-17 10:58:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427789 -2.724509)'), GeomFromEWKT('SRID=4674;POINT (-40.427618 -2.72435)'))) / (select extract(epoch from '2026-07-17 10:58:31'::timestamp) - extract(epoch from '2026-07-17 10:58: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'), 47831, 'SRID=4674;POINT (-40.427508 -2.72413)', '2026-07-17 10:58:39', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427618 -2.72435)'), GeomFromEWKT('SRID=4674;POINT (-40.427508 -2.72413)'))) / (select extract(epoch from '2026-07-17 10:58:39'::timestamp) - extract(epoch from '2026-07-17 10:58:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427618 -2.72435)'), GeomFromEWKT('SRID=4674;POINT (-40.427508 -2.72413)'))) / (select extract(epoch from '2026-07-17 10:58:39'::timestamp) - extract(epoch from '2026-07-17 10:58:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.427415 -2.723936)', '2026-07-17 10:58:47', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427508 -2.72413)'), GeomFromEWKT('SRID=4674;POINT (-40.427415 -2.723936)'))) / (select extract(epoch from '2026-07-17 10:58:47'::timestamp) - extract(epoch from '2026-07-17 10:58:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427508 -2.72413)'), GeomFromEWKT('SRID=4674;POINT (-40.427415 -2.723936)'))) / (select extract(epoch from '2026-07-17 10:58:47'::timestamp) - extract(epoch from '2026-07-17 10:58: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'), 47831, 'SRID=4674;POINT (-40.427308 -2.723741)', '2026-07-17 10:58:55', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427415 -2.723936)'), GeomFromEWKT('SRID=4674;POINT (-40.427308 -2.723741)'))) / (select extract(epoch from '2026-07-17 10:58:55'::timestamp) - extract(epoch from '2026-07-17 10:58:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427415 -2.723936)'), GeomFromEWKT('SRID=4674;POINT (-40.427308 -2.723741)'))) / (select extract(epoch from '2026-07-17 10:58:55'::timestamp) - extract(epoch from '2026-07-17 10:58: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'), 47831, 'SRID=4674;POINT (-40.42722 -2.723514)', '2026-07-17 10:59:04', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427308 -2.723741)'), GeomFromEWKT('SRID=4674;POINT (-40.42722 -2.723514)'))) / (select extract(epoch from '2026-07-17 10:59:04'::timestamp) - extract(epoch from '2026-07-17 10:58:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427308 -2.723741)'), GeomFromEWKT('SRID=4674;POINT (-40.42722 -2.723514)'))) / (select extract(epoch from '2026-07-17 10:59:04'::timestamp) - extract(epoch from '2026-07-17 10:58: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'), 47831, 'SRID=4674;POINT (-40.427162 -2.723337)', '2026-07-17 10:59:11', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42722 -2.723514)'), GeomFromEWKT('SRID=4674;POINT (-40.427162 -2.723337)'))) / (select extract(epoch from '2026-07-17 10:59:11'::timestamp) - extract(epoch from '2026-07-17 10:59:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42722 -2.723514)'), GeomFromEWKT('SRID=4674;POINT (-40.427162 -2.723337)'))) / (select extract(epoch from '2026-07-17 10:59:11'::timestamp) - extract(epoch from '2026-07-17 10:59: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'), 47831, 'SRID=4674;POINT (-40.427105 -2.723191)', '2026-07-17 10:59:17', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427162 -2.723337)'), GeomFromEWKT('SRID=4674;POINT (-40.427105 -2.723191)'))) / (select extract(epoch from '2026-07-17 10:59:17'::timestamp) - extract(epoch from '2026-07-17 10:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427162 -2.723337)'), GeomFromEWKT('SRID=4674;POINT (-40.427105 -2.723191)'))) / (select extract(epoch from '2026-07-17 10:59:17'::timestamp) - extract(epoch from '2026-07-17 10:59: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'), 47831, 'SRID=4674;POINT (-40.427021 -2.723082)', '2026-07-17 10:59:23', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427105 -2.723191)'), GeomFromEWKT('SRID=4674;POINT (-40.427021 -2.723082)'))) / (select extract(epoch from '2026-07-17 10:59:23'::timestamp) - extract(epoch from '2026-07-17 10:59:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427105 -2.723191)'), GeomFromEWKT('SRID=4674;POINT (-40.427021 -2.723082)'))) / (select extract(epoch from '2026-07-17 10:59:23'::timestamp) - extract(epoch from '2026-07-17 10:59: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'), 47831, 'SRID=4674;POINT (-40.426892 -2.722958)', '2026-07-17 10:59:30', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427021 -2.723082)'), GeomFromEWKT('SRID=4674;POINT (-40.426892 -2.722958)'))) / (select extract(epoch from '2026-07-17 10:59:30'::timestamp) - extract(epoch from '2026-07-17 10:59:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427021 -2.723082)'), GeomFromEWKT('SRID=4674;POINT (-40.426892 -2.722958)'))) / (select extract(epoch from '2026-07-17 10:59:30'::timestamp) - extract(epoch from '2026-07-17 10:59: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'), 47831, 'SRID=4674;POINT (-40.426804 -2.722809)', '2026-07-17 10:59:37', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426892 -2.722958)'), GeomFromEWKT('SRID=4674;POINT (-40.426804 -2.722809)'))) / (select extract(epoch from '2026-07-17 10:59:37'::timestamp) - extract(epoch from '2026-07-17 10:59:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426892 -2.722958)'), GeomFromEWKT('SRID=4674;POINT (-40.426804 -2.722809)'))) / (select extract(epoch from '2026-07-17 10:59:37'::timestamp) - extract(epoch from '2026-07-17 10:59:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.426726 -2.722647)', '2026-07-17 10:59:44', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426804 -2.722809)'), GeomFromEWKT('SRID=4674;POINT (-40.426726 -2.722647)'))) / (select extract(epoch from '2026-07-17 10:59:44'::timestamp) - extract(epoch from '2026-07-17 10:59:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426804 -2.722809)'), GeomFromEWKT('SRID=4674;POINT (-40.426726 -2.722647)'))) / (select extract(epoch from '2026-07-17 10:59:44'::timestamp) - extract(epoch from '2026-07-17 10:59:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.426612 -2.722465)', '2026-07-17 10:59:52', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426726 -2.722647)'), GeomFromEWKT('SRID=4674;POINT (-40.426612 -2.722465)'))) / (select extract(epoch from '2026-07-17 10:59:52'::timestamp) - extract(epoch from '2026-07-17 10:59:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426726 -2.722647)'), GeomFromEWKT('SRID=4674;POINT (-40.426612 -2.722465)'))) / (select extract(epoch from '2026-07-17 10:59:52'::timestamp) - extract(epoch from '2026-07-17 10:59: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'), 47831, 'SRID=4674;POINT (-40.426493 -2.722297)', '2026-07-17 11:00:00', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426612 -2.722465)'), GeomFromEWKT('SRID=4674;POINT (-40.426493 -2.722297)'))) / (select extract(epoch from '2026-07-17 11:00:00'::timestamp) - extract(epoch from '2026-07-17 10:59:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426612 -2.722465)'), GeomFromEWKT('SRID=4674;POINT (-40.426493 -2.722297)'))) / (select extract(epoch from '2026-07-17 11:00:00'::timestamp) - extract(epoch from '2026-07-17 10:59: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'), 47831, 'SRID=4674;POINT (-40.426355 -2.722122)', '2026-07-17 11:00:09', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426493 -2.722297)'), GeomFromEWKT('SRID=4674;POINT (-40.426355 -2.722122)'))) / (select extract(epoch from '2026-07-17 11:00:09'::timestamp) - extract(epoch from '2026-07-17 11:00:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426493 -2.722297)'), GeomFromEWKT('SRID=4674;POINT (-40.426355 -2.722122)'))) / (select extract(epoch from '2026-07-17 11:00:09'::timestamp) - extract(epoch from '2026-07-17 11:00: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'), 47831, 'SRID=4674;POINT (-40.426179 -2.72195)', '2026-07-17 11:00:19', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426355 -2.722122)'), GeomFromEWKT('SRID=4674;POINT (-40.426179 -2.72195)'))) / (select extract(epoch from '2026-07-17 11:00:19'::timestamp) - extract(epoch from '2026-07-17 11:00:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426355 -2.722122)'), GeomFromEWKT('SRID=4674;POINT (-40.426179 -2.72195)'))) / (select extract(epoch from '2026-07-17 11:00:19'::timestamp) - extract(epoch from '2026-07-17 11:00:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.426069 -2.721827)', '2026-07-17 11:00:26', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426179 -2.72195)'), GeomFromEWKT('SRID=4674;POINT (-40.426069 -2.721827)'))) / (select extract(epoch from '2026-07-17 11:00:26'::timestamp) - extract(epoch from '2026-07-17 11:00:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426179 -2.72195)'), GeomFromEWKT('SRID=4674;POINT (-40.426069 -2.721827)'))) / (select extract(epoch from '2026-07-17 11:00:26'::timestamp) - extract(epoch from '2026-07-17 11:00:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.425957 -2.721691)', '2026-07-17 11:00:33', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426069 -2.721827)'), GeomFromEWKT('SRID=4674;POINT (-40.425957 -2.721691)'))) / (select extract(epoch from '2026-07-17 11:00:33'::timestamp) - extract(epoch from '2026-07-17 11:00:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426069 -2.721827)'), GeomFromEWKT('SRID=4674;POINT (-40.425957 -2.721691)'))) / (select extract(epoch from '2026-07-17 11:00:33'::timestamp) - extract(epoch from '2026-07-17 11:00: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'), 47831, 'SRID=4674;POINT (-40.425806 -2.721525)', '2026-07-17 11:00:42', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425957 -2.721691)'), GeomFromEWKT('SRID=4674;POINT (-40.425806 -2.721525)'))) / (select extract(epoch from '2026-07-17 11:00:42'::timestamp) - extract(epoch from '2026-07-17 11:00:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425957 -2.721691)'), GeomFromEWKT('SRID=4674;POINT (-40.425806 -2.721525)'))) / (select extract(epoch from '2026-07-17 11:00:42'::timestamp) - extract(epoch from '2026-07-17 11:00:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.425663 -2.721382)', '2026-07-17 11:00:50', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425806 -2.721525)'), GeomFromEWKT('SRID=4674;POINT (-40.425663 -2.721382)'))) / (select extract(epoch from '2026-07-17 11:00:50'::timestamp) - extract(epoch from '2026-07-17 11:00:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425806 -2.721525)'), GeomFromEWKT('SRID=4674;POINT (-40.425663 -2.721382)'))) / (select extract(epoch from '2026-07-17 11:00:50'::timestamp) - extract(epoch from '2026-07-17 11:00: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'), 47831, 'SRID=4674;POINT (-40.425588 -2.721235)', '2026-07-17 11:00:56', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425663 -2.721382)'), GeomFromEWKT('SRID=4674;POINT (-40.425588 -2.721235)'))) / (select extract(epoch from '2026-07-17 11:00:56'::timestamp) - extract(epoch from '2026-07-17 11:00:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425663 -2.721382)'), GeomFromEWKT('SRID=4674;POINT (-40.425588 -2.721235)'))) / (select extract(epoch from '2026-07-17 11:00:56'::timestamp) - extract(epoch from '2026-07-17 11:00:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.425523 -2.721098)', '2026-07-17 11:01:02', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425588 -2.721235)'), GeomFromEWKT('SRID=4674;POINT (-40.425523 -2.721098)'))) / (select extract(epoch from '2026-07-17 11:01:02'::timestamp) - extract(epoch from '2026-07-17 11:00:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425588 -2.721235)'), GeomFromEWKT('SRID=4674;POINT (-40.425523 -2.721098)'))) / (select extract(epoch from '2026-07-17 11:01:02'::timestamp) - extract(epoch from '2026-07-17 11:00: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'), 47831, 'SRID=4674;POINT (-40.425412 -2.720993)', '2026-07-17 11:01:08', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425523 -2.721098)'), GeomFromEWKT('SRID=4674;POINT (-40.425412 -2.720993)'))) / (select extract(epoch from '2026-07-17 11:01:08'::timestamp) - extract(epoch from '2026-07-17 11:01:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425523 -2.721098)'), GeomFromEWKT('SRID=4674;POINT (-40.425412 -2.720993)'))) / (select extract(epoch from '2026-07-17 11:01:08'::timestamp) - extract(epoch from '2026-07-17 11:01:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.425239 -2.720902)', '2026-07-17 11:01:16', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425412 -2.720993)'), GeomFromEWKT('SRID=4674;POINT (-40.425239 -2.720902)'))) / (select extract(epoch from '2026-07-17 11:01:16'::timestamp) - extract(epoch from '2026-07-17 11:01:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425412 -2.720993)'), GeomFromEWKT('SRID=4674;POINT (-40.425239 -2.720902)'))) / (select extract(epoch from '2026-07-17 11:01:16'::timestamp) - extract(epoch from '2026-07-17 11:01:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.425114 -2.720869)', '2026-07-17 11:01:22', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425239 -2.720902)'), GeomFromEWKT('SRID=4674;POINT (-40.425114 -2.720869)'))) / (select extract(epoch from '2026-07-17 11:01:22'::timestamp) - extract(epoch from '2026-07-17 11:01:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425239 -2.720902)'), GeomFromEWKT('SRID=4674;POINT (-40.425114 -2.720869)'))) / (select extract(epoch from '2026-07-17 11:01:22'::timestamp) - extract(epoch from '2026-07-17 11:01:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.424944 -2.7208)', '2026-07-17 11:01:30', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425114 -2.720869)'), GeomFromEWKT('SRID=4674;POINT (-40.424944 -2.7208)'))) / (select extract(epoch from '2026-07-17 11:01:30'::timestamp) - extract(epoch from '2026-07-17 11:01:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425114 -2.720869)'), GeomFromEWKT('SRID=4674;POINT (-40.424944 -2.7208)'))) / (select extract(epoch from '2026-07-17 11:01:30'::timestamp) - extract(epoch from '2026-07-17 11:01: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'), 47831, 'SRID=4674;POINT (-40.424781 -2.720691)', '2026-07-17 11:01:38', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424944 -2.7208)'), GeomFromEWKT('SRID=4674;POINT (-40.424781 -2.720691)'))) / (select extract(epoch from '2026-07-17 11:01:38'::timestamp) - extract(epoch from '2026-07-17 11:01:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424944 -2.7208)'), GeomFromEWKT('SRID=4674;POINT (-40.424781 -2.720691)'))) / (select extract(epoch from '2026-07-17 11:01:38'::timestamp) - extract(epoch from '2026-07-17 11:01: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'), 47831, 'SRID=4674;POINT (-40.424616 -2.720572)', '2026-07-17 11:01:46', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424781 -2.720691)'), GeomFromEWKT('SRID=4674;POINT (-40.424616 -2.720572)'))) / (select extract(epoch from '2026-07-17 11:01:46'::timestamp) - extract(epoch from '2026-07-17 11:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424781 -2.720691)'), GeomFromEWKT('SRID=4674;POINT (-40.424616 -2.720572)'))) / (select extract(epoch from '2026-07-17 11:01:46'::timestamp) - extract(epoch from '2026-07-17 11:01:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.424498 -2.720387)', '2026-07-17 11:01:54', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424616 -2.720572)'), GeomFromEWKT('SRID=4674;POINT (-40.424498 -2.720387)'))) / (select extract(epoch from '2026-07-17 11:01:54'::timestamp) - extract(epoch from '2026-07-17 11:01:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424616 -2.720572)'), GeomFromEWKT('SRID=4674;POINT (-40.424498 -2.720387)'))) / (select extract(epoch from '2026-07-17 11:01:54'::timestamp) - extract(epoch from '2026-07-17 11:01: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'), 47831, 'SRID=4674;POINT (-40.42442 -2.720228)', '2026-07-17 11:02:01', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424498 -2.720387)'), GeomFromEWKT('SRID=4674;POINT (-40.42442 -2.720228)'))) / (select extract(epoch from '2026-07-17 11:02:01'::timestamp) - extract(epoch from '2026-07-17 11:01:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424498 -2.720387)'), GeomFromEWKT('SRID=4674;POINT (-40.42442 -2.720228)'))) / (select extract(epoch from '2026-07-17 11:02:01'::timestamp) - extract(epoch from '2026-07-17 11:01: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'), 47831, 'SRID=4674;POINT (-40.424294 -2.720036)', '2026-07-17 11:02:10', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42442 -2.720228)'), GeomFromEWKT('SRID=4674;POINT (-40.424294 -2.720036)'))) / (select extract(epoch from '2026-07-17 11:02:10'::timestamp) - extract(epoch from '2026-07-17 11:02:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42442 -2.720228)'), GeomFromEWKT('SRID=4674;POINT (-40.424294 -2.720036)'))) / (select extract(epoch from '2026-07-17 11:02:10'::timestamp) - extract(epoch from '2026-07-17 11:02:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.42417 -2.719838)', '2026-07-17 11:02:19', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424294 -2.720036)'), GeomFromEWKT('SRID=4674;POINT (-40.42417 -2.719838)'))) / (select extract(epoch from '2026-07-17 11:02:19'::timestamp) - extract(epoch from '2026-07-17 11:02:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424294 -2.720036)'), GeomFromEWKT('SRID=4674;POINT (-40.42417 -2.719838)'))) / (select extract(epoch from '2026-07-17 11:02:19'::timestamp) - extract(epoch from '2026-07-17 11:02: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'), 47831, 'SRID=4674;POINT (-40.424077 -2.719656)', '2026-07-17 11:02:27', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42417 -2.719838)'), GeomFromEWKT('SRID=4674;POINT (-40.424077 -2.719656)'))) / (select extract(epoch from '2026-07-17 11:02:27'::timestamp) - extract(epoch from '2026-07-17 11:02:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42417 -2.719838)'), GeomFromEWKT('SRID=4674;POINT (-40.424077 -2.719656)'))) / (select extract(epoch from '2026-07-17 11:02:27'::timestamp) - extract(epoch from '2026-07-17 11:02:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.424035 -2.719442)', '2026-07-17 11:02:35', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424077 -2.719656)'), GeomFromEWKT('SRID=4674;POINT (-40.424035 -2.719442)'))) / (select extract(epoch from '2026-07-17 11:02:35'::timestamp) - extract(epoch from '2026-07-17 11:02:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424077 -2.719656)'), GeomFromEWKT('SRID=4674;POINT (-40.424035 -2.719442)'))) / (select extract(epoch from '2026-07-17 11:02:35'::timestamp) - extract(epoch from '2026-07-17 11:02:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.424039 -2.719277)', '2026-07-17 11:02:41', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424035 -2.719442)'), GeomFromEWKT('SRID=4674;POINT (-40.424039 -2.719277)'))) / (select extract(epoch from '2026-07-17 11:02:41'::timestamp) - extract(epoch from '2026-07-17 11:02:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424035 -2.719442)'), GeomFromEWKT('SRID=4674;POINT (-40.424039 -2.719277)'))) / (select extract(epoch from '2026-07-17 11:02:41'::timestamp) - extract(epoch from '2026-07-17 11:02: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'), 47831, 'SRID=4674;POINT (-40.424013 -2.719121)', '2026-07-17 11:02:47', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424039 -2.719277)'), GeomFromEWKT('SRID=4674;POINT (-40.424013 -2.719121)'))) / (select extract(epoch from '2026-07-17 11:02:47'::timestamp) - extract(epoch from '2026-07-17 11:02:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424039 -2.719277)'), GeomFromEWKT('SRID=4674;POINT (-40.424013 -2.719121)'))) / (select extract(epoch from '2026-07-17 11:02:47'::timestamp) - extract(epoch from '2026-07-17 11:02:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.42395 -2.71899)', '2026-07-17 11:02:53', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424013 -2.719121)'), GeomFromEWKT('SRID=4674;POINT (-40.42395 -2.71899)'))) / (select extract(epoch from '2026-07-17 11:02:53'::timestamp) - extract(epoch from '2026-07-17 11:02:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424013 -2.719121)'), GeomFromEWKT('SRID=4674;POINT (-40.42395 -2.71899)'))) / (select extract(epoch from '2026-07-17 11:02:53'::timestamp) - extract(epoch from '2026-07-17 11:02: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'), 47831, 'SRID=4674;POINT (-40.423885 -2.718836)', '2026-07-17 11:02:59', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42395 -2.71899)'), GeomFromEWKT('SRID=4674;POINT (-40.423885 -2.718836)'))) / (select extract(epoch from '2026-07-17 11:02:59'::timestamp) - extract(epoch from '2026-07-17 11:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42395 -2.71899)'), GeomFromEWKT('SRID=4674;POINT (-40.423885 -2.718836)'))) / (select extract(epoch from '2026-07-17 11:02:59'::timestamp) - extract(epoch from '2026-07-17 11:02: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'), 47831, 'SRID=4674;POINT (-40.423751 -2.718665)', '2026-07-17 11:03:07', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423885 -2.718836)'), GeomFromEWKT('SRID=4674;POINT (-40.423751 -2.718665)'))) / (select extract(epoch from '2026-07-17 11:03:07'::timestamp) - extract(epoch from '2026-07-17 11:02:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423885 -2.718836)'), GeomFromEWKT('SRID=4674;POINT (-40.423751 -2.718665)'))) / (select extract(epoch from '2026-07-17 11:03:07'::timestamp) - extract(epoch from '2026-07-17 11:02: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'), 47831, 'SRID=4674;POINT (-40.423603 -2.71852)', '2026-07-17 11:03:15', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423751 -2.718665)'), GeomFromEWKT('SRID=4674;POINT (-40.423603 -2.71852)'))) / (select extract(epoch from '2026-07-17 11:03:15'::timestamp) - extract(epoch from '2026-07-17 11:03:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423751 -2.718665)'), GeomFromEWKT('SRID=4674;POINT (-40.423603 -2.71852)'))) / (select extract(epoch from '2026-07-17 11:03:15'::timestamp) - extract(epoch from '2026-07-17 11:03: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'), 47831, 'SRID=4674;POINT (-40.42345 -2.718396)', '2026-07-17 11:03:23', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423603 -2.71852)'), GeomFromEWKT('SRID=4674;POINT (-40.42345 -2.718396)'))) / (select extract(epoch from '2026-07-17 11:03:23'::timestamp) - extract(epoch from '2026-07-17 11:03:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423603 -2.71852)'), GeomFromEWKT('SRID=4674;POINT (-40.42345 -2.718396)'))) / (select extract(epoch from '2026-07-17 11:03:23'::timestamp) - extract(epoch from '2026-07-17 11:03: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'), 47831, 'SRID=4674;POINT (-40.423325 -2.718274)', '2026-07-17 11:03:30', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42345 -2.718396)'), GeomFromEWKT('SRID=4674;POINT (-40.423325 -2.718274)'))) / (select extract(epoch from '2026-07-17 11:03:30'::timestamp) - extract(epoch from '2026-07-17 11:03:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42345 -2.718396)'), GeomFromEWKT('SRID=4674;POINT (-40.423325 -2.718274)'))) / (select extract(epoch from '2026-07-17 11:03:30'::timestamp) - extract(epoch from '2026-07-17 11:03: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'), 47831, 'SRID=4674;POINT (-40.423243 -2.718114)', '2026-07-17 11:03:37', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423325 -2.718274)'), GeomFromEWKT('SRID=4674;POINT (-40.423243 -2.718114)'))) / (select extract(epoch from '2026-07-17 11:03:37'::timestamp) - extract(epoch from '2026-07-17 11:03:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423325 -2.718274)'), GeomFromEWKT('SRID=4674;POINT (-40.423243 -2.718114)'))) / (select extract(epoch from '2026-07-17 11:03:37'::timestamp) - extract(epoch from '2026-07-17 11:03:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.423108 -2.717945)', '2026-07-17 11:03:45', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423243 -2.718114)'), GeomFromEWKT('SRID=4674;POINT (-40.423108 -2.717945)'))) / (select extract(epoch from '2026-07-17 11:03:45'::timestamp) - extract(epoch from '2026-07-17 11:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423243 -2.718114)'), GeomFromEWKT('SRID=4674;POINT (-40.423108 -2.717945)'))) / (select extract(epoch from '2026-07-17 11:03:45'::timestamp) - extract(epoch from '2026-07-17 11:03: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'), 47831, 'SRID=4674;POINT (-40.42294 -2.717828)', '2026-07-17 11:03:53', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423108 -2.717945)'), GeomFromEWKT('SRID=4674;POINT (-40.42294 -2.717828)'))) / (select extract(epoch from '2026-07-17 11:03:53'::timestamp) - extract(epoch from '2026-07-17 11:03:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423108 -2.717945)'), GeomFromEWKT('SRID=4674;POINT (-40.42294 -2.717828)'))) / (select extract(epoch from '2026-07-17 11:03:53'::timestamp) - extract(epoch from '2026-07-17 11:03: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'), 47831, 'SRID=4674;POINT (-40.422817 -2.717716)', '2026-07-17 11:04:00', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42294 -2.717828)'), GeomFromEWKT('SRID=4674;POINT (-40.422817 -2.717716)'))) / (select extract(epoch from '2026-07-17 11:04:00'::timestamp) - extract(epoch from '2026-07-17 11:03:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42294 -2.717828)'), GeomFromEWKT('SRID=4674;POINT (-40.422817 -2.717716)'))) / (select extract(epoch from '2026-07-17 11:04:00'::timestamp) - extract(epoch from '2026-07-17 11:03:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.422717 -2.717611)', '2026-07-17 11:04:06', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422817 -2.717716)'), GeomFromEWKT('SRID=4674;POINT (-40.422717 -2.717611)'))) / (select extract(epoch from '2026-07-17 11:04:06'::timestamp) - extract(epoch from '2026-07-17 11:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422817 -2.717716)'), GeomFromEWKT('SRID=4674;POINT (-40.422717 -2.717611)'))) / (select extract(epoch from '2026-07-17 11:04:06'::timestamp) - extract(epoch from '2026-07-17 11:04: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'), 47831, 'SRID=4674;POINT (-40.422592 -2.717497)', '2026-07-17 11:04:13', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422717 -2.717611)'), GeomFromEWKT('SRID=4674;POINT (-40.422592 -2.717497)'))) / (select extract(epoch from '2026-07-17 11:04:13'::timestamp) - extract(epoch from '2026-07-17 11:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422717 -2.717611)'), GeomFromEWKT('SRID=4674;POINT (-40.422592 -2.717497)'))) / (select extract(epoch from '2026-07-17 11:04:13'::timestamp) - extract(epoch from '2026-07-17 11:04:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.422466 -2.717367)', '2026-07-17 11:04:20', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422592 -2.717497)'), GeomFromEWKT('SRID=4674;POINT (-40.422466 -2.717367)'))) / (select extract(epoch from '2026-07-17 11:04:20'::timestamp) - extract(epoch from '2026-07-17 11:04:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422592 -2.717497)'), GeomFromEWKT('SRID=4674;POINT (-40.422466 -2.717367)'))) / (select extract(epoch from '2026-07-17 11:04:20'::timestamp) - extract(epoch from '2026-07-17 11:04: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'), 47831, 'SRID=4674;POINT (-40.422321 -2.717219)', '2026-07-17 11:04:28', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422466 -2.717367)'), GeomFromEWKT('SRID=4674;POINT (-40.422321 -2.717219)'))) / (select extract(epoch from '2026-07-17 11:04:28'::timestamp) - extract(epoch from '2026-07-17 11:04:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422466 -2.717367)'), GeomFromEWKT('SRID=4674;POINT (-40.422321 -2.717219)'))) / (select extract(epoch from '2026-07-17 11:04:28'::timestamp) - extract(epoch from '2026-07-17 11:04: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'), 47831, 'SRID=4674;POINT (-40.422229 -2.717118)', '2026-07-17 11:04:34', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422321 -2.717219)'), GeomFromEWKT('SRID=4674;POINT (-40.422229 -2.717118)'))) / (select extract(epoch from '2026-07-17 11:04:34'::timestamp) - extract(epoch from '2026-07-17 11:04:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422321 -2.717219)'), GeomFromEWKT('SRID=4674;POINT (-40.422229 -2.717118)'))) / (select extract(epoch from '2026-07-17 11:04:34'::timestamp) - extract(epoch from '2026-07-17 11:04:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.422154 -2.717039)', '2026-07-17 11:04:40', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422229 -2.717118)'), GeomFromEWKT('SRID=4674;POINT (-40.422154 -2.717039)'))) / (select extract(epoch from '2026-07-17 11:04:40'::timestamp) - extract(epoch from '2026-07-17 11:04:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422229 -2.717118)'), GeomFromEWKT('SRID=4674;POINT (-40.422154 -2.717039)'))) / (select extract(epoch from '2026-07-17 11:04:40'::timestamp) - extract(epoch from '2026-07-17 11:04: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'), 47831, 'SRID=4674;POINT (-40.422085 -2.716955)', '2026-07-17 11:04:47', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422154 -2.717039)'), GeomFromEWKT('SRID=4674;POINT (-40.422085 -2.716955)'))) / (select extract(epoch from '2026-07-17 11:04:47'::timestamp) - extract(epoch from '2026-07-17 11:04:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422154 -2.717039)'), GeomFromEWKT('SRID=4674;POINT (-40.422085 -2.716955)'))) / (select extract(epoch from '2026-07-17 11:04:47'::timestamp) - extract(epoch from '2026-07-17 11:04: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'), 47831, 'SRID=4674;POINT (-40.422034 -2.716887)', '2026-07-17 11:04:54', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422085 -2.716955)'), GeomFromEWKT('SRID=4674;POINT (-40.422034 -2.716887)'))) / (select extract(epoch from '2026-07-17 11:04:54'::timestamp) - extract(epoch from '2026-07-17 11:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422085 -2.716955)'), GeomFromEWKT('SRID=4674;POINT (-40.422034 -2.716887)'))) / (select extract(epoch from '2026-07-17 11:04:54'::timestamp) - extract(epoch from '2026-07-17 11:04: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'), 47831, 'SRID=4674;POINT (-40.421916 -2.716787)', '2026-07-17 11:05:10', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422034 -2.716887)'), GeomFromEWKT('SRID=4674;POINT (-40.421916 -2.716787)'))) / (select extract(epoch from '2026-07-17 11:05:10'::timestamp) - extract(epoch from '2026-07-17 11:04:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422034 -2.716887)'), GeomFromEWKT('SRID=4674;POINT (-40.421916 -2.716787)'))) / (select extract(epoch from '2026-07-17 11:05:10'::timestamp) - extract(epoch from '2026-07-17 11:04: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'), 47831, 'SRID=4674;POINT (-40.421883 -2.716766)', '2026-07-17 11:05:16', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421916 -2.716787)'), GeomFromEWKT('SRID=4674;POINT (-40.421883 -2.716766)'))) / (select extract(epoch from '2026-07-17 11:05:16'::timestamp) - extract(epoch from '2026-07-17 11:05:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421916 -2.716787)'), GeomFromEWKT('SRID=4674;POINT (-40.421883 -2.716766)'))) / (select extract(epoch from '2026-07-17 11:05:16'::timestamp) - extract(epoch from '2026-07-17 11:05:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.421859 -2.716744)', '2026-07-17 11:05:19', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421883 -2.716766)'), GeomFromEWKT('SRID=4674;POINT (-40.421859 -2.716744)'))) / (select extract(epoch from '2026-07-17 11:05:19'::timestamp) - extract(epoch from '2026-07-17 11:05:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421883 -2.716766)'), GeomFromEWKT('SRID=4674;POINT (-40.421859 -2.716744)'))) / (select extract(epoch from '2026-07-17 11:05:19'::timestamp) - extract(epoch from '2026-07-17 11:05:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.421782 -2.716664)', '2026-07-17 11:05:31', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421859 -2.716744)'), GeomFromEWKT('SRID=4674;POINT (-40.421782 -2.716664)'))) / (select extract(epoch from '2026-07-17 11:05:31'::timestamp) - extract(epoch from '2026-07-17 11:05:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421859 -2.716744)'), GeomFromEWKT('SRID=4674;POINT (-40.421782 -2.716664)'))) / (select extract(epoch from '2026-07-17 11:05:31'::timestamp) - extract(epoch from '2026-07-17 11:05:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.421716 -2.71661)', '2026-07-17 11:05:42', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421782 -2.716664)'), GeomFromEWKT('SRID=4674;POINT (-40.421716 -2.71661)'))) / (select extract(epoch from '2026-07-17 11:05:42'::timestamp) - extract(epoch from '2026-07-17 11:05:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421782 -2.716664)'), GeomFromEWKT('SRID=4674;POINT (-40.421716 -2.71661)'))) / (select extract(epoch from '2026-07-17 11:05:42'::timestamp) - extract(epoch from '2026-07-17 11: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'), 47831, 'SRID=4674;POINT (-40.421632 -2.71659)', '2026-07-17 11:05:56', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421716 -2.71661)'), GeomFromEWKT('SRID=4674;POINT (-40.421632 -2.71659)'))) / (select extract(epoch from '2026-07-17 11:05:56'::timestamp) - extract(epoch from '2026-07-17 11:05:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421716 -2.71661)'), GeomFromEWKT('SRID=4674;POINT (-40.421632 -2.71659)'))) / (select extract(epoch from '2026-07-17 11:05:56'::timestamp) - extract(epoch from '2026-07-17 11:05:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.42156 -2.716566)', '2026-07-17 11:06:07', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421632 -2.71659)'), GeomFromEWKT('SRID=4674;POINT (-40.42156 -2.716566)'))) / (select extract(epoch from '2026-07-17 11:06:07'::timestamp) - extract(epoch from '2026-07-17 11:05:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421632 -2.71659)'), GeomFromEWKT('SRID=4674;POINT (-40.42156 -2.716566)'))) / (select extract(epoch from '2026-07-17 11:06:07'::timestamp) - extract(epoch from '2026-07-17 11:05:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.421456 -2.716498)', '2026-07-17 11:06:22', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42156 -2.716566)'), GeomFromEWKT('SRID=4674;POINT (-40.421456 -2.716498)'))) / (select extract(epoch from '2026-07-17 11:06:22'::timestamp) - extract(epoch from '2026-07-17 11:06:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42156 -2.716566)'), GeomFromEWKT('SRID=4674;POINT (-40.421456 -2.716498)'))) / (select extract(epoch from '2026-07-17 11:06:22'::timestamp) - extract(epoch from '2026-07-17 11:06: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'), 47831, 'SRID=4674;POINT (-40.421387 -2.716503)', '2026-07-17 11:06:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421456 -2.716498)'), GeomFromEWKT('SRID=4674;POINT (-40.421387 -2.716503)'))) / (select extract(epoch from '2026-07-17 11:06:36'::timestamp) - extract(epoch from '2026-07-17 11:06:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421456 -2.716498)'), GeomFromEWKT('SRID=4674;POINT (-40.421387 -2.716503)'))) / (select extract(epoch from '2026-07-17 11:06:36'::timestamp) - extract(epoch from '2026-07-17 11:06:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.421368 -2.716508)', '2026-07-17 11:06:47', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421387 -2.716503)'), GeomFromEWKT('SRID=4674;POINT (-40.421368 -2.716508)'))) / (select extract(epoch from '2026-07-17 11:06:47'::timestamp) - extract(epoch from '2026-07-17 11:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421387 -2.716503)'), GeomFromEWKT('SRID=4674;POINT (-40.421368 -2.716508)'))) / (select extract(epoch from '2026-07-17 11:06:47'::timestamp) - extract(epoch from '2026-07-17 11:06: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'), 47831, 'SRID=4674;POINT (-40.421399 -2.716447)', '2026-07-17 11:07:11', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421368 -2.716508)'), GeomFromEWKT('SRID=4674;POINT (-40.421399 -2.716447)'))) / (select extract(epoch from '2026-07-17 11:07:11'::timestamp) - extract(epoch from '2026-07-17 11:06:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421368 -2.716508)'), GeomFromEWKT('SRID=4674;POINT (-40.421399 -2.716447)'))) / (select extract(epoch from '2026-07-17 11:07:11'::timestamp) - extract(epoch from '2026-07-17 11:06:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.42143 -2.716369)', '2026-07-17 11:07:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421399 -2.716447)'), GeomFromEWKT('SRID=4674;POINT (-40.42143 -2.716369)'))) / (select extract(epoch from '2026-07-17 11:07:35'::timestamp) - extract(epoch from '2026-07-17 11:07:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421399 -2.716447)'), GeomFromEWKT('SRID=4674;POINT (-40.42143 -2.716369)'))) / (select extract(epoch from '2026-07-17 11:07:35'::timestamp) - extract(epoch from '2026-07-17 11:07:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.421452 -2.716338)', '2026-07-17 11:07:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42143 -2.716369)'), GeomFromEWKT('SRID=4674;POINT (-40.421452 -2.716338)'))) / (select extract(epoch from '2026-07-17 11:07:45'::timestamp) - extract(epoch from '2026-07-17 11:07:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42143 -2.716369)'), GeomFromEWKT('SRID=4674;POINT (-40.421452 -2.716338)'))) / (select extract(epoch from '2026-07-17 11:07:45'::timestamp) - extract(epoch from '2026-07-17 11:07:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.421501 -2.716243)', '2026-07-17 11:07:59', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421452 -2.716338)'), GeomFromEWKT('SRID=4674;POINT (-40.421501 -2.716243)'))) / (select extract(epoch from '2026-07-17 11:07:59'::timestamp) - extract(epoch from '2026-07-17 11:07:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421452 -2.716338)'), GeomFromEWKT('SRID=4674;POINT (-40.421501 -2.716243)'))) / (select extract(epoch from '2026-07-17 11:07:59'::timestamp) - extract(epoch from '2026-07-17 11: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'), 47831, 'SRID=4674;POINT (-40.421491 -2.716156)', '2026-07-17 11:08:14', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421501 -2.716243)'), GeomFromEWKT('SRID=4674;POINT (-40.421491 -2.716156)'))) / (select extract(epoch from '2026-07-17 11:08:14'::timestamp) - extract(epoch from '2026-07-17 11:07:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421501 -2.716243)'), GeomFromEWKT('SRID=4674;POINT (-40.421491 -2.716156)'))) / (select extract(epoch from '2026-07-17 11:08:14'::timestamp) - extract(epoch from '2026-07-17 11:07: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'), 47831, 'SRID=4674;POINT (-40.421455 -2.716148)', '2026-07-17 11:08:23', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421491 -2.716156)'), GeomFromEWKT('SRID=4674;POINT (-40.421455 -2.716148)'))) / (select extract(epoch from '2026-07-17 11:08:23'::timestamp) - extract(epoch from '2026-07-17 11:08:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421491 -2.716156)'), GeomFromEWKT('SRID=4674;POINT (-40.421455 -2.716148)'))) / (select extract(epoch from '2026-07-17 11:08:23'::timestamp) - extract(epoch from '2026-07-17 11:08: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'), 47831, 'SRID=4674;POINT (-40.421431 -2.716175)', '2026-07-17 11:08:32', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421455 -2.716148)'), GeomFromEWKT('SRID=4674;POINT (-40.421431 -2.716175)'))) / (select extract(epoch from '2026-07-17 11:08:32'::timestamp) - extract(epoch from '2026-07-17 11:08:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421455 -2.716148)'), GeomFromEWKT('SRID=4674;POINT (-40.421431 -2.716175)'))) / (select extract(epoch from '2026-07-17 11:08:32'::timestamp) - extract(epoch from '2026-07-17 11:08:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.421418 -2.716268)', '2026-07-17 11:08:48', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421431 -2.716175)'), GeomFromEWKT('SRID=4674;POINT (-40.421418 -2.716268)'))) / (select extract(epoch from '2026-07-17 11:08:48'::timestamp) - extract(epoch from '2026-07-17 11:08:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421431 -2.716175)'), GeomFromEWKT('SRID=4674;POINT (-40.421418 -2.716268)'))) / (select extract(epoch from '2026-07-17 11:08:48'::timestamp) - extract(epoch from '2026-07-17 11:08: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'), 47831, 'SRID=4674;POINT (-40.4214 -2.716338)', '2026-07-17 11:09:01', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421418 -2.716268)'), GeomFromEWKT('SRID=4674;POINT (-40.4214 -2.716338)'))) / (select extract(epoch from '2026-07-17 11:09:01'::timestamp) - extract(epoch from '2026-07-17 11:08:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421418 -2.716268)'), GeomFromEWKT('SRID=4674;POINT (-40.4214 -2.716338)'))) / (select extract(epoch from '2026-07-17 11:09:01'::timestamp) - extract(epoch from '2026-07-17 11:08:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.42139 -2.716364)', '2026-07-17 11:09:12', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4214 -2.716338)'), GeomFromEWKT('SRID=4674;POINT (-40.42139 -2.716364)'))) / (select extract(epoch from '2026-07-17 11:09:12'::timestamp) - extract(epoch from '2026-07-17 11:09:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4214 -2.716338)'), GeomFromEWKT('SRID=4674;POINT (-40.42139 -2.716364)'))) / (select extract(epoch from '2026-07-17 11:09:12'::timestamp) - extract(epoch from '2026-07-17 11:09: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'), 47831, 'SRID=4674;POINT (-40.421421 -2.716336)', '2026-07-17 11:09:28', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42139 -2.716364)'), GeomFromEWKT('SRID=4674;POINT (-40.421421 -2.716336)'))) / (select extract(epoch from '2026-07-17 11:09:28'::timestamp) - extract(epoch from '2026-07-17 11:09:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42139 -2.716364)'), GeomFromEWKT('SRID=4674;POINT (-40.421421 -2.716336)'))) / (select extract(epoch from '2026-07-17 11:09:28'::timestamp) - extract(epoch from '2026-07-17 11:09: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'), 47831, 'SRID=4674;POINT (-40.421431 -2.716322)', '2026-07-17 11:09:37', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421421 -2.716336)'), GeomFromEWKT('SRID=4674;POINT (-40.421431 -2.716322)'))) / (select extract(epoch from '2026-07-17 11:09:37'::timestamp) - extract(epoch from '2026-07-17 11:09:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421421 -2.716336)'), GeomFromEWKT('SRID=4674;POINT (-40.421431 -2.716322)'))) / (select extract(epoch from '2026-07-17 11:09:37'::timestamp) - extract(epoch from '2026-07-17 11:09: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'), 47831, 'SRID=4674;POINT (-40.421456 -2.716272)', '2026-07-17 11:09:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421431 -2.716322)'), GeomFromEWKT('SRID=4674;POINT (-40.421456 -2.716272)'))) / (select extract(epoch from '2026-07-17 11:09:47'::timestamp) - extract(epoch from '2026-07-17 11:09:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421431 -2.716322)'), GeomFromEWKT('SRID=4674;POINT (-40.421456 -2.716272)'))) / (select extract(epoch from '2026-07-17 11:09:47'::timestamp) - extract(epoch from '2026-07-17 11:09: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'), 47831, 'SRID=4674;POINT (-40.421476 -2.716224)', '2026-07-17 11:09:56', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421456 -2.716272)'), GeomFromEWKT('SRID=4674;POINT (-40.421476 -2.716224)'))) / (select extract(epoch from '2026-07-17 11:09:56'::timestamp) - extract(epoch from '2026-07-17 11:09:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421456 -2.716272)'), GeomFromEWKT('SRID=4674;POINT (-40.421476 -2.716224)'))) / (select extract(epoch from '2026-07-17 11:09:56'::timestamp) - extract(epoch from '2026-07-17 11:09: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'), 47831, 'SRID=4674;POINT (-40.4215 -2.716178)', '2026-07-17 11:10:08', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421476 -2.716224)'), GeomFromEWKT('SRID=4674;POINT (-40.4215 -2.716178)'))) / (select extract(epoch from '2026-07-17 11:10:08'::timestamp) - extract(epoch from '2026-07-17 11:09:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421476 -2.716224)'), GeomFromEWKT('SRID=4674;POINT (-40.4215 -2.716178)'))) / (select extract(epoch from '2026-07-17 11:10:08'::timestamp) - extract(epoch from '2026-07-17 11:09:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
