 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.76090785116 -2.8820586483926)', '2026-07-03 14:56:13', 2.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760880693793 -2.8820133861154)'), GeomFromEWKT('SRID=4674;POINT (-39.76090785116 -2.8820586483926)'))) / (select extract(epoch from '2026-07-03 14:56:13'::timestamp) - extract(epoch from '2026-07-03 14:56:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760880693793 -2.8820133861154)'), GeomFromEWKT('SRID=4674;POINT (-39.76090785116 -2.8820586483926)'))) / (select extract(epoch from '2026-07-03 14:56:13'::timestamp) - extract(epoch from '2026-07-03 14:56:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.760937187821 -2.8820951934904)', '2026-07-03 14:56:15', 2.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76090785116 -2.8820586483926)'), GeomFromEWKT('SRID=4674;POINT (-39.760937187821 -2.8820951934904)'))) / (select extract(epoch from '2026-07-03 14:56:15'::timestamp) - extract(epoch from '2026-07-03 14:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76090785116 -2.8820586483926)'), GeomFromEWKT('SRID=4674;POINT (-39.760937187821 -2.8820951934904)'))) / (select extract(epoch from '2026-07-03 14:56:15'::timestamp) - extract(epoch from '2026-07-03 14:56: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'), 47871, 'SRID=4674;POINT (-39.761030478403 -2.8822186589241)', '2026-07-03 14:56:22', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760937187821 -2.8820951934904)'), GeomFromEWKT('SRID=4674;POINT (-39.761030478403 -2.8822186589241)'))) / (select extract(epoch from '2026-07-03 14:56:22'::timestamp) - extract(epoch from '2026-07-03 14:56:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760937187821 -2.8820951934904)'), GeomFromEWKT('SRID=4674;POINT (-39.761030478403 -2.8822186589241)'))) / (select extract(epoch from '2026-07-03 14:56:22'::timestamp) - extract(epoch from '2026-07-03 14:56: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'), 47871, 'SRID=4674;POINT (-39.761096276343 -2.88231077604)', '2026-07-03 14:56:27', 1.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761030478403 -2.8822186589241)'), GeomFromEWKT('SRID=4674;POINT (-39.761096276343 -2.88231077604)'))) / (select extract(epoch from '2026-07-03 14:56:27'::timestamp) - extract(epoch from '2026-07-03 14:56:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761030478403 -2.8822186589241)'), GeomFromEWKT('SRID=4674;POINT (-39.761096276343 -2.88231077604)'))) / (select extract(epoch from '2026-07-03 14:56:27'::timestamp) - extract(epoch from '2026-07-03 14:56: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'), 47871, 'SRID=4674;POINT (-39.761178335175 -2.8824216686189)', '2026-07-03 14:56:33', 1.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761096276343 -2.88231077604)'), GeomFromEWKT('SRID=4674;POINT (-39.761178335175 -2.8824216686189)'))) / (select extract(epoch from '2026-07-03 14:56:33'::timestamp) - extract(epoch from '2026-07-03 14:56:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761096276343 -2.88231077604)'), GeomFromEWKT('SRID=4674;POINT (-39.761178335175 -2.8824216686189)'))) / (select extract(epoch from '2026-07-03 14:56:33'::timestamp) - extract(epoch from '2026-07-03 14:56: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'), 47871, 'SRID=4674;POINT (-39.761262824759 -2.8825397696346)', '2026-07-03 14:56:39', 1.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761178335175 -2.8824216686189)'), GeomFromEWKT('SRID=4674;POINT (-39.761262824759 -2.8825397696346)'))) / (select extract(epoch from '2026-07-03 14:56:39'::timestamp) - extract(epoch from '2026-07-03 14:56:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761178335175 -2.8824216686189)'), GeomFromEWKT('SRID=4674;POINT (-39.761262824759 -2.8825397696346)'))) / (select extract(epoch from '2026-07-03 14:56:39'::timestamp) - extract(epoch from '2026-07-03 14:56: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'), 47871, 'SRID=4674;POINT (-39.761324264109 -2.8826312161982)', '2026-07-03 14:56:44', 1.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761262824759 -2.8825397696346)'), GeomFromEWKT('SRID=4674;POINT (-39.761324264109 -2.8826312161982)'))) / (select extract(epoch from '2026-07-03 14:56:44'::timestamp) - extract(epoch from '2026-07-03 14:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761262824759 -2.8825397696346)'), GeomFromEWKT('SRID=4674;POINT (-39.761324264109 -2.8826312161982)'))) / (select extract(epoch from '2026-07-03 14:56:44'::timestamp) - extract(epoch from '2026-07-03 14:56: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'), 47871, 'SRID=4674;POINT (-39.761401042342 -2.8827270213515)', '2026-07-03 14:56:49', 1.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761324264109 -2.8826312161982)'), GeomFromEWKT('SRID=4674;POINT (-39.761401042342 -2.8827270213515)'))) / (select extract(epoch from '2026-07-03 14:56:49'::timestamp) - extract(epoch from '2026-07-03 14:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761324264109 -2.8826312161982)'), GeomFromEWKT('SRID=4674;POINT (-39.761401042342 -2.8827270213515)'))) / (select extract(epoch from '2026-07-03 14:56:49'::timestamp) - extract(epoch from '2026-07-03 14: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'), 47871, 'SRID=4674;POINT (-39.761457284912 -2.8828179650009)', '2026-07-03 14:56:54', 1.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761401042342 -2.8827270213515)'), GeomFromEWKT('SRID=4674;POINT (-39.761457284912 -2.8828179650009)'))) / (select extract(epoch from '2026-07-03 14:56:54'::timestamp) - extract(epoch from '2026-07-03 14:56:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761401042342 -2.8827270213515)'), GeomFromEWKT('SRID=4674;POINT (-39.761457284912 -2.8828179650009)'))) / (select extract(epoch from '2026-07-03 14:56:54'::timestamp) - extract(epoch from '2026-07-03 14:56: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'), 47871, 'SRID=4674;POINT (-39.761523334309 -2.8829298634082)', '2026-07-03 14:57:00', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761457284912 -2.8828179650009)'), GeomFromEWKT('SRID=4674;POINT (-39.761523334309 -2.8829298634082)'))) / (select extract(epoch from '2026-07-03 14:57:00'::timestamp) - extract(epoch from '2026-07-03 14:56:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761457284912 -2.8828179650009)'), GeomFromEWKT('SRID=4674;POINT (-39.761523334309 -2.8829298634082)'))) / (select extract(epoch from '2026-07-03 14:57:00'::timestamp) - extract(epoch from '2026-07-03 14:56:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.761627521366 -2.8830662369728)', '2026-07-03 14:57:08', 2.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761523334309 -2.8829298634082)'), GeomFromEWKT('SRID=4674;POINT (-39.761627521366 -2.8830662369728)'))) / (select extract(epoch from '2026-07-03 14:57:08'::timestamp) - extract(epoch from '2026-07-03 14:57:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761523334309 -2.8829298634082)'), GeomFromEWKT('SRID=4674;POINT (-39.761627521366 -2.8830662369728)'))) / (select extract(epoch from '2026-07-03 14:57:08'::timestamp) - extract(epoch from '2026-07-03 14:57: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'), 47871, 'SRID=4674;POINT (-39.761719387025 -2.8831688314676)', '2026-07-03 14:57:14', 2.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761627521366 -2.8830662369728)'), GeomFromEWKT('SRID=4674;POINT (-39.761719387025 -2.8831688314676)'))) / (select extract(epoch from '2026-07-03 14:57:14'::timestamp) - extract(epoch from '2026-07-03 14:57:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761627521366 -2.8830662369728)'), GeomFromEWKT('SRID=4674;POINT (-39.761719387025 -2.8831688314676)'))) / (select extract(epoch from '2026-07-03 14:57:14'::timestamp) - extract(epoch from '2026-07-03 14:57: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'), 47871, 'SRID=4674;POINT (-39.761812761426 -2.8832717612386)', '2026-07-03 14:57:20', 2.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761719387025 -2.8831688314676)'), GeomFromEWKT('SRID=4674;POINT (-39.761812761426 -2.8832717612386)'))) / (select extract(epoch from '2026-07-03 14:57:20'::timestamp) - extract(epoch from '2026-07-03 14:57:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761719387025 -2.8831688314676)'), GeomFromEWKT('SRID=4674;POINT (-39.761812761426 -2.8832717612386)'))) / (select extract(epoch from '2026-07-03 14:57:20'::timestamp) - extract(epoch from '2026-07-03 14:57: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'), 47871, 'SRID=4674;POINT (-39.761902196333 -2.8833755291998)', '2026-07-03 14:57:26', 2.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761812761426 -2.8832717612386)'), GeomFromEWKT('SRID=4674;POINT (-39.761902196333 -2.8833755291998)'))) / (select extract(epoch from '2026-07-03 14:57:26'::timestamp) - extract(epoch from '2026-07-03 14:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761812761426 -2.8832717612386)'), GeomFromEWKT('SRID=4674;POINT (-39.761902196333 -2.8833755291998)'))) / (select extract(epoch from '2026-07-03 14:57:26'::timestamp) - extract(epoch from '2026-07-03 14:57: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'), 47871, 'SRID=4674;POINT (-39.761987691745 -2.8834800515324)', '2026-07-03 14:57:32', 2.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761902196333 -2.8833755291998)'), GeomFromEWKT('SRID=4674;POINT (-39.761987691745 -2.8834800515324)'))) / (select extract(epoch from '2026-07-03 14:57:32'::timestamp) - extract(epoch from '2026-07-03 14:57:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761902196333 -2.8833755291998)'), GeomFromEWKT('SRID=4674;POINT (-39.761987691745 -2.8834800515324)'))) / (select extract(epoch from '2026-07-03 14:57:32'::timestamp) - extract(epoch from '2026-07-03 14: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'), 47871, 'SRID=4674;POINT (-39.762061536312 -2.8835878428072)', '2026-07-03 14:57:38', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761987691745 -2.8834800515324)'), GeomFromEWKT('SRID=4674;POINT (-39.762061536312 -2.8835878428072)'))) / (select extract(epoch from '2026-07-03 14:57:38'::timestamp) - extract(epoch from '2026-07-03 14:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761987691745 -2.8834800515324)'), GeomFromEWKT('SRID=4674;POINT (-39.762061536312 -2.8835878428072)'))) / (select extract(epoch from '2026-07-03 14:57:38'::timestamp) - extract(epoch from '2026-07-03 14:57:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.762129765004 -2.8836569935083)', '2026-07-03 14:57:42', 2.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762061536312 -2.8835878428072)'), GeomFromEWKT('SRID=4674;POINT (-39.762129765004 -2.8836569935083)'))) / (select extract(epoch from '2026-07-03 14:57:42'::timestamp) - extract(epoch from '2026-07-03 14:57:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762061536312 -2.8835878428072)'), GeomFromEWKT('SRID=4674;POINT (-39.762129765004 -2.8836569935083)'))) / (select extract(epoch from '2026-07-03 14:57:42'::timestamp) - extract(epoch from '2026-07-03 14:57: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'), 47871, 'SRID=4674;POINT (-39.762190366164 -2.8837499488145)', '2026-07-03 14:57:47', 2.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762129765004 -2.8836569935083)'), GeomFromEWKT('SRID=4674;POINT (-39.762190366164 -2.8837499488145)'))) / (select extract(epoch from '2026-07-03 14:57:47'::timestamp) - extract(epoch from '2026-07-03 14:57:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762129765004 -2.8836569935083)'), GeomFromEWKT('SRID=4674;POINT (-39.762190366164 -2.8837499488145)'))) / (select extract(epoch from '2026-07-03 14:57:47'::timestamp) - extract(epoch from '2026-07-03 14:57: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'), 47871, 'SRID=4674;POINT (-39.762273430824 -2.8838694747537)', '2026-07-03 14:57:54', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762190366164 -2.8837499488145)'), GeomFromEWKT('SRID=4674;POINT (-39.762273430824 -2.8838694747537)'))) / (select extract(epoch from '2026-07-03 14:57:54'::timestamp) - extract(epoch from '2026-07-03 14:57:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762190366164 -2.8837499488145)'), GeomFromEWKT('SRID=4674;POINT (-39.762273430824 -2.8838694747537)'))) / (select extract(epoch from '2026-07-03 14:57:54'::timestamp) - extract(epoch from '2026-07-03 14:57: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'), 47871, 'SRID=4674;POINT (-39.76234828122 -2.8839750867337)', '2026-07-03 14:58:00', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762273430824 -2.8838694747537)'), GeomFromEWKT('SRID=4674;POINT (-39.76234828122 -2.8839750867337)'))) / (select extract(epoch from '2026-07-03 14:58:00'::timestamp) - extract(epoch from '2026-07-03 14:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762273430824 -2.8838694747537)'), GeomFromEWKT('SRID=4674;POINT (-39.76234828122 -2.8839750867337)'))) / (select extract(epoch from '2026-07-03 14:58:00'::timestamp) - extract(epoch from '2026-07-03 14:57:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.762431094423 -2.8840814530849)', '2026-07-03 14:58:06', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76234828122 -2.8839750867337)'), GeomFromEWKT('SRID=4674;POINT (-39.762431094423 -2.8840814530849)'))) / (select extract(epoch from '2026-07-03 14:58:06'::timestamp) - extract(epoch from '2026-07-03 14:58:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76234828122 -2.8839750867337)'), GeomFromEWKT('SRID=4674;POINT (-39.762431094423 -2.8840814530849)'))) / (select extract(epoch from '2026-07-03 14:58:06'::timestamp) - extract(epoch from '2026-07-03 14:58: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'), 47871, 'SRID=4674;POINT (-39.762450540438 -2.8841113764793)', '2026-07-03 14:58:08', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762431094423 -2.8840814530849)'), GeomFromEWKT('SRID=4674;POINT (-39.762450540438 -2.8841113764793)'))) / (select extract(epoch from '2026-07-03 14:58:08'::timestamp) - extract(epoch from '2026-07-03 14:58:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762431094423 -2.8840814530849)'), GeomFromEWKT('SRID=4674;POINT (-39.762450540438 -2.8841113764793)'))) / (select extract(epoch from '2026-07-03 14:58:08'::timestamp) - extract(epoch from '2026-07-03 14: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'), 47871, 'SRID=4674;POINT (-39.762481888756 -2.8841489274055)', '2026-07-03 14:58:10', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762450540438 -2.8841113764793)'), GeomFromEWKT('SRID=4674;POINT (-39.762481888756 -2.8841489274055)'))) / (select extract(epoch from '2026-07-03 14:58:10'::timestamp) - extract(epoch from '2026-07-03 14:58:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762450540438 -2.8841113764793)'), GeomFromEWKT('SRID=4674;POINT (-39.762481888756 -2.8841489274055)'))) / (select extract(epoch from '2026-07-03 14:58:10'::timestamp) - extract(epoch from '2026-07-03 14:58:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.762535616755 -2.8842346742749)', '2026-07-03 14:58:15', 2.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762481888756 -2.8841489274055)'), GeomFromEWKT('SRID=4674;POINT (-39.762535616755 -2.8842346742749)'))) / (select extract(epoch from '2026-07-03 14:58:15'::timestamp) - extract(epoch from '2026-07-03 14:58:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762481888756 -2.8841489274055)'), GeomFromEWKT('SRID=4674;POINT (-39.762535616755 -2.8842346742749)'))) / (select extract(epoch from '2026-07-03 14:58:15'::timestamp) - extract(epoch from '2026-07-03 14:58: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'), 47871, 'SRID=4674;POINT (-39.762599486858 -2.8843208402395)', '2026-07-03 14:58:20', 2.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762535616755 -2.8842346742749)'), GeomFromEWKT('SRID=4674;POINT (-39.762599486858 -2.8843208402395)'))) / (select extract(epoch from '2026-07-03 14:58:20'::timestamp) - extract(epoch from '2026-07-03 14:58:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762535616755 -2.8842346742749)'), GeomFromEWKT('SRID=4674;POINT (-39.762599486858 -2.8843208402395)'))) / (select extract(epoch from '2026-07-03 14:58:20'::timestamp) - extract(epoch from '2026-07-03 14:58: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'), 47871, 'SRID=4674;POINT (-39.762671655044 -2.8844202496111)', '2026-07-03 14:58:26', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762599486858 -2.8843208402395)'), GeomFromEWKT('SRID=4674;POINT (-39.762671655044 -2.8844202496111)'))) / (select extract(epoch from '2026-07-03 14:58:26'::timestamp) - extract(epoch from '2026-07-03 14:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762599486858 -2.8843208402395)'), GeomFromEWKT('SRID=4674;POINT (-39.762671655044 -2.8844202496111)'))) / (select extract(epoch from '2026-07-03 14:58:26'::timestamp) - extract(epoch from '2026-07-03 14:58:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.762747175992 -2.884517731145)', '2026-07-03 14:58:32', 2.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762671655044 -2.8844202496111)'), GeomFromEWKT('SRID=4674;POINT (-39.762747175992 -2.884517731145)'))) / (select extract(epoch from '2026-07-03 14:58:32'::timestamp) - extract(epoch from '2026-07-03 14:58:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762671655044 -2.8844202496111)'), GeomFromEWKT('SRID=4674;POINT (-39.762747175992 -2.884517731145)'))) / (select extract(epoch from '2026-07-03 14:58:32'::timestamp) - extract(epoch from '2026-07-03 14:58: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'), 47871, 'SRID=4674;POINT (-39.76281305775 -2.8846137877554)', '2026-07-03 14:58:38', 1.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762747175992 -2.884517731145)'), GeomFromEWKT('SRID=4674;POINT (-39.76281305775 -2.8846137877554)'))) / (select extract(epoch from '2026-07-03 14:58:38'::timestamp) - extract(epoch from '2026-07-03 14:58:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762747175992 -2.884517731145)'), GeomFromEWKT('SRID=4674;POINT (-39.76281305775 -2.8846137877554)'))) / (select extract(epoch from '2026-07-03 14:58:38'::timestamp) - extract(epoch from '2026-07-03 14:58: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'), 47871, 'SRID=4674;POINT (-39.762908946723 -2.8847359959036)', '2026-07-03 14:58:45', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76281305775 -2.8846137877554)'), GeomFromEWKT('SRID=4674;POINT (-39.762908946723 -2.8847359959036)'))) / (select extract(epoch from '2026-07-03 14:58:45'::timestamp) - extract(epoch from '2026-07-03 14:58:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76281305775 -2.8846137877554)'), GeomFromEWKT('SRID=4674;POINT (-39.762908946723 -2.8847359959036)'))) / (select extract(epoch from '2026-07-03 14:58:45'::timestamp) - extract(epoch from '2026-07-03 14:58: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'), 47871, 'SRID=4674;POINT (-39.762948425487 -2.8847870416939)', '2026-07-03 14:58:48', 2.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762908946723 -2.8847359959036)'), GeomFromEWKT('SRID=4674;POINT (-39.762948425487 -2.8847870416939)'))) / (select extract(epoch from '2026-07-03 14:58:48'::timestamp) - extract(epoch from '2026-07-03 14:58:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762908946723 -2.8847359959036)'), GeomFromEWKT('SRID=4674;POINT (-39.762948425487 -2.8847870416939)'))) / (select extract(epoch from '2026-07-03 14:58:48'::timestamp) - extract(epoch from '2026-07-03 14:58:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.76296024397 -2.8848065715283)', '2026-07-03 14:58:49', 2.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762948425487 -2.8847870416939)'), GeomFromEWKT('SRID=4674;POINT (-39.76296024397 -2.8848065715283)'))) / (select extract(epoch from '2026-07-03 14:58:49'::timestamp) - extract(epoch from '2026-07-03 14:58:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762948425487 -2.8847870416939)'), GeomFromEWKT('SRID=4674;POINT (-39.76296024397 -2.8848065715283)'))) / (select extract(epoch from '2026-07-03 14:58:49'::timestamp) - extract(epoch from '2026-07-03 14:58: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'), 47871, 'SRID=4674;POINT (-39.763052696362 -2.8849337249994)', '2026-07-03 14:58:56', 2.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76296024397 -2.8848065715283)'), GeomFromEWKT('SRID=4674;POINT (-39.763052696362 -2.8849337249994)'))) / (select extract(epoch from '2026-07-03 14:58:56'::timestamp) - extract(epoch from '2026-07-03 14:58:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76296024397 -2.8848065715283)'), GeomFromEWKT('SRID=4674;POINT (-39.763052696362 -2.8849337249994)'))) / (select extract(epoch from '2026-07-03 14:58:56'::timestamp) - extract(epoch from '2026-07-03 14:58: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'), 47871, 'SRID=4674;POINT (-39.763177921996 -2.8851065598428)', '2026-07-03 14:59:05', 2.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763052696362 -2.8849337249994)'), GeomFromEWKT('SRID=4674;POINT (-39.763177921996 -2.8851065598428)'))) / (select extract(epoch from '2026-07-03 14:59:05'::timestamp) - extract(epoch from '2026-07-03 14:58:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763052696362 -2.8849337249994)'), GeomFromEWKT('SRID=4674;POINT (-39.763177921996 -2.8851065598428)'))) / (select extract(epoch from '2026-07-03 14:59:05'::timestamp) - extract(epoch from '2026-07-03 14:58: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'), 47871, 'SRID=4674;POINT (-39.763257717714 -2.8852098248899)', '2026-07-03 14:59:11', 2.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763177921996 -2.8851065598428)'), GeomFromEWKT('SRID=4674;POINT (-39.763257717714 -2.8852098248899)'))) / (select extract(epoch from '2026-07-03 14:59:11'::timestamp) - extract(epoch from '2026-07-03 14:59:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763177921996 -2.8851065598428)'), GeomFromEWKT('SRID=4674;POINT (-39.763257717714 -2.8852098248899)'))) / (select extract(epoch from '2026-07-03 14:59:11'::timestamp) - extract(epoch from '2026-07-03 14:59: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'), 47871, 'SRID=4674;POINT (-39.76333424449 -2.8853082284331)', '2026-07-03 14:59:16', 2.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763257717714 -2.8852098248899)'), GeomFromEWKT('SRID=4674;POINT (-39.76333424449 -2.8853082284331)'))) / (select extract(epoch from '2026-07-03 14:59:16'::timestamp) - extract(epoch from '2026-07-03 14:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763257717714 -2.8852098248899)'), GeomFromEWKT('SRID=4674;POINT (-39.76333424449 -2.8853082284331)'))) / (select extract(epoch from '2026-07-03 14:59:16'::timestamp) - extract(epoch from '2026-07-03 14: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'), 47871, 'SRID=4674;POINT (-39.763396689668 -2.8853962384164)', '2026-07-03 14:59:21', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76333424449 -2.8853082284331)'), GeomFromEWKT('SRID=4674;POINT (-39.763396689668 -2.8853962384164)'))) / (select extract(epoch from '2026-07-03 14:59:21'::timestamp) - extract(epoch from '2026-07-03 14:59:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76333424449 -2.8853082284331)'), GeomFromEWKT('SRID=4674;POINT (-39.763396689668 -2.8853962384164)'))) / (select extract(epoch from '2026-07-03 14:59:21'::timestamp) - extract(epoch from '2026-07-03 14:59: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'), 47871, 'SRID=4674;POINT (-39.763473384082 -2.8855055384338)', '2026-07-03 14:59:27', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763396689668 -2.8853962384164)'), GeomFromEWKT('SRID=4674;POINT (-39.763473384082 -2.8855055384338)'))) / (select extract(epoch from '2026-07-03 14:59:27'::timestamp) - extract(epoch from '2026-07-03 14:59:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763396689668 -2.8853962384164)'), GeomFromEWKT('SRID=4674;POINT (-39.763473384082 -2.8855055384338)'))) / (select extract(epoch from '2026-07-03 14:59:27'::timestamp) - extract(epoch from '2026-07-03 14:59: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'), 47871, 'SRID=4674;POINT (-39.763561729342 -2.8856267407537)', '2026-07-03 14:59:34', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763473384082 -2.8855055384338)'), GeomFromEWKT('SRID=4674;POINT (-39.763561729342 -2.8856267407537)'))) / (select extract(epoch from '2026-07-03 14:59:34'::timestamp) - extract(epoch from '2026-07-03 14:59:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763473384082 -2.8855055384338)'), GeomFromEWKT('SRID=4674;POINT (-39.763561729342 -2.8856267407537)'))) / (select extract(epoch from '2026-07-03 14:59:34'::timestamp) - extract(epoch from '2026-07-03 14:59: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'), 47871, 'SRID=4674;POINT (-39.7636311315 -2.8857384715229)', '2026-07-03 14:59:40', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763561729342 -2.8856267407537)'), GeomFromEWKT('SRID=4674;POINT (-39.7636311315 -2.8857384715229)'))) / (select extract(epoch from '2026-07-03 14:59:40'::timestamp) - extract(epoch from '2026-07-03 14:59:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763561729342 -2.8856267407537)'), GeomFromEWKT('SRID=4674;POINT (-39.7636311315 -2.8857384715229)'))) / (select extract(epoch from '2026-07-03 14:59:40'::timestamp) - extract(epoch from '2026-07-03 14:59: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'), 47871, 'SRID=4674;POINT (-39.763691397384 -2.8858342766762)', '2026-07-03 14:59:45', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7636311315 -2.8857384715229)'), GeomFromEWKT('SRID=4674;POINT (-39.763691397384 -2.8858342766762)'))) / (select extract(epoch from '2026-07-03 14:59:45'::timestamp) - extract(epoch from '2026-07-03 14:59:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7636311315 -2.8857384715229)'), GeomFromEWKT('SRID=4674;POINT (-39.763691397384 -2.8858342766762)'))) / (select extract(epoch from '2026-07-03 14:59:45'::timestamp) - extract(epoch from '2026-07-03 14:59:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.763744287193 -2.8859255556017)', '2026-07-03 14:59:50', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763691397384 -2.8858342766762)'), GeomFromEWKT('SRID=4674;POINT (-39.763744287193 -2.8859255556017)'))) / (select extract(epoch from '2026-07-03 14:59:50'::timestamp) - extract(epoch from '2026-07-03 14:59:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763691397384 -2.8858342766762)'), GeomFromEWKT('SRID=4674;POINT (-39.763744287193 -2.8859255556017)'))) / (select extract(epoch from '2026-07-03 14:59:50'::timestamp) - extract(epoch from '2026-07-03 14:59:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.763852078468 -2.8860801178962)', '2026-07-03 14:59:58', 2.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763744287193 -2.8859255556017)'), GeomFromEWKT('SRID=4674;POINT (-39.763852078468 -2.8860801178962)'))) / (select extract(epoch from '2026-07-03 14:59:58'::timestamp) - extract(epoch from '2026-07-03 14:59:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763744287193 -2.8859255556017)'), GeomFromEWKT('SRID=4674;POINT (-39.763852078468 -2.8860801178962)'))) / (select extract(epoch from '2026-07-03 14:59:58'::timestamp) - extract(epoch from '2026-07-03 14:59: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'), 47871, 'SRID=4674;POINT (-39.763904884458 -2.8861663676798)', '2026-07-03 15:00:03', 2.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763852078468 -2.8860801178962)'), GeomFromEWKT('SRID=4674;POINT (-39.763904884458 -2.8861663676798)'))) / (select extract(epoch from '2026-07-03 15:00:03'::timestamp) - extract(epoch from '2026-07-03 14:59:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763852078468 -2.8860801178962)'), GeomFromEWKT('SRID=4674;POINT (-39.763904884458 -2.8861663676798)'))) / (select extract(epoch from '2026-07-03 15:00:03'::timestamp) - extract(epoch from '2026-07-03 14:59: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'), 47871, 'SRID=4674;POINT (-39.763961462304 -2.8862511925399)', '2026-07-03 15:00:08', 2.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763904884458 -2.8861663676798)'), GeomFromEWKT('SRID=4674;POINT (-39.763961462304 -2.8862511925399)'))) / (select extract(epoch from '2026-07-03 15:00:08'::timestamp) - extract(epoch from '2026-07-03 15:00:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763904884458 -2.8861663676798)'), GeomFromEWKT('SRID=4674;POINT (-39.763961462304 -2.8862511925399)'))) / (select extract(epoch from '2026-07-03 15:00:08'::timestamp) - extract(epoch from '2026-07-03 15:00: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'), 47871, 'SRID=4674;POINT (-39.764026338235 -2.8863351792097)', '2026-07-03 15:00:13', 2.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763961462304 -2.8862511925399)'), GeomFromEWKT('SRID=4674;POINT (-39.764026338235 -2.8863351792097)'))) / (select extract(epoch from '2026-07-03 15:00:13'::timestamp) - extract(epoch from '2026-07-03 15:00:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763961462304 -2.8862511925399)'), GeomFromEWKT('SRID=4674;POINT (-39.764026338235 -2.8863351792097)'))) / (select extract(epoch from '2026-07-03 15:00:13'::timestamp) - extract(epoch from '2026-07-03 15:00:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.764084089547 -2.8864229377359)', '2026-07-03 15:00:18', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764026338235 -2.8863351792097)'), GeomFromEWKT('SRID=4674;POINT (-39.764084089547 -2.8864229377359)'))) / (select extract(epoch from '2026-07-03 15:00:18'::timestamp) - extract(epoch from '2026-07-03 15:00:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764026338235 -2.8863351792097)'), GeomFromEWKT('SRID=4674;POINT (-39.764084089547 -2.8864229377359)'))) / (select extract(epoch from '2026-07-03 15:00:18'::timestamp) - extract(epoch from '2026-07-03 15:00: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'), 47871, 'SRID=4674;POINT (-39.764168746769 -2.8865323215723)', '2026-07-03 15:00:24', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764084089547 -2.8864229377359)'), GeomFromEWKT('SRID=4674;POINT (-39.764168746769 -2.8865323215723)'))) / (select extract(epoch from '2026-07-03 15:00:24'::timestamp) - extract(epoch from '2026-07-03 15:00:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764084089547 -2.8864229377359)'), GeomFromEWKT('SRID=4674;POINT (-39.764168746769 -2.8865323215723)'))) / (select extract(epoch from '2026-07-03 15:00:24'::timestamp) - extract(epoch from '2026-07-03 15:00: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'), 47871, 'SRID=4674;POINT (-39.764257343486 -2.8866403643042)', '2026-07-03 15:00:30', 2.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764168746769 -2.8865323215723)'), GeomFromEWKT('SRID=4674;POINT (-39.764257343486 -2.8866403643042)'))) / (select extract(epoch from '2026-07-03 15:00:30'::timestamp) - extract(epoch from '2026-07-03 15:00:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764168746769 -2.8865323215723)'), GeomFromEWKT('SRID=4674;POINT (-39.764257343486 -2.8866403643042)'))) / (select extract(epoch from '2026-07-03 15:00:30'::timestamp) - extract(epoch from '2026-07-03 15:00:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.764329930767 -2.8867517597973)', '2026-07-03 15:00:36', 2.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764257343486 -2.8866403643042)'), GeomFromEWKT('SRID=4674;POINT (-39.764329930767 -2.8867517597973)'))) / (select extract(epoch from '2026-07-03 15:00:36'::timestamp) - extract(epoch from '2026-07-03 15:00:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764257343486 -2.8866403643042)'), GeomFromEWKT('SRID=4674;POINT (-39.764329930767 -2.8867517597973)'))) / (select extract(epoch from '2026-07-03 15:00:36'::timestamp) - extract(epoch from '2026-07-03 15:00: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'), 47871, 'SRID=4674;POINT (-39.764406876639 -2.8868452180177)', '2026-07-03 15:00:41', 2.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764329930767 -2.8867517597973)'), GeomFromEWKT('SRID=4674;POINT (-39.764406876639 -2.8868452180177)'))) / (select extract(epoch from '2026-07-03 15:00:41'::timestamp) - extract(epoch from '2026-07-03 15:00:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764329930767 -2.8867517597973)'), GeomFromEWKT('SRID=4674;POINT (-39.764406876639 -2.8868452180177)'))) / (select extract(epoch from '2026-07-03 15:00:41'::timestamp) - extract(epoch from '2026-07-03 15:00:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.764479296282 -2.8869599662721)', '2026-07-03 15:00:47', 2.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764406876639 -2.8868452180177)'), GeomFromEWKT('SRID=4674;POINT (-39.764479296282 -2.8869599662721)'))) / (select extract(epoch from '2026-07-03 15:00:47'::timestamp) - extract(epoch from '2026-07-03 15:00:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764406876639 -2.8868452180177)'), GeomFromEWKT('SRID=4674;POINT (-39.764479296282 -2.8869599662721)'))) / (select extract(epoch from '2026-07-03 15:00:47'::timestamp) - extract(epoch from '2026-07-03 15:00:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.764548782259 -2.8870738763362)', '2026-07-03 15:00:53', 2.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764479296282 -2.8869599662721)'), GeomFromEWKT('SRID=4674;POINT (-39.764548782259 -2.8870738763362)'))) / (select extract(epoch from '2026-07-03 15:00:53'::timestamp) - extract(epoch from '2026-07-03 15:00:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764479296282 -2.8869599662721)'), GeomFromEWKT('SRID=4674;POINT (-39.764548782259 -2.8870738763362)'))) / (select extract(epoch from '2026-07-03 15:00:53'::timestamp) - extract(epoch from '2026-07-03 15:00: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'), 47871, 'SRID=4674;POINT (-39.76464483887 -2.8872043825686)', '2026-07-03 15:01:00', 1.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764548782259 -2.8870738763362)'), GeomFromEWKT('SRID=4674;POINT (-39.76464483887 -2.8872043825686)'))) / (select extract(epoch from '2026-07-03 15:01:00'::timestamp) - extract(epoch from '2026-07-03 15:00:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764548782259 -2.8870738763362)'), GeomFromEWKT('SRID=4674;POINT (-39.76464483887 -2.8872043825686)'))) / (select extract(epoch from '2026-07-03 15:01:00'::timestamp) - extract(epoch from '2026-07-03 15:00: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'), 47871, 'SRID=4674;POINT (-39.76473226212 -2.8873187955469)', '2026-07-03 15:01:06', 2.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76464483887 -2.8872043825686)'), GeomFromEWKT('SRID=4674;POINT (-39.76473226212 -2.8873187955469)'))) / (select extract(epoch from '2026-07-03 15:01:06'::timestamp) - extract(epoch from '2026-07-03 15:01:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76464483887 -2.8872043825686)'), GeomFromEWKT('SRID=4674;POINT (-39.76473226212 -2.8873187955469)'))) / (select extract(epoch from '2026-07-03 15:01:06'::timestamp) - extract(epoch from '2026-07-03 15:01: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'), 47871, 'SRID=4674;POINT (-39.764797557145 -2.8874123375863)', '2026-07-03 15:01:11', 2.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76473226212 -2.8873187955469)'), GeomFromEWKT('SRID=4674;POINT (-39.764797557145 -2.8874123375863)'))) / (select extract(epoch from '2026-07-03 15:01:11'::timestamp) - extract(epoch from '2026-07-03 15:01:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76473226212 -2.8873187955469)'), GeomFromEWKT('SRID=4674;POINT (-39.764797557145 -2.8874123375863)'))) / (select extract(epoch from '2026-07-03 15:01:11'::timestamp) - extract(epoch from '2026-07-03 15:01: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'), 47871, 'SRID=4674;POINT (-39.764883974567 -2.8875216376036)', '2026-07-03 15:01:17', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764797557145 -2.8874123375863)'), GeomFromEWKT('SRID=4674;POINT (-39.764883974567 -2.8875216376036)'))) / (select extract(epoch from '2026-07-03 15:01:17'::timestamp) - extract(epoch from '2026-07-03 15:01:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764797557145 -2.8874123375863)'), GeomFromEWKT('SRID=4674;POINT (-39.764883974567 -2.8875216376036)'))) / (select extract(epoch from '2026-07-03 15:01:17'::timestamp) - extract(epoch from '2026-07-03 15:01: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'), 47871, 'SRID=4674;POINT (-39.764950945973 -2.8876087255776)', '2026-07-03 15:01:22', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764883974567 -2.8875216376036)'), GeomFromEWKT('SRID=4674;POINT (-39.764950945973 -2.8876087255776)'))) / (select extract(epoch from '2026-07-03 15:01:22'::timestamp) - extract(epoch from '2026-07-03 15:01:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764883974567 -2.8875216376036)'), GeomFromEWKT('SRID=4674;POINT (-39.764950945973 -2.8876087255776)'))) / (select extract(epoch from '2026-07-03 15:01:22'::timestamp) - extract(epoch from '2026-07-03 15:01: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'), 47871, 'SRID=4674;POINT (-39.765024036169 -2.8877016808838)', '2026-07-03 15:01:27', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764950945973 -2.8876087255776)'), GeomFromEWKT('SRID=4674;POINT (-39.765024036169 -2.8877016808838)'))) / (select extract(epoch from '2026-07-03 15:01:27'::timestamp) - extract(epoch from '2026-07-03 15:01:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764950945973 -2.8876087255776)'), GeomFromEWKT('SRID=4674;POINT (-39.765024036169 -2.8877016808838)'))) / (select extract(epoch from '2026-07-03 15:01:27'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.765086146072 -2.8877795487642)', '2026-07-03 15:01:31', 2.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765024036169 -2.8877016808838)'), GeomFromEWKT('SRID=4674;POINT (-39.765086146072 -2.8877795487642)'))) / (select extract(epoch from '2026-07-03 15:01:31'::timestamp) - extract(epoch from '2026-07-03 15:01:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765024036169 -2.8877016808838)'), GeomFromEWKT('SRID=4674;POINT (-39.765086146072 -2.8877795487642)'))) / (select extract(epoch from '2026-07-03 15:01:31'::timestamp) - extract(epoch from '2026-07-03 15:01: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'), 47871, 'SRID=4674;POINT (-39.765159487724 -2.8878810536116)', '2026-07-03 15:01:37', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765086146072 -2.8877795487642)'), GeomFromEWKT('SRID=4674;POINT (-39.765159487724 -2.8878810536116)'))) / (select extract(epoch from '2026-07-03 15:01:37'::timestamp) - extract(epoch from '2026-07-03 15:01:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765086146072 -2.8877795487642)'), GeomFromEWKT('SRID=4674;POINT (-39.765159487724 -2.8878810536116)'))) / (select extract(epoch from '2026-07-03 15:01:37'::timestamp) - extract(epoch from '2026-07-03 15:01: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'), 47871, 'SRID=4674;POINT (-39.765242887661 -2.8879873361439)', '2026-07-03 15:01:43', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765159487724 -2.8878810536116)'), GeomFromEWKT('SRID=4674;POINT (-39.765242887661 -2.8879873361439)'))) / (select extract(epoch from '2026-07-03 15:01:43'::timestamp) - extract(epoch from '2026-07-03 15:01:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765159487724 -2.8878810536116)'), GeomFromEWKT('SRID=4674;POINT (-39.765242887661 -2.8879873361439)'))) / (select extract(epoch from '2026-07-03 15:01:43'::timestamp) - extract(epoch from '2026-07-03 15:01: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'), 47871, 'SRID=4674;POINT (-39.765316145495 -2.8880703169852)', '2026-07-03 15:01:48', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765242887661 -2.8879873361439)'), GeomFromEWKT('SRID=4674;POINT (-39.765316145495 -2.8880703169852)'))) / (select extract(epoch from '2026-07-03 15:01:48'::timestamp) - extract(epoch from '2026-07-03 15:01:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765242887661 -2.8879873361439)'), GeomFromEWKT('SRID=4674;POINT (-39.765316145495 -2.8880703169852)'))) / (select extract(epoch from '2026-07-03 15:01:48'::timestamp) - extract(epoch from '2026-07-03 15:01: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'), 47871, 'SRID=4674;POINT (-39.765388229862 -2.8881688881665)', '2026-07-03 15:01:54', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765316145495 -2.8880703169852)'), GeomFromEWKT('SRID=4674;POINT (-39.765388229862 -2.8881688881665)'))) / (select extract(epoch from '2026-07-03 15:01:54'::timestamp) - extract(epoch from '2026-07-03 15:01:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765316145495 -2.8880703169852)'), GeomFromEWKT('SRID=4674;POINT (-39.765388229862 -2.8881688881665)'))) / (select extract(epoch from '2026-07-03 15:01:54'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.765468528494 -2.8882674593478)', '2026-07-03 15:02:00', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765388229862 -2.8881688881665)'), GeomFromEWKT('SRID=4674;POINT (-39.765468528494 -2.8882674593478)'))) / (select extract(epoch from '2026-07-03 15:02:00'::timestamp) - extract(epoch from '2026-07-03 15:01:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765388229862 -2.8881688881665)'), GeomFromEWKT('SRID=4674;POINT (-39.765468528494 -2.8882674593478)'))) / (select extract(epoch from '2026-07-03 15:02:00'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.765552934259 -2.8883678745478)', '2026-07-03 15:02:06', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765468528494 -2.8882674593478)'), GeomFromEWKT('SRID=4674;POINT (-39.765552934259 -2.8883678745478)'))) / (select extract(epoch from '2026-07-03 15:02:06'::timestamp) - extract(epoch from '2026-07-03 15:02:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765468528494 -2.8882674593478)'), GeomFromEWKT('SRID=4674;POINT (-39.765552934259 -2.8883678745478)'))) / (select extract(epoch from '2026-07-03 15:02:06'::timestamp) - extract(epoch from '2026-07-03 15:02: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'), 47871, 'SRID=4674;POINT (-39.76561688818 -2.8884594887495)', '2026-07-03 15:02:11', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765552934259 -2.8883678745478)'), GeomFromEWKT('SRID=4674;POINT (-39.76561688818 -2.8884594887495)'))) / (select extract(epoch from '2026-07-03 15:02:11'::timestamp) - extract(epoch from '2026-07-03 15:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765552934259 -2.8883678745478)'), GeomFromEWKT('SRID=4674;POINT (-39.76561688818 -2.8884594887495)'))) / (select extract(epoch from '2026-07-03 15:02:11'::timestamp) - extract(epoch from '2026-07-03 15:02:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.765675896779 -2.8885530307889)', '2026-07-03 15:02:16', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76561688818 -2.8884594887495)'), GeomFromEWKT('SRID=4674;POINT (-39.765675896779 -2.8885530307889)'))) / (select extract(epoch from '2026-07-03 15:02:16'::timestamp) - extract(epoch from '2026-07-03 15:02:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76561688818 -2.8884594887495)'), GeomFromEWKT('SRID=4674;POINT (-39.765675896779 -2.8885530307889)'))) / (select extract(epoch from '2026-07-03 15:02:16'::timestamp) - extract(epoch from '2026-07-03 15:02: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'), 47871, 'SRID=4674;POINT (-39.765724092722 -2.8886393643916)', '2026-07-03 15:02:21', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765675896779 -2.8885530307889)'), GeomFromEWKT('SRID=4674;POINT (-39.765724092722 -2.8886393643916)'))) / (select extract(epoch from '2026-07-03 15:02:21'::timestamp) - extract(epoch from '2026-07-03 15:02:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765675896779 -2.8885530307889)'), GeomFromEWKT('SRID=4674;POINT (-39.765724092722 -2.8886393643916)'))) / (select extract(epoch from '2026-07-03 15:02:21'::timestamp) - extract(epoch from '2026-07-03 15:02: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'), 47871, 'SRID=4674;POINT (-39.765782766044 -2.8887165617198)', '2026-07-03 15:02:25', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765724092722 -2.8886393643916)'), GeomFromEWKT('SRID=4674;POINT (-39.765782766044 -2.8887165617198)'))) / (select extract(epoch from '2026-07-03 15:02:25'::timestamp) - extract(epoch from '2026-07-03 15:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765724092722 -2.8886393643916)'), GeomFromEWKT('SRID=4674;POINT (-39.765782766044 -2.8887165617198)'))) / (select extract(epoch from '2026-07-03 15:02:25'::timestamp) - extract(epoch from '2026-07-03 15:02:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.765791399404 -2.8887351695448)', '2026-07-03 15:02:26', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765782766044 -2.8887165617198)'), GeomFromEWKT('SRID=4674;POINT (-39.765791399404 -2.8887351695448)'))) / (select extract(epoch from '2026-07-03 15:02:26'::timestamp) - extract(epoch from '2026-07-03 15:02:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765782766044 -2.8887165617198)'), GeomFromEWKT('SRID=4674;POINT (-39.765791399404 -2.8887351695448)'))) / (select extract(epoch from '2026-07-03 15:02:26'::timestamp) - extract(epoch from '2026-07-03 15:02: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'), 47871, 'SRID=4674;POINT (-39.765861639753 -2.888838853687)', '2026-07-03 15:02:32', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765791399404 -2.8887351695448)'), GeomFromEWKT('SRID=4674;POINT (-39.765861639753 -2.888838853687)'))) / (select extract(epoch from '2026-07-03 15:02:32'::timestamp) - extract(epoch from '2026-07-03 15:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765791399404 -2.8887351695448)'), GeomFromEWKT('SRID=4674;POINT (-39.765861639753 -2.888838853687)'))) / (select extract(epoch from '2026-07-03 15:02:32'::timestamp) - extract(epoch from '2026-07-03 15:02:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.765961552039 -2.8889798372984)', '2026-07-03 15:02:40', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765861639753 -2.888838853687)'), GeomFromEWKT('SRID=4674;POINT (-39.765961552039 -2.8889798372984)'))) / (select extract(epoch from '2026-07-03 15:02:40'::timestamp) - extract(epoch from '2026-07-03 15:02:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765861639753 -2.888838853687)'), GeomFromEWKT('SRID=4674;POINT (-39.765961552039 -2.8889798372984)'))) / (select extract(epoch from '2026-07-03 15:02:40'::timestamp) - extract(epoch from '2026-07-03 15:02:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.766020895913 -2.8890649974346)', '2026-07-03 15:02:45', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765961552039 -2.8889798372984)'), GeomFromEWKT('SRID=4674;POINT (-39.766020895913 -2.8890649974346)'))) / (select extract(epoch from '2026-07-03 15:02:45'::timestamp) - extract(epoch from '2026-07-03 15:02:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765961552039 -2.8889798372984)'), GeomFromEWKT('SRID=4674;POINT (-39.766020895913 -2.8890649974346)'))) / (select extract(epoch from '2026-07-03 15:02:45'::timestamp) - extract(epoch from '2026-07-03 15:02: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'), 47871, 'SRID=4674;POINT (-39.766106139868 -2.889179578051)', '2026-07-03 15:02:51', 2.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766020895913 -2.8890649974346)'), GeomFromEWKT('SRID=4674;POINT (-39.766106139868 -2.889179578051)'))) / (select extract(epoch from '2026-07-03 15:02:51'::timestamp) - extract(epoch from '2026-07-03 15:02:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766020895913 -2.8890649974346)'), GeomFromEWKT('SRID=4674;POINT (-39.766106139868 -2.889179578051)'))) / (select extract(epoch from '2026-07-03 15:02:51'::timestamp) - extract(epoch from '2026-07-03 15:02: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'), 47871, 'SRID=4674;POINT (-39.766187863424 -2.8892951644957)', '2026-07-03 15:02:57', 2.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766106139868 -2.889179578051)'), GeomFromEWKT('SRID=4674;POINT (-39.766187863424 -2.8892951644957)'))) / (select extract(epoch from '2026-07-03 15:02:57'::timestamp) - extract(epoch from '2026-07-03 15:02:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766106139868 -2.889179578051)'), GeomFromEWKT('SRID=4674;POINT (-39.766187863424 -2.8892951644957)'))) / (select extract(epoch from '2026-07-03 15:02:57'::timestamp) - extract(epoch from '2026-07-03 15:02: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'), 47871, 'SRID=4674;POINT (-39.766293726861 -2.8894516546279)', '2026-07-03 15:03:05', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766187863424 -2.8892951644957)'), GeomFromEWKT('SRID=4674;POINT (-39.766293726861 -2.8894516546279)'))) / (select extract(epoch from '2026-07-03 15:03:05'::timestamp) - extract(epoch from '2026-07-03 15:02:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766187863424 -2.8892951644957)'), GeomFromEWKT('SRID=4674;POINT (-39.766293726861 -2.8894516546279)'))) / (select extract(epoch from '2026-07-03 15:03:05'::timestamp) - extract(epoch from '2026-07-03 15:02: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'), 47871, 'SRID=4674;POINT (-39.766402272508 -2.8896017745137)', '2026-07-03 15:03:13', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766293726861 -2.8894516546279)'), GeomFromEWKT('SRID=4674;POINT (-39.766402272508 -2.8896017745137)'))) / (select extract(epoch from '2026-07-03 15:03:13'::timestamp) - extract(epoch from '2026-07-03 15:03:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766293726861 -2.8894516546279)'), GeomFromEWKT('SRID=4674;POINT (-39.766402272508 -2.8896017745137)'))) / (select extract(epoch from '2026-07-03 15:03:13'::timestamp) - extract(epoch from '2026-07-03 15:03:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.766476368532 -2.8897038660944)', '2026-07-03 15:03:18', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766402272508 -2.8896017745137)'), GeomFromEWKT('SRID=4674;POINT (-39.766476368532 -2.8897038660944)'))) / (select extract(epoch from '2026-07-03 15:03:18'::timestamp) - extract(epoch from '2026-07-03 15:03:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766402272508 -2.8896017745137)'), GeomFromEWKT('SRID=4674;POINT (-39.766476368532 -2.8897038660944)'))) / (select extract(epoch from '2026-07-03 15:03:18'::timestamp) - extract(epoch from '2026-07-03 15:03:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.766564546153 -2.8898343723267)', '2026-07-03 15:03:25', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766476368532 -2.8897038660944)'), GeomFromEWKT('SRID=4674;POINT (-39.766564546153 -2.8898343723267)'))) / (select extract(epoch from '2026-07-03 15:03:25'::timestamp) - extract(epoch from '2026-07-03 15:03:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766476368532 -2.8897038660944)'), GeomFromEWKT('SRID=4674;POINT (-39.766564546153 -2.8898343723267)'))) / (select extract(epoch from '2026-07-03 15:03:25'::timestamp) - extract(epoch from '2026-07-03 15:03:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.766628248617 -2.8899252321571)', '2026-07-03 15:03:30', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766564546153 -2.8898343723267)'), GeomFromEWKT('SRID=4674;POINT (-39.766628248617 -2.8899252321571)'))) / (select extract(epoch from '2026-07-03 15:03:30'::timestamp) - extract(epoch from '2026-07-03 15:03:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766564546153 -2.8898343723267)'), GeomFromEWKT('SRID=4674;POINT (-39.766628248617 -2.8899252321571)'))) / (select extract(epoch from '2026-07-03 15:03:30'::timestamp) - extract(epoch from '2026-07-03 15:03: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'), 47871, 'SRID=4674;POINT (-39.766708798707 -2.8900399804115)', '2026-07-03 15:03:36', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766628248617 -2.8899252321571)'), GeomFromEWKT('SRID=4674;POINT (-39.766708798707 -2.8900399804115)'))) / (select extract(epoch from '2026-07-03 15:03:36'::timestamp) - extract(epoch from '2026-07-03 15:03:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766628248617 -2.8899252321571)'), GeomFromEWKT('SRID=4674;POINT (-39.766708798707 -2.8900399804115)'))) / (select extract(epoch from '2026-07-03 15:03:36'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.766801670194 -2.890160093084)', '2026-07-03 15:03:42', 2.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766708798707 -2.8900399804115)'), GeomFromEWKT('SRID=4674;POINT (-39.766801670194 -2.890160093084)'))) / (select extract(epoch from '2026-07-03 15:03:42'::timestamp) - extract(epoch from '2026-07-03 15:03:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766708798707 -2.8900399804115)'), GeomFromEWKT('SRID=4674;POINT (-39.766801670194 -2.890160093084)'))) / (select extract(epoch from '2026-07-03 15:03:42'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.766818853095 -2.890194542706)', '2026-07-03 15:03:44', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766801670194 -2.890160093084)'), GeomFromEWKT('SRID=4674;POINT (-39.766818853095 -2.890194542706)'))) / (select extract(epoch from '2026-07-03 15:03:44'::timestamp) - extract(epoch from '2026-07-03 15:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766801670194 -2.890160093084)'), GeomFromEWKT('SRID=4674;POINT (-39.766818853095 -2.890194542706)'))) / (select extract(epoch from '2026-07-03 15:03:44'::timestamp) - extract(epoch from '2026-07-03 15:03:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.766855398193 -2.8902336861938)', '2026-07-03 15:03:46', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766818853095 -2.890194542706)'), GeomFromEWKT('SRID=4674;POINT (-39.766855398193 -2.8902336861938)'))) / (select extract(epoch from '2026-07-03 15:03:46'::timestamp) - extract(epoch from '2026-07-03 15:03:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766818853095 -2.890194542706)'), GeomFromEWKT('SRID=4674;POINT (-39.766855398193 -2.8902336861938)'))) / (select extract(epoch from '2026-07-03 15:03:46'::timestamp) - extract(epoch from '2026-07-03 15:03: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'), 47871, 'SRID=4674;POINT (-39.766969978809 -2.8903856500983)', '2026-07-03 15:03:54', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766855398193 -2.8902336861938)'), GeomFromEWKT('SRID=4674;POINT (-39.766969978809 -2.8903856500983)'))) / (select extract(epoch from '2026-07-03 15:03:54'::timestamp) - extract(epoch from '2026-07-03 15:03:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766855398193 -2.8902336861938)'), GeomFromEWKT('SRID=4674;POINT (-39.766969978809 -2.8903856500983)'))) / (select extract(epoch from '2026-07-03 15:03:54'::timestamp) - extract(epoch from '2026-07-03 15:03: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'), 47871, 'SRID=4674;POINT (-39.767056144774 -2.8905092831701)', '2026-07-03 15:04:00', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766969978809 -2.8903856500983)'), GeomFromEWKT('SRID=4674;POINT (-39.767056144774 -2.8905092831701)'))) / (select extract(epoch from '2026-07-03 15:04:00'::timestamp) - extract(epoch from '2026-07-03 15:03:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766969978809 -2.8903856500983)'), GeomFromEWKT('SRID=4674;POINT (-39.767056144774 -2.8905092831701)'))) / (select extract(epoch from '2026-07-03 15:04:00'::timestamp) - extract(epoch from '2026-07-03 15:03: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'), 47871, 'SRID=4674;POINT (-39.76714474149 -2.8906324971467)', '2026-07-03 15:04:06', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767056144774 -2.8905092831701)'), GeomFromEWKT('SRID=4674;POINT (-39.76714474149 -2.8906324971467)'))) / (select extract(epoch from '2026-07-03 15:04:06'::timestamp) - extract(epoch from '2026-07-03 15:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767056144774 -2.8905092831701)'), GeomFromEWKT('SRID=4674;POINT (-39.76714474149 -2.8906324971467)'))) / (select extract(epoch from '2026-07-03 15:04:06'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.767219843343 -2.8907288890332)', '2026-07-03 15:04:11', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76714474149 -2.8906324971467)'), GeomFromEWKT('SRID=4674;POINT (-39.767219843343 -2.8907288890332)'))) / (select extract(epoch from '2026-07-03 15:04:11'::timestamp) - extract(epoch from '2026-07-03 15:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76714474149 -2.8906324971467)'), GeomFromEWKT('SRID=4674;POINT (-39.767219843343 -2.8907288890332)'))) / (select extract(epoch from '2026-07-03 15:04:11'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.76729536429 -2.8908227663487)', '2026-07-03 15:04:16', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767219843343 -2.8907288890332)'), GeomFromEWKT('SRID=4674;POINT (-39.76729536429 -2.8908227663487)'))) / (select extract(epoch from '2026-07-03 15:04:16'::timestamp) - extract(epoch from '2026-07-03 15:04:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767219843343 -2.8907288890332)'), GeomFromEWKT('SRID=4674;POINT (-39.76729536429 -2.8908227663487)'))) / (select extract(epoch from '2026-07-03 15:04:16'::timestamp) - extract(epoch from '2026-07-03 15:04:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.767383793369 -2.8909309767187)', '2026-07-03 15:04:22', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76729536429 -2.8908227663487)'), GeomFromEWKT('SRID=4674;POINT (-39.767383793369 -2.8909309767187)'))) / (select extract(epoch from '2026-07-03 15:04:22'::timestamp) - extract(epoch from '2026-07-03 15:04:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76729536429 -2.8908227663487)'), GeomFromEWKT('SRID=4674;POINT (-39.767383793369 -2.8909309767187)'))) / (select extract(epoch from '2026-07-03 15:04:22'::timestamp) - extract(epoch from '2026-07-03 15:04: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'), 47871, 'SRID=4674;POINT (-39.767467025667 -2.891042791307)', '2026-07-03 15:04:28', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767383793369 -2.8909309767187)'), GeomFromEWKT('SRID=4674;POINT (-39.767467025667 -2.891042791307)'))) / (select extract(epoch from '2026-07-03 15:04:28'::timestamp) - extract(epoch from '2026-07-03 15:04:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767383793369 -2.8909309767187)'), GeomFromEWKT('SRID=4674;POINT (-39.767467025667 -2.891042791307)'))) / (select extract(epoch from '2026-07-03 15:04:28'::timestamp) - extract(epoch from '2026-07-03 15:04: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'), 47871, 'SRID=4674;POINT (-39.767546150833 -2.8911551926285)', '2026-07-03 15:04:34', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767467025667 -2.891042791307)'), GeomFromEWKT('SRID=4674;POINT (-39.767546150833 -2.8911551926285)'))) / (select extract(epoch from '2026-07-03 15:04:34'::timestamp) - extract(epoch from '2026-07-03 15:04:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767467025667 -2.891042791307)'), GeomFromEWKT('SRID=4674;POINT (-39.767546150833 -2.8911551926285)'))) / (select extract(epoch from '2026-07-03 15:04:34'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.767627874389 -2.8912671748549)', '2026-07-03 15:04:40', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767546150833 -2.8911551926285)'), GeomFromEWKT('SRID=4674;POINT (-39.767627874389 -2.8912671748549)'))) / (select extract(epoch from '2026-07-03 15:04:40'::timestamp) - extract(epoch from '2026-07-03 15:04:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767546150833 -2.8911551926285)'), GeomFromEWKT('SRID=4674;POINT (-39.767627874389 -2.8912671748549)'))) / (select extract(epoch from '2026-07-03 15:04:40'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.767700629309 -2.8913854435086)', '2026-07-03 15:04:46', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767627874389 -2.8912671748549)'), GeomFromEWKT('SRID=4674;POINT (-39.767700629309 -2.8913854435086)'))) / (select extract(epoch from '2026-07-03 15:04:46'::timestamp) - extract(epoch from '2026-07-03 15:04:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767627874389 -2.8912671748549)'), GeomFromEWKT('SRID=4674;POINT (-39.767700629309 -2.8913854435086)'))) / (select extract(epoch from '2026-07-03 15:04:46'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.767779167742 -2.8914958331734)', '2026-07-03 15:04:52', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767700629309 -2.8913854435086)'), GeomFromEWKT('SRID=4674;POINT (-39.767779167742 -2.8914958331734)'))) / (select extract(epoch from '2026-07-03 15:04:52'::timestamp) - extract(epoch from '2026-07-03 15:04:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767700629309 -2.8913854435086)'), GeomFromEWKT('SRID=4674;POINT (-39.767779167742 -2.8914958331734)'))) / (select extract(epoch from '2026-07-03 15:04:52'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.767881762236 -2.8916272614151)', '2026-07-03 15:04:59', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767779167742 -2.8914958331734)'), GeomFromEWKT('SRID=4674;POINT (-39.767881762236 -2.8916272614151)'))) / (select extract(epoch from '2026-07-03 15:04:59'::timestamp) - extract(epoch from '2026-07-03 15:04:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767779167742 -2.8914958331734)'), GeomFromEWKT('SRID=4674;POINT (-39.767881762236 -2.8916272614151)'))) / (select extract(epoch from '2026-07-03 15:04:59'::timestamp) - extract(epoch from '2026-07-03 15:04: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'), 47871, 'SRID=4674;POINT (-39.76795937866 -2.8917215578258)', '2026-07-03 15:05:04', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767881762236 -2.8916272614151)'), GeomFromEWKT('SRID=4674;POINT (-39.76795937866 -2.8917215578258)'))) / (select extract(epoch from '2026-07-03 15:05:04'::timestamp) - extract(epoch from '2026-07-03 15:04:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767881762236 -2.8916272614151)'), GeomFromEWKT('SRID=4674;POINT (-39.76795937866 -2.8917215578258)'))) / (select extract(epoch from '2026-07-03 15:05:04'::timestamp) - extract(epoch from '2026-07-03 15:04: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'), 47871, 'SRID=4674;POINT (-39.768038252369 -2.8918446879834)', '2026-07-03 15:05:10', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76795937866 -2.8917215578258)'), GeomFromEWKT('SRID=4674;POINT (-39.768038252369 -2.8918446879834)'))) / (select extract(epoch from '2026-07-03 15:05:10'::timestamp) - extract(epoch from '2026-07-03 15:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76795937866 -2.8917215578258)'), GeomFromEWKT('SRID=4674;POINT (-39.768038252369 -2.8918446879834)'))) / (select extract(epoch from '2026-07-03 15:05:10'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.768118299544 -2.8919629566371)', '2026-07-03 15:05:16', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768038252369 -2.8918446879834)'), GeomFromEWKT('SRID=4674;POINT (-39.768118299544 -2.8919629566371)'))) / (select extract(epoch from '2026-07-03 15:05:16'::timestamp) - extract(epoch from '2026-07-03 15:05:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768038252369 -2.8918446879834)'), GeomFromEWKT('SRID=4674;POINT (-39.768118299544 -2.8919629566371)'))) / (select extract(epoch from '2026-07-03 15:05:16'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.768186528236 -2.8920562472194)', '2026-07-03 15:05:21', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768118299544 -2.8919629566371)'), GeomFromEWKT('SRID=4674;POINT (-39.768186528236 -2.8920562472194)'))) / (select extract(epoch from '2026-07-03 15:05:21'::timestamp) - extract(epoch from '2026-07-03 15:05:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768118299544 -2.8919629566371)'), GeomFromEWKT('SRID=4674;POINT (-39.768186528236 -2.8920562472194)'))) / (select extract(epoch from '2026-07-03 15:05:21'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.76827965118 -2.892195219174)', '2026-07-03 15:05:28', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768186528236 -2.8920562472194)'), GeomFromEWKT('SRID=4674;POINT (-39.76827965118 -2.892195219174)'))) / (select extract(epoch from '2026-07-03 15:05:28'::timestamp) - extract(epoch from '2026-07-03 15:05:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768186528236 -2.8920562472194)'), GeomFromEWKT('SRID=4674;POINT (-39.76827965118 -2.892195219174)'))) / (select extract(epoch from '2026-07-03 15:05:28'::timestamp) - extract(epoch from '2026-07-03 15:05:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.768370091915 -2.8923131525517)', '2026-07-03 15:05:34', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76827965118 -2.892195219174)'), GeomFromEWKT('SRID=4674;POINT (-39.768370091915 -2.8923131525517)'))) / (select extract(epoch from '2026-07-03 15:05:34'::timestamp) - extract(epoch from '2026-07-03 15:05:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76827965118 -2.892195219174)'), GeomFromEWKT('SRID=4674;POINT (-39.768370091915 -2.8923131525517)'))) / (select extract(epoch from '2026-07-03 15:05:34'::timestamp) - extract(epoch from '2026-07-03 15:05:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.768421137705 -2.8923870809376)', '2026-07-03 15:05:38', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768370091915 -2.8923131525517)'), GeomFromEWKT('SRID=4674;POINT (-39.768421137705 -2.8923870809376)'))) / (select extract(epoch from '2026-07-03 15:05:38'::timestamp) - extract(epoch from '2026-07-03 15:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768370091915 -2.8923131525517)'), GeomFromEWKT('SRID=4674;POINT (-39.768421137705 -2.8923870809376)'))) / (select extract(epoch from '2026-07-03 15:05:38'::timestamp) - extract(epoch from '2026-07-03 15:05:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.768441170454 -2.892406694591)', '2026-07-03 15:05:39', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768421137705 -2.8923870809376)'), GeomFromEWKT('SRID=4674;POINT (-39.768441170454 -2.892406694591)'))) / (select extract(epoch from '2026-07-03 15:05:39'::timestamp) - extract(epoch from '2026-07-03 15:05:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768421137705 -2.8923870809376)'), GeomFromEWKT('SRID=4674;POINT (-39.768441170454 -2.892406694591)'))) / (select extract(epoch from '2026-07-03 15:05:39'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.768495652825 -2.8924809582531)', '2026-07-03 15:05:43', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768441170454 -2.892406694591)'), GeomFromEWKT('SRID=4674;POINT (-39.768495652825 -2.8924809582531)'))) / (select extract(epoch from '2026-07-03 15:05:43'::timestamp) - extract(epoch from '2026-07-03 15:05:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768441170454 -2.892406694591)'), GeomFromEWKT('SRID=4674;POINT (-39.768495652825 -2.8924809582531)'))) / (select extract(epoch from '2026-07-03 15:05:43'::timestamp) - extract(epoch from '2026-07-03 15:05:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.768593721092 -2.8926118835807)', '2026-07-03 15:05:50', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768495652825 -2.8924809582531)'), GeomFromEWKT('SRID=4674;POINT (-39.768593721092 -2.8926118835807)'))) / (select extract(epoch from '2026-07-03 15:05:50'::timestamp) - extract(epoch from '2026-07-03 15:05:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768495652825 -2.8924809582531)'), GeomFromEWKT('SRID=4674;POINT (-39.768593721092 -2.8926118835807)'))) / (select extract(epoch from '2026-07-03 15:05:50'::timestamp) - extract(epoch from '2026-07-03 15:05: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'), 47871, 'SRID=4674;POINT (-39.76866915822 -2.8927266318351)', '2026-07-03 15:05:56', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768593721092 -2.8926118835807)'), GeomFromEWKT('SRID=4674;POINT (-39.76866915822 -2.8927266318351)'))) / (select extract(epoch from '2026-07-03 15:05:56'::timestamp) - extract(epoch from '2026-07-03 15:05:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768593721092 -2.8926118835807)'), GeomFromEWKT('SRID=4674;POINT (-39.76866915822 -2.8927266318351)'))) / (select extract(epoch from '2026-07-03 15:05:56'::timestamp) - extract(epoch from '2026-07-03 15:05: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'), 47871, 'SRID=4674;POINT (-39.768743421882 -2.8928153961897)', '2026-07-03 15:06:01', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76866915822 -2.8927266318351)'), GeomFromEWKT('SRID=4674;POINT (-39.768743421882 -2.8928153961897)'))) / (select extract(epoch from '2026-07-03 15:06:01'::timestamp) - extract(epoch from '2026-07-03 15:05:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76866915822 -2.8927266318351)'), GeomFromEWKT('SRID=4674;POINT (-39.768743421882 -2.8928153961897)'))) / (select extract(epoch from '2026-07-03 15:06:01'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.768821038306 -2.8929203376174)', '2026-07-03 15:06:07', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768743421882 -2.8928153961897)'), GeomFromEWKT('SRID=4674;POINT (-39.768821038306 -2.8929203376174)'))) / (select extract(epoch from '2026-07-03 15:06:07'::timestamp) - extract(epoch from '2026-07-03 15:06:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768743421882 -2.8928153961897)'), GeomFromEWKT('SRID=4674;POINT (-39.768821038306 -2.8929203376174)'))) / (select extract(epoch from '2026-07-03 15:06:07'::timestamp) - extract(epoch from '2026-07-03 15:06:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.768836796284 -2.8929383587092)', '2026-07-03 15:06:08', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768821038306 -2.8929203376174)'), GeomFromEWKT('SRID=4674;POINT (-39.768836796284 -2.8929383587092)'))) / (select extract(epoch from '2026-07-03 15:06:08'::timestamp) - extract(epoch from '2026-07-03 15:06:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768821038306 -2.8929203376174)'), GeomFromEWKT('SRID=4674;POINT (-39.768836796284 -2.8929383587092)'))) / (select extract(epoch from '2026-07-03 15:06:08'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.768873592839 -2.8929758258164)', '2026-07-03 15:06:10', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768836796284 -2.8929383587092)'), GeomFromEWKT('SRID=4674;POINT (-39.768873592839 -2.8929758258164)'))) / (select extract(epoch from '2026-07-03 15:06:10'::timestamp) - extract(epoch from '2026-07-03 15:06:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768836796284 -2.8929383587092)'), GeomFromEWKT('SRID=4674;POINT (-39.768873592839 -2.8929758258164)'))) / (select extract(epoch from '2026-07-03 15:06:10'::timestamp) - extract(epoch from '2026-07-03 15:06: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'), 47871, 'SRID=4674;POINT (-39.768881136551 -2.8929930925369)', '2026-07-03 15:06:11', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768873592839 -2.8929758258164)'), GeomFromEWKT('SRID=4674;POINT (-39.768881136551 -2.8929930925369)'))) / (select extract(epoch from '2026-07-03 15:06:11'::timestamp) - extract(epoch from '2026-07-03 15:06:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768873592839 -2.8929758258164)'), GeomFromEWKT('SRID=4674;POINT (-39.768881136551 -2.8929930925369)'))) / (select extract(epoch from '2026-07-03 15:06:11'::timestamp) - extract(epoch from '2026-07-03 15:06: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'), 47871, 'SRID=4674;POINT (-39.768946683034 -2.8930859640241)', '2026-07-03 15:06:16', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768881136551 -2.8929930925369)'), GeomFromEWKT('SRID=4674;POINT (-39.768946683034 -2.8930859640241)'))) / (select extract(epoch from '2026-07-03 15:06:16'::timestamp) - extract(epoch from '2026-07-03 15:06:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768881136551 -2.8929930925369)'), GeomFromEWKT('SRID=4674;POINT (-39.768946683034 -2.8930859640241)'))) / (select extract(epoch from '2026-07-03 15:06:16'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.769013989717 -2.8931923303753)', '2026-07-03 15:06:22', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768946683034 -2.8930859640241)'), GeomFromEWKT('SRID=4674;POINT (-39.769013989717 -2.8931923303753)'))) / (select extract(epoch from '2026-07-03 15:06:22'::timestamp) - extract(epoch from '2026-07-03 15:06:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768946683034 -2.8930859640241)'), GeomFromEWKT('SRID=4674;POINT (-39.769013989717 -2.8931923303753)'))) / (select extract(epoch from '2026-07-03 15:06:22'::timestamp) - extract(epoch from '2026-07-03 15:06: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'), 47871, 'SRID=4674;POINT (-39.769096467644 -2.8933147899806)', '2026-07-03 15:06:28', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769013989717 -2.8931923303753)'), GeomFromEWKT('SRID=4674;POINT (-39.769096467644 -2.8933147899806)'))) / (select extract(epoch from '2026-07-03 15:06:28'::timestamp) - extract(epoch from '2026-07-03 15:06:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769013989717 -2.8931923303753)'), GeomFromEWKT('SRID=4674;POINT (-39.769096467644 -2.8933147899806)'))) / (select extract(epoch from '2026-07-03 15:06:28'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.769175844267 -2.8934168815613)', '2026-07-03 15:06:33', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769096467644 -2.8933147899806)'), GeomFromEWKT('SRID=4674;POINT (-39.769175844267 -2.8934168815613)'))) / (select extract(epoch from '2026-07-03 15:06:33'::timestamp) - extract(epoch from '2026-07-03 15:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769096467644 -2.8933147899806)'), GeomFromEWKT('SRID=4674;POINT (-39.769175844267 -2.8934168815613)'))) / (select extract(epoch from '2026-07-03 15:06:33'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.769241893664 -2.8935171291232)', '2026-07-03 15:06:38', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769175844267 -2.8934168815613)'), GeomFromEWKT('SRID=4674;POINT (-39.769241893664 -2.8935171291232)'))) / (select extract(epoch from '2026-07-03 15:06:38'::timestamp) - extract(epoch from '2026-07-03 15:06:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769175844267 -2.8934168815613)'), GeomFromEWKT('SRID=4674;POINT (-39.769241893664 -2.8935171291232)'))) / (select extract(epoch from '2026-07-03 15:06:38'::timestamp) - extract(epoch from '2026-07-03 15:06: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'), 47871, 'SRID=4674;POINT (-39.769330658019 -2.8936253394932)', '2026-07-03 15:06:44', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769241893664 -2.8935171291232)'), GeomFromEWKT('SRID=4674;POINT (-39.769330658019 -2.8936253394932)'))) / (select extract(epoch from '2026-07-03 15:06:44'::timestamp) - extract(epoch from '2026-07-03 15:06:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769241893664 -2.8935171291232)'), GeomFromEWKT('SRID=4674;POINT (-39.769330658019 -2.8936253394932)'))) / (select extract(epoch from '2026-07-03 15:06:44'::timestamp) - extract(epoch from '2026-07-03 15:06:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.769406933337 -2.893728017807)', '2026-07-03 15:06:49', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769330658019 -2.8936253394932)'), GeomFromEWKT('SRID=4674;POINT (-39.769406933337 -2.893728017807)'))) / (select extract(epoch from '2026-07-03 15:06:49'::timestamp) - extract(epoch from '2026-07-03 15:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769330658019 -2.8936253394932)'), GeomFromEWKT('SRID=4674;POINT (-39.769406933337 -2.893728017807)'))) / (select extract(epoch from '2026-07-03 15:06:49'::timestamp) - extract(epoch from '2026-07-03 15:06: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'), 47871, 'SRID=4674;POINT (-39.769471725449 -2.8938222303987)', '2026-07-03 15:06:54', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769406933337 -2.893728017807)'), GeomFromEWKT('SRID=4674;POINT (-39.769471725449 -2.8938222303987)'))) / (select extract(epoch from '2026-07-03 15:06:54'::timestamp) - extract(epoch from '2026-07-03 15:06:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769406933337 -2.893728017807)'), GeomFromEWKT('SRID=4674;POINT (-39.769471725449 -2.8938222303987)'))) / (select extract(epoch from '2026-07-03 15:06:54'::timestamp) - extract(epoch from '2026-07-03 15:06:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.769561747089 -2.8939540777355)', '2026-07-03 15:07:01', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769471725449 -2.8938222303987)'), GeomFromEWKT('SRID=4674;POINT (-39.769561747089 -2.8939540777355)'))) / (select extract(epoch from '2026-07-03 15:07:01'::timestamp) - extract(epoch from '2026-07-03 15:06:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769471725449 -2.8938222303987)'), GeomFromEWKT('SRID=4674;POINT (-39.769561747089 -2.8939540777355)'))) / (select extract(epoch from '2026-07-03 15:07:01'::timestamp) - extract(epoch from '2026-07-03 15:06: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'), 47871, 'SRID=4674;POINT (-39.769647493958 -2.8940701670945)', '2026-07-03 15:07:07', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769561747089 -2.8939540777355)'), GeomFromEWKT('SRID=4674;POINT (-39.769647493958 -2.8940701670945)'))) / (select extract(epoch from '2026-07-03 15:07:07'::timestamp) - extract(epoch from '2026-07-03 15:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769561747089 -2.8939540777355)'), GeomFromEWKT('SRID=4674;POINT (-39.769647493958 -2.8940701670945)'))) / (select extract(epoch from '2026-07-03 15:07:07'::timestamp) - extract(epoch from '2026-07-03 15:07:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.769710693508 -2.8941630385816)', '2026-07-03 15:07:12', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769647493958 -2.8940701670945)'), GeomFromEWKT('SRID=4674;POINT (-39.769710693508 -2.8941630385816)'))) / (select extract(epoch from '2026-07-03 15:07:12'::timestamp) - extract(epoch from '2026-07-03 15:07:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769647493958 -2.8940701670945)'), GeomFromEWKT('SRID=4674;POINT (-39.769710693508 -2.8941630385816)'))) / (select extract(epoch from '2026-07-03 15:07:12'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.76978671737 -2.8942543175071)', '2026-07-03 15:07:17', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769710693508 -2.8941630385816)'), GeomFromEWKT('SRID=4674;POINT (-39.76978671737 -2.8942543175071)'))) / (select extract(epoch from '2026-07-03 15:07:17'::timestamp) - extract(epoch from '2026-07-03 15:07:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769710693508 -2.8941630385816)'), GeomFromEWKT('SRID=4674;POINT (-39.76978671737 -2.8942543175071)'))) / (select extract(epoch from '2026-07-03 15:07:17'::timestamp) - extract(epoch from '2026-07-03 15:07: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'), 47871, 'SRID=4674;POINT (-39.769885791466 -2.8943929541856)', '2026-07-03 15:07:24', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76978671737 -2.8942543175071)'), GeomFromEWKT('SRID=4674;POINT (-39.769885791466 -2.8943929541856)'))) / (select extract(epoch from '2026-07-03 15:07:24'::timestamp) - extract(epoch from '2026-07-03 15:07:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76978671737 -2.8942543175071)'), GeomFromEWKT('SRID=4674;POINT (-39.769885791466 -2.8943929541856)'))) / (select extract(epoch from '2026-07-03 15:07:24'::timestamp) - extract(epoch from '2026-07-03 15:07:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.769971286878 -2.8945141565055)', '2026-07-03 15:07:30', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769885791466 -2.8943929541856)'), GeomFromEWKT('SRID=4674;POINT (-39.769971286878 -2.8945141565055)'))) / (select extract(epoch from '2026-07-03 15:07:30'::timestamp) - extract(epoch from '2026-07-03 15:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769885791466 -2.8943929541856)'), GeomFromEWKT('SRID=4674;POINT (-39.769971286878 -2.8945141565055)'))) / (select extract(epoch from '2026-07-03 15:07:30'::timestamp) - extract(epoch from '2026-07-03 15:07:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.770040269941 -2.8946121409535)', '2026-07-03 15:07:35', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769971286878 -2.8945141565055)'), GeomFromEWKT('SRID=4674;POINT (-39.770040269941 -2.8946121409535)'))) / (select extract(epoch from '2026-07-03 15:07:35'::timestamp) - extract(epoch from '2026-07-03 15:07:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769971286878 -2.8945141565055)'), GeomFromEWKT('SRID=4674;POINT (-39.770040269941 -2.8946121409535)'))) / (select extract(epoch from '2026-07-03 15:07:35'::timestamp) - extract(epoch from '2026-07-03 15:07: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'), 47871, 'SRID=4674;POINT (-39.770146049559 -2.8947667870671)', '2026-07-03 15:07:43', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770040269941 -2.8946121409535)'), GeomFromEWKT('SRID=4674;POINT (-39.770146049559 -2.8947667870671)'))) / (select extract(epoch from '2026-07-03 15:07:43'::timestamp) - extract(epoch from '2026-07-03 15:07:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770040269941 -2.8946121409535)'), GeomFromEWKT('SRID=4674;POINT (-39.770146049559 -2.8947667870671)'))) / (select extract(epoch from '2026-07-03 15:07:43'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.770240178332 -2.894904082641)', '2026-07-03 15:07:50', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770146049559 -2.8947667870671)'), GeomFromEWKT('SRID=4674;POINT (-39.770240178332 -2.894904082641)'))) / (select extract(epoch from '2026-07-03 15:07:50'::timestamp) - extract(epoch from '2026-07-03 15:07:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770146049559 -2.8947667870671)'), GeomFromEWKT('SRID=4674;POINT (-39.770240178332 -2.894904082641)'))) / (select extract(epoch from '2026-07-03 15:07:50'::timestamp) - extract(epoch from '2026-07-03 15:07: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'), 47871, 'SRID=4674;POINT (-39.770307987928 -2.8950028214604)', '2026-07-03 15:07:55', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770240178332 -2.894904082641)'), GeomFromEWKT('SRID=4674;POINT (-39.770307987928 -2.8950028214604)'))) / (select extract(epoch from '2026-07-03 15:07:55'::timestamp) - extract(epoch from '2026-07-03 15:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770240178332 -2.894904082641)'), GeomFromEWKT('SRID=4674;POINT (-39.770307987928 -2.8950028214604)'))) / (select extract(epoch from '2026-07-03 15:07:55'::timestamp) - extract(epoch from '2026-07-03 15:07:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.770393148065 -2.8951137978584)', '2026-07-03 15:08:01', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770307987928 -2.8950028214604)'), GeomFromEWKT('SRID=4674;POINT (-39.770393148065 -2.8951137978584)'))) / (select extract(epoch from '2026-07-03 15:08:01'::timestamp) - extract(epoch from '2026-07-03 15:07:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770307987928 -2.8950028214604)'), GeomFromEWKT('SRID=4674;POINT (-39.770393148065 -2.8951137978584)'))) / (select extract(epoch from '2026-07-03 15:08:01'::timestamp) - extract(epoch from '2026-07-03 15:07: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'), 47871, 'SRID=4674;POINT (-39.770467327908 -2.8952038194984)', '2026-07-03 15:08:06', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770393148065 -2.8951137978584)'), GeomFromEWKT('SRID=4674;POINT (-39.770467327908 -2.8952038194984)'))) / (select extract(epoch from '2026-07-03 15:08:06'::timestamp) - extract(epoch from '2026-07-03 15:08:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770393148065 -2.8951137978584)'), GeomFromEWKT('SRID=4674;POINT (-39.770467327908 -2.8952038194984)'))) / (select extract(epoch from '2026-07-03 15:08:06'::timestamp) - extract(epoch from '2026-07-03 15:08: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'), 47871, 'SRID=4674;POINT (-39.770543519408 -2.8952877223492)', '2026-07-03 15:08:11', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770467327908 -2.8952038194984)'), GeomFromEWKT('SRID=4674;POINT (-39.770543519408 -2.8952877223492)'))) / (select extract(epoch from '2026-07-03 15:08:11'::timestamp) - extract(epoch from '2026-07-03 15:08:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770467327908 -2.8952038194984)'), GeomFromEWKT('SRID=4674;POINT (-39.770543519408 -2.8952877223492)'))) / (select extract(epoch from '2026-07-03 15:08:11'::timestamp) - extract(epoch from '2026-07-03 15:08:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.770629936829 -2.8953886404634)', '2026-07-03 15:08:17', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770543519408 -2.8952877223492)'), GeomFromEWKT('SRID=4674;POINT (-39.770629936829 -2.8953886404634)'))) / (select extract(epoch from '2026-07-03 15:08:17'::timestamp) - extract(epoch from '2026-07-03 15:08:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770543519408 -2.8952877223492)'), GeomFromEWKT('SRID=4674;POINT (-39.770629936829 -2.8953886404634)'))) / (select extract(epoch from '2026-07-03 15:08:17'::timestamp) - extract(epoch from '2026-07-03 15:08: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'), 47871, 'SRID=4674;POINT (-39.770732196048 -2.8955316357315)', '2026-07-03 15:08:25', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770629936829 -2.8953886404634)'), GeomFromEWKT('SRID=4674;POINT (-39.770732196048 -2.8955316357315)'))) / (select extract(epoch from '2026-07-03 15:08:25'::timestamp) - extract(epoch from '2026-07-03 15:08:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770629936829 -2.8953886404634)'), GeomFromEWKT('SRID=4674;POINT (-39.770732196048 -2.8955316357315)'))) / (select extract(epoch from '2026-07-03 15:08:25'::timestamp) - extract(epoch from '2026-07-03 15:08:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.770801849663 -2.8956185560673)', '2026-07-03 15:08:30', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770732196048 -2.8955316357315)'), GeomFromEWKT('SRID=4674;POINT (-39.770801849663 -2.8956185560673)'))) / (select extract(epoch from '2026-07-03 15:08:30'::timestamp) - extract(epoch from '2026-07-03 15:08:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770732196048 -2.8955316357315)'), GeomFromEWKT('SRID=4674;POINT (-39.770801849663 -2.8956185560673)'))) / (select extract(epoch from '2026-07-03 15:08:30'::timestamp) - extract(epoch from '2026-07-03 15:08:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.770896146074 -2.8957410994917)', '2026-07-03 15:08:37', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770801849663 -2.8956185560673)'), GeomFromEWKT('SRID=4674;POINT (-39.770896146074 -2.8957410994917)'))) / (select extract(epoch from '2026-07-03 15:08:37'::timestamp) - extract(epoch from '2026-07-03 15:08:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770801849663 -2.8956185560673)'), GeomFromEWKT('SRID=4674;POINT (-39.770896146074 -2.8957410994917)'))) / (select extract(epoch from '2026-07-03 15:08:37'::timestamp) - extract(epoch from '2026-07-03 15:08:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.770980132744 -2.895855428651)', '2026-07-03 15:08:43', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770896146074 -2.8957410994917)'), GeomFromEWKT('SRID=4674;POINT (-39.770980132744 -2.895855428651)'))) / (select extract(epoch from '2026-07-03 15:08:43'::timestamp) - extract(epoch from '2026-07-03 15:08:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770896146074 -2.8957410994917)'), GeomFromEWKT('SRID=4674;POINT (-39.770980132744 -2.895855428651)'))) / (select extract(epoch from '2026-07-03 15:08:43'::timestamp) - extract(epoch from '2026-07-03 15:08: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'), 47871, 'SRID=4674;POINT (-39.771055066958 -2.8959728591144)', '2026-07-03 15:08:49', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770980132744 -2.895855428651)'), GeomFromEWKT('SRID=4674;POINT (-39.771055066958 -2.8959728591144)'))) / (select extract(epoch from '2026-07-03 15:08:49'::timestamp) - extract(epoch from '2026-07-03 15:08:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770980132744 -2.895855428651)'), GeomFromEWKT('SRID=4674;POINT (-39.771055066958 -2.8959728591144)'))) / (select extract(epoch from '2026-07-03 15:08:49'::timestamp) - extract(epoch from '2026-07-03 15:08: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'), 47871, 'SRID=4674;POINT (-39.771162355319 -2.8961168602109)', '2026-07-03 15:08:57', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771055066958 -2.8959728591144)'), GeomFromEWKT('SRID=4674;POINT (-39.771162355319 -2.8961168602109)'))) / (select extract(epoch from '2026-07-03 15:08:57'::timestamp) - extract(epoch from '2026-07-03 15:08:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771055066958 -2.8959728591144)'), GeomFromEWKT('SRID=4674;POINT (-39.771162355319 -2.8961168602109)'))) / (select extract(epoch from '2026-07-03 15:08:57'::timestamp) - extract(epoch from '2026-07-03 15:08:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.771256735548 -2.8962461929768)', '2026-07-03 15:09:04', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771162355319 -2.8961168602109)'), GeomFromEWKT('SRID=4674;POINT (-39.771256735548 -2.8962461929768)'))) / (select extract(epoch from '2026-07-03 15:09:04'::timestamp) - extract(epoch from '2026-07-03 15:08:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771162355319 -2.8961168602109)'), GeomFromEWKT('SRID=4674;POINT (-39.771256735548 -2.8962461929768)'))) / (select extract(epoch from '2026-07-03 15:09:04'::timestamp) - extract(epoch from '2026-07-03 15:08: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'), 47871, 'SRID=4674;POINT (-39.771355725825 -2.8963726758957)', '2026-07-03 15:09:11', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771256735548 -2.8962461929768)'), GeomFromEWKT('SRID=4674;POINT (-39.771355725825 -2.8963726758957)'))) / (select extract(epoch from '2026-07-03 15:09:11'::timestamp) - extract(epoch from '2026-07-03 15:09:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771256735548 -2.8962461929768)'), GeomFromEWKT('SRID=4674;POINT (-39.771355725825 -2.8963726758957)'))) / (select extract(epoch from '2026-07-03 15:09:11'::timestamp) - extract(epoch from '2026-07-03 15:09: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'), 47871, 'SRID=4674;POINT (-39.771448597312 -2.8964969795197)', '2026-07-03 15:09:18', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771355725825 -2.8963726758957)'), GeomFromEWKT('SRID=4674;POINT (-39.771448597312 -2.8964969795197)'))) / (select extract(epoch from '2026-07-03 15:09:18'::timestamp) - extract(epoch from '2026-07-03 15:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771355725825 -2.8963726758957)'), GeomFromEWKT('SRID=4674;POINT (-39.771448597312 -2.8964969795197)'))) / (select extract(epoch from '2026-07-03 15:09:18'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.771510036662 -2.8965764399618)', '2026-07-03 15:09:22', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771448597312 -2.8964969795197)'), GeomFromEWKT('SRID=4674;POINT (-39.771510036662 -2.8965764399618)'))) / (select extract(epoch from '2026-07-03 15:09:22'::timestamp) - extract(epoch from '2026-07-03 15:09:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771448597312 -2.8964969795197)'), GeomFromEWKT('SRID=4674;POINT (-39.771510036662 -2.8965764399618)'))) / (select extract(epoch from '2026-07-03 15:09:22'::timestamp) - extract(epoch from '2026-07-03 15:09: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'), 47871, 'SRID=4674;POINT (-39.771588072181 -2.8966828901321)', '2026-07-03 15:09:28', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771510036662 -2.8965764399618)'), GeomFromEWKT('SRID=4674;POINT (-39.771588072181 -2.8966828901321)'))) / (select extract(epoch from '2026-07-03 15:09:28'::timestamp) - extract(epoch from '2026-07-03 15:09:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771510036662 -2.8965764399618)'), GeomFromEWKT('SRID=4674;POINT (-39.771588072181 -2.8966828901321)'))) / (select extract(epoch from '2026-07-03 15:09:28'::timestamp) - extract(epoch from '2026-07-03 15:09: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'), 47871, 'SRID=4674;POINT (-39.77165219374 -2.8967744205147)', '2026-07-03 15:09:33', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771588072181 -2.8966828901321)'), GeomFromEWKT('SRID=4674;POINT (-39.77165219374 -2.8967744205147)'))) / (select extract(epoch from '2026-07-03 15:09:33'::timestamp) - extract(epoch from '2026-07-03 15:09:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771588072181 -2.8966828901321)'), GeomFromEWKT('SRID=4674;POINT (-39.77165219374 -2.8967744205147)'))) / (select extract(epoch from '2026-07-03 15:09:33'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.771739952266 -2.8968807868659)', '2026-07-03 15:09:39', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77165219374 -2.8967744205147)'), GeomFromEWKT('SRID=4674;POINT (-39.771739952266 -2.8968807868659)'))) / (select extract(epoch from '2026-07-03 15:09:39'::timestamp) - extract(epoch from '2026-07-03 15:09:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77165219374 -2.8967744205147)'), GeomFromEWKT('SRID=4674;POINT (-39.771739952266 -2.8968807868659)'))) / (select extract(epoch from '2026-07-03 15:09:39'::timestamp) - extract(epoch from '2026-07-03 15:09:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.771837266162 -2.8970137238503)', '2026-07-03 15:09:46', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771739952266 -2.8968807868659)'), GeomFromEWKT('SRID=4674;POINT (-39.771837266162 -2.8970137238503)'))) / (select extract(epoch from '2026-07-03 15:09:46'::timestamp) - extract(epoch from '2026-07-03 15:09:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771739952266 -2.8968807868659)'), GeomFromEWKT('SRID=4674;POINT (-39.771837266162 -2.8970137238503)'))) / (select extract(epoch from '2026-07-03 15:09:46'::timestamp) - extract(epoch from '2026-07-03 15:09: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'), 47871, 'SRID=4674;POINT (-39.771935585886 -2.89714531973)', '2026-07-03 15:09:53', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771837266162 -2.8970137238503)'), GeomFromEWKT('SRID=4674;POINT (-39.771935585886 -2.89714531973)'))) / (select extract(epoch from '2026-07-03 15:09:53'::timestamp) - extract(epoch from '2026-07-03 15:09:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771837266162 -2.8970137238503)'), GeomFromEWKT('SRID=4674;POINT (-39.771935585886 -2.89714531973)'))) / (select extract(epoch from '2026-07-03 15:09:53'::timestamp) - extract(epoch from '2026-07-03 15:09:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.772030133754 -2.8972785919905)', '2026-07-03 15:10:00', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771935585886 -2.89714531973)'), GeomFromEWKT('SRID=4674;POINT (-39.772030133754 -2.8972785919905)'))) / (select extract(epoch from '2026-07-03 15:10:00'::timestamp) - extract(epoch from '2026-07-03 15:09:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771935585886 -2.89714531973)'), GeomFromEWKT('SRID=4674;POINT (-39.772030133754 -2.8972785919905)'))) / (select extract(epoch from '2026-07-03 15:10:00'::timestamp) - extract(epoch from '2026-07-03 15:09:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.772095177323 -2.8973705414683)', '2026-07-03 15:10:05', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772030133754 -2.8972785919905)'), GeomFromEWKT('SRID=4674;POINT (-39.772095177323 -2.8973705414683)'))) / (select extract(epoch from '2026-07-03 15:10:05'::timestamp) - extract(epoch from '2026-07-03 15:10:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772030133754 -2.8972785919905)'), GeomFromEWKT('SRID=4674;POINT (-39.772095177323 -2.8973705414683)'))) / (select extract(epoch from '2026-07-03 15:10:05'::timestamp) - extract(epoch from '2026-07-03 15:10: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'), 47871, 'SRID=4674;POINT (-39.772160220891 -2.8974765725434)', '2026-07-03 15:10:10', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772095177323 -2.8973705414683)'), GeomFromEWKT('SRID=4674;POINT (-39.772160220891 -2.8974765725434)'))) / (select extract(epoch from '2026-07-03 15:10:10'::timestamp) - extract(epoch from '2026-07-03 15:10:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772095177323 -2.8973705414683)'), GeomFromEWKT('SRID=4674;POINT (-39.772160220891 -2.8974765725434)'))) / (select extract(epoch from '2026-07-03 15:10:10'::timestamp) - extract(epoch from '2026-07-03 15:10: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'), 47871, 'SRID=4674;POINT (-39.772264994681 -2.8976297937334)', '2026-07-03 15:10:18', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772160220891 -2.8974765725434)'), GeomFromEWKT('SRID=4674;POINT (-39.772264994681 -2.8976297937334)'))) / (select extract(epoch from '2026-07-03 15:10:18'::timestamp) - extract(epoch from '2026-07-03 15:10:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772160220891 -2.8974765725434)'), GeomFromEWKT('SRID=4674;POINT (-39.772264994681 -2.8976297937334)'))) / (select extract(epoch from '2026-07-03 15:10:18'::timestamp) - extract(epoch from '2026-07-03 15:10:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.772360045463 -2.8977666702121)', '2026-07-03 15:10:25', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772264994681 -2.8976297937334)'), GeomFromEWKT('SRID=4674;POINT (-39.772360045463 -2.8977666702121)'))) / (select extract(epoch from '2026-07-03 15:10:25'::timestamp) - extract(epoch from '2026-07-03 15:10:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772264994681 -2.8976297937334)'), GeomFromEWKT('SRID=4674;POINT (-39.772360045463 -2.8977666702121)'))) / (select extract(epoch from '2026-07-03 15:10:25'::timestamp) - extract(epoch from '2026-07-03 15:10: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'), 47871, 'SRID=4674;POINT (-39.772431794554 -2.8978775627911)', '2026-07-03 15:10:31', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772360045463 -2.8977666702121)'), GeomFromEWKT('SRID=4674;POINT (-39.772431794554 -2.8978775627911)'))) / (select extract(epoch from '2026-07-03 15:10:31'::timestamp) - extract(epoch from '2026-07-03 15:10:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772360045463 -2.8977666702121)'), GeomFromEWKT('SRID=4674;POINT (-39.772431794554 -2.8978775627911)'))) / (select extract(epoch from '2026-07-03 15:10:31'::timestamp) - extract(epoch from '2026-07-03 15:10: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'), 47871, 'SRID=4674;POINT (-39.77250312455 -2.8979857731611)', '2026-07-03 15:10:37', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772431794554 -2.8978775627911)'), GeomFromEWKT('SRID=4674;POINT (-39.77250312455 -2.8979857731611)'))) / (select extract(epoch from '2026-07-03 15:10:37'::timestamp) - extract(epoch from '2026-07-03 15:10:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772431794554 -2.8978775627911)'), GeomFromEWKT('SRID=4674;POINT (-39.77250312455 -2.8979857731611)'))) / (select extract(epoch from '2026-07-03 15:10:37'::timestamp) - extract(epoch from '2026-07-03 15:10:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.772589793429 -2.8981182910502)', '2026-07-03 15:10:44', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77250312455 -2.8979857731611)'), GeomFromEWKT('SRID=4674;POINT (-39.772589793429 -2.8981182910502)'))) / (select extract(epoch from '2026-07-03 15:10:44'::timestamp) - extract(epoch from '2026-07-03 15:10:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77250312455 -2.8979857731611)'), GeomFromEWKT('SRID=4674;POINT (-39.772589793429 -2.8981182910502)'))) / (select extract(epoch from '2026-07-03 15:10:44'::timestamp) - extract(epoch from '2026-07-03 15:10: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'), 47871, 'SRID=4674;POINT (-39.772665565833 -2.8982294350863)', '2026-07-03 15:10:50', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772589793429 -2.8981182910502)'), GeomFromEWKT('SRID=4674;POINT (-39.772665565833 -2.8982294350863)'))) / (select extract(epoch from '2026-07-03 15:10:50'::timestamp) - extract(epoch from '2026-07-03 15:10:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772589793429 -2.8981182910502)'), GeomFromEWKT('SRID=4674;POINT (-39.772665565833 -2.8982294350863)'))) / (select extract(epoch from '2026-07-03 15:10:50'::timestamp) - extract(epoch from '2026-07-03 15:10: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'), 47871, 'SRID=4674;POINT (-39.772743517533 -2.8983298502862)', '2026-07-03 15:10:56', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772665565833 -2.8982294350863)'), GeomFromEWKT('SRID=4674;POINT (-39.772743517533 -2.8983298502862)'))) / (select extract(epoch from '2026-07-03 15:10:56'::timestamp) - extract(epoch from '2026-07-03 15:10:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772665565833 -2.8982294350863)'), GeomFromEWKT('SRID=4674;POINT (-39.772743517533 -2.8983298502862)'))) / (select extract(epoch from '2026-07-03 15:10:56'::timestamp) - extract(epoch from '2026-07-03 15:10: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'), 47871, 'SRID=4674;POINT (-39.772834545001 -2.8984464425594)', '2026-07-03 15:11:03', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772743517533 -2.8983298502862)'), GeomFromEWKT('SRID=4674;POINT (-39.772834545001 -2.8984464425594)'))) / (select extract(epoch from '2026-07-03 15:11:03'::timestamp) - extract(epoch from '2026-07-03 15:10:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772743517533 -2.8983298502862)'), GeomFromEWKT('SRID=4674;POINT (-39.772834545001 -2.8984464425594)'))) / (select extract(epoch from '2026-07-03 15:11:03'::timestamp) - extract(epoch from '2026-07-03 15:10: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'), 47871, 'SRID=4674;POINT (-39.772918866947 -2.8985623642802)', '2026-07-03 15:11:10', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772834545001 -2.8984464425594)'), GeomFromEWKT('SRID=4674;POINT (-39.772918866947 -2.8985623642802)'))) / (select extract(epoch from '2026-07-03 15:11:10'::timestamp) - extract(epoch from '2026-07-03 15:11:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772834545001 -2.8984464425594)'), GeomFromEWKT('SRID=4674;POINT (-39.772918866947 -2.8985623642802)'))) / (select extract(epoch from '2026-07-03 15:11:10'::timestamp) - extract(epoch from '2026-07-03 15:11:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.772996148095 -2.8986721672118)', '2026-07-03 15:11:16', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772918866947 -2.8985623642802)'), GeomFromEWKT('SRID=4674;POINT (-39.772996148095 -2.8986721672118)'))) / (select extract(epoch from '2026-07-03 15:11:16'::timestamp) - extract(epoch from '2026-07-03 15:11:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772918866947 -2.8985623642802)'), GeomFromEWKT('SRID=4674;POINT (-39.772996148095 -2.8986721672118)'))) / (select extract(epoch from '2026-07-03 15:11:16'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.773069573566 -2.8987929504365)', '2026-07-03 15:11:22', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772996148095 -2.8986721672118)'), GeomFromEWKT('SRID=4674;POINT (-39.773069573566 -2.8987929504365)'))) / (select extract(epoch from '2026-07-03 15:11:22'::timestamp) - extract(epoch from '2026-07-03 15:11:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772996148095 -2.8986721672118)'), GeomFromEWKT('SRID=4674;POINT (-39.773069573566 -2.8987929504365)'))) / (select extract(epoch from '2026-07-03 15:11:22'::timestamp) - extract(epoch from '2026-07-03 15:11: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'), 47871, 'SRID=4674;POINT (-39.773128917441 -2.8988722432405)', '2026-07-03 15:11:26', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773069573566 -2.8987929504365)'), GeomFromEWKT('SRID=4674;POINT (-39.773128917441 -2.8988722432405)'))) / (select extract(epoch from '2026-07-03 15:11:26'::timestamp) - extract(epoch from '2026-07-03 15:11:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773069573566 -2.8987929504365)'), GeomFromEWKT('SRID=4674;POINT (-39.773128917441 -2.8988722432405)'))) / (select extract(epoch from '2026-07-03 15:11:26'::timestamp) - extract(epoch from '2026-07-03 15:11: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'), 47871, 'SRID=4674;POINT (-39.773225225508 -2.8989876620471)', '2026-07-03 15:11:32', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773128917441 -2.8988722432405)'), GeomFromEWKT('SRID=4674;POINT (-39.773225225508 -2.8989876620471)'))) / (select extract(epoch from '2026-07-03 15:11:32'::timestamp) - extract(epoch from '2026-07-03 15:11:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773128917441 -2.8988722432405)'), GeomFromEWKT('SRID=4674;POINT (-39.773225225508 -2.8989876620471)'))) / (select extract(epoch from '2026-07-03 15:11:32'::timestamp) - extract(epoch from '2026-07-03 15:11: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'), 47871, 'SRID=4674;POINT (-39.773294795305 -2.8990821260959)', '2026-07-03 15:11:37', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773225225508 -2.8989876620471)'), GeomFromEWKT('SRID=4674;POINT (-39.773294795305 -2.8990821260959)'))) / (select extract(epoch from '2026-07-03 15:11:37'::timestamp) - extract(epoch from '2026-07-03 15:11:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773225225508 -2.8989876620471)'), GeomFromEWKT('SRID=4674;POINT (-39.773294795305 -2.8990821260959)'))) / (select extract(epoch from '2026-07-03 15:11:37'::timestamp) - extract(epoch from '2026-07-03 15:11: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'), 47871, 'SRID=4674;POINT (-39.773381883278 -2.8991992212832)', '2026-07-03 15:11:43', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773294795305 -2.8990821260959)'), GeomFromEWKT('SRID=4674;POINT (-39.773381883278 -2.8991992212832)'))) / (select extract(epoch from '2026-07-03 15:11:43'::timestamp) - extract(epoch from '2026-07-03 15:11:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773294795305 -2.8990821260959)'), GeomFromEWKT('SRID=4674;POINT (-39.773381883278 -2.8991992212832)'))) / (select extract(epoch from '2026-07-03 15:11:43'::timestamp) - extract(epoch from '2026-07-03 15:11: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'), 47871, 'SRID=4674;POINT (-39.77347525768 -2.8993269614875)', '2026-07-03 15:11:50', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773381883278 -2.8991992212832)'), GeomFromEWKT('SRID=4674;POINT (-39.77347525768 -2.8993269614875)'))) / (select extract(epoch from '2026-07-03 15:11:50'::timestamp) - extract(epoch from '2026-07-03 15:11:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773381883278 -2.8991992212832)'), GeomFromEWKT('SRID=4674;POINT (-39.77347525768 -2.8993269614875)'))) / (select extract(epoch from '2026-07-03 15:11:50'::timestamp) - extract(epoch from '2026-07-03 15:11: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'), 47871, 'SRID=4674;POINT (-39.773568967357 -2.8994439728558)', '2026-07-03 15:11:56', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77347525768 -2.8993269614875)'), GeomFromEWKT('SRID=4674;POINT (-39.773568967357 -2.8994439728558)'))) / (select extract(epoch from '2026-07-03 15:11:56'::timestamp) - extract(epoch from '2026-07-03 15:11:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77347525768 -2.8993269614875)'), GeomFromEWKT('SRID=4674;POINT (-39.773568967357 -2.8994439728558)'))) / (select extract(epoch from '2026-07-03 15:11:56'::timestamp) - extract(epoch from '2026-07-03 15:11: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'), 47871, 'SRID=4674;POINT (-39.773641051725 -2.8995335754007)', '2026-07-03 15:12:01', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773568967357 -2.8994439728558)'), GeomFromEWKT('SRID=4674;POINT (-39.773641051725 -2.8995335754007)'))) / (select extract(epoch from '2026-07-03 15:12:01'::timestamp) - extract(epoch from '2026-07-03 15:11:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773568967357 -2.8994439728558)'), GeomFromEWKT('SRID=4674;POINT (-39.773641051725 -2.8995335754007)'))) / (select extract(epoch from '2026-07-03 15:12:01'::timestamp) - extract(epoch from '2026-07-03 15:11:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.773709531873 -2.8996310569346)', '2026-07-03 15:12:06', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773641051725 -2.8995335754007)'), GeomFromEWKT('SRID=4674;POINT (-39.773709531873 -2.8996310569346)'))) / (select extract(epoch from '2026-07-03 15:12:06'::timestamp) - extract(epoch from '2026-07-03 15:12:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773641051725 -2.8995335754007)'), GeomFromEWKT('SRID=4674;POINT (-39.773709531873 -2.8996310569346)'))) / (select extract(epoch from '2026-07-03 15:12:06'::timestamp) - extract(epoch from '2026-07-03 15:12:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.773761667311 -2.8997301310301)', '2026-07-03 15:12:11', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773709531873 -2.8996310569346)'), GeomFromEWKT('SRID=4674;POINT (-39.773761667311 -2.8997301310301)'))) / (select extract(epoch from '2026-07-03 15:12:11'::timestamp) - extract(epoch from '2026-07-03 15:12:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773709531873 -2.8996310569346)'), GeomFromEWKT('SRID=4674;POINT (-39.773761667311 -2.8997301310301)'))) / (select extract(epoch from '2026-07-03 15:12:11'::timestamp) - extract(epoch from '2026-07-03 15:12: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'), 47871, 'SRID=4674;POINT (-39.77385872975 -2.8998615592718)', '2026-07-03 15:12:18', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773761667311 -2.8997301310301)'), GeomFromEWKT('SRID=4674;POINT (-39.77385872975 -2.8998615592718)'))) / (select extract(epoch from '2026-07-03 15:12:18'::timestamp) - extract(epoch from '2026-07-03 15:12:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773761667311 -2.8997301310301)'), GeomFromEWKT('SRID=4674;POINT (-39.77385872975 -2.8998615592718)'))) / (select extract(epoch from '2026-07-03 15:12:18'::timestamp) - extract(epoch from '2026-07-03 15:12: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'), 47871, 'SRID=4674;POINT (-39.773911368102 -2.8999393433332)', '2026-07-03 15:12:22', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77385872975 -2.8998615592718)'), GeomFromEWKT('SRID=4674;POINT (-39.773911368102 -2.8999393433332)'))) / (select extract(epoch from '2026-07-03 15:12:22'::timestamp) - extract(epoch from '2026-07-03 15:12:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77385872975 -2.8998615592718)'), GeomFromEWKT('SRID=4674;POINT (-39.773911368102 -2.8999393433332)'))) / (select extract(epoch from '2026-07-03 15:12:22'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.773977668956 -2.9000248387456)', '2026-07-03 15:12:27', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773911368102 -2.8999393433332)'), GeomFromEWKT('SRID=4674;POINT (-39.773977668956 -2.9000248387456)'))) / (select extract(epoch from '2026-07-03 15:12:27'::timestamp) - extract(epoch from '2026-07-03 15:12:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773911368102 -2.8999393433332)'), GeomFromEWKT('SRID=4674;POINT (-39.773977668956 -2.9000248387456)'))) / (select extract(epoch from '2026-07-03 15:12:27'::timestamp) - extract(epoch from '2026-07-03 15:12: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'), 47871, 'SRID=4674;POINT (-39.774042377248 -2.9001197218895)', '2026-07-03 15:12:32', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773977668956 -2.9000248387456)'), GeomFromEWKT('SRID=4674;POINT (-39.774042377248 -2.9001197218895)'))) / (select extract(epoch from '2026-07-03 15:12:32'::timestamp) - extract(epoch from '2026-07-03 15:12:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773977668956 -2.9000248387456)'), GeomFromEWKT('SRID=4674;POINT (-39.774042377248 -2.9001197218895)'))) / (select extract(epoch from '2026-07-03 15:12:32'::timestamp) - extract(epoch from '2026-07-03 15:12: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'), 47871, 'SRID=4674;POINT (-39.774100966752 -2.9002375714481)', '2026-07-03 15:12:38', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774042377248 -2.9001197218895)'), GeomFromEWKT('SRID=4674;POINT (-39.774100966752 -2.9002375714481)'))) / (select extract(epoch from '2026-07-03 15:12:38'::timestamp) - extract(epoch from '2026-07-03 15:12:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774042377248 -2.9001197218895)'), GeomFromEWKT('SRID=4674;POINT (-39.774100966752 -2.9002375714481)'))) / (select extract(epoch from '2026-07-03 15:12:38'::timestamp) - extract(epoch from '2026-07-03 15:12: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'), 47871, 'SRID=4674;POINT (-39.77420322597 -2.9003947321326)', '2026-07-03 15:12:46', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774100966752 -2.9002375714481)'), GeomFromEWKT('SRID=4674;POINT (-39.77420322597 -2.9003947321326)'))) / (select extract(epoch from '2026-07-03 15:12:46'::timestamp) - extract(epoch from '2026-07-03 15:12:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774100966752 -2.9002375714481)'), GeomFromEWKT('SRID=4674;POINT (-39.77420322597 -2.9003947321326)'))) / (select extract(epoch from '2026-07-03 15:12:46'::timestamp) - extract(epoch from '2026-07-03 15:12:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.774299031124 -2.9005282558501)', '2026-07-03 15:12:53', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77420322597 -2.9003947321326)'), GeomFromEWKT('SRID=4674;POINT (-39.774299031124 -2.9005282558501)'))) / (select extract(epoch from '2026-07-03 15:12:53'::timestamp) - extract(epoch from '2026-07-03 15:12:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77420322597 -2.9003947321326)'), GeomFromEWKT('SRID=4674;POINT (-39.774299031124 -2.9005282558501)'))) / (select extract(epoch from '2026-07-03 15:12:53'::timestamp) - extract(epoch from '2026-07-03 15:12: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'), 47871, 'SRID=4674;POINT (-39.774402044713 -2.9006510507315)', '2026-07-03 15:13:00', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774299031124 -2.9005282558501)'), GeomFromEWKT('SRID=4674;POINT (-39.774402044713 -2.9006510507315)'))) / (select extract(epoch from '2026-07-03 15:13:00'::timestamp) - extract(epoch from '2026-07-03 15:12:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774299031124 -2.9005282558501)'), GeomFromEWKT('SRID=4674;POINT (-39.774402044713 -2.9006510507315)'))) / (select extract(epoch from '2026-07-03 15:13:00'::timestamp) - extract(epoch from '2026-07-03 15:12: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'), 47871, 'SRID=4674;POINT (-39.774477481842 -2.9007691517472)', '2026-07-03 15:13:06', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774402044713 -2.9006510507315)'), GeomFromEWKT('SRID=4674;POINT (-39.774477481842 -2.9007691517472)'))) / (select extract(epoch from '2026-07-03 15:13:06'::timestamp) - extract(epoch from '2026-07-03 15:13:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774402044713 -2.9006510507315)'), GeomFromEWKT('SRID=4674;POINT (-39.774477481842 -2.9007691517472)'))) / (select extract(epoch from '2026-07-03 15:13:06'::timestamp) - extract(epoch from '2026-07-03 15:13: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'), 47871, 'SRID=4674;POINT (-39.774570520967 -2.900905944407)', '2026-07-03 15:13:13', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774477481842 -2.9007691517472)'), GeomFromEWKT('SRID=4674;POINT (-39.774570520967 -2.900905944407)'))) / (select extract(epoch from '2026-07-03 15:13:13'::timestamp) - extract(epoch from '2026-07-03 15:13:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774477481842 -2.9007691517472)'), GeomFromEWKT('SRID=4674;POINT (-39.774570520967 -2.900905944407)'))) / (select extract(epoch from '2026-07-03 15:13:13'::timestamp) - extract(epoch from '2026-07-03 15:13: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'), 47871, 'SRID=4674;POINT (-39.774636821821 -2.9009999893606)', '2026-07-03 15:13:18', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774570520967 -2.900905944407)'), GeomFromEWKT('SRID=4674;POINT (-39.774636821821 -2.9009999893606)'))) / (select extract(epoch from '2026-07-03 15:13:18'::timestamp) - extract(epoch from '2026-07-03 15:13:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774570520967 -2.900905944407)'), GeomFromEWKT('SRID=4674;POINT (-39.774636821821 -2.9009999893606)'))) / (select extract(epoch from '2026-07-03 15:13:18'::timestamp) - extract(epoch from '2026-07-03 15:13: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'), 47871, 'SRID=4674;POINT (-39.774689963087 -2.9010765999556)', '2026-07-03 15:13:22', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774636821821 -2.9009999893606)'), GeomFromEWKT('SRID=4674;POINT (-39.774689963087 -2.9010765999556)'))) / (select extract(epoch from '2026-07-03 15:13:22'::timestamp) - extract(epoch from '2026-07-03 15:13:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774636821821 -2.9009999893606)'), GeomFromEWKT('SRID=4674;POINT (-39.774689963087 -2.9010765999556)'))) / (select extract(epoch from '2026-07-03 15:13:22'::timestamp) - extract(epoch from '2026-07-03 15:13: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'), 47871, 'SRID=4674;POINT (-39.774752240628 -2.901167543605)', '2026-07-03 15:13:27', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774689963087 -2.9010765999556)'), GeomFromEWKT('SRID=4674;POINT (-39.774752240628 -2.901167543605)'))) / (select extract(epoch from '2026-07-03 15:13:27'::timestamp) - extract(epoch from '2026-07-03 15:13:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774689963087 -2.9010765999556)'), GeomFromEWKT('SRID=4674;POINT (-39.774752240628 -2.901167543605)'))) / (select extract(epoch from '2026-07-03 15:13:27'::timestamp) - extract(epoch from '2026-07-03 15:13:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.774802783504 -2.901267958805)', '2026-07-03 15:13:32', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774752240628 -2.901167543605)'), GeomFromEWKT('SRID=4674;POINT (-39.774802783504 -2.901267958805)'))) / (select extract(epoch from '2026-07-03 15:13:32'::timestamp) - extract(epoch from '2026-07-03 15:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774752240628 -2.901167543605)'), GeomFromEWKT('SRID=4674;POINT (-39.774802783504 -2.901267958805)'))) / (select extract(epoch from '2026-07-03 15:13:32'::timestamp) - extract(epoch from '2026-07-03 15:13: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'), 47871, 'SRID=4674;POINT (-39.774883249775 -2.9013889934868)', '2026-07-03 15:13:38', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774802783504 -2.901267958805)'), GeomFromEWKT('SRID=4674;POINT (-39.774883249775 -2.9013889934868)'))) / (select extract(epoch from '2026-07-03 15:13:38'::timestamp) - extract(epoch from '2026-07-03 15:13:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774802783504 -2.901267958805)'), GeomFromEWKT('SRID=4674;POINT (-39.774883249775 -2.9013889934868)'))) / (select extract(epoch from '2026-07-03 15:13:38'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.774899762124 -2.9014089424163)', '2026-07-03 15:13:39', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774883249775 -2.9013889934868)'), GeomFromEWKT('SRID=4674;POINT (-39.774899762124 -2.9014089424163)'))) / (select extract(epoch from '2026-07-03 15:13:39'::timestamp) - extract(epoch from '2026-07-03 15:13:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774883249775 -2.9013889934868)'), GeomFromEWKT('SRID=4674;POINT (-39.774899762124 -2.9014089424163)'))) / (select extract(epoch from '2026-07-03 15:13:39'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.774929266423 -2.9014642629772)', '2026-07-03 15:13:42', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774899762124 -2.9014089424163)'), GeomFromEWKT('SRID=4674;POINT (-39.774929266423 -2.9014642629772)'))) / (select extract(epoch from '2026-07-03 15:13:42'::timestamp) - extract(epoch from '2026-07-03 15:13:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774899762124 -2.9014089424163)'), GeomFromEWKT('SRID=4674;POINT (-39.774929266423 -2.9014642629772)'))) / (select extract(epoch from '2026-07-03 15:13:42'::timestamp) - extract(epoch from '2026-07-03 15:13: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'), 47871, 'SRID=4674;POINT (-39.774984754622 -2.9015401192009)', '2026-07-03 15:13:46', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774929266423 -2.9014642629772)'), GeomFromEWKT('SRID=4674;POINT (-39.774984754622 -2.9015401192009)'))) / (select extract(epoch from '2026-07-03 15:13:46'::timestamp) - extract(epoch from '2026-07-03 15:13:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774929266423 -2.9014642629772)'), GeomFromEWKT('SRID=4674;POINT (-39.774984754622 -2.9015401192009)'))) / (select extract(epoch from '2026-07-03 15:13:46'::timestamp) - extract(epoch from '2026-07-03 15:13: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'), 47871, 'SRID=4674;POINT (-39.775052145123 -2.9016503412277)', '2026-07-03 15:13:52', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774984754622 -2.9015401192009)'), GeomFromEWKT('SRID=4674;POINT (-39.775052145123 -2.9016503412277)'))) / (select extract(epoch from '2026-07-03 15:13:52'::timestamp) - extract(epoch from '2026-07-03 15:13:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774984754622 -2.9015401192009)'), GeomFromEWKT('SRID=4674;POINT (-39.775052145123 -2.9016503412277)'))) / (select extract(epoch from '2026-07-03 15:13:52'::timestamp) - extract(epoch from '2026-07-03 15:13:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.77511995472 -2.9017655923963)', '2026-07-03 15:13:58', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775052145123 -2.9016503412277)'), GeomFromEWKT('SRID=4674;POINT (-39.77511995472 -2.9017655923963)'))) / (select extract(epoch from '2026-07-03 15:13:58'::timestamp) - extract(epoch from '2026-07-03 15:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775052145123 -2.9016503412277)'), GeomFromEWKT('SRID=4674;POINT (-39.77511995472 -2.9017655923963)'))) / (select extract(epoch from '2026-07-03 15:13:58'::timestamp) - extract(epoch from '2026-07-03 15:13:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.775187764317 -2.9019047319889)', '2026-07-03 15:14:05', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77511995472 -2.9017655923963)'), GeomFromEWKT('SRID=4674;POINT (-39.775187764317 -2.9019047319889)'))) / (select extract(epoch from '2026-07-03 15:14:05'::timestamp) - extract(epoch from '2026-07-03 15:13:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77511995472 -2.9017655923963)'), GeomFromEWKT('SRID=4674;POINT (-39.775187764317 -2.9019047319889)'))) / (select extract(epoch from '2026-07-03 15:14:05'::timestamp) - extract(epoch from '2026-07-03 15:13:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.775253394619 -2.9020002856851)', '2026-07-03 15:14:10', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775187764317 -2.9019047319889)'), GeomFromEWKT('SRID=4674;POINT (-39.775253394619 -2.9020002856851)'))) / (select extract(epoch from '2026-07-03 15:14:10'::timestamp) - extract(epoch from '2026-07-03 15:14:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775187764317 -2.9019047319889)'), GeomFromEWKT('SRID=4674;POINT (-39.775253394619 -2.9020002856851)'))) / (select extract(epoch from '2026-07-03 15:14:10'::timestamp) - extract(epoch from '2026-07-03 15:14: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'), 47871, 'SRID=4674;POINT (-39.775329586118 -2.9021089989692)', '2026-07-03 15:14:16', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775253394619 -2.9020002856851)'), GeomFromEWKT('SRID=4674;POINT (-39.775329586118 -2.9021089989692)'))) / (select extract(epoch from '2026-07-03 15:14:16'::timestamp) - extract(epoch from '2026-07-03 15:14:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775253394619 -2.9020002856851)'), GeomFromEWKT('SRID=4674;POINT (-39.775329586118 -2.9021089989692)'))) / (select extract(epoch from '2026-07-03 15:14:16'::timestamp) - extract(epoch from '2026-07-03 15:14: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'), 47871, 'SRID=4674;POINT (-39.77539613843 -2.9021941591054)', '2026-07-03 15:14:21', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775329586118 -2.9021089989692)'), GeomFromEWKT('SRID=4674;POINT (-39.77539613843 -2.9021941591054)'))) / (select extract(epoch from '2026-07-03 15:14:21'::timestamp) - extract(epoch from '2026-07-03 15:14:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775329586118 -2.9021089989692)'), GeomFromEWKT('SRID=4674;POINT (-39.77539613843 -2.9021941591054)'))) / (select extract(epoch from '2026-07-03 15:14:21'::timestamp) - extract(epoch from '2026-07-03 15:14: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'), 47871, 'SRID=4674;POINT (-39.775466043502 -2.9023054707795)', '2026-07-03 15:14:27', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77539613843 -2.9021941591054)'), GeomFromEWKT('SRID=4674;POINT (-39.775466043502 -2.9023054707795)'))) / (select extract(epoch from '2026-07-03 15:14:27'::timestamp) - extract(epoch from '2026-07-03 15:14:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77539613843 -2.9021941591054)'), GeomFromEWKT('SRID=4674;POINT (-39.775466043502 -2.9023054707795)'))) / (select extract(epoch from '2026-07-03 15:14:27'::timestamp) - extract(epoch from '2026-07-03 15:14:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.775495883077 -2.9023429378867)', '2026-07-03 15:14:29', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775466043502 -2.9023054707795)'), GeomFromEWKT('SRID=4674;POINT (-39.775495883077 -2.9023429378867)'))) / (select extract(epoch from '2026-07-03 15:14:29'::timestamp) - extract(epoch from '2026-07-03 15:14:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775466043502 -2.9023054707795)'), GeomFromEWKT('SRID=4674;POINT (-39.775495883077 -2.9023429378867)'))) / (select extract(epoch from '2026-07-03 15:14:29'::timestamp) - extract(epoch from '2026-07-03 15:14: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'), 47871, 'SRID=4674;POINT (-39.775535864756 -2.9023971688002)', '2026-07-03 15:14:32', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775495883077 -2.9023429378867)'), GeomFromEWKT('SRID=4674;POINT (-39.775535864756 -2.9023971688002)'))) / (select extract(epoch from '2026-07-03 15:14:32'::timestamp) - extract(epoch from '2026-07-03 15:14:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775495883077 -2.9023429378867)'), GeomFromEWKT('SRID=4674;POINT (-39.775535864756 -2.9023971688002)'))) / (select extract(epoch from '2026-07-03 15:14:32'::timestamp) - extract(epoch from '2026-07-03 15:14:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.775610296056 -2.9025059659034)', '2026-07-03 15:14:38', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775535864756 -2.9023971688002)'), GeomFromEWKT('SRID=4674;POINT (-39.775610296056 -2.9025059659034)'))) / (select extract(epoch from '2026-07-03 15:14:38'::timestamp) - extract(epoch from '2026-07-03 15:14:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775535864756 -2.9023971688002)'), GeomFromEWKT('SRID=4674;POINT (-39.775610296056 -2.9025059659034)'))) / (select extract(epoch from '2026-07-03 15:14:38'::timestamp) - extract(epoch from '2026-07-03 15:14:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.775674249977 -2.9026050399989)', '2026-07-03 15:14:43', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775610296056 -2.9025059659034)'), GeomFromEWKT('SRID=4674;POINT (-39.775674249977 -2.9026050399989)'))) / (select extract(epoch from '2026-07-03 15:14:43'::timestamp) - extract(epoch from '2026-07-03 15:14:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775610296056 -2.9025059659034)'), GeomFromEWKT('SRID=4674;POINT (-39.775674249977 -2.9026050399989)'))) / (select extract(epoch from '2026-07-03 15:14:43'::timestamp) - extract(epoch from '2026-07-03 15:14: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'), 47871, 'SRID=4674;POINT (-39.775756644085 -2.9027251526713)', '2026-07-03 15:14:49', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775674249977 -2.9026050399989)'), GeomFromEWKT('SRID=4674;POINT (-39.775756644085 -2.9027251526713)'))) / (select extract(epoch from '2026-07-03 15:14:49'::timestamp) - extract(epoch from '2026-07-03 15:14:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775674249977 -2.9026050399989)'), GeomFromEWKT('SRID=4674;POINT (-39.775756644085 -2.9027251526713)'))) / (select extract(epoch from '2026-07-03 15:14:49'::timestamp) - extract(epoch from '2026-07-03 15:14: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'), 47871, 'SRID=4674;POINT (-39.775854377076 -2.9028490372002)', '2026-07-03 15:14:55', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775756644085 -2.9027251526713)'), GeomFromEWKT('SRID=4674;POINT (-39.775854377076 -2.9028490372002)'))) / (select extract(epoch from '2026-07-03 15:14:55'::timestamp) - extract(epoch from '2026-07-03 15:14:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775756644085 -2.9027251526713)'), GeomFromEWKT('SRID=4674;POINT (-39.775854377076 -2.9028490372002)'))) / (select extract(epoch from '2026-07-03 15:14:55'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.77594406344 -2.9029750172049)', '2026-07-03 15:15:01', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775854377076 -2.9028490372002)'), GeomFromEWKT('SRID=4674;POINT (-39.77594406344 -2.9029750172049)'))) / (select extract(epoch from '2026-07-03 15:15:01'::timestamp) - extract(epoch from '2026-07-03 15:14:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775854377076 -2.9028490372002)'), GeomFromEWKT('SRID=4674;POINT (-39.77594406344 -2.9029750172049)'))) / (select extract(epoch from '2026-07-03 15:15:01'::timestamp) - extract(epoch from '2026-07-03 15:14:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.77602369152 -2.9030751809478)', '2026-07-03 15:15:06', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77594406344 -2.9029750172049)'), GeomFromEWKT('SRID=4674;POINT (-39.77602369152 -2.9030751809478)'))) / (select extract(epoch from '2026-07-03 15:15:06'::timestamp) - extract(epoch from '2026-07-03 15:15:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77594406344 -2.9029750172049)'), GeomFromEWKT('SRID=4674;POINT (-39.77602369152 -2.9030751809478)'))) / (select extract(epoch from '2026-07-03 15:15:06'::timestamp) - extract(epoch from '2026-07-03 15:15:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.77611027658 -2.9031993169338)', '2026-07-03 15:15:12', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77602369152 -2.9030751809478)'), GeomFromEWKT('SRID=4674;POINT (-39.77611027658 -2.9031993169338)'))) / (select extract(epoch from '2026-07-03 15:15:12'::timestamp) - extract(epoch from '2026-07-03 15:15:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77602369152 -2.9030751809478)'), GeomFromEWKT('SRID=4674;POINT (-39.77611027658 -2.9031993169338)'))) / (select extract(epoch from '2026-07-03 15:15:12'::timestamp) - extract(epoch from '2026-07-03 15:15: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'), 47871, 'SRID=4674;POINT (-39.776198873296 -2.9033173341304)', '2026-07-03 15:15:18', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77611027658 -2.9031993169338)'), GeomFromEWKT('SRID=4674;POINT (-39.776198873296 -2.9033173341304)'))) / (select extract(epoch from '2026-07-03 15:15:18'::timestamp) - extract(epoch from '2026-07-03 15:15:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77611027658 -2.9031993169338)'), GeomFromEWKT('SRID=4674;POINT (-39.776198873296 -2.9033173341304)'))) / (select extract(epoch from '2026-07-03 15:15:18'::timestamp) - extract(epoch from '2026-07-03 15:15: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'), 47871, 'SRID=4674;POINT (-39.776308257133 -2.9034491814673)', '2026-07-03 15:15:25', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776198873296 -2.9033173341304)'), GeomFromEWKT('SRID=4674;POINT (-39.776308257133 -2.9034491814673)'))) / (select extract(epoch from '2026-07-03 15:15:25'::timestamp) - extract(epoch from '2026-07-03 15:15:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776198873296 -2.9033173341304)'), GeomFromEWKT('SRID=4674;POINT (-39.776308257133 -2.9034491814673)'))) / (select extract(epoch from '2026-07-03 15:15:25'::timestamp) - extract(epoch from '2026-07-03 15:15:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.776403056458 -2.9035664442927)', '2026-07-03 15:15:31', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776308257133 -2.9034491814673)'), GeomFromEWKT('SRID=4674;POINT (-39.776403056458 -2.9035664442927)'))) / (select extract(epoch from '2026-07-03 15:15:31'::timestamp) - extract(epoch from '2026-07-03 15:15:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776308257133 -2.9034491814673)'), GeomFromEWKT('SRID=4674;POINT (-39.776403056458 -2.9035664442927)'))) / (select extract(epoch from '2026-07-03 15:15:31'::timestamp) - extract(epoch from '2026-07-03 15:15: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'), 47871, 'SRID=4674;POINT (-39.776473129168 -2.9036880657077)', '2026-07-03 15:15:37', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776403056458 -2.9035664442927)'), GeomFromEWKT('SRID=4674;POINT (-39.776473129168 -2.9036880657077)'))) / (select extract(epoch from '2026-07-03 15:15:37'::timestamp) - extract(epoch from '2026-07-03 15:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776403056458 -2.9035664442927)'), GeomFromEWKT('SRID=4674;POINT (-39.776473129168 -2.9036880657077)'))) / (select extract(epoch from '2026-07-03 15:15:37'::timestamp) - extract(epoch from '2026-07-03 15:15:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.776577567682 -2.9038570448756)', '2026-07-03 15:15:45', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776473129168 -2.9036880657077)'), GeomFromEWKT('SRID=4674;POINT (-39.776577567682 -2.9038570448756)'))) / (select extract(epoch from '2026-07-03 15:15:45'::timestamp) - extract(epoch from '2026-07-03 15:15:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776473129168 -2.9036880657077)'), GeomFromEWKT('SRID=4674;POINT (-39.776577567682 -2.9038570448756)'))) / (select extract(epoch from '2026-07-03 15:15:45'::timestamp) - extract(epoch from '2026-07-03 15:15: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'), 47871, 'SRID=4674;POINT (-39.776688795537 -2.9040001239628)', '2026-07-03 15:15:52', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776577567682 -2.9038570448756)'), GeomFromEWKT('SRID=4674;POINT (-39.776688795537 -2.9040001239628)'))) / (select extract(epoch from '2026-07-03 15:15:52'::timestamp) - extract(epoch from '2026-07-03 15:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776577567682 -2.9038570448756)'), GeomFromEWKT('SRID=4674;POINT (-39.776688795537 -2.9040001239628)'))) / (select extract(epoch from '2026-07-03 15:15:52'::timestamp) - extract(epoch from '2026-07-03 15:15: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'), 47871, 'SRID=4674;POINT (-39.776803543791 -2.9041412752122)', '2026-07-03 15:15:59', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776688795537 -2.9040001239628)'), GeomFromEWKT('SRID=4674;POINT (-39.776803543791 -2.9041412752122)'))) / (select extract(epoch from '2026-07-03 15:15:59'::timestamp) - extract(epoch from '2026-07-03 15:15:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776688795537 -2.9040001239628)'), GeomFromEWKT('SRID=4674;POINT (-39.776803543791 -2.9041412752122)'))) / (select extract(epoch from '2026-07-03 15:15:59'::timestamp) - extract(epoch from '2026-07-03 15:15:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.776899684221 -2.904288796708)', '2026-07-03 15:16:06', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776803543791 -2.9041412752122)'), GeomFromEWKT('SRID=4674;POINT (-39.776899684221 -2.904288796708)'))) / (select extract(epoch from '2026-07-03 15:16:06'::timestamp) - extract(epoch from '2026-07-03 15:15:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776803543791 -2.9041412752122)'), GeomFromEWKT('SRID=4674;POINT (-39.776899684221 -2.904288796708)'))) / (select extract(epoch from '2026-07-03 15:16:06'::timestamp) - extract(epoch from '2026-07-03 15:15:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.776984257624 -2.904389379546)', '2026-07-03 15:16:11', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776899684221 -2.904288796708)'), GeomFromEWKT('SRID=4674;POINT (-39.776984257624 -2.904389379546)'))) / (select extract(epoch from '2026-07-03 15:16:11'::timestamp) - extract(epoch from '2026-07-03 15:16:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776899684221 -2.904288796708)'), GeomFromEWKT('SRID=4674;POINT (-39.776984257624 -2.904389379546)'))) / (select extract(epoch from '2026-07-03 15:16:11'::timestamp) - extract(epoch from '2026-07-03 15:16:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.777082828805 -2.9045219812542)', '2026-07-03 15:16:18', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776984257624 -2.904389379546)'), GeomFromEWKT('SRID=4674;POINT (-39.777082828805 -2.9045219812542)'))) / (select extract(epoch from '2026-07-03 15:16:18'::timestamp) - extract(epoch from '2026-07-03 15:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776984257624 -2.904389379546)'), GeomFromEWKT('SRID=4674;POINT (-39.777082828805 -2.9045219812542)'))) / (select extract(epoch from '2026-07-03 15:16:18'::timestamp) - extract(epoch from '2026-07-03 15:16:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.777157930657 -2.9046282637864)', '2026-07-03 15:16:23', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777082828805 -2.9045219812542)'), GeomFromEWKT('SRID=4674;POINT (-39.777157930657 -2.9046282637864)'))) / (select extract(epoch from '2026-07-03 15:16:23'::timestamp) - extract(epoch from '2026-07-03 15:16:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777082828805 -2.9045219812542)'), GeomFromEWKT('SRID=4674;POINT (-39.777157930657 -2.9046282637864)'))) / (select extract(epoch from '2026-07-03 15:16:23'::timestamp) - extract(epoch from '2026-07-03 15:16: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'), 47871, 'SRID=4674;POINT (-39.777235882357 -2.9047595243901)', '2026-07-03 15:16:29', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777157930657 -2.9046282637864)'), GeomFromEWKT('SRID=4674;POINT (-39.777235882357 -2.9047595243901)'))) / (select extract(epoch from '2026-07-03 15:16:29'::timestamp) - extract(epoch from '2026-07-03 15:16:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777157930657 -2.9046282637864)'), GeomFromEWKT('SRID=4674;POINT (-39.777235882357 -2.9047595243901)'))) / (select extract(epoch from '2026-07-03 15:16:29'::timestamp) - extract(epoch from '2026-07-03 15:16: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'), 47871, 'SRID=4674;POINT (-39.777326826006 -2.9048847500235)', '2026-07-03 15:16:35', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777235882357 -2.9047595243901)'), GeomFromEWKT('SRID=4674;POINT (-39.777326826006 -2.9048847500235)'))) / (select extract(epoch from '2026-07-03 15:16:35'::timestamp) - extract(epoch from '2026-07-03 15:16:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777235882357 -2.9047595243901)'), GeomFromEWKT('SRID=4674;POINT (-39.777326826006 -2.9048847500235)'))) / (select extract(epoch from '2026-07-03 15:16:35'::timestamp) - extract(epoch from '2026-07-03 15:16:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.777422882617 -2.905010394752)', '2026-07-03 15:16:41', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777326826006 -2.9048847500235)'), GeomFromEWKT('SRID=4674;POINT (-39.777422882617 -2.905010394752)'))) / (select extract(epoch from '2026-07-03 15:16:41'::timestamp) - extract(epoch from '2026-07-03 15:16:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777326826006 -2.9048847500235)'), GeomFromEWKT('SRID=4674;POINT (-39.777422882617 -2.905010394752)'))) / (select extract(epoch from '2026-07-03 15:16:41'::timestamp) - extract(epoch from '2026-07-03 15:16:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.77752212435 -2.905124053359)', '2026-07-03 15:16:47', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777422882617 -2.905010394752)'), GeomFromEWKT('SRID=4674;POINT (-39.77752212435 -2.905124053359)'))) / (select extract(epoch from '2026-07-03 15:16:47'::timestamp) - extract(epoch from '2026-07-03 15:16:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777422882617 -2.905010394752)'), GeomFromEWKT('SRID=4674;POINT (-39.77752212435 -2.905124053359)'))) / (select extract(epoch from '2026-07-03 15:16:47'::timestamp) - extract(epoch from '2026-07-03 15:16:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.77763117291 -2.9052641987801)', '2026-07-03 15:16:54', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77752212435 -2.905124053359)'), GeomFromEWKT('SRID=4674;POINT (-39.77763117291 -2.9052641987801)'))) / (select extract(epoch from '2026-07-03 15:16:54'::timestamp) - extract(epoch from '2026-07-03 15:16:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77752212435 -2.905124053359)'), GeomFromEWKT('SRID=4674;POINT (-39.77763117291 -2.9052641987801)'))) / (select extract(epoch from '2026-07-03 15:16:54'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.777756985277 -2.9054262209684)', '2026-07-03 15:17:02', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77763117291 -2.9052641987801)'), GeomFromEWKT('SRID=4674;POINT (-39.777756985277 -2.9054262209684)'))) / (select extract(epoch from '2026-07-03 15:17:02'::timestamp) - extract(epoch from '2026-07-03 15:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77763117291 -2.9052641987801)'), GeomFromEWKT('SRID=4674;POINT (-39.777756985277 -2.9054262209684)'))) / (select extract(epoch from '2026-07-03 15:17:02'::timestamp) - extract(epoch from '2026-07-03 15:16:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.777873996645 -2.9055709764361)', '2026-07-03 15:17:09', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777756985277 -2.9054262209684)'), GeomFromEWKT('SRID=4674;POINT (-39.777873996645 -2.9055709764361)'))) / (select extract(epoch from '2026-07-03 15:17:09'::timestamp) - extract(epoch from '2026-07-03 15:17:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777756985277 -2.9054262209684)'), GeomFromEWKT('SRID=4674;POINT (-39.777873996645 -2.9055709764361)'))) / (select extract(epoch from '2026-07-03 15:17:09'::timestamp) - extract(epoch from '2026-07-03 15:17:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.77796443738 -2.9056911729276)', '2026-07-03 15:17:15', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777873996645 -2.9055709764361)'), GeomFromEWKT('SRID=4674;POINT (-39.77796443738 -2.9056911729276)'))) / (select extract(epoch from '2026-07-03 15:17:15'::timestamp) - extract(epoch from '2026-07-03 15:17:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777873996645 -2.9055709764361)'), GeomFromEWKT('SRID=4674;POINT (-39.77796443738 -2.9056911729276)'))) / (select extract(epoch from '2026-07-03 15:17:15'::timestamp) - extract(epoch from '2026-07-03 15:17:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.778056470677 -2.9058107826859)', '2026-07-03 15:17:21', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77796443738 -2.9056911729276)'), GeomFromEWKT('SRID=4674;POINT (-39.778056470677 -2.9058107826859)'))) / (select extract(epoch from '2026-07-03 15:17:21'::timestamp) - extract(epoch from '2026-07-03 15:17:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77796443738 -2.9056911729276)'), GeomFromEWKT('SRID=4674;POINT (-39.778056470677 -2.9058107826859)'))) / (select extract(epoch from '2026-07-03 15:17:21'::timestamp) - extract(epoch from '2026-07-03 15:17: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'), 47871, 'SRID=4674;POINT (-39.778144480661 -2.9059143830091)', '2026-07-03 15:17:26', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778056470677 -2.9058107826859)'), GeomFromEWKT('SRID=4674;POINT (-39.778144480661 -2.9059143830091)'))) / (select extract(epoch from '2026-07-03 15:17:26'::timestamp) - extract(epoch from '2026-07-03 15:17:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778056470677 -2.9058107826859)'), GeomFromEWKT('SRID=4674;POINT (-39.778144480661 -2.9059143830091)'))) / (select extract(epoch from '2026-07-03 15:17:26'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.778254954144 -2.9060640837997)', '2026-07-03 15:17:33', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778144480661 -2.9059143830091)'), GeomFromEWKT('SRID=4674;POINT (-39.778254954144 -2.9060640837997)'))) / (select extract(epoch from '2026-07-03 15:17:33'::timestamp) - extract(epoch from '2026-07-03 15:17:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778144480661 -2.9059143830091)'), GeomFromEWKT('SRID=4674;POINT (-39.778254954144 -2.9060640837997)'))) / (select extract(epoch from '2026-07-03 15:17:33'::timestamp) - extract(epoch from '2026-07-03 15:17:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.778372887522 -2.9061990324408)', '2026-07-03 15:17:40', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778254954144 -2.9060640837997)'), GeomFromEWKT('SRID=4674;POINT (-39.778372887522 -2.9061990324408)'))) / (select extract(epoch from '2026-07-03 15:17:40'::timestamp) - extract(epoch from '2026-07-03 15:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778254954144 -2.9060640837997)'), GeomFromEWKT('SRID=4674;POINT (-39.778372887522 -2.9061990324408)'))) / (select extract(epoch from '2026-07-03 15:17:40'::timestamp) - extract(epoch from '2026-07-03 15:17:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.778457125649 -2.9063017945737)', '2026-07-03 15:17:45', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778372887522 -2.9061990324408)'), GeomFromEWKT('SRID=4674;POINT (-39.778457125649 -2.9063017945737)'))) / (select extract(epoch from '2026-07-03 15:17:45'::timestamp) - extract(epoch from '2026-07-03 15:17:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778372887522 -2.9061990324408)'), GeomFromEWKT('SRID=4674;POINT (-39.778457125649 -2.9063017945737)'))) / (select extract(epoch from '2026-07-03 15:17:45'::timestamp) - extract(epoch from '2026-07-03 15:17: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'), 47871, 'SRID=4674;POINT (-39.778557624668 -2.9064186383039)', '2026-07-03 15:17:51', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778457125649 -2.9063017945737)'), GeomFromEWKT('SRID=4674;POINT (-39.778557624668 -2.9064186383039)'))) / (select extract(epoch from '2026-07-03 15:17:51'::timestamp) - extract(epoch from '2026-07-03 15:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778457125649 -2.9063017945737)'), GeomFromEWKT('SRID=4674;POINT (-39.778557624668 -2.9064186383039)'))) / (select extract(epoch from '2026-07-03 15:17:51'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.778680922464 -2.9065928980708)', '2026-07-03 15:17:59', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778557624668 -2.9064186383039)'), GeomFromEWKT('SRID=4674;POINT (-39.778680922464 -2.9065928980708)'))) / (select extract(epoch from '2026-07-03 15:17:59'::timestamp) - extract(epoch from '2026-07-03 15:17:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778557624668 -2.9064186383039)'), GeomFromEWKT('SRID=4674;POINT (-39.778680922464 -2.9065928980708)'))) / (select extract(epoch from '2026-07-03 15:17:59'::timestamp) - extract(epoch from '2026-07-03 15:17: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'), 47871, 'SRID=4674;POINT (-39.778786282986 -2.9067353904247)', '2026-07-03 15:18:06', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778680922464 -2.9065928980708)'), GeomFromEWKT('SRID=4674;POINT (-39.778786282986 -2.9067353904247)'))) / (select extract(epoch from '2026-07-03 15:18:06'::timestamp) - extract(epoch from '2026-07-03 15:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778680922464 -2.9065928980708)'), GeomFromEWKT('SRID=4674;POINT (-39.778786282986 -2.9067353904247)'))) / (select extract(epoch from '2026-07-03 15:18:06'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.778877058998 -2.9068664833903)', '2026-07-03 15:18:12', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778786282986 -2.9067353904247)'), GeomFromEWKT('SRID=4674;POINT (-39.778877058998 -2.9068664833903)'))) / (select extract(epoch from '2026-07-03 15:18:12'::timestamp) - extract(epoch from '2026-07-03 15:18:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778786282986 -2.9067353904247)'), GeomFromEWKT('SRID=4674;POINT (-39.778877058998 -2.9068664833903)'))) / (select extract(epoch from '2026-07-03 15:18:12'::timestamp) - extract(epoch from '2026-07-03 15:18: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'), 47871, 'SRID=4674;POINT (-39.77895308286 -2.9069682396948)', '2026-07-03 15:18:17', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778877058998 -2.9068664833903)'), GeomFromEWKT('SRID=4674;POINT (-39.77895308286 -2.9069682396948)'))) / (select extract(epoch from '2026-07-03 15:18:17'::timestamp) - extract(epoch from '2026-07-03 15:18:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778877058998 -2.9068664833903)'), GeomFromEWKT('SRID=4674;POINT (-39.77895308286 -2.9069682396948)'))) / (select extract(epoch from '2026-07-03 15:18:17'::timestamp) - extract(epoch from '2026-07-03 15:18:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.779025251046 -2.9070730973035)', '2026-07-03 15:18:22', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77895308286 -2.9069682396948)'), GeomFromEWKT('SRID=4674;POINT (-39.779025251046 -2.9070730973035)'))) / (select extract(epoch from '2026-07-03 15:18:22'::timestamp) - extract(epoch from '2026-07-03 15:18:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77895308286 -2.9069682396948)'), GeomFromEWKT('SRID=4674;POINT (-39.779025251046 -2.9070730973035)'))) / (select extract(epoch from '2026-07-03 15:18:22'::timestamp) - extract(epoch from '2026-07-03 15:18: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'), 47871, 'SRID=4674;POINT (-39.779087780043 -2.9071626998484)', '2026-07-03 15:18:26', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779025251046 -2.9070730973035)'), GeomFromEWKT('SRID=4674;POINT (-39.779087780043 -2.9071626998484)'))) / (select extract(epoch from '2026-07-03 15:18:26'::timestamp) - extract(epoch from '2026-07-03 15:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779025251046 -2.9070730973035)'), GeomFromEWKT('SRID=4674;POINT (-39.779087780043 -2.9071626998484)'))) / (select extract(epoch from '2026-07-03 15:18:26'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.779153745621 -2.9072474408895)', '2026-07-03 15:18:30', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779087780043 -2.9071626998484)'), GeomFromEWKT('SRID=4674;POINT (-39.779153745621 -2.9072474408895)'))) / (select extract(epoch from '2026-07-03 15:18:30'::timestamp) - extract(epoch from '2026-07-03 15:18:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779087780043 -2.9071626998484)'), GeomFromEWKT('SRID=4674;POINT (-39.779153745621 -2.9072474408895)'))) / (select extract(epoch from '2026-07-03 15:18:30'::timestamp) - extract(epoch from '2026-07-03 15:18: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'), 47871, 'SRID=4674;POINT (-39.77923094295 -2.907349364832)', '2026-07-03 15:18:35', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779153745621 -2.9072474408895)'), GeomFromEWKT('SRID=4674;POINT (-39.77923094295 -2.907349364832)'))) / (select extract(epoch from '2026-07-03 15:18:35'::timestamp) - extract(epoch from '2026-07-03 15:18:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779153745621 -2.9072474408895)'), GeomFromEWKT('SRID=4674;POINT (-39.77923094295 -2.907349364832)'))) / (select extract(epoch from '2026-07-03 15:18:35'::timestamp) - extract(epoch from '2026-07-03 15:18: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'), 47871, 'SRID=4674;POINT (-39.779300931841 -2.907433854416)', '2026-07-03 15:18:39', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77923094295 -2.907349364832)'), GeomFromEWKT('SRID=4674;POINT (-39.779300931841 -2.907433854416)'))) / (select extract(epoch from '2026-07-03 15:18:39'::timestamp) - extract(epoch from '2026-07-03 15:18:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77923094295 -2.907349364832)'), GeomFromEWKT('SRID=4674;POINT (-39.779300931841 -2.907433854416)'))) / (select extract(epoch from '2026-07-03 15:18:39'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.779411321506 -2.9076012410223)', '2026-07-03 15:18:47', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779300931841 -2.907433854416)'), GeomFromEWKT('SRID=4674;POINT (-39.779411321506 -2.9076012410223)'))) / (select extract(epoch from '2026-07-03 15:18:47'::timestamp) - extract(epoch from '2026-07-03 15:18:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779300931841 -2.907433854416)'), GeomFromEWKT('SRID=4674;POINT (-39.779411321506 -2.9076012410223)'))) / (select extract(epoch from '2026-07-03 15:18:47'::timestamp) - extract(epoch from '2026-07-03 15:18: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'), 47871, 'SRID=4674;POINT (-39.779518693686 -2.9077418893576)', '2026-07-03 15:18:54', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779411321506 -2.9076012410223)'), GeomFromEWKT('SRID=4674;POINT (-39.779518693686 -2.9077418893576)'))) / (select extract(epoch from '2026-07-03 15:18:54'::timestamp) - extract(epoch from '2026-07-03 15:18:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779411321506 -2.9076012410223)'), GeomFromEWKT('SRID=4674;POINT (-39.779518693686 -2.9077418893576)'))) / (select extract(epoch from '2026-07-03 15:18:54'::timestamp) - extract(epoch from '2026-07-03 15:18: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'), 47871, 'SRID=4674;POINT (-39.779621455818 -2.9078598227352)', '2026-07-03 15:19:00', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779518693686 -2.9077418893576)'), GeomFromEWKT('SRID=4674;POINT (-39.779621455818 -2.9078598227352)'))) / (select extract(epoch from '2026-07-03 15:19:00'::timestamp) - extract(epoch from '2026-07-03 15:18:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779518693686 -2.9077418893576)'), GeomFromEWKT('SRID=4674;POINT (-39.779621455818 -2.9078598227352)'))) / (select extract(epoch from '2026-07-03 15:19:00'::timestamp) - extract(epoch from '2026-07-03 15:18:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.779636962339 -2.9078793525696)', '2026-07-03 15:19:01', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779621455818 -2.9078598227352)'), GeomFromEWKT('SRID=4674;POINT (-39.779636962339 -2.9078793525696)'))) / (select extract(epoch from '2026-07-03 15:19:01'::timestamp) - extract(epoch from '2026-07-03 15:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779621455818 -2.9078598227352)'), GeomFromEWKT('SRID=4674;POINT (-39.779636962339 -2.9078793525696)'))) / (select extract(epoch from '2026-07-03 15:19:01'::timestamp) - extract(epoch from '2026-07-03 15:19:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.779679123312 -2.9079440608621)', '2026-07-03 15:19:04', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779636962339 -2.9078793525696)'), GeomFromEWKT('SRID=4674;POINT (-39.779679123312 -2.9079440608621)'))) / (select extract(epoch from '2026-07-03 15:19:04'::timestamp) - extract(epoch from '2026-07-03 15:19:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779636962339 -2.9078793525696)'), GeomFromEWKT('SRID=4674;POINT (-39.779679123312 -2.9079440608621)'))) / (select extract(epoch from '2026-07-03 15:19:04'::timestamp) - extract(epoch from '2026-07-03 15:19: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'), 47871, 'SRID=4674;POINT (-39.779744418338 -2.9080537799746)', '2026-07-03 15:19:09', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779679123312 -2.9079440608621)'), GeomFromEWKT('SRID=4674;POINT (-39.779744418338 -2.9080537799746)'))) / (select extract(epoch from '2026-07-03 15:19:09'::timestamp) - extract(epoch from '2026-07-03 15:19:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779679123312 -2.9079440608621)'), GeomFromEWKT('SRID=4674;POINT (-39.779744418338 -2.9080537799746)'))) / (select extract(epoch from '2026-07-03 15:19:09'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.779825387523 -2.9081728868186)', '2026-07-03 15:19:15', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779744418338 -2.9080537799746)'), GeomFromEWKT('SRID=4674;POINT (-39.779825387523 -2.9081728868186)'))) / (select extract(epoch from '2026-07-03 15:19:15'::timestamp) - extract(epoch from '2026-07-03 15:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779744418338 -2.9080537799746)'), GeomFromEWKT('SRID=4674;POINT (-39.779825387523 -2.9081728868186)'))) / (select extract(epoch from '2026-07-03 15:19:15'::timestamp) - extract(epoch from '2026-07-03 15:19: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'), 47871, 'SRID=4674;POINT (-39.779907530174 -2.9082960169762)', '2026-07-03 15:19:21', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779825387523 -2.9081728868186)'), GeomFromEWKT('SRID=4674;POINT (-39.779907530174 -2.9082960169762)'))) / (select extract(epoch from '2026-07-03 15:19:21'::timestamp) - extract(epoch from '2026-07-03 15:19:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779825387523 -2.9081728868186)'), GeomFromEWKT('SRID=4674;POINT (-39.779907530174 -2.9082960169762)'))) / (select extract(epoch from '2026-07-03 15:19:21'::timestamp) - extract(epoch from '2026-07-03 15:19: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'), 47871, 'SRID=4674;POINT (-39.779974333942 -2.9083764832467)', '2026-07-03 15:19:25', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779907530174 -2.9082960169762)'), GeomFromEWKT('SRID=4674;POINT (-39.779974333942 -2.9083764832467)'))) / (select extract(epoch from '2026-07-03 15:19:25'::timestamp) - extract(epoch from '2026-07-03 15:19:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779907530174 -2.9082960169762)'), GeomFromEWKT('SRID=4674;POINT (-39.779974333942 -2.9083764832467)'))) / (select extract(epoch from '2026-07-03 15:19:25'::timestamp) - extract(epoch from '2026-07-03 15:19:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.780101319775 -2.9085307940841)', '2026-07-03 15:19:33', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779974333942 -2.9083764832467)'), GeomFromEWKT('SRID=4674;POINT (-39.780101319775 -2.9085307940841)'))) / (select extract(epoch from '2026-07-03 15:19:33'::timestamp) - extract(epoch from '2026-07-03 15:19:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779974333942 -2.9083764832467)'), GeomFromEWKT('SRID=4674;POINT (-39.780101319775 -2.9085307940841)'))) / (select extract(epoch from '2026-07-03 15:19:33'::timestamp) - extract(epoch from '2026-07-03 15:19:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.780166782439 -2.9086268506944)', '2026-07-03 15:19:38', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780101319775 -2.9085307940841)'), GeomFromEWKT('SRID=4674;POINT (-39.780166782439 -2.9086268506944)'))) / (select extract(epoch from '2026-07-03 15:19:38'::timestamp) - extract(epoch from '2026-07-03 15:19:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780101319775 -2.9085307940841)'), GeomFromEWKT('SRID=4674;POINT (-39.780166782439 -2.9086268506944)'))) / (select extract(epoch from '2026-07-03 15:19:38'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.780249930918 -2.9087435267866)', '2026-07-03 15:19:44', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780166782439 -2.9086268506944)'), GeomFromEWKT('SRID=4674;POINT (-39.780249930918 -2.9087435267866)'))) / (select extract(epoch from '2026-07-03 15:19:44'::timestamp) - extract(epoch from '2026-07-03 15:19:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780166782439 -2.9086268506944)'), GeomFromEWKT('SRID=4674;POINT (-39.780249930918 -2.9087435267866)'))) / (select extract(epoch from '2026-07-03 15:19:44'::timestamp) - extract(epoch from '2026-07-03 15:19:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.780324781314 -2.9088680818677)', '2026-07-03 15:19:50', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780249930918 -2.9087435267866)'), GeomFromEWKT('SRID=4674;POINT (-39.780324781314 -2.9088680818677)'))) / (select extract(epoch from '2026-07-03 15:19:50'::timestamp) - extract(epoch from '2026-07-03 15:19:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780249930918 -2.9087435267866)'), GeomFromEWKT('SRID=4674;POINT (-39.780324781314 -2.9088680818677)'))) / (select extract(epoch from '2026-07-03 15:19:50'::timestamp) - extract(epoch from '2026-07-03 15:19: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'), 47871, 'SRID=4674;POINT (-39.780388483778 -2.9089839197695)', '2026-07-03 15:19:56', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780324781314 -2.9088680818677)'), GeomFromEWKT('SRID=4674;POINT (-39.780388483778 -2.9089839197695)'))) / (select extract(epoch from '2026-07-03 15:19:56'::timestamp) - extract(epoch from '2026-07-03 15:19:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780324781314 -2.9088680818677)'), GeomFromEWKT('SRID=4674;POINT (-39.780388483778 -2.9089839197695)'))) / (select extract(epoch from '2026-07-03 15:19:56'::timestamp) - extract(epoch from '2026-07-03 15:19:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.780482444912 -2.9091294296086)', '2026-07-03 15:20:03', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780388483778 -2.9089839197695)'), GeomFromEWKT('SRID=4674;POINT (-39.780482444912 -2.9091294296086)'))) / (select extract(epoch from '2026-07-03 15:20:03'::timestamp) - extract(epoch from '2026-07-03 15:19:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780388483778 -2.9089839197695)'), GeomFromEWKT('SRID=4674;POINT (-39.780482444912 -2.9091294296086)'))) / (select extract(epoch from '2026-07-03 15:20:03'::timestamp) - extract(epoch from '2026-07-03 15:19: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'), 47871, 'SRID=4674;POINT (-39.780567772686 -2.9092617798597)', '2026-07-03 15:20:09', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780482444912 -2.9091294296086)'), GeomFromEWKT('SRID=4674;POINT (-39.780567772686 -2.9092617798597)'))) / (select extract(epoch from '2026-07-03 15:20:09'::timestamp) - extract(epoch from '2026-07-03 15:20:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780482444912 -2.9091294296086)'), GeomFromEWKT('SRID=4674;POINT (-39.780567772686 -2.9092617798597)'))) / (select extract(epoch from '2026-07-03 15:20:09'::timestamp) - extract(epoch from '2026-07-03 15:20:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.780677575618 -2.9094154201448)', '2026-07-03 15:20:16', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780567772686 -2.9092617798597)'), GeomFromEWKT('SRID=4674;POINT (-39.780677575618 -2.9094154201448)'))) / (select extract(epoch from '2026-07-03 15:20:16'::timestamp) - extract(epoch from '2026-07-03 15:20:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780567772686 -2.9092617798597)'), GeomFromEWKT('SRID=4674;POINT (-39.780677575618 -2.9094154201448)'))) / (select extract(epoch from '2026-07-03 15:20:16'::timestamp) - extract(epoch from '2026-07-03 15:20: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'), 47871, 'SRID=4674;POINT (-39.780758293346 -2.9095513746142)', '2026-07-03 15:20:22', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780677575618 -2.9094154201448)'), GeomFromEWKT('SRID=4674;POINT (-39.780758293346 -2.9095513746142)'))) / (select extract(epoch from '2026-07-03 15:20:22'::timestamp) - extract(epoch from '2026-07-03 15:20:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780677575618 -2.9094154201448)'), GeomFromEWKT('SRID=4674;POINT (-39.780758293346 -2.9095513746142)'))) / (select extract(epoch from '2026-07-03 15:20:22'::timestamp) - extract(epoch from '2026-07-03 15:20: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'), 47871, 'SRID=4674;POINT (-39.780834317207 -2.909690765664)', '2026-07-03 15:20:28', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780758293346 -2.9095513746142)'), GeomFromEWKT('SRID=4674;POINT (-39.780834317207 -2.909690765664)'))) / (select extract(epoch from '2026-07-03 15:20:28'::timestamp) - extract(epoch from '2026-07-03 15:20:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780758293346 -2.9095513746142)'), GeomFromEWKT('SRID=4674;POINT (-39.780834317207 -2.909690765664)'))) / (select extract(epoch from '2026-07-03 15:20:28'::timestamp) - extract(epoch from '2026-07-03 15:20:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.780918136239 -2.9098277259618)', '2026-07-03 15:20:34', 2.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780834317207 -2.909690765664)'), GeomFromEWKT('SRID=4674;POINT (-39.780918136239 -2.9098277259618)'))) / (select extract(epoch from '2026-07-03 15:20:34'::timestamp) - extract(epoch from '2026-07-03 15:20:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780834317207 -2.909690765664)'), GeomFromEWKT('SRID=4674;POINT (-39.780918136239 -2.9098277259618)'))) / (select extract(epoch from '2026-07-03 15:20:34'::timestamp) - extract(epoch from '2026-07-03 15:20: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'), 47871, 'SRID=4674;POINT (-39.780991561711 -2.9099432285875)', '2026-07-03 15:20:39', 2.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780918136239 -2.9098277259618)'), GeomFromEWKT('SRID=4674;POINT (-39.780991561711 -2.9099432285875)'))) / (select extract(epoch from '2026-07-03 15:20:39'::timestamp) - extract(epoch from '2026-07-03 15:20:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780918136239 -2.9098277259618)'), GeomFromEWKT('SRID=4674;POINT (-39.780991561711 -2.9099432285875)'))) / (select extract(epoch from '2026-07-03 15:20:39'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.781051743776 -2.9100284725428)', '2026-07-03 15:20:43', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780991561711 -2.9099432285875)'), GeomFromEWKT('SRID=4674;POINT (-39.781051743776 -2.9100284725428)'))) / (select extract(epoch from '2026-07-03 15:20:43'::timestamp) - extract(epoch from '2026-07-03 15:20:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780991561711 -2.9099432285875)'), GeomFromEWKT('SRID=4674;POINT (-39.781051743776 -2.9100284725428)'))) / (select extract(epoch from '2026-07-03 15:20:43'::timestamp) - extract(epoch from '2026-07-03 15:20: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'), 47871, 'SRID=4674;POINT (-39.781121229753 -2.9101364314556)', '2026-07-03 15:20:48', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781051743776 -2.9100284725428)'), GeomFromEWKT('SRID=4674;POINT (-39.781121229753 -2.9101364314556)'))) / (select extract(epoch from '2026-07-03 15:20:48'::timestamp) - extract(epoch from '2026-07-03 15:20:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781051743776 -2.9100284725428)'), GeomFromEWKT('SRID=4674;POINT (-39.781121229753 -2.9101364314556)'))) / (select extract(epoch from '2026-07-03 15:20:48'::timestamp) - extract(epoch from '2026-07-03 15:20: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'), 47871, 'SRID=4674;POINT (-39.781245449558 -2.9103085957468)', '2026-07-03 15:20:56', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781121229753 -2.9101364314556)'), GeomFromEWKT('SRID=4674;POINT (-39.781245449558 -2.9103085957468)'))) / (select extract(epoch from '2026-07-03 15:20:56'::timestamp) - extract(epoch from '2026-07-03 15:20:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781121229753 -2.9101364314556)'), GeomFromEWKT('SRID=4674;POINT (-39.781245449558 -2.9103085957468)'))) / (select extract(epoch from '2026-07-03 15:20:56'::timestamp) - extract(epoch from '2026-07-03 15:20: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'), 47871, 'SRID=4674;POINT (-39.78131275624 -2.9104204941541)', '2026-07-03 15:21:01', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781245449558 -2.9103085957468)'), GeomFromEWKT('SRID=4674;POINT (-39.78131275624 -2.9104204941541)'))) / (select extract(epoch from '2026-07-03 15:21:01'::timestamp) - extract(epoch from '2026-07-03 15:20:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781245449558 -2.9103085957468)'), GeomFromEWKT('SRID=4674;POINT (-39.78131275624 -2.9104204941541)'))) / (select extract(epoch from '2026-07-03 15:21:01'::timestamp) - extract(epoch from '2026-07-03 15:20: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'), 47871, 'SRID=4674;POINT (-39.781393893063 -2.9105573706329)', '2026-07-03 15:21:07', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78131275624 -2.9104204941541)'), GeomFromEWKT('SRID=4674;POINT (-39.781393893063 -2.9105573706329)'))) / (select extract(epoch from '2026-07-03 15:21:07'::timestamp) - extract(epoch from '2026-07-03 15:21:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78131275624 -2.9104204941541)'), GeomFromEWKT('SRID=4674;POINT (-39.781393893063 -2.9105573706329)'))) / (select extract(epoch from '2026-07-03 15:21:07'::timestamp) - extract(epoch from '2026-07-03 15:21:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.781453739852 -2.910644961521)', '2026-07-03 15:21:11', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781393893063 -2.9105573706329)'), GeomFromEWKT('SRID=4674;POINT (-39.781453739852 -2.910644961521)'))) / (select extract(epoch from '2026-07-03 15:21:11'::timestamp) - extract(epoch from '2026-07-03 15:21:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781393893063 -2.9105573706329)'), GeomFromEWKT('SRID=4674;POINT (-39.781453739852 -2.910644961521)'))) / (select extract(epoch from '2026-07-03 15:21:11'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.781533619389 -2.9107580333948)', '2026-07-03 15:21:16', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781453739852 -2.910644961521)'), GeomFromEWKT('SRID=4674;POINT (-39.781533619389 -2.9107580333948)'))) / (select extract(epoch from '2026-07-03 15:21:16'::timestamp) - extract(epoch from '2026-07-03 15:21:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781453739852 -2.910644961521)'), GeomFromEWKT('SRID=4674;POINT (-39.781533619389 -2.9107580333948)'))) / (select extract(epoch from '2026-07-03 15:21:16'::timestamp) - extract(epoch from '2026-07-03 15:21: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'), 47871, 'SRID=4674;POINT (-39.781638644636 -2.9109071474522)', '2026-07-03 15:21:23', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781533619389 -2.9107580333948)'), GeomFromEWKT('SRID=4674;POINT (-39.781638644636 -2.9109071474522)'))) / (select extract(epoch from '2026-07-03 15:21:23'::timestamp) - extract(epoch from '2026-07-03 15:21:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781533619389 -2.9107580333948)'), GeomFromEWKT('SRID=4674;POINT (-39.781638644636 -2.9109071474522)'))) / (select extract(epoch from '2026-07-03 15:21:23'::timestamp) - extract(epoch from '2026-07-03 15:21: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'), 47871, 'SRID=4674;POINT (-39.781721038744 -2.9110407549888)', '2026-07-03 15:21:29', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781638644636 -2.9109071474522)'), GeomFromEWKT('SRID=4674;POINT (-39.781721038744 -2.9110407549888)'))) / (select extract(epoch from '2026-07-03 15:21:29'::timestamp) - extract(epoch from '2026-07-03 15:21:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781638644636 -2.9109071474522)'), GeomFromEWKT('SRID=4674;POINT (-39.781721038744 -2.9110407549888)'))) / (select extract(epoch from '2026-07-03 15:21:29'::timestamp) - extract(epoch from '2026-07-03 15:21:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.781819693744 -2.9112016875297)', '2026-07-03 15:21:36', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781721038744 -2.9110407549888)'), GeomFromEWKT('SRID=4674;POINT (-39.781819693744 -2.9112016875297)'))) / (select extract(epoch from '2026-07-03 15:21:36'::timestamp) - extract(epoch from '2026-07-03 15:21:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781721038744 -2.9110407549888)'), GeomFromEWKT('SRID=4674;POINT (-39.781819693744 -2.9112016875297)'))) / (select extract(epoch from '2026-07-03 15:21:36'::timestamp) - extract(epoch from '2026-07-03 15:21:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.781865878031 -2.9112836625427)', '2026-07-03 15:21:40', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781819693744 -2.9112016875297)'), GeomFromEWKT('SRID=4674;POINT (-39.781865878031 -2.9112836625427)'))) / (select extract(epoch from '2026-07-03 15:21:40'::timestamp) - extract(epoch from '2026-07-03 15:21:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781819693744 -2.9112016875297)'), GeomFromEWKT('SRID=4674;POINT (-39.781865878031 -2.9112836625427)'))) / (select extract(epoch from '2026-07-03 15:21:40'::timestamp) - extract(epoch from '2026-07-03 15:21:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.781884737313 -2.9113058745861)', '2026-07-03 15:21:41', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781865878031 -2.9112836625427)'), GeomFromEWKT('SRID=4674;POINT (-39.781884737313 -2.9113058745861)'))) / (select extract(epoch from '2026-07-03 15:21:41'::timestamp) - extract(epoch from '2026-07-03 15:21:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781865878031 -2.9112836625427)'), GeomFromEWKT('SRID=4674;POINT (-39.781884737313 -2.9113058745861)'))) / (select extract(epoch from '2026-07-03 15:21:41'::timestamp) - extract(epoch from '2026-07-03 15:21: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'), 47871, 'SRID=4674;POINT (-39.781955564395 -2.9114230535924)', '2026-07-03 15:21:46', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781884737313 -2.9113058745861)'), GeomFromEWKT('SRID=4674;POINT (-39.781955564395 -2.9114230535924)'))) / (select extract(epoch from '2026-07-03 15:21:46'::timestamp) - extract(epoch from '2026-07-03 15:21:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781884737313 -2.9113058745861)'), GeomFromEWKT('SRID=4674;POINT (-39.781955564395 -2.9114230535924)'))) / (select extract(epoch from '2026-07-03 15:21:46'::timestamp) - extract(epoch from '2026-07-03 15:21: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'), 47871, 'SRID=4674;POINT (-39.782022032887 -2.9115318506956)', '2026-07-03 15:21:51', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781955564395 -2.9114230535924)'), GeomFromEWKT('SRID=4674;POINT (-39.782022032887 -2.9115318506956)'))) / (select extract(epoch from '2026-07-03 15:21:51'::timestamp) - extract(epoch from '2026-07-03 15:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781955564395 -2.9114230535924)'), GeomFromEWKT('SRID=4674;POINT (-39.782022032887 -2.9115318506956)'))) / (select extract(epoch from '2026-07-03 15:21:51'::timestamp) - extract(epoch from '2026-07-03 15:21: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'), 47871, 'SRID=4674;POINT (-39.782093781978 -2.9116436652839)', '2026-07-03 15:21:56', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782022032887 -2.9115318506956)'), GeomFromEWKT('SRID=4674;POINT (-39.782093781978 -2.9116436652839)'))) / (select extract(epoch from '2026-07-03 15:21:56'::timestamp) - extract(epoch from '2026-07-03 15:21:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782022032887 -2.9115318506956)'), GeomFromEWKT('SRID=4674;POINT (-39.782093781978 -2.9116436652839)'))) / (select extract(epoch from '2026-07-03 15:21:56'::timestamp) - extract(epoch from '2026-07-03 15:21: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'), 47871, 'SRID=4674;POINT (-39.782192939892 -2.9117823857814)', '2026-07-03 15:22:02', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782093781978 -2.9116436652839)'), GeomFromEWKT('SRID=4674;POINT (-39.782192939892 -2.9117823857814)'))) / (select extract(epoch from '2026-07-03 15:22:02'::timestamp) - extract(epoch from '2026-07-03 15:21:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782093781978 -2.9116436652839)'), GeomFromEWKT('SRID=4674;POINT (-39.782192939892 -2.9117823857814)'))) / (select extract(epoch from '2026-07-03 15:22:02'::timestamp) - extract(epoch from '2026-07-03 15:21: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'), 47871, 'SRID=4674;POINT (-39.782275585458 -2.9119125567377)', '2026-07-03 15:22:08', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782192939892 -2.9117823857814)'), GeomFromEWKT('SRID=4674;POINT (-39.782275585458 -2.9119125567377)'))) / (select extract(epoch from '2026-07-03 15:22:08'::timestamp) - extract(epoch from '2026-07-03 15:22:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782192939892 -2.9117823857814)'), GeomFromEWKT('SRID=4674;POINT (-39.782275585458 -2.9119125567377)'))) / (select extract(epoch from '2026-07-03 15:22:08'::timestamp) - extract(epoch from '2026-07-03 15:22: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'), 47871, 'SRID=4674;POINT (-39.782367954031 -2.9120777640492)', '2026-07-03 15:22:15', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782275585458 -2.9119125567377)'), GeomFromEWKT('SRID=4674;POINT (-39.782367954031 -2.9120777640492)'))) / (select extract(epoch from '2026-07-03 15:22:15'::timestamp) - extract(epoch from '2026-07-03 15:22:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782275585458 -2.9119125567377)'), GeomFromEWKT('SRID=4674;POINT (-39.782367954031 -2.9120777640492)'))) / (select extract(epoch from '2026-07-03 15:22:15'::timestamp) - extract(epoch from '2026-07-03 15:22:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.782441463321 -2.9121889919043)', '2026-07-03 15:22:20', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782367954031 -2.9120777640492)'), GeomFromEWKT('SRID=4674;POINT (-39.782441463321 -2.9121889919043)'))) / (select extract(epoch from '2026-07-03 15:22:20'::timestamp) - extract(epoch from '2026-07-03 15:22:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782367954031 -2.9120777640492)'), GeomFromEWKT('SRID=4674;POINT (-39.782441463321 -2.9121889919043)'))) / (select extract(epoch from '2026-07-03 15:22:20'::timestamp) - extract(epoch from '2026-07-03 15:22:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.782517822459 -2.9122969508171)', '2026-07-03 15:22:25', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782441463321 -2.9121889919043)'), GeomFromEWKT('SRID=4674;POINT (-39.782517822459 -2.9122969508171)'))) / (select extract(epoch from '2026-07-03 15:22:25'::timestamp) - extract(epoch from '2026-07-03 15:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782441463321 -2.9121889919043)'), GeomFromEWKT('SRID=4674;POINT (-39.782517822459 -2.9122969508171)'))) / (select extract(epoch from '2026-07-03 15:22:25'::timestamp) - extract(epoch from '2026-07-03 15:22: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'), 47871, 'SRID=4674;POINT (-39.782614884898 -2.9124264512211)', '2026-07-03 15:22:31', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782517822459 -2.9122969508171)'), GeomFromEWKT('SRID=4674;POINT (-39.782614884898 -2.9124264512211)'))) / (select extract(epoch from '2026-07-03 15:22:31'::timestamp) - extract(epoch from '2026-07-03 15:22:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782517822459 -2.9122969508171)'), GeomFromEWKT('SRID=4674;POINT (-39.782614884898 -2.9124264512211)'))) / (select extract(epoch from '2026-07-03 15:22:31'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.782684622332 -2.9125658422709)', '2026-07-03 15:22:37', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782614884898 -2.9124264512211)'), GeomFromEWKT('SRID=4674;POINT (-39.782684622332 -2.9125658422709)'))) / (select extract(epoch from '2026-07-03 15:22:37'::timestamp) - extract(epoch from '2026-07-03 15:22:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782614884898 -2.9124264512211)'), GeomFromEWKT('SRID=4674;POINT (-39.782684622332 -2.9125658422709)'))) / (select extract(epoch from '2026-07-03 15:22:37'::timestamp) - extract(epoch from '2026-07-03 15:22: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'), 47871, 'SRID=4674;POINT (-39.78276014328 -2.9126902297139)', '2026-07-03 15:22:42', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782684622332 -2.9125658422709)'), GeomFromEWKT('SRID=4674;POINT (-39.78276014328 -2.9126902297139)'))) / (select extract(epoch from '2026-07-03 15:22:42'::timestamp) - extract(epoch from '2026-07-03 15:22:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782684622332 -2.9125658422709)'), GeomFromEWKT('SRID=4674;POINT (-39.78276014328 -2.9126902297139)'))) / (select extract(epoch from '2026-07-03 15:22:42'::timestamp) - extract(epoch from '2026-07-03 15:22: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'), 47871, 'SRID=4674;POINT (-39.782862151042 -2.9128393437713)', '2026-07-03 15:22:49', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78276014328 -2.9126902297139)'), GeomFromEWKT('SRID=4674;POINT (-39.782862151042 -2.9128393437713)'))) / (select extract(epoch from '2026-07-03 15:22:49'::timestamp) - extract(epoch from '2026-07-03 15:22:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78276014328 -2.9126902297139)'), GeomFromEWKT('SRID=4674;POINT (-39.782862151042 -2.9128393437713)'))) / (select extract(epoch from '2026-07-03 15:22:49'::timestamp) - extract(epoch from '2026-07-03 15:22: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'), 47871, 'SRID=4674;POINT (-39.782945970073 -2.9129524994642)', '2026-07-03 15:22:54', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782862151042 -2.9128393437713)'), GeomFromEWKT('SRID=4674;POINT (-39.782945970073 -2.9129524994642)'))) / (select extract(epoch from '2026-07-03 15:22:54'::timestamp) - extract(epoch from '2026-07-03 15:22:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782862151042 -2.9128393437713)'), GeomFromEWKT('SRID=4674;POINT (-39.782945970073 -2.9129524994642)'))) / (select extract(epoch from '2026-07-03 15:22:54'::timestamp) - extract(epoch from '2026-07-03 15:22: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'), 47871, 'SRID=4674;POINT (-39.783039093018 -2.9131007753313)', '2026-07-03 15:23:01', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782945970073 -2.9129524994642)'), GeomFromEWKT('SRID=4674;POINT (-39.783039093018 -2.9131007753313)'))) / (select extract(epoch from '2026-07-03 15:23:01'::timestamp) - extract(epoch from '2026-07-03 15:22:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782945970073 -2.9129524994642)'), GeomFromEWKT('SRID=4674;POINT (-39.783039093018 -2.9131007753313)'))) / (select extract(epoch from '2026-07-03 15:23:01'::timestamp) - extract(epoch from '2026-07-03 15:22: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'), 47871, 'SRID=4674;POINT (-39.7831323836 -2.9132332932204)', '2026-07-03 15:23:07', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783039093018 -2.9131007753313)'), GeomFromEWKT('SRID=4674;POINT (-39.7831323836 -2.9132332932204)'))) / (select extract(epoch from '2026-07-03 15:23:07'::timestamp) - extract(epoch from '2026-07-03 15:23:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783039093018 -2.9131007753313)'), GeomFromEWKT('SRID=4674;POINT (-39.7831323836 -2.9132332932204)'))) / (select extract(epoch from '2026-07-03 15:23:07'::timestamp) - extract(epoch from '2026-07-03 15:23:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.783241935074 -2.9133833292872)', '2026-07-03 15:23:14', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7831323836 -2.9132332932204)'), GeomFromEWKT('SRID=4674;POINT (-39.783241935074 -2.9133833292872)'))) / (select extract(epoch from '2026-07-03 15:23:14'::timestamp) - extract(epoch from '2026-07-03 15:23:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7831323836 -2.9132332932204)'), GeomFromEWKT('SRID=4674;POINT (-39.783241935074 -2.9133833292872)'))) / (select extract(epoch from '2026-07-03 15:23:14'::timestamp) - extract(epoch from '2026-07-03 15:23:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.783341092989 -2.9135397356004)', '2026-07-03 15:23:21', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783241935074 -2.9133833292872)'), GeomFromEWKT('SRID=4674;POINT (-39.783341092989 -2.9135397356004)'))) / (select extract(epoch from '2026-07-03 15:23:21'::timestamp) - extract(epoch from '2026-07-03 15:23:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783241935074 -2.9133833292872)'), GeomFromEWKT('SRID=4674;POINT (-39.783341092989 -2.9135397356004)'))) / (select extract(epoch from '2026-07-03 15:23:21'::timestamp) - extract(epoch from '2026-07-03 15:23:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.783428683877 -2.9136759415269)', '2026-07-03 15:23:27', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783341092989 -2.9135397356004)'), GeomFromEWKT('SRID=4674;POINT (-39.783428683877 -2.9136759415269)'))) / (select extract(epoch from '2026-07-03 15:23:27'::timestamp) - extract(epoch from '2026-07-03 15:23:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783341092989 -2.9135397356004)'), GeomFromEWKT('SRID=4674;POINT (-39.783428683877 -2.9136759415269)'))) / (select extract(epoch from '2026-07-03 15:23:27'::timestamp) - extract(epoch from '2026-07-03 15:23:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.783529099077 -2.9138366226107)', '2026-07-03 15:23:34', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783428683877 -2.9136759415269)'), GeomFromEWKT('SRID=4674;POINT (-39.783529099077 -2.9138366226107)'))) / (select extract(epoch from '2026-07-03 15:23:34'::timestamp) - extract(epoch from '2026-07-03 15:23:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783428683877 -2.9136759415269)'), GeomFromEWKT('SRID=4674;POINT (-39.783529099077 -2.9138366226107)'))) / (select extract(epoch from '2026-07-03 15:23:34'::timestamp) - extract(epoch from '2026-07-03 15:23: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'), 47871, 'SRID=4674;POINT (-39.783627837896 -2.9139701463282)', '2026-07-03 15:23:40', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783529099077 -2.9138366226107)'), GeomFromEWKT('SRID=4674;POINT (-39.783627837896 -2.9139701463282)'))) / (select extract(epoch from '2026-07-03 15:23:40'::timestamp) - extract(epoch from '2026-07-03 15:23:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783529099077 -2.9138366226107)'), GeomFromEWKT('SRID=4674;POINT (-39.783627837896 -2.9139701463282)'))) / (select extract(epoch from '2026-07-03 15:23:40'::timestamp) - extract(epoch from '2026-07-03 15:23: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'), 47871, 'SRID=4674;POINT (-39.783684751019 -2.9140623472631)', '2026-07-03 15:23:44', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783627837896 -2.9139701463282)'), GeomFromEWKT('SRID=4674;POINT (-39.783684751019 -2.9140623472631)'))) / (select extract(epoch from '2026-07-03 15:23:44'::timestamp) - extract(epoch from '2026-07-03 15:23:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783627837896 -2.9139701463282)'), GeomFromEWKT('SRID=4674;POINT (-39.783684751019 -2.9140623472631)'))) / (select extract(epoch from '2026-07-03 15:23:44'::timestamp) - extract(epoch from '2026-07-03 15:23: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'), 47871, 'SRID=4674;POINT (-39.783750968054 -2.914170557633)', '2026-07-03 15:23:49', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783684751019 -2.9140623472631)'), GeomFromEWKT('SRID=4674;POINT (-39.783750968054 -2.914170557633)'))) / (select extract(epoch from '2026-07-03 15:23:49'::timestamp) - extract(epoch from '2026-07-03 15:23:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783684751019 -2.9140623472631)'), GeomFromEWKT('SRID=4674;POINT (-39.783750968054 -2.914170557633)'))) / (select extract(epoch from '2026-07-03 15:23:49'::timestamp) - extract(epoch from '2026-07-03 15:23: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'), 47871, 'SRID=4674;POINT (-39.783826321363 -2.9142904188484)', '2026-07-03 15:23:54', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783750968054 -2.914170557633)'), GeomFromEWKT('SRID=4674;POINT (-39.783826321363 -2.9142904188484)'))) / (select extract(epoch from '2026-07-03 15:23:54'::timestamp) - extract(epoch from '2026-07-03 15:23:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783750968054 -2.914170557633)'), GeomFromEWKT('SRID=4674;POINT (-39.783826321363 -2.9142904188484)'))) / (select extract(epoch from '2026-07-03 15:23:54'::timestamp) - extract(epoch from '2026-07-03 15:23: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'), 47871, 'SRID=4674;POINT (-39.783897148445 -2.9144235234708)', '2026-07-03 15:24:00', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783826321363 -2.9142904188484)'), GeomFromEWKT('SRID=4674;POINT (-39.783897148445 -2.9144235234708)'))) / (select extract(epoch from '2026-07-03 15:24:00'::timestamp) - extract(epoch from '2026-07-03 15:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783826321363 -2.9142904188484)'), GeomFromEWKT('SRID=4674;POINT (-39.783897148445 -2.9144235234708)'))) / (select extract(epoch from '2026-07-03 15:24:00'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.783950624987 -2.9145232681185)', '2026-07-03 15:24:04', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783897148445 -2.9144235234708)'), GeomFromEWKT('SRID=4674;POINT (-39.783950624987 -2.9145232681185)'))) / (select extract(epoch from '2026-07-03 15:24:04'::timestamp) - extract(epoch from '2026-07-03 15:24:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783897148445 -2.9144235234708)'), GeomFromEWKT('SRID=4674;POINT (-39.783950624987 -2.9145232681185)'))) / (select extract(epoch from '2026-07-03 15:24:04'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.784017847851 -2.9146632459015)', '2026-07-03 15:24:10', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783950624987 -2.9145232681185)'), GeomFromEWKT('SRID=4674;POINT (-39.784017847851 -2.9146632459015)'))) / (select extract(epoch from '2026-07-03 15:24:10'::timestamp) - extract(epoch from '2026-07-03 15:24:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783950624987 -2.9145232681185)'), GeomFromEWKT('SRID=4674;POINT (-39.784017847851 -2.9146632459015)'))) / (select extract(epoch from '2026-07-03 15:24:10'::timestamp) - extract(epoch from '2026-07-03 15:24: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'), 47871, 'SRID=4674;POINT (-39.784096051008 -2.9148045647889)', '2026-07-03 15:24:16', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784017847851 -2.9146632459015)'), GeomFromEWKT('SRID=4674;POINT (-39.784096051008 -2.9148045647889)'))) / (select extract(epoch from '2026-07-03 15:24:16'::timestamp) - extract(epoch from '2026-07-03 15:24:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784017847851 -2.9146632459015)'), GeomFromEWKT('SRID=4674;POINT (-39.784096051008 -2.9148045647889)'))) / (select extract(epoch from '2026-07-03 15:24:16'::timestamp) - extract(epoch from '2026-07-03 15:24: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'), 47871, 'SRID=4674;POINT (-39.784155478701 -2.9148939996958)', '2026-07-03 15:24:20', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784096051008 -2.9148045647889)'), GeomFromEWKT('SRID=4674;POINT (-39.784155478701 -2.9148939996958)'))) / (select extract(epoch from '2026-07-03 15:24:20'::timestamp) - extract(epoch from '2026-07-03 15:24:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784096051008 -2.9148045647889)'), GeomFromEWKT('SRID=4674;POINT (-39.784155478701 -2.9148939996958)'))) / (select extract(epoch from '2026-07-03 15:24:20'::timestamp) - extract(epoch from '2026-07-03 15:24: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'), 47871, 'SRID=4674;POINT (-39.784171236679 -2.9149158764631)', '2026-07-03 15:24:21', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784155478701 -2.9148939996958)'), GeomFromEWKT('SRID=4674;POINT (-39.784171236679 -2.9149158764631)'))) / (select extract(epoch from '2026-07-03 15:24:21'::timestamp) - extract(epoch from '2026-07-03 15:24:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784155478701 -2.9148939996958)'), GeomFromEWKT('SRID=4674;POINT (-39.784171236679 -2.9149158764631)'))) / (select extract(epoch from '2026-07-03 15:24:21'::timestamp) - extract(epoch from '2026-07-03 15:24:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.784269388765 -2.915076976642)', '2026-07-03 15:24:28', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784171236679 -2.9149158764631)'), GeomFromEWKT('SRID=4674;POINT (-39.784269388765 -2.915076976642)'))) / (select extract(epoch from '2026-07-03 15:24:28'::timestamp) - extract(epoch from '2026-07-03 15:24:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784171236679 -2.9149158764631)'), GeomFromEWKT('SRID=4674;POINT (-39.784269388765 -2.915076976642)'))) / (select extract(epoch from '2026-07-03 15:24:28'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.784348178655 -2.9152099974453)', '2026-07-03 15:24:34', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784269388765 -2.915076976642)'), GeomFromEWKT('SRID=4674;POINT (-39.784348178655 -2.9152099974453)'))) / (select extract(epoch from '2026-07-03 15:24:34'::timestamp) - extract(epoch from '2026-07-03 15:24:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784269388765 -2.915076976642)'), GeomFromEWKT('SRID=4674;POINT (-39.784348178655 -2.9152099974453)'))) / (select extract(epoch from '2026-07-03 15:24:34'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.784439289942 -2.9153377376497)', '2026-07-03 15:24:40', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784348178655 -2.9152099974453)'), GeomFromEWKT('SRID=4674;POINT (-39.784439289942 -2.9153377376497)'))) / (select extract(epoch from '2026-07-03 15:24:40'::timestamp) - extract(epoch from '2026-07-03 15:24:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784348178655 -2.9152099974453)'), GeomFromEWKT('SRID=4674;POINT (-39.784439289942 -2.9153377376497)'))) / (select extract(epoch from '2026-07-03 15:24:40'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.784516990185 -2.9154688306153)', '2026-07-03 15:24:46', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784439289942 -2.9153377376497)'), GeomFromEWKT('SRID=4674;POINT (-39.784516990185 -2.9154688306153)'))) / (select extract(epoch from '2026-07-03 15:24:46'::timestamp) - extract(epoch from '2026-07-03 15:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784439289942 -2.9153377376497)'), GeomFromEWKT('SRID=4674;POINT (-39.784516990185 -2.9154688306153)'))) / (select extract(epoch from '2026-07-03 15:24:46'::timestamp) - extract(epoch from '2026-07-03 15:24: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'), 47871, 'SRID=4674;POINT (-39.784591672942 -2.9155796393752)', '2026-07-03 15:24:51', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784516990185 -2.9154688306153)'), GeomFromEWKT('SRID=4674;POINT (-39.784591672942 -2.9155796393752)'))) / (select extract(epoch from '2026-07-03 15:24:51'::timestamp) - extract(epoch from '2026-07-03 15:24:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784516990185 -2.9154688306153)'), GeomFromEWKT('SRID=4674;POINT (-39.784591672942 -2.9155796393752)'))) / (select extract(epoch from '2026-07-03 15:24:51'::timestamp) - extract(epoch from '2026-07-03 15:24: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'), 47871, 'SRID=4674;POINT (-39.784671971574 -2.9156838264316)', '2026-07-03 15:24:56', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784591672942 -2.9155796393752)'), GeomFromEWKT('SRID=4674;POINT (-39.784671971574 -2.9156838264316)'))) / (select extract(epoch from '2026-07-03 15:24:56'::timestamp) - extract(epoch from '2026-07-03 15:24:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784591672942 -2.9155796393752)'), GeomFromEWKT('SRID=4674;POINT (-39.784671971574 -2.9156838264316)'))) / (select extract(epoch from '2026-07-03 15:24:56'::timestamp) - extract(epoch from '2026-07-03 15:24:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.784781774506 -2.9158292524517)', '2026-07-03 15:25:03', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784671971574 -2.9156838264316)'), GeomFromEWKT('SRID=4674;POINT (-39.784781774506 -2.9158292524517)'))) / (select extract(epoch from '2026-07-03 15:25:03'::timestamp) - extract(epoch from '2026-07-03 15:24:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784671971574 -2.9156838264316)'), GeomFromEWKT('SRID=4674;POINT (-39.784781774506 -2.9158292524517)'))) / (select extract(epoch from '2026-07-03 15:25:03'::timestamp) - extract(epoch from '2026-07-03 15:24: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'), 47871, 'SRID=4674;POINT (-39.784868191928 -2.9159313440323)', '2026-07-03 15:25:08', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784781774506 -2.9158292524517)'), GeomFromEWKT('SRID=4674;POINT (-39.784868191928 -2.9159313440323)'))) / (select extract(epoch from '2026-07-03 15:25:08'::timestamp) - extract(epoch from '2026-07-03 15:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784781774506 -2.9158292524517)'), GeomFromEWKT('SRID=4674;POINT (-39.784868191928 -2.9159313440323)'))) / (select extract(epoch from '2026-07-03 15:25:08'::timestamp) - extract(epoch from '2026-07-03 15:25: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'), 47871, 'SRID=4674;POINT (-39.784985454753 -2.9161080345511)', '2026-07-03 15:25:16', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784868191928 -2.9159313440323)'), GeomFromEWKT('SRID=4674;POINT (-39.784985454753 -2.9161080345511)'))) / (select extract(epoch from '2026-07-03 15:25:16'::timestamp) - extract(epoch from '2026-07-03 15:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784868191928 -2.9159313440323)'), GeomFromEWKT('SRID=4674;POINT (-39.784985454753 -2.9161080345511)'))) / (select extract(epoch from '2026-07-03 15:25:16'::timestamp) - extract(epoch from '2026-07-03 15:25: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'), 47871, 'SRID=4674;POINT (-39.785056449473 -2.9162260517478)', '2026-07-03 15:25:21', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784985454753 -2.9161080345511)'), GeomFromEWKT('SRID=4674;POINT (-39.785056449473 -2.9162260517478)'))) / (select extract(epoch from '2026-07-03 15:25:21'::timestamp) - extract(epoch from '2026-07-03 15:25:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784985454753 -2.9161080345511)'), GeomFromEWKT('SRID=4674;POINT (-39.785056449473 -2.9162260517478)'))) / (select extract(epoch from '2026-07-03 15:25:21'::timestamp) - extract(epoch from '2026-07-03 15:25:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.78512166068 -2.9163412190974)', '2026-07-03 15:25:26', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785056449473 -2.9162260517478)'), GeomFromEWKT('SRID=4674;POINT (-39.78512166068 -2.9163412190974)'))) / (select extract(epoch from '2026-07-03 15:25:26'::timestamp) - extract(epoch from '2026-07-03 15:25:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785056449473 -2.9162260517478)'), GeomFromEWKT('SRID=4674;POINT (-39.78512166068 -2.9163412190974)'))) / (select extract(epoch from '2026-07-03 15:25:26'::timestamp) - extract(epoch from '2026-07-03 15:25:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.785189554095 -2.9164540395141)', '2026-07-03 15:25:31', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78512166068 -2.9163412190974)'), GeomFromEWKT('SRID=4674;POINT (-39.785189554095 -2.9164540395141)'))) / (select extract(epoch from '2026-07-03 15:25:31'::timestamp) - extract(epoch from '2026-07-03 15:25:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78512166068 -2.9163412190974)'), GeomFromEWKT('SRID=4674;POINT (-39.785189554095 -2.9164540395141)'))) / (select extract(epoch from '2026-07-03 15:25:31'::timestamp) - extract(epoch from '2026-07-03 15:25:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.785270690918 -2.9165917541832)', '2026-07-03 15:25:37', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785189554095 -2.9164540395141)'), GeomFromEWKT('SRID=4674;POINT (-39.785270690918 -2.9165917541832)'))) / (select extract(epoch from '2026-07-03 15:25:37'::timestamp) - extract(epoch from '2026-07-03 15:25:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785189554095 -2.9164540395141)'), GeomFromEWKT('SRID=4674;POINT (-39.785270690918 -2.9165917541832)'))) / (select extract(epoch from '2026-07-03 15:25:37'::timestamp) - extract(epoch from '2026-07-03 15:25: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'), 47871, 'SRID=4674;POINT (-39.785356773064 -2.9167222604156)', '2026-07-03 15:25:43', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785270690918 -2.9165917541832)'), GeomFromEWKT('SRID=4674;POINT (-39.785356773064 -2.9167222604156)'))) / (select extract(epoch from '2026-07-03 15:25:43'::timestamp) - extract(epoch from '2026-07-03 15:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785270690918 -2.9165917541832)'), GeomFromEWKT('SRID=4674;POINT (-39.785356773064 -2.9167222604156)'))) / (select extract(epoch from '2026-07-03 15:25:43'::timestamp) - extract(epoch from '2026-07-03 15:25: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'), 47871, 'SRID=4674;POINT (-39.785433299839 -2.9168560355902)', '2026-07-03 15:25:49', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785356773064 -2.9167222604156)'), GeomFromEWKT('SRID=4674;POINT (-39.785433299839 -2.9168560355902)'))) / (select extract(epoch from '2026-07-03 15:25:49'::timestamp) - extract(epoch from '2026-07-03 15:25:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785356773064 -2.9167222604156)'), GeomFromEWKT('SRID=4674;POINT (-39.785433299839 -2.9168560355902)'))) / (select extract(epoch from '2026-07-03 15:25:49'::timestamp) - extract(epoch from '2026-07-03 15:25:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.785491973162 -2.9169488232583)', '2026-07-03 15:25:53', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785433299839 -2.9168560355902)'), GeomFromEWKT('SRID=4674;POINT (-39.785491973162 -2.9169488232583)'))) / (select extract(epoch from '2026-07-03 15:25:53'::timestamp) - extract(epoch from '2026-07-03 15:25:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785433299839 -2.9168560355902)'), GeomFromEWKT('SRID=4674;POINT (-39.785491973162 -2.9169488232583)'))) / (select extract(epoch from '2026-07-03 15:25:53'::timestamp) - extract(epoch from '2026-07-03 15:25: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'), 47871, 'SRID=4674;POINT (-39.785549892113 -2.9170649964362)', '2026-07-03 15:25:58', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785491973162 -2.9169488232583)'), GeomFromEWKT('SRID=4674;POINT (-39.785549892113 -2.9170649964362)'))) / (select extract(epoch from '2026-07-03 15:25:58'::timestamp) - extract(epoch from '2026-07-03 15:25:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785491973162 -2.9169488232583)'), GeomFromEWKT('SRID=4674;POINT (-39.785549892113 -2.9170649964362)'))) / (select extract(epoch from '2026-07-03 15:25:58'::timestamp) - extract(epoch from '2026-07-03 15:25:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.785631699488 -2.9172306228429)', '2026-07-03 15:26:05', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785549892113 -2.9170649964362)'), GeomFromEWKT('SRID=4674;POINT (-39.785631699488 -2.9172306228429)'))) / (select extract(epoch from '2026-07-03 15:26:05'::timestamp) - extract(epoch from '2026-07-03 15:25:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785549892113 -2.9170649964362)'), GeomFromEWKT('SRID=4674;POINT (-39.785631699488 -2.9172306228429)'))) / (select extract(epoch from '2026-07-03 15:26:05'::timestamp) - extract(epoch from '2026-07-03 15:25:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.785688696429 -2.9173528309911)', '2026-07-03 15:26:10', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785631699488 -2.9172306228429)'), GeomFromEWKT('SRID=4674;POINT (-39.785688696429 -2.9173528309911)'))) / (select extract(epoch from '2026-07-03 15:26:10'::timestamp) - extract(epoch from '2026-07-03 15:26:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785631699488 -2.9172306228429)'), GeomFromEWKT('SRID=4674;POINT (-39.785688696429 -2.9173528309911)'))) / (select extract(epoch from '2026-07-03 15:26:10'::timestamp) - extract(epoch from '2026-07-03 15:26:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.785758433864 -2.9174921382219)', '2026-07-03 15:26:16', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785688696429 -2.9173528309911)'), GeomFromEWKT('SRID=4674;POINT (-39.785758433864 -2.9174921382219)'))) / (select extract(epoch from '2026-07-03 15:26:16'::timestamp) - extract(epoch from '2026-07-03 15:26:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785688696429 -2.9173528309911)'), GeomFromEWKT('SRID=4674;POINT (-39.785758433864 -2.9174921382219)'))) / (select extract(epoch from '2026-07-03 15:26:16'::timestamp) - extract(epoch from '2026-07-03 15:26:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.785823058337 -2.9176032822579)', '2026-07-03 15:26:21', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785758433864 -2.9174921382219)'), GeomFromEWKT('SRID=4674;POINT (-39.785823058337 -2.9176032822579)'))) / (select extract(epoch from '2026-07-03 15:26:21'::timestamp) - extract(epoch from '2026-07-03 15:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785758433864 -2.9174921382219)'), GeomFromEWKT('SRID=4674;POINT (-39.785823058337 -2.9176032822579)'))) / (select extract(epoch from '2026-07-03 15:26:21'::timestamp) - extract(epoch from '2026-07-03 15:26: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'), 47871, 'SRID=4674;POINT (-39.785897154361 -2.9177189525217)', '2026-07-03 15:26:26', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785823058337 -2.9176032822579)'), GeomFromEWKT('SRID=4674;POINT (-39.785897154361 -2.9177189525217)'))) / (select extract(epoch from '2026-07-03 15:26:26'::timestamp) - extract(epoch from '2026-07-03 15:26:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785823058337 -2.9176032822579)'), GeomFromEWKT('SRID=4674;POINT (-39.785897154361 -2.9177189525217)'))) / (select extract(epoch from '2026-07-03 15:26:26'::timestamp) - extract(epoch from '2026-07-03 15:26:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.785969657823 -2.9178355447948)', '2026-07-03 15:26:31', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785897154361 -2.9177189525217)'), GeomFromEWKT('SRID=4674;POINT (-39.785969657823 -2.9178355447948)'))) / (select extract(epoch from '2026-07-03 15:26:31'::timestamp) - extract(epoch from '2026-07-03 15:26:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785897154361 -2.9177189525217)'), GeomFromEWKT('SRID=4674;POINT (-39.785969657823 -2.9178355447948)'))) / (select extract(epoch from '2026-07-03 15:26:31'::timestamp) - extract(epoch from '2026-07-03 15:26:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.786021960899 -2.9179489519447)', '2026-07-03 15:26:36', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785969657823 -2.9178355447948)'), GeomFromEWKT('SRID=4674;POINT (-39.786021960899 -2.9179489519447)'))) / (select extract(epoch from '2026-07-03 15:26:36'::timestamp) - extract(epoch from '2026-07-03 15:26:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785969657823 -2.9178355447948)'), GeomFromEWKT('SRID=4674;POINT (-39.786021960899 -2.9179489519447)'))) / (select extract(epoch from '2026-07-03 15:26:36'::timestamp) - extract(epoch from '2026-07-03 15:26:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.786080969498 -2.918063281104)', '2026-07-03 15:26:41', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786021960899 -2.9179489519447)'), GeomFromEWKT('SRID=4674;POINT (-39.786080969498 -2.918063281104)'))) / (select extract(epoch from '2026-07-03 15:26:41'::timestamp) - extract(epoch from '2026-07-03 15:26:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786021960899 -2.9179489519447)'), GeomFromEWKT('SRID=4674;POINT (-39.786080969498 -2.918063281104)'))) / (select extract(epoch from '2026-07-03 15:26:41'::timestamp) - extract(epoch from '2026-07-03 15:26:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.786134194583 -2.9181813821197)', '2026-07-03 15:26:46', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786080969498 -2.918063281104)'), GeomFromEWKT('SRID=4674;POINT (-39.786134194583 -2.9181813821197)'))) / (select extract(epoch from '2026-07-03 15:26:46'::timestamp) - extract(epoch from '2026-07-03 15:26:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786080969498 -2.918063281104)'), GeomFromEWKT('SRID=4674;POINT (-39.786134194583 -2.9181813821197)'))) / (select extract(epoch from '2026-07-03 15:26:46'::timestamp) - extract(epoch from '2026-07-03 15:26: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'), 47871, 'SRID=4674;POINT (-39.786193622276 -2.9182988964021)', '2026-07-03 15:26:51', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786134194583 -2.9181813821197)'), GeomFromEWKT('SRID=4674;POINT (-39.786193622276 -2.9182988964021)'))) / (select extract(epoch from '2026-07-03 15:26:51'::timestamp) - extract(epoch from '2026-07-03 15:26:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786134194583 -2.9181813821197)'), GeomFromEWKT('SRID=4674;POINT (-39.786193622276 -2.9182988964021)'))) / (select extract(epoch from '2026-07-03 15:26:51'::timestamp) - extract(epoch from '2026-07-03 15:26: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'), 47871, 'SRID=4674;POINT (-39.786279955879 -2.9184346832335)', '2026-07-03 15:26:57', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786193622276 -2.9182988964021)'), GeomFromEWKT('SRID=4674;POINT (-39.786279955879 -2.9184346832335)'))) / (select extract(epoch from '2026-07-03 15:26:57'::timestamp) - extract(epoch from '2026-07-03 15:26:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786193622276 -2.9182988964021)'), GeomFromEWKT('SRID=4674;POINT (-39.786279955879 -2.9184346832335)'))) / (select extract(epoch from '2026-07-03 15:26:57'::timestamp) - extract(epoch from '2026-07-03 15:26:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.786351956427 -2.9185503534973)', '2026-07-03 15:27:02', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786279955879 -2.9184346832335)'), GeomFromEWKT('SRID=4674;POINT (-39.786351956427 -2.9185503534973)'))) / (select extract(epoch from '2026-07-03 15:27:02'::timestamp) - extract(epoch from '2026-07-03 15:26:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786279955879 -2.9184346832335)'), GeomFromEWKT('SRID=4674;POINT (-39.786351956427 -2.9185503534973)'))) / (select extract(epoch from '2026-07-03 15:27:02'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.786444827914 -2.9186807759106)', '2026-07-03 15:27:08', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786351956427 -2.9185503534973)'), GeomFromEWKT('SRID=4674;POINT (-39.786444827914 -2.9186807759106)'))) / (select extract(epoch from '2026-07-03 15:27:08'::timestamp) - extract(epoch from '2026-07-03 15:27:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786351956427 -2.9185503534973)'), GeomFromEWKT('SRID=4674;POINT (-39.786444827914 -2.9186807759106)'))) / (select extract(epoch from '2026-07-03 15:27:08'::timestamp) - extract(epoch from '2026-07-03 15:27:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.786530574784 -2.9188143834472)', '2026-07-03 15:27:14', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786444827914 -2.9186807759106)'), GeomFromEWKT('SRID=4674;POINT (-39.786530574784 -2.9188143834472)'))) / (select extract(epoch from '2026-07-03 15:27:14'::timestamp) - extract(epoch from '2026-07-03 15:27:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786444827914 -2.9186807759106)'), GeomFromEWKT('SRID=4674;POINT (-39.786530574784 -2.9188143834472)'))) / (select extract(epoch from '2026-07-03 15:27:14'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.786626463756 -2.9189732205123)', '2026-07-03 15:27:21', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786530574784 -2.9188143834472)'), GeomFromEWKT('SRID=4674;POINT (-39.786626463756 -2.9189732205123)'))) / (select extract(epoch from '2026-07-03 15:27:21'::timestamp) - extract(epoch from '2026-07-03 15:27:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786530574784 -2.9188143834472)'), GeomFromEWKT('SRID=4674;POINT (-39.786626463756 -2.9189732205123)'))) / (select extract(epoch from '2026-07-03 15:27:21'::timestamp) - extract(epoch from '2026-07-03 15:27: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'), 47871, 'SRID=4674;POINT (-39.78671438992 -2.9190734680742)', '2026-07-03 15:27:26', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786626463756 -2.9189732205123)'), GeomFromEWKT('SRID=4674;POINT (-39.78671438992 -2.9190734680742)'))) / (select extract(epoch from '2026-07-03 15:27:26'::timestamp) - extract(epoch from '2026-07-03 15:27:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786626463756 -2.9189732205123)'), GeomFromEWKT('SRID=4674;POINT (-39.78671438992 -2.9190734680742)'))) / (select extract(epoch from '2026-07-03 15:27:26'::timestamp) - extract(epoch from '2026-07-03 15:27:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.786789575592 -2.9191693570465)', '2026-07-03 15:27:30', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78671438992 -2.9190734680742)'), GeomFromEWKT('SRID=4674;POINT (-39.786789575592 -2.9191693570465)'))) / (select extract(epoch from '2026-07-03 15:27:30'::timestamp) - extract(epoch from '2026-07-03 15:27:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78671438992 -2.9190734680742)'), GeomFromEWKT('SRID=4674;POINT (-39.786789575592 -2.9191693570465)'))) / (select extract(epoch from '2026-07-03 15:27:30'::timestamp) - extract(epoch from '2026-07-03 15:27:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.786868365481 -2.9192586243153)', '2026-07-03 15:27:35', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786789575592 -2.9191693570465)'), GeomFromEWKT('SRID=4674;POINT (-39.786868365481 -2.9192586243153)'))) / (select extract(epoch from '2026-07-03 15:27:35'::timestamp) - extract(epoch from '2026-07-03 15:27:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786789575592 -2.9191693570465)'), GeomFromEWKT('SRID=4674;POINT (-39.786868365481 -2.9192586243153)'))) / (select extract(epoch from '2026-07-03 15:27:35'::timestamp) - extract(epoch from '2026-07-03 15:27: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'), 47871, 'SRID=4674;POINT (-39.786961739883 -2.9193433653563)', '2026-07-03 15:27:40', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786868365481 -2.9192586243153)'), GeomFromEWKT('SRID=4674;POINT (-39.786961739883 -2.9193433653563)'))) / (select extract(epoch from '2026-07-03 15:27:40'::timestamp) - extract(epoch from '2026-07-03 15:27:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786868365481 -2.9192586243153)'), GeomFromEWKT('SRID=4674;POINT (-39.786961739883 -2.9193433653563)'))) / (select extract(epoch from '2026-07-03 15:27:40'::timestamp) - extract(epoch from '2026-07-03 15:27: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'), 47871, 'SRID=4674;POINT (-39.78704765439 -2.9194504860789)', '2026-07-03 15:27:45', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786961739883 -2.9193433653563)'), GeomFromEWKT('SRID=4674;POINT (-39.78704765439 -2.9194504860789)'))) / (select extract(epoch from '2026-07-03 15:27:45'::timestamp) - extract(epoch from '2026-07-03 15:27:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786961739883 -2.9193433653563)'), GeomFromEWKT('SRID=4674;POINT (-39.78704765439 -2.9194504860789)'))) / (select extract(epoch from '2026-07-03 15:27:45'::timestamp) - extract(epoch from '2026-07-03 15:27:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.787139184773 -2.9195805732161)', '2026-07-03 15:27:51', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78704765439 -2.9194504860789)'), GeomFromEWKT('SRID=4674;POINT (-39.787139184773 -2.9195805732161)'))) / (select extract(epoch from '2026-07-03 15:27:51'::timestamp) - extract(epoch from '2026-07-03 15:27:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78704765439 -2.9194504860789)'), GeomFromEWKT('SRID=4674;POINT (-39.787139184773 -2.9195805732161)'))) / (select extract(epoch from '2026-07-03 15:27:51'::timestamp) - extract(epoch from '2026-07-03 15:27: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'), 47871, 'SRID=4674;POINT (-39.787188218907 -2.9196731932461)', '2026-07-03 15:27:55', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787139184773 -2.9195805732161)'), GeomFromEWKT('SRID=4674;POINT (-39.787188218907 -2.9196731932461)'))) / (select extract(epoch from '2026-07-03 15:27:55'::timestamp) - extract(epoch from '2026-07-03 15:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787139184773 -2.9195805732161)'), GeomFromEWKT('SRID=4674;POINT (-39.787188218907 -2.9196731932461)'))) / (select extract(epoch from '2026-07-03 15:27:55'::timestamp) - extract(epoch from '2026-07-03 15:27: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'), 47871, 'SRID=4674;POINT (-39.787269523367 -2.9198487941176)', '2026-07-03 15:28:02', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787188218907 -2.9196731932461)'), GeomFromEWKT('SRID=4674;POINT (-39.787269523367 -2.9198487941176)'))) / (select extract(epoch from '2026-07-03 15:28:02'::timestamp) - extract(epoch from '2026-07-03 15:27:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787188218907 -2.9196731932461)'), GeomFromEWKT('SRID=4674;POINT (-39.787269523367 -2.9198487941176)'))) / (select extract(epoch from '2026-07-03 15:28:02'::timestamp) - extract(epoch from '2026-07-03 15:27: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'), 47871, 'SRID=4674;POINT (-39.787315456197 -2.919971421361)', '2026-07-03 15:28:07', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787269523367 -2.9198487941176)'), GeomFromEWKT('SRID=4674;POINT (-39.787315456197 -2.919971421361)'))) / (select extract(epoch from '2026-07-03 15:28:07'::timestamp) - extract(epoch from '2026-07-03 15:28:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787269523367 -2.9198487941176)'), GeomFromEWKT('SRID=4674;POINT (-39.787315456197 -2.919971421361)'))) / (select extract(epoch from '2026-07-03 15:28:07'::timestamp) - extract(epoch from '2026-07-03 15:28: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'), 47871, 'SRID=4674;POINT (-39.787406483665 -2.920114248991)', '2026-07-03 15:28:13', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787315456197 -2.919971421361)'), GeomFromEWKT('SRID=4674;POINT (-39.787406483665 -2.920114248991)'))) / (select extract(epoch from '2026-07-03 15:28:13'::timestamp) - extract(epoch from '2026-07-03 15:28:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787315456197 -2.919971421361)'), GeomFromEWKT('SRID=4674;POINT (-39.787406483665 -2.920114248991)'))) / (select extract(epoch from '2026-07-03 15:28:13'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.787508826703 -2.9202370438725)', '2026-07-03 15:28:19', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787406483665 -2.920114248991)'), GeomFromEWKT('SRID=4674;POINT (-39.787508826703 -2.9202370438725)'))) / (select extract(epoch from '2026-07-03 15:28:19'::timestamp) - extract(epoch from '2026-07-03 15:28:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787406483665 -2.920114248991)'), GeomFromEWKT('SRID=4674;POINT (-39.787508826703 -2.9202370438725)'))) / (select extract(epoch from '2026-07-03 15:28:19'::timestamp) - extract(epoch from '2026-07-03 15:28:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.787579318509 -2.9203624371439)', '2026-07-03 15:28:24', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787508826703 -2.9202370438725)'), GeomFromEWKT('SRID=4674;POINT (-39.787579318509 -2.9203624371439)'))) / (select extract(epoch from '2026-07-03 15:28:24'::timestamp) - extract(epoch from '2026-07-03 15:28:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787508826703 -2.9202370438725)'), GeomFromEWKT('SRID=4674;POINT (-39.787579318509 -2.9203624371439)'))) / (select extract(epoch from '2026-07-03 15:28:24'::timestamp) - extract(epoch from '2026-07-03 15:28:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.7876233235 -2.9204302467406)', '2026-07-03 15:28:27', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787579318509 -2.9203624371439)'), GeomFromEWKT('SRID=4674;POINT (-39.7876233235 -2.9204302467406)'))) / (select extract(epoch from '2026-07-03 15:28:27'::timestamp) - extract(epoch from '2026-07-03 15:28:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787579318509 -2.9203624371439)'), GeomFromEWKT('SRID=4674;POINT (-39.7876233235 -2.9204302467406)'))) / (select extract(epoch from '2026-07-03 15:28:27'::timestamp) - extract(epoch from '2026-07-03 15:28:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.78763111867 -2.9204532969743)', '2026-07-03 15:28:28', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7876233235 -2.9204302467406)'), GeomFromEWKT('SRID=4674;POINT (-39.78763111867 -2.9204532969743)'))) / (select extract(epoch from '2026-07-03 15:28:28'::timestamp) - extract(epoch from '2026-07-03 15:28:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7876233235 -2.9204302467406)'), GeomFromEWKT('SRID=4674;POINT (-39.78763111867 -2.9204532969743)'))) / (select extract(epoch from '2026-07-03 15:28:28'::timestamp) - extract(epoch from '2026-07-03 15:28:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.787651738152 -2.9205348528922)', '2026-07-03 15:28:32', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78763111867 -2.9204532969743)'), GeomFromEWKT('SRID=4674;POINT (-39.787651738152 -2.9205348528922)'))) / (select extract(epoch from '2026-07-03 15:28:32'::timestamp) - extract(epoch from '2026-07-03 15:28:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78763111867 -2.9204532969743)'), GeomFromEWKT('SRID=4674;POINT (-39.787651738152 -2.9205348528922)'))) / (select extract(epoch from '2026-07-03 15:28:32'::timestamp) - extract(epoch from '2026-07-03 15:28:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.787659868598 -2.9205563943833)', '2026-07-03 15:28:33', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787651738152 -2.9205348528922)'), GeomFromEWKT('SRID=4674;POINT (-39.787659868598 -2.9205563943833)'))) / (select extract(epoch from '2026-07-03 15:28:33'::timestamp) - extract(epoch from '2026-07-03 15:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787651738152 -2.9205348528922)'), GeomFromEWKT('SRID=4674;POINT (-39.787659868598 -2.9205563943833)'))) / (select extract(epoch from '2026-07-03 15:28:33'::timestamp) - extract(epoch from '2026-07-03 15:28: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'), 47871, 'SRID=4674;POINT (-39.787712842226 -2.9206831287593)', '2026-07-03 15:28:39', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787659868598 -2.9205563943833)'), GeomFromEWKT('SRID=4674;POINT (-39.787712842226 -2.9206831287593)'))) / (select extract(epoch from '2026-07-03 15:28:39'::timestamp) - extract(epoch from '2026-07-03 15:28:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787659868598 -2.9205563943833)'), GeomFromEWKT('SRID=4674;POINT (-39.787712842226 -2.9206831287593)'))) / (select extract(epoch from '2026-07-03 15:28:39'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.787765564397 -2.9207927640527)', '2026-07-03 15:28:44', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787712842226 -2.9206831287593)'), GeomFromEWKT('SRID=4674;POINT (-39.787765564397 -2.9207927640527)'))) / (select extract(epoch from '2026-07-03 15:28:44'::timestamp) - extract(epoch from '2026-07-03 15:28:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787712842226 -2.9206831287593)'), GeomFromEWKT('SRID=4674;POINT (-39.787765564397 -2.9207927640527)'))) / (select extract(epoch from '2026-07-03 15:28:44'::timestamp) - extract(epoch from '2026-07-03 15:28: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'), 47871, 'SRID=4674;POINT (-39.787854999304 -2.9209562949836)', '2026-07-03 15:28:51', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787765564397 -2.9207927640527)'), GeomFromEWKT('SRID=4674;POINT (-39.787854999304 -2.9209562949836)'))) / (select extract(epoch from '2026-07-03 15:28:51'::timestamp) - extract(epoch from '2026-07-03 15:28:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787765564397 -2.9207927640527)'), GeomFromEWKT('SRID=4674;POINT (-39.787854999304 -2.9209562949836)'))) / (select extract(epoch from '2026-07-03 15:28:51'::timestamp) - extract(epoch from '2026-07-03 15:28:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.787936052307 -2.9211227595806)', '2026-07-03 15:28:58', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787854999304 -2.9209562949836)'), GeomFromEWKT('SRID=4674;POINT (-39.787936052307 -2.9211227595806)'))) / (select extract(epoch from '2026-07-03 15:28:58'::timestamp) - extract(epoch from '2026-07-03 15:28:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787854999304 -2.9209562949836)'), GeomFromEWKT('SRID=4674;POINT (-39.787936052307 -2.9211227595806)'))) / (select extract(epoch from '2026-07-03 15:28:58'::timestamp) - extract(epoch from '2026-07-03 15:28:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.787986343727 -2.9212174750865)', '2026-07-03 15:29:02', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787936052307 -2.9211227595806)'), GeomFromEWKT('SRID=4674;POINT (-39.787986343727 -2.9212174750865)'))) / (select extract(epoch from '2026-07-03 15:29:02'::timestamp) - extract(epoch from '2026-07-03 15:28:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787936052307 -2.9211227595806)'), GeomFromEWKT('SRID=4674;POINT (-39.787986343727 -2.9212174750865)'))) / (select extract(epoch from '2026-07-03 15:29:02'::timestamp) - extract(epoch from '2026-07-03 15:28:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.788057673723 -2.9213550221175)', '2026-07-03 15:29:08', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787986343727 -2.9212174750865)'), GeomFromEWKT('SRID=4674;POINT (-39.788057673723 -2.9213550221175)'))) / (select extract(epoch from '2026-07-03 15:29:08'::timestamp) - extract(epoch from '2026-07-03 15:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787986343727 -2.9212174750865)'), GeomFromEWKT('SRID=4674;POINT (-39.788057673723 -2.9213550221175)'))) / (select extract(epoch from '2026-07-03 15:29:08'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.7881738469 -2.9215083271265)', '2026-07-03 15:29:15', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788057673723 -2.9213550221175)'), GeomFromEWKT('SRID=4674;POINT (-39.7881738469 -2.9215083271265)'))) / (select extract(epoch from '2026-07-03 15:29:15'::timestamp) - extract(epoch from '2026-07-03 15:29:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788057673723 -2.9213550221175)'), GeomFromEWKT('SRID=4674;POINT (-39.7881738469 -2.9215083271265)'))) / (select extract(epoch from '2026-07-03 15:29:15'::timestamp) - extract(epoch from '2026-07-03 15:29:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.788262778893 -2.9216166213155)', '2026-07-03 15:29:20', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7881738469 -2.9215083271265)'), GeomFromEWKT('SRID=4674;POINT (-39.788262778893 -2.9216166213155)'))) / (select extract(epoch from '2026-07-03 15:29:20'::timestamp) - extract(epoch from '2026-07-03 15:29:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7881738469 -2.9215083271265)'), GeomFromEWKT('SRID=4674;POINT (-39.788262778893 -2.9216166213155)'))) / (select extract(epoch from '2026-07-03 15:29:20'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.788409629837 -2.9218256659806)', '2026-07-03 15:29:29', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788262778893 -2.9216166213155)'), GeomFromEWKT('SRID=4674;POINT (-39.788409629837 -2.9218256659806)'))) / (select extract(epoch from '2026-07-03 15:29:29'::timestamp) - extract(epoch from '2026-07-03 15:29:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788262778893 -2.9216166213155)'), GeomFromEWKT('SRID=4674;POINT (-39.788409629837 -2.9218256659806)'))) / (select extract(epoch from '2026-07-03 15:29:29'::timestamp) - extract(epoch from '2026-07-03 15:29: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'), 47871, 'SRID=4674;POINT (-39.788501663134 -2.9219756182283)', '2026-07-03 15:29:36', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788409629837 -2.9218256659806)'), GeomFromEWKT('SRID=4674;POINT (-39.788501663134 -2.9219756182283)'))) / (select extract(epoch from '2026-07-03 15:29:36'::timestamp) - extract(epoch from '2026-07-03 15:29:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788409629837 -2.9218256659806)'), GeomFromEWKT('SRID=4674;POINT (-39.788501663134 -2.9219756182283)'))) / (select extract(epoch from '2026-07-03 15:29:36'::timestamp) - extract(epoch from '2026-07-03 15:29: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'), 47871, 'SRID=4674;POINT (-39.78859285824 -2.9221034422517)', '2026-07-03 15:29:42', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788501663134 -2.9219756182283)'), GeomFromEWKT('SRID=4674;POINT (-39.78859285824 -2.9221034422517)'))) / (select extract(epoch from '2026-07-03 15:29:42'::timestamp) - extract(epoch from '2026-07-03 15:29:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788501663134 -2.9219756182283)'), GeomFromEWKT('SRID=4674;POINT (-39.78859285824 -2.9221034422517)'))) / (select extract(epoch from '2026-07-03 15:29:42'::timestamp) - extract(epoch from '2026-07-03 15:29:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.788667624816 -2.9222328588367)', '2026-07-03 15:29:48', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78859285824 -2.9221034422517)'), GeomFromEWKT('SRID=4674;POINT (-39.788667624816 -2.9222328588367)'))) / (select extract(epoch from '2026-07-03 15:29:48'::timestamp) - extract(epoch from '2026-07-03 15:29:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78859285824 -2.9221034422517)'), GeomFromEWKT('SRID=4674;POINT (-39.788667624816 -2.9222328588367)'))) / (select extract(epoch from '2026-07-03 15:29:48'::timestamp) - extract(epoch from '2026-07-03 15:29: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'), 47871, 'SRID=4674;POINT (-39.788747671992 -2.9223661310971)', '2026-07-03 15:29:54', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788667624816 -2.9222328588367)'), GeomFromEWKT('SRID=4674;POINT (-39.788747671992 -2.9223661310971)'))) / (select extract(epoch from '2026-07-03 15:29:54'::timestamp) - extract(epoch from '2026-07-03 15:29:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788667624816 -2.9222328588367)'), GeomFromEWKT('SRID=4674;POINT (-39.788747671992 -2.9223661310971)'))) / (select extract(epoch from '2026-07-03 15:29:54'::timestamp) - extract(epoch from '2026-07-03 15:29:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.788823528215 -2.9224782809615)', '2026-07-03 15:29:59', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788747671992 -2.9223661310971)'), GeomFromEWKT('SRID=4674;POINT (-39.788823528215 -2.9224782809615)'))) / (select extract(epoch from '2026-07-03 15:29:59'::timestamp) - extract(epoch from '2026-07-03 15:29:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788747671992 -2.9223661310971)'), GeomFromEWKT('SRID=4674;POINT (-39.788823528215 -2.9224782809615)'))) / (select extract(epoch from '2026-07-03 15:29:59'::timestamp) - extract(epoch from '2026-07-03 15:29: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'), 47871, 'SRID=4674;POINT (-39.788926038891 -2.9226375371218)', '2026-07-03 15:30:06', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788823528215 -2.9224782809615)'), GeomFromEWKT('SRID=4674;POINT (-39.788926038891 -2.9226375371218)'))) / (select extract(epoch from '2026-07-03 15:30:06'::timestamp) - extract(epoch from '2026-07-03 15:29:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788823528215 -2.9224782809615)'), GeomFromEWKT('SRID=4674;POINT (-39.788926038891 -2.9226375371218)'))) / (select extract(epoch from '2026-07-03 15:30:06'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.789020922035 -2.9228063486516)', '2026-07-03 15:30:13', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788926038891 -2.9226375371218)'), GeomFromEWKT('SRID=4674;POINT (-39.789020922035 -2.9228063486516)'))) / (select extract(epoch from '2026-07-03 15:30:13'::timestamp) - extract(epoch from '2026-07-03 15:30:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788926038891 -2.9226375371218)'), GeomFromEWKT('SRID=4674;POINT (-39.789020922035 -2.9228063486516)'))) / (select extract(epoch from '2026-07-03 15:30:13'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.789089066908 -2.9229345917702)', '2026-07-03 15:30:18', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789020922035 -2.9228063486516)'), GeomFromEWKT('SRID=4674;POINT (-39.789089066908 -2.9229345917702)'))) / (select extract(epoch from '2026-07-03 15:30:18'::timestamp) - extract(epoch from '2026-07-03 15:30:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789020922035 -2.9228063486516)'), GeomFromEWKT('SRID=4674;POINT (-39.789089066908 -2.9229345917702)'))) / (select extract(epoch from '2026-07-03 15:30:18'::timestamp) - extract(epoch from '2026-07-03 15:30:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.789194175974 -2.9230589792132)', '2026-07-03 15:30:24', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789089066908 -2.9229345917702)'), GeomFromEWKT('SRID=4674;POINT (-39.789194175974 -2.9230589792132)'))) / (select extract(epoch from '2026-07-03 15:30:24'::timestamp) - extract(epoch from '2026-07-03 15:30:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789089066908 -2.9229345917702)'), GeomFromEWKT('SRID=4674;POINT (-39.789194175974 -2.9230589792132)'))) / (select extract(epoch from '2026-07-03 15:30:24'::timestamp) - extract(epoch from '2026-07-03 15:30:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.789323844016 -2.9231967777014)', '2026-07-03 15:30:31', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789194175974 -2.9230589792132)'), GeomFromEWKT('SRID=4674;POINT (-39.789323844016 -2.9231967777014)'))) / (select extract(epoch from '2026-07-03 15:30:31'::timestamp) - extract(epoch from '2026-07-03 15:30:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789194175974 -2.9230589792132)'), GeomFromEWKT('SRID=4674;POINT (-39.789323844016 -2.9231967777014)'))) / (select extract(epoch from '2026-07-03 15:30:31'::timestamp) - extract(epoch from '2026-07-03 15:30:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.789416380227 -2.9232927504927)', '2026-07-03 15:30:36', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789323844016 -2.9231967777014)'), GeomFromEWKT('SRID=4674;POINT (-39.789416380227 -2.9232927504927)'))) / (select extract(epoch from '2026-07-03 15:30:36'::timestamp) - extract(epoch from '2026-07-03 15:30:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789323844016 -2.9231967777014)'), GeomFromEWKT('SRID=4674;POINT (-39.789416380227 -2.9232927504927)'))) / (select extract(epoch from '2026-07-03 15:30:36'::timestamp) - extract(epoch from '2026-07-03 15:30: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'), 47871, 'SRID=4674;POINT (-39.78942736052 -2.9233126994222)', '2026-07-03 15:30:37', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789416380227 -2.9232927504927)'), GeomFromEWKT('SRID=4674;POINT (-39.78942736052 -2.9233126994222)'))) / (select extract(epoch from '2026-07-03 15:30:37'::timestamp) - extract(epoch from '2026-07-03 15:30:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789416380227 -2.9232927504927)'), GeomFromEWKT('SRID=4674;POINT (-39.78942736052 -2.9233126994222)'))) / (select extract(epoch from '2026-07-03 15:30:37'::timestamp) - extract(epoch from '2026-07-03 15:30:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.789467342198 -2.9233779944479)', '2026-07-03 15:30:40', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78942736052 -2.9233126994222)'), GeomFromEWKT('SRID=4674;POINT (-39.789467342198 -2.9233779944479)'))) / (select extract(epoch from '2026-07-03 15:30:40'::timestamp) - extract(epoch from '2026-07-03 15:30:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78942736052 -2.9233126994222)'), GeomFromEWKT('SRID=4674;POINT (-39.789467342198 -2.9233779944479)'))) / (select extract(epoch from '2026-07-03 15:30:40'::timestamp) - extract(epoch from '2026-07-03 15:30:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.789539175108 -2.9235362447798)', '2026-07-03 15:30:47', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789467342198 -2.9233779944479)'), GeomFromEWKT('SRID=4674;POINT (-39.789539175108 -2.9235362447798)'))) / (select extract(epoch from '2026-07-03 15:30:47'::timestamp) - extract(epoch from '2026-07-03 15:30:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789467342198 -2.9233779944479)'), GeomFromEWKT('SRID=4674;POINT (-39.789539175108 -2.9235362447798)'))) / (select extract(epoch from '2026-07-03 15:30:47'::timestamp) - extract(epoch from '2026-07-03 15:30: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'), 47871, 'SRID=4674;POINT (-39.789586868137 -2.9236499872059)', '2026-07-03 15:30:52', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789539175108 -2.9235362447798)'), GeomFromEWKT('SRID=4674;POINT (-39.789586868137 -2.9236499872059)'))) / (select extract(epoch from '2026-07-03 15:30:52'::timestamp) - extract(epoch from '2026-07-03 15:30:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789539175108 -2.9235362447798)'), GeomFromEWKT('SRID=4674;POINT (-39.789586868137 -2.9236499872059)'))) / (select extract(epoch from '2026-07-03 15:30:52'::timestamp) - extract(epoch from '2026-07-03 15:30: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'), 47871, 'SRID=4674;POINT (-39.789670435712 -2.9238139372319)', '2026-07-03 15:30:59', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789586868137 -2.9236499872059)'), GeomFromEWKT('SRID=4674;POINT (-39.789670435712 -2.9238139372319)'))) / (select extract(epoch from '2026-07-03 15:30:59'::timestamp) - extract(epoch from '2026-07-03 15:30:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789586868137 -2.9236499872059)'), GeomFromEWKT('SRID=4674;POINT (-39.789670435712 -2.9238139372319)'))) / (select extract(epoch from '2026-07-03 15:30:59'::timestamp) - extract(epoch from '2026-07-03 15:30:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.789716536179 -2.9239053837955)', '2026-07-03 15:31:03', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789670435712 -2.9238139372319)'), GeomFromEWKT('SRID=4674;POINT (-39.789716536179 -2.9239053837955)'))) / (select extract(epoch from '2026-07-03 15:31:03'::timestamp) - extract(epoch from '2026-07-03 15:30:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789670435712 -2.9238139372319)'), GeomFromEWKT('SRID=4674;POINT (-39.789716536179 -2.9239053837955)'))) / (select extract(epoch from '2026-07-03 15:31:03'::timestamp) - extract(epoch from '2026-07-03 15:30:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.78972944431 -2.9239283502102)', '2026-07-03 15:31:04', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789716536179 -2.9239053837955)'), GeomFromEWKT('SRID=4674;POINT (-39.78972944431 -2.9239283502102)'))) / (select extract(epoch from '2026-07-03 15:31:04'::timestamp) - extract(epoch from '2026-07-03 15:31:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789716536179 -2.9239053837955)'), GeomFromEWKT('SRID=4674;POINT (-39.78972944431 -2.9239283502102)'))) / (select extract(epoch from '2026-07-03 15:31:04'::timestamp) - extract(epoch from '2026-07-03 15:31:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.789759535342 -2.9239777196199)', '2026-07-03 15:31:06', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78972944431 -2.9239283502102)'), GeomFromEWKT('SRID=4674;POINT (-39.789759535342 -2.9239777196199)'))) / (select extract(epoch from '2026-07-03 15:31:06'::timestamp) - extract(epoch from '2026-07-03 15:31:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78972944431 -2.9239283502102)'), GeomFromEWKT('SRID=4674;POINT (-39.789759535342 -2.9239777196199)'))) / (select extract(epoch from '2026-07-03 15:31:06'::timestamp) - extract(epoch from '2026-07-03 15:31: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'), 47871, 'SRID=4674;POINT (-39.789766743779 -2.9240002669394)', '2026-07-03 15:31:07', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789759535342 -2.9239777196199)'), GeomFromEWKT('SRID=4674;POINT (-39.789766743779 -2.9240002669394)'))) / (select extract(epoch from '2026-07-03 15:31:07'::timestamp) - extract(epoch from '2026-07-03 15:31:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789759535342 -2.9239777196199)'), GeomFromEWKT('SRID=4674;POINT (-39.789766743779 -2.9240002669394)'))) / (select extract(epoch from '2026-07-03 15:31:07'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.789824746549 -2.9241095669568)', '2026-07-03 15:31:12', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789766743779 -2.9240002669394)'), GeomFromEWKT('SRID=4674;POINT (-39.789824746549 -2.9241095669568)'))) / (select extract(epoch from '2026-07-03 15:31:12'::timestamp) - extract(epoch from '2026-07-03 15:31:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789766743779 -2.9240002669394)'), GeomFromEWKT('SRID=4674;POINT (-39.789824746549 -2.9241095669568)'))) / (select extract(epoch from '2026-07-03 15:31:12'::timestamp) - extract(epoch from '2026-07-03 15:31:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.789904458448 -2.9242587648332)', '2026-07-03 15:31:19', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789824746549 -2.9241095669568)'), GeomFromEWKT('SRID=4674;POINT (-39.789904458448 -2.9242587648332)'))) / (select extract(epoch from '2026-07-03 15:31:19'::timestamp) - extract(epoch from '2026-07-03 15:31:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789824746549 -2.9241095669568)'), GeomFromEWKT('SRID=4674;POINT (-39.789904458448 -2.9242587648332)'))) / (select extract(epoch from '2026-07-03 15:31:19'::timestamp) - extract(epoch from '2026-07-03 15:31: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'), 47871, 'SRID=4674;POINT (-39.789961958304 -2.9243993293494)', '2026-07-03 15:31:25', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789904458448 -2.9242587648332)'), GeomFromEWKT('SRID=4674;POINT (-39.789961958304 -2.9243993293494)'))) / (select extract(epoch from '2026-07-03 15:31:25'::timestamp) - extract(epoch from '2026-07-03 15:31:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789904458448 -2.9242587648332)'), GeomFromEWKT('SRID=4674;POINT (-39.789961958304 -2.9243993293494)'))) / (select extract(epoch from '2026-07-03 15:31:25'::timestamp) - extract(epoch from '2026-07-03 15:31: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'), 47871, 'SRID=4674;POINT (-39.790023146197 -2.9245419893414)', '2026-07-03 15:31:31', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789961958304 -2.9243993293494)'), GeomFromEWKT('SRID=4674;POINT (-39.790023146197 -2.9245419893414)'))) / (select extract(epoch from '2026-07-03 15:31:31'::timestamp) - extract(epoch from '2026-07-03 15:31:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789961958304 -2.9243993293494)'), GeomFromEWKT('SRID=4674;POINT (-39.790023146197 -2.9245419893414)'))) / (select extract(epoch from '2026-07-03 15:31:31'::timestamp) - extract(epoch from '2026-07-03 15:31:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.790079053491 -2.9246574919671)', '2026-07-03 15:31:36', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790023146197 -2.9245419893414)'), GeomFromEWKT('SRID=4674;POINT (-39.790079053491 -2.9246574919671)'))) / (select extract(epoch from '2026-07-03 15:31:36'::timestamp) - extract(epoch from '2026-07-03 15:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790023146197 -2.9245419893414)'), GeomFromEWKT('SRID=4674;POINT (-39.790079053491 -2.9246574919671)'))) / (select extract(epoch from '2026-07-03 15:31:36'::timestamp) - extract(epoch from '2026-07-03 15:31: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'), 47871, 'SRID=4674;POINT (-39.79014845565 -2.9247666243464)', '2026-07-03 15:31:41', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790079053491 -2.9246574919671)'), GeomFromEWKT('SRID=4674;POINT (-39.79014845565 -2.9247666243464)'))) / (select extract(epoch from '2026-07-03 15:31:41'::timestamp) - extract(epoch from '2026-07-03 15:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790079053491 -2.9246574919671)'), GeomFromEWKT('SRID=4674;POINT (-39.79014845565 -2.9247666243464)'))) / (select extract(epoch from '2026-07-03 15:31:41'::timestamp) - extract(epoch from '2026-07-03 15:31:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.790217271075 -2.9248714819551)', '2026-07-03 15:31:46', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79014845565 -2.9247666243464)'), GeomFromEWKT('SRID=4674;POINT (-39.790217271075 -2.9248714819551)'))) / (select extract(epoch from '2026-07-03 15:31:46'::timestamp) - extract(epoch from '2026-07-03 15:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79014845565 -2.9247666243464)'), GeomFromEWKT('SRID=4674;POINT (-39.790217271075 -2.9248714819551)'))) / (select extract(epoch from '2026-07-03 15:31:46'::timestamp) - extract(epoch from '2026-07-03 15:31:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.790315423161 -2.9249961208552)', '2026-07-03 15:31:52', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790217271075 -2.9248714819551)'), GeomFromEWKT('SRID=4674;POINT (-39.790315423161 -2.9249961208552)'))) / (select extract(epoch from '2026-07-03 15:31:52'::timestamp) - extract(epoch from '2026-07-03 15:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790217271075 -2.9248714819551)'), GeomFromEWKT('SRID=4674;POINT (-39.790315423161 -2.9249961208552)'))) / (select extract(epoch from '2026-07-03 15:31:52'::timestamp) - extract(epoch from '2026-07-03 15:31: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'), 47871, 'SRID=4674;POINT (-39.790414581075 -2.9251201730222)', '2026-07-03 15:31:58', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790315423161 -2.9249961208552)'), GeomFromEWKT('SRID=4674;POINT (-39.790414581075 -2.9251201730222)'))) / (select extract(epoch from '2026-07-03 15:31:58'::timestamp) - extract(epoch from '2026-07-03 15:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790315423161 -2.9249961208552)'), GeomFromEWKT('SRID=4674;POINT (-39.790414581075 -2.9251201730222)'))) / (select extract(epoch from '2026-07-03 15:31:58'::timestamp) - extract(epoch from '2026-07-03 15:31:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.79048859328 -2.9252909962088)', '2026-07-03 15:32:05', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790414581075 -2.9251201730222)'), GeomFromEWKT('SRID=4674;POINT (-39.79048859328 -2.9252909962088)'))) / (select extract(epoch from '2026-07-03 15:32:05'::timestamp) - extract(epoch from '2026-07-03 15:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790414581075 -2.9251201730222)'), GeomFromEWKT('SRID=4674;POINT (-39.79048859328 -2.9252909962088)'))) / (select extract(epoch from '2026-07-03 15:32:05'::timestamp) - extract(epoch from '2026-07-03 15:31: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'), 47871, 'SRID=4674;POINT (-39.790531760082 -2.9254090972245)', '2026-07-03 15:32:10', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79048859328 -2.9252909962088)'), GeomFromEWKT('SRID=4674;POINT (-39.790531760082 -2.9254090972245)'))) / (select extract(epoch from '2026-07-03 15:32:10'::timestamp) - extract(epoch from '2026-07-03 15:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79048859328 -2.9252909962088)'), GeomFromEWKT('SRID=4674;POINT (-39.790531760082 -2.9254090972245)'))) / (select extract(epoch from '2026-07-03 15:32:10'::timestamp) - extract(epoch from '2026-07-03 15:32: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'), 47871, 'SRID=4674;POINT (-39.790589176118 -2.9255465604365)', '2026-07-03 15:32:16', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790531760082 -2.9254090972245)'), GeomFromEWKT('SRID=4674;POINT (-39.790589176118 -2.9255465604365)'))) / (select extract(epoch from '2026-07-03 15:32:16'::timestamp) - extract(epoch from '2026-07-03 15:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790531760082 -2.9254090972245)'), GeomFromEWKT('SRID=4674;POINT (-39.790589176118 -2.9255465604365)'))) / (select extract(epoch from '2026-07-03 15:32:16'::timestamp) - extract(epoch from '2026-07-03 15:32:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.790631169453 -2.9256473947316)', '2026-07-03 15:32:20', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790589176118 -2.9255465604365)'), GeomFromEWKT('SRID=4674;POINT (-39.790631169453 -2.9256473947316)'))) / (select extract(epoch from '2026-07-03 15:32:20'::timestamp) - extract(epoch from '2026-07-03 15:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790589176118 -2.9255465604365)'), GeomFromEWKT('SRID=4674;POINT (-39.790631169453 -2.9256473947316)'))) / (select extract(epoch from '2026-07-03 15:32:20'::timestamp) - extract(epoch from '2026-07-03 15:32: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'), 47871, 'SRID=4674;POINT (-39.790687831119 -2.925759293139)', '2026-07-03 15:32:25', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790631169453 -2.9256473947316)'), GeomFromEWKT('SRID=4674;POINT (-39.790687831119 -2.925759293139)'))) / (select extract(epoch from '2026-07-03 15:32:25'::timestamp) - extract(epoch from '2026-07-03 15:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790631169453 -2.9256473947316)'), GeomFromEWKT('SRID=4674;POINT (-39.790687831119 -2.925759293139)'))) / (select extract(epoch from '2026-07-03 15:32:25'::timestamp) - extract(epoch from '2026-07-03 15:32:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.790743738413 -2.9258511587977)', '2026-07-03 15:32:29', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790687831119 -2.925759293139)'), GeomFromEWKT('SRID=4674;POINT (-39.790743738413 -2.9258511587977)'))) / (select extract(epoch from '2026-07-03 15:32:29'::timestamp) - extract(epoch from '2026-07-03 15:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790687831119 -2.925759293139)'), GeomFromEWKT('SRID=4674;POINT (-39.790743738413 -2.9258511587977)'))) / (select extract(epoch from '2026-07-03 15:32:29'::timestamp) - extract(epoch from '2026-07-03 15:32: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'), 47871, 'SRID=4674;POINT (-39.790816996247 -2.925997087732)', '2026-07-03 15:32:35', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790743738413 -2.9258511587977)'), GeomFromEWKT('SRID=4674;POINT (-39.790816996247 -2.925997087732)'))) / (select extract(epoch from '2026-07-03 15:32:35'::timestamp) - extract(epoch from '2026-07-03 15:32:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790743738413 -2.9258511587977)'), GeomFromEWKT('SRID=4674;POINT (-39.790816996247 -2.925997087732)'))) / (select extract(epoch from '2026-07-03 15:32:35'::timestamp) - extract(epoch from '2026-07-03 15:32: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'), 47871, 'SRID=4674;POINT (-39.790872149169 -2.9261094890535)', '2026-07-03 15:32:40', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790816996247 -2.925997087732)'), GeomFromEWKT('SRID=4674;POINT (-39.790872149169 -2.9261094890535)'))) / (select extract(epoch from '2026-07-03 15:32:40'::timestamp) - extract(epoch from '2026-07-03 15:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790816996247 -2.925997087732)'), GeomFromEWKT('SRID=4674;POINT (-39.790872149169 -2.9261094890535)'))) / (select extract(epoch from '2026-07-03 15:32:40'::timestamp) - extract(epoch from '2026-07-03 15:32:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.790933253244 -2.926224488765)', '2026-07-03 15:32:45', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790872149169 -2.9261094890535)'), GeomFromEWKT('SRID=4674;POINT (-39.790933253244 -2.926224488765)'))) / (select extract(epoch from '2026-07-03 15:32:45'::timestamp) - extract(epoch from '2026-07-03 15:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790872149169 -2.9261094890535)'), GeomFromEWKT('SRID=4674;POINT (-39.790933253244 -2.926224488765)'))) / (select extract(epoch from '2026-07-03 15:32:45'::timestamp) - extract(epoch from '2026-07-03 15:32:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.79099418968 -2.9263416677713)', '2026-07-03 15:32:50', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790933253244 -2.926224488765)'), GeomFromEWKT('SRID=4674;POINT (-39.79099418968 -2.9263416677713)'))) / (select extract(epoch from '2026-07-03 15:32:50'::timestamp) - extract(epoch from '2026-07-03 15:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790933253244 -2.926224488765)'), GeomFromEWKT('SRID=4674;POINT (-39.79099418968 -2.9263416677713)'))) / (select extract(epoch from '2026-07-03 15:32:50'::timestamp) - extract(epoch from '2026-07-03 15:32: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'), 47871, 'SRID=4674;POINT (-39.791059484705 -2.9264283366501)', '2026-07-03 15:32:54', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79099418968 -2.9263416677713)'), GeomFromEWKT('SRID=4674;POINT (-39.791059484705 -2.9264283366501)'))) / (select extract(epoch from '2026-07-03 15:32:54'::timestamp) - extract(epoch from '2026-07-03 15:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79099418968 -2.9263416677713)'), GeomFromEWKT('SRID=4674;POINT (-39.791059484705 -2.9264283366501)'))) / (select extract(epoch from '2026-07-03 15:32:54'::timestamp) - extract(epoch from '2026-07-03 15:32: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'), 47871, 'SRID=4674;POINT (-39.791147327051 -2.926533780992)', '2026-07-03 15:32:59', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791059484705 -2.9264283366501)'), GeomFromEWKT('SRID=4674;POINT (-39.791147327051 -2.926533780992)'))) / (select extract(epoch from '2026-07-03 15:32:59'::timestamp) - extract(epoch from '2026-07-03 15:32:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791059484705 -2.9264283366501)'), GeomFromEWKT('SRID=4674;POINT (-39.791147327051 -2.926533780992)'))) / (select extract(epoch from '2026-07-03 15:32:59'::timestamp) - extract(epoch from '2026-07-03 15:32:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.791209353134 -2.9266464337707)', '2026-07-03 15:33:04', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791147327051 -2.926533780992)'), GeomFromEWKT('SRID=4674;POINT (-39.791209353134 -2.9266464337707)'))) / (select extract(epoch from '2026-07-03 15:33:04'::timestamp) - extract(epoch from '2026-07-03 15:32:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791147327051 -2.926533780992)'), GeomFromEWKT('SRID=4674;POINT (-39.791209353134 -2.9266464337707)'))) / (select extract(epoch from '2026-07-03 15:33:04'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.791264589876 -2.9267535544932)', '2026-07-03 15:33:09', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791209353134 -2.9266464337707)'), GeomFromEWKT('SRID=4674;POINT (-39.791264589876 -2.9267535544932)'))) / (select extract(epoch from '2026-07-03 15:33:09'::timestamp) - extract(epoch from '2026-07-03 15:33:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791209353134 -2.9266464337707)'), GeomFromEWKT('SRID=4674;POINT (-39.791264589876 -2.9267535544932)'))) / (select extract(epoch from '2026-07-03 15:33:09'::timestamp) - extract(epoch from '2026-07-03 15:33:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.791337428614 -2.9269132297486)', '2026-07-03 15:33:16', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791264589876 -2.9267535544932)'), GeomFromEWKT('SRID=4674;POINT (-39.791337428614 -2.9269132297486)'))) / (select extract(epoch from '2026-07-03 15:33:16'::timestamp) - extract(epoch from '2026-07-03 15:33:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791264589876 -2.9267535544932)'), GeomFromEWKT('SRID=4674;POINT (-39.791337428614 -2.9269132297486)'))) / (select extract(epoch from '2026-07-03 15:33:16'::timestamp) - extract(epoch from '2026-07-03 15:33:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.791413620114 -2.92704901658)', '2026-07-03 15:33:22', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791337428614 -2.9269132297486)'), GeomFromEWKT('SRID=4674;POINT (-39.791413620114 -2.92704901658)'))) / (select extract(epoch from '2026-07-03 15:33:22'::timestamp) - extract(epoch from '2026-07-03 15:33:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791337428614 -2.9269132297486)'), GeomFromEWKT('SRID=4674;POINT (-39.791413620114 -2.92704901658)'))) / (select extract(epoch from '2026-07-03 15:33:22'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.791473131627 -2.9271570593119)', '2026-07-03 15:33:27', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791413620114 -2.92704901658)'), GeomFromEWKT('SRID=4674;POINT (-39.791473131627 -2.9271570593119)'))) / (select extract(epoch from '2026-07-03 15:33:27'::timestamp) - extract(epoch from '2026-07-03 15:33:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791413620114 -2.92704901658)'), GeomFromEWKT('SRID=4674;POINT (-39.791473131627 -2.9271570593119)'))) / (select extract(epoch from '2026-07-03 15:33:27'::timestamp) - extract(epoch from '2026-07-03 15:33: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'), 47871, 'SRID=4674;POINT (-39.791545383632 -2.9272701311857)', '2026-07-03 15:33:32', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791473131627 -2.9271570593119)'), GeomFromEWKT('SRID=4674;POINT (-39.791545383632 -2.9272701311857)'))) / (select extract(epoch from '2026-07-03 15:33:32'::timestamp) - extract(epoch from '2026-07-03 15:33:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791473131627 -2.9271570593119)'), GeomFromEWKT('SRID=4674;POINT (-39.791545383632 -2.9272701311857)'))) / (select extract(epoch from '2026-07-03 15:33:32'::timestamp) - extract(epoch from '2026-07-03 15:33:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.791624592617 -2.9274046607316)', '2026-07-03 15:33:38', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791545383632 -2.9272701311857)'), GeomFromEWKT('SRID=4674;POINT (-39.791624592617 -2.9274046607316)'))) / (select extract(epoch from '2026-07-03 15:33:38'::timestamp) - extract(epoch from '2026-07-03 15:33:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791545383632 -2.9272701311857)'), GeomFromEWKT('SRID=4674;POINT (-39.791624592617 -2.9274046607316)'))) / (select extract(epoch from '2026-07-03 15:33:38'::timestamp) - extract(epoch from '2026-07-03 15:33:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.7916883789 -2.9275170620531)', '2026-07-03 15:33:43', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791624592617 -2.9274046607316)'), GeomFromEWKT('SRID=4674;POINT (-39.7916883789 -2.9275170620531)'))) / (select extract(epoch from '2026-07-03 15:33:43'::timestamp) - extract(epoch from '2026-07-03 15:33:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791624592617 -2.9274046607316)'), GeomFromEWKT('SRID=4674;POINT (-39.7916883789 -2.9275170620531)'))) / (select extract(epoch from '2026-07-03 15:33:43'::timestamp) - extract(epoch from '2026-07-03 15:33:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.791738754138 -2.9276072513312)', '2026-07-03 15:33:47', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7916883789 -2.9275170620531)'), GeomFromEWKT('SRID=4674;POINT (-39.791738754138 -2.9276072513312)'))) / (select extract(epoch from '2026-07-03 15:33:47'::timestamp) - extract(epoch from '2026-07-03 15:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7916883789 -2.9275170620531)'), GeomFromEWKT('SRID=4674;POINT (-39.791738754138 -2.9276072513312)'))) / (select extract(epoch from '2026-07-03 15:33:47'::timestamp) - extract(epoch from '2026-07-03 15:33: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'), 47871, 'SRID=4674;POINT (-39.791823746637 -2.9277638252825)', '2026-07-03 15:33:54', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791738754138 -2.9276072513312)'), GeomFromEWKT('SRID=4674;POINT (-39.791823746637 -2.9277638252825)'))) / (select extract(epoch from '2026-07-03 15:33:54'::timestamp) - extract(epoch from '2026-07-03 15:33:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791738754138 -2.9276072513312)'), GeomFromEWKT('SRID=4674;POINT (-39.791823746637 -2.9277638252825)'))) / (select extract(epoch from '2026-07-03 15:33:54'::timestamp) - extract(epoch from '2026-07-03 15:33:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.791881078854 -2.9278984386474)', '2026-07-03 15:34:00', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791823746637 -2.9277638252825)'), GeomFromEWKT('SRID=4674;POINT (-39.791881078854 -2.9278984386474)'))) / (select extract(epoch from '2026-07-03 15:34:00'::timestamp) - extract(epoch from '2026-07-03 15:33:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791823746637 -2.9277638252825)'), GeomFromEWKT('SRID=4674;POINT (-39.791881078854 -2.9278984386474)'))) / (select extract(epoch from '2026-07-03 15:34:00'::timestamp) - extract(epoch from '2026-07-03 15:33:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.791955593973 -2.9280167911202)', '2026-07-03 15:34:05', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791881078854 -2.9278984386474)'), GeomFromEWKT('SRID=4674;POINT (-39.791955593973 -2.9280167911202)'))) / (select extract(epoch from '2026-07-03 15:34:05'::timestamp) - extract(epoch from '2026-07-03 15:34:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791881078854 -2.9278984386474)'), GeomFromEWKT('SRID=4674;POINT (-39.791955593973 -2.9280167911202)'))) / (select extract(epoch from '2026-07-03 15:34:05'::timestamp) - extract(epoch from '2026-07-03 15:34:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.792046369985 -2.9281479679048)', '2026-07-03 15:34:11', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791955593973 -2.9280167911202)'), GeomFromEWKT('SRID=4674;POINT (-39.792046369985 -2.9281479679048)'))) / (select extract(epoch from '2026-07-03 15:34:11'::timestamp) - extract(epoch from '2026-07-03 15:34:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791955593973 -2.9280167911202)'), GeomFromEWKT('SRID=4674;POINT (-39.792046369985 -2.9281479679048)'))) / (select extract(epoch from '2026-07-03 15:34:11'::timestamp) - extract(epoch from '2026-07-03 15:34:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.792113676667 -2.9282637219876)', '2026-07-03 15:34:16', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792046369985 -2.9281479679048)'), GeomFromEWKT('SRID=4674;POINT (-39.792113676667 -2.9282637219876)'))) / (select extract(epoch from '2026-07-03 15:34:16'::timestamp) - extract(epoch from '2026-07-03 15:34:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792046369985 -2.9281479679048)'), GeomFromEWKT('SRID=4674;POINT (-39.792113676667 -2.9282637219876)'))) / (select extract(epoch from '2026-07-03 15:34:16'::timestamp) - extract(epoch from '2026-07-03 15:34: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'), 47871, 'SRID=4674;POINT (-39.792194645852 -2.9284024424851)', '2026-07-03 15:34:22', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792113676667 -2.9282637219876)'), GeomFromEWKT('SRID=4674;POINT (-39.792194645852 -2.9284024424851)'))) / (select extract(epoch from '2026-07-03 15:34:22'::timestamp) - extract(epoch from '2026-07-03 15:34:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792113676667 -2.9282637219876)'), GeomFromEWKT('SRID=4674;POINT (-39.792194645852 -2.9284024424851)'))) / (select extract(epoch from '2026-07-03 15:34:22'::timestamp) - extract(epoch from '2026-07-03 15:34:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.792278381065 -2.9285418335348)', '2026-07-03 15:34:28', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792194645852 -2.9284024424851)'), GeomFromEWKT('SRID=4674;POINT (-39.792278381065 -2.9285418335348)'))) / (select extract(epoch from '2026-07-03 15:34:28'::timestamp) - extract(epoch from '2026-07-03 15:34:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792194645852 -2.9284024424851)'), GeomFromEWKT('SRID=4674;POINT (-39.792278381065 -2.9285418335348)'))) / (select extract(epoch from '2026-07-03 15:34:28'::timestamp) - extract(epoch from '2026-07-03 15:34:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.792346777394 -2.9286724235862)', '2026-07-03 15:34:34', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792278381065 -2.9285418335348)'), GeomFromEWKT('SRID=4674;POINT (-39.792346777394 -2.9286724235862)'))) / (select extract(epoch from '2026-07-03 15:34:34'::timestamp) - extract(epoch from '2026-07-03 15:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792278381065 -2.9285418335348)'), GeomFromEWKT('SRID=4674;POINT (-39.792346777394 -2.9286724235862)'))) / (select extract(epoch from '2026-07-03 15:34:34'::timestamp) - extract(epoch from '2026-07-03 15:34:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.792418358847 -2.9288099706173)', '2026-07-03 15:34:40', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792346777394 -2.9286724235862)'), GeomFromEWKT('SRID=4674;POINT (-39.792418358847 -2.9288099706173)'))) / (select extract(epoch from '2026-07-03 15:34:40'::timestamp) - extract(epoch from '2026-07-03 15:34:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792346777394 -2.9286724235862)'), GeomFromEWKT('SRID=4674;POINT (-39.792418358847 -2.9288099706173)'))) / (select extract(epoch from '2026-07-03 15:34:40'::timestamp) - extract(epoch from '2026-07-03 15:34: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'), 47871, 'SRID=4674;POINT (-39.792500082403 -2.9289437457919)', '2026-07-03 15:34:46', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792418358847 -2.9288099706173)'), GeomFromEWKT('SRID=4674;POINT (-39.792500082403 -2.9289437457919)'))) / (select extract(epoch from '2026-07-03 15:34:46'::timestamp) - extract(epoch from '2026-07-03 15:34:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792418358847 -2.9288099706173)'), GeomFromEWKT('SRID=4674;POINT (-39.792500082403 -2.9289437457919)'))) / (select extract(epoch from '2026-07-03 15:34:46'::timestamp) - extract(epoch from '2026-07-03 15:34: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'), 47871, 'SRID=4674;POINT (-39.792616590858 -2.9291482642293)', '2026-07-03 15:34:55', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792500082403 -2.9289437457919)'), GeomFromEWKT('SRID=4674;POINT (-39.792616590858 -2.9291482642293)'))) / (select extract(epoch from '2026-07-03 15:34:55'::timestamp) - extract(epoch from '2026-07-03 15:34:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792500082403 -2.9289437457919)'), GeomFromEWKT('SRID=4674;POINT (-39.792616590858 -2.9291482642293)'))) / (select extract(epoch from '2026-07-03 15:34:55'::timestamp) - extract(epoch from '2026-07-03 15:34: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'), 47871, 'SRID=4674;POINT (-39.792703595012 -2.9293093644083)', '2026-07-03 15:35:02', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792616590858 -2.9291482642293)'), GeomFromEWKT('SRID=4674;POINT (-39.792703595012 -2.9293093644083)'))) / (select extract(epoch from '2026-07-03 15:35:02'::timestamp) - extract(epoch from '2026-07-03 15:34:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792616590858 -2.9291482642293)'), GeomFromEWKT('SRID=4674;POINT (-39.792703595012 -2.9293093644083)'))) / (select extract(epoch from '2026-07-03 15:35:02'::timestamp) - extract(epoch from '2026-07-03 15:34:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.792753383517 -2.9294257890433)', '2026-07-03 15:35:07', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792703595012 -2.9293093644083)'), GeomFromEWKT('SRID=4674;POINT (-39.792753383517 -2.9294257890433)'))) / (select extract(epoch from '2026-07-03 15:35:07'::timestamp) - extract(epoch from '2026-07-03 15:35:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792703595012 -2.9293093644083)'), GeomFromEWKT('SRID=4674;POINT (-39.792753383517 -2.9294257890433)'))) / (select extract(epoch from '2026-07-03 15:35:07'::timestamp) - extract(epoch from '2026-07-03 15:35:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.79283276014 -2.9295635875314)', '2026-07-03 15:35:13', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792753383517 -2.9294257890433)'), GeomFromEWKT('SRID=4674;POINT (-39.79283276014 -2.9295635875314)'))) / (select extract(epoch from '2026-07-03 15:35:13'::timestamp) - extract(epoch from '2026-07-03 15:35:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792753383517 -2.9294257890433)'), GeomFromEWKT('SRID=4674;POINT (-39.79283276014 -2.9295635875314)'))) / (select extract(epoch from '2026-07-03 15:35:13'::timestamp) - extract(epoch from '2026-07-03 15:35: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'), 47871, 'SRID=4674;POINT (-39.792895792052 -2.9297008831054)', '2026-07-03 15:35:19', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79283276014 -2.9295635875314)'), GeomFromEWKT('SRID=4674;POINT (-39.792895792052 -2.9297008831054)'))) / (select extract(epoch from '2026-07-03 15:35:19'::timestamp) - extract(epoch from '2026-07-03 15:35:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79283276014 -2.9295635875314)'), GeomFromEWKT('SRID=4674;POINT (-39.792895792052 -2.9297008831054)'))) / (select extract(epoch from '2026-07-03 15:35:19'::timestamp) - extract(epoch from '2026-07-03 15:35: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'), 47871, 'SRID=4674;POINT (-39.792936528102 -2.9297841992229)', '2026-07-03 15:35:23', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792895792052 -2.9297008831054)'), GeomFromEWKT('SRID=4674;POINT (-39.792936528102 -2.9297841992229)'))) / (select extract(epoch from '2026-07-03 15:35:23'::timestamp) - extract(epoch from '2026-07-03 15:35:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792895792052 -2.9297008831054)'), GeomFromEWKT('SRID=4674;POINT (-39.792936528102 -2.9297841992229)'))) / (select extract(epoch from '2026-07-03 15:35:23'::timestamp) - extract(epoch from '2026-07-03 15:35: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'), 47871, 'SRID=4674;POINT (-39.792997883633 -2.9298912361264)', '2026-07-03 15:35:28', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792936528102 -2.9297841992229)'), GeomFromEWKT('SRID=4674;POINT (-39.792997883633 -2.9298912361264)'))) / (select extract(epoch from '2026-07-03 15:35:28'::timestamp) - extract(epoch from '2026-07-03 15:35:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792936528102 -2.9297841992229)'), GeomFromEWKT('SRID=4674;POINT (-39.792997883633 -2.9298912361264)'))) / (select extract(epoch from '2026-07-03 15:35:28'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.793054964393 -2.930019646883)', '2026-07-03 15:35:34', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792997883633 -2.9298912361264)'), GeomFromEWKT('SRID=4674;POINT (-39.793054964393 -2.930019646883)'))) / (select extract(epoch from '2026-07-03 15:35:34'::timestamp) - extract(epoch from '2026-07-03 15:35:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792997883633 -2.9298912361264)'), GeomFromEWKT('SRID=4674;POINT (-39.793054964393 -2.930019646883)'))) / (select extract(epoch from '2026-07-03 15:35:34'::timestamp) - extract(epoch from '2026-07-03 15:35: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'), 47871, 'SRID=4674;POINT (-39.793104249984 -2.930125426501)', '2026-07-03 15:35:39', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793054964393 -2.930019646883)'), GeomFromEWKT('SRID=4674;POINT (-39.793104249984 -2.930125426501)'))) / (select extract(epoch from '2026-07-03 15:35:39'::timestamp) - extract(epoch from '2026-07-03 15:35:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793054964393 -2.930019646883)'), GeomFromEWKT('SRID=4674;POINT (-39.793104249984 -2.930125426501)'))) / (select extract(epoch from '2026-07-03 15:35:39'::timestamp) - extract(epoch from '2026-07-03 15:35:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.79316602461 -2.9302501492202)', '2026-07-03 15:35:45', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793104249984 -2.930125426501)'), GeomFromEWKT('SRID=4674;POINT (-39.79316602461 -2.9302501492202)'))) / (select extract(epoch from '2026-07-03 15:35:45'::timestamp) - extract(epoch from '2026-07-03 15:35:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793104249984 -2.930125426501)'), GeomFromEWKT('SRID=4674;POINT (-39.79316602461 -2.9302501492202)'))) / (select extract(epoch from '2026-07-03 15:35:45'::timestamp) - extract(epoch from '2026-07-03 15:35: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'), 47871, 'SRID=4674;POINT (-39.793228218332 -2.930384259671)', '2026-07-03 15:35:51', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79316602461 -2.9302501492202)'), GeomFromEWKT('SRID=4674;POINT (-39.793228218332 -2.930384259671)'))) / (select extract(epoch from '2026-07-03 15:35:51'::timestamp) - extract(epoch from '2026-07-03 15:35:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79316602461 -2.9302501492202)'), GeomFromEWKT('SRID=4674;POINT (-39.793228218332 -2.930384259671)'))) / (select extract(epoch from '2026-07-03 15:35:51'::timestamp) - extract(epoch from '2026-07-03 15:35:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.793274486437 -2.9304987564683)', '2026-07-03 15:35:56', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793228218332 -2.930384259671)'), GeomFromEWKT('SRID=4674;POINT (-39.793274486437 -2.9304987564683)'))) / (select extract(epoch from '2026-07-03 15:35:56'::timestamp) - extract(epoch from '2026-07-03 15:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793228218332 -2.930384259671)'), GeomFromEWKT('SRID=4674;POINT (-39.793274486437 -2.9304987564683)'))) / (select extract(epoch from '2026-07-03 15:35:56'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.793348666281 -2.9306333698332)', '2026-07-03 15:36:02', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793274486437 -2.9304987564683)'), GeomFromEWKT('SRID=4674;POINT (-39.793348666281 -2.9306333698332)'))) / (select extract(epoch from '2026-07-03 15:36:02'::timestamp) - extract(epoch from '2026-07-03 15:35:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793274486437 -2.9304987564683)'), GeomFromEWKT('SRID=4674;POINT (-39.793348666281 -2.9306333698332)'))) / (select extract(epoch from '2026-07-03 15:36:02'::timestamp) - extract(epoch from '2026-07-03 15:35: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'), 47871, 'SRID=4674;POINT (-39.793459223583 -2.9307644627988)', '2026-07-03 15:36:08', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793348666281 -2.9306333698332)'), GeomFromEWKT('SRID=4674;POINT (-39.793459223583 -2.9307644627988)'))) / (select extract(epoch from '2026-07-03 15:36:08'::timestamp) - extract(epoch from '2026-07-03 15:36:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793348666281 -2.9306333698332)'), GeomFromEWKT('SRID=4674;POINT (-39.793459223583 -2.9307644627988)'))) / (select extract(epoch from '2026-07-03 15:36:08'::timestamp) - extract(epoch from '2026-07-03 15:36: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'), 47871, 'SRID=4674;POINT (-39.793561482802 -2.9308832343668)', '2026-07-03 15:36:14', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793459223583 -2.9307644627988)'), GeomFromEWKT('SRID=4674;POINT (-39.793561482802 -2.9308832343668)'))) / (select extract(epoch from '2026-07-03 15:36:14'::timestamp) - extract(epoch from '2026-07-03 15:36:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793459223583 -2.9307644627988)'), GeomFromEWKT('SRID=4674;POINT (-39.793561482802 -2.9308832343668)'))) / (select extract(epoch from '2026-07-03 15:36:14'::timestamp) - extract(epoch from '2026-07-03 15:36:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.793656617403 -2.9309846553952)', '2026-07-03 15:36:19', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793561482802 -2.9308832343668)'), GeomFromEWKT('SRID=4674;POINT (-39.793656617403 -2.9309846553952)'))) / (select extract(epoch from '2026-07-03 15:36:19'::timestamp) - extract(epoch from '2026-07-03 15:36:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793561482802 -2.9308832343668)'), GeomFromEWKT('SRID=4674;POINT (-39.793656617403 -2.9309846553952)'))) / (select extract(epoch from '2026-07-03 15:36:19'::timestamp) - extract(epoch from '2026-07-03 15:36:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.793746219948 -2.9310816340148)', '2026-07-03 15:36:24', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793656617403 -2.9309846553952)'), GeomFromEWKT('SRID=4674;POINT (-39.793746219948 -2.9310816340148)'))) / (select extract(epoch from '2026-07-03 15:36:24'::timestamp) - extract(epoch from '2026-07-03 15:36:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793656617403 -2.9309846553952)'), GeomFromEWKT('SRID=4674;POINT (-39.793746219948 -2.9310816340148)'))) / (select extract(epoch from '2026-07-03 15:36:24'::timestamp) - extract(epoch from '2026-07-03 15:36:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.793834481388 -2.9311864916235)', '2026-07-03 15:36:29', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793746219948 -2.9310816340148)'), GeomFromEWKT('SRID=4674;POINT (-39.793834481388 -2.9311864916235)'))) / (select extract(epoch from '2026-07-03 15:36:29'::timestamp) - extract(epoch from '2026-07-03 15:36:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793746219948 -2.9310816340148)'), GeomFromEWKT('SRID=4674;POINT (-39.793834481388 -2.9311864916235)'))) / (select extract(epoch from '2026-07-03 15:36:29'::timestamp) - extract(epoch from '2026-07-03 15:36: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'), 47871, 'SRID=4674;POINT (-39.793937578797 -2.9313105437905)', '2026-07-03 15:36:35', 5.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793834481388 -2.9311864916235)'), GeomFromEWKT('SRID=4674;POINT (-39.793937578797 -2.9313105437905)'))) / (select extract(epoch from '2026-07-03 15:36:35'::timestamp) - extract(epoch from '2026-07-03 15:36:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793834481388 -2.9311864916235)'), GeomFromEWKT('SRID=4674;POINT (-39.793937578797 -2.9313105437905)'))) / (select extract(epoch from '2026-07-03 15:36:35'::timestamp) - extract(epoch from '2026-07-03 15:36:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.794051153585 -2.9314640164375)', '2026-07-03 15:36:42', 5.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793937578797 -2.9313105437905)'), GeomFromEWKT('SRID=4674;POINT (-39.794051153585 -2.9314640164375)'))) / (select extract(epoch from '2026-07-03 15:36:42'::timestamp) - extract(epoch from '2026-07-03 15:36:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793937578797 -2.9313105437905)'), GeomFromEWKT('SRID=4674;POINT (-39.794051153585 -2.9314640164375)'))) / (select extract(epoch from '2026-07-03 15:36:42'::timestamp) - extract(epoch from '2026-07-03 15:36: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'), 47871, 'SRID=4674;POINT (-39.794139750302 -2.9315807763487)', '2026-07-03 15:36:47', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794051153585 -2.9314640164375)'), GeomFromEWKT('SRID=4674;POINT (-39.794139750302 -2.9315807763487)'))) / (select extract(epoch from '2026-07-03 15:36:47'::timestamp) - extract(epoch from '2026-07-03 15:36:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794051153585 -2.9314640164375)'), GeomFromEWKT('SRID=4674;POINT (-39.794139750302 -2.9315807763487)'))) / (select extract(epoch from '2026-07-03 15:36:47'::timestamp) - extract(epoch from '2026-07-03 15:36: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'), 47871, 'SRID=4674;POINT (-39.794235555455 -2.9317182395607)', '2026-07-03 15:36:53', 5.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794139750302 -2.9315807763487)'), GeomFromEWKT('SRID=4674;POINT (-39.794235555455 -2.9317182395607)'))) / (select extract(epoch from '2026-07-03 15:36:53'::timestamp) - extract(epoch from '2026-07-03 15:36:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794139750302 -2.9315807763487)'), GeomFromEWKT('SRID=4674;POINT (-39.794235555455 -2.9317182395607)'))) / (select extract(epoch from '2026-07-03 15:36:53'::timestamp) - extract(epoch from '2026-07-03 15:36: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'), 47871, 'SRID=4674;POINT (-39.794316692278 -2.9318320658058)', '2026-07-03 15:36:58', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794235555455 -2.9317182395607)'), GeomFromEWKT('SRID=4674;POINT (-39.794316692278 -2.9318320658058)'))) / (select extract(epoch from '2026-07-03 15:36:58'::timestamp) - extract(epoch from '2026-07-03 15:36:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794235555455 -2.9317182395607)'), GeomFromEWKT('SRID=4674;POINT (-39.794316692278 -2.9318320658058)'))) / (select extract(epoch from '2026-07-03 15:36:58'::timestamp) - extract(epoch from '2026-07-03 15:36: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'), 47871, 'SRID=4674;POINT (-39.794408641756 -2.931961985305)', '2026-07-03 15:37:04', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794316692278 -2.9318320658058)'), GeomFromEWKT('SRID=4674;POINT (-39.794408641756 -2.931961985305)'))) / (select extract(epoch from '2026-07-03 15:37:04'::timestamp) - extract(epoch from '2026-07-03 15:36:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794316692278 -2.9318320658058)'), GeomFromEWKT('SRID=4674;POINT (-39.794408641756 -2.931961985305)'))) / (select extract(epoch from '2026-07-03 15:37:04'::timestamp) - extract(epoch from '2026-07-03 15:36: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'), 47871, 'SRID=4674;POINT (-39.794531520456 -2.9321064893156)', '2026-07-03 15:37:11', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794408641756 -2.931961985305)'), GeomFromEWKT('SRID=4674;POINT (-39.794531520456 -2.9321064893156)'))) / (select extract(epoch from '2026-07-03 15:37:11'::timestamp) - extract(epoch from '2026-07-03 15:37:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794408641756 -2.931961985305)'), GeomFromEWKT('SRID=4674;POINT (-39.794531520456 -2.9321064893156)'))) / (select extract(epoch from '2026-07-03 15:37:11'::timestamp) - extract(epoch from '2026-07-03 15:37:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.794634450227 -2.932258117944)', '2026-07-03 15:37:18', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794531520456 -2.9321064893156)'), GeomFromEWKT('SRID=4674;POINT (-39.794634450227 -2.932258117944)'))) / (select extract(epoch from '2026-07-03 15:37:18'::timestamp) - extract(epoch from '2026-07-03 15:37:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794531520456 -2.9321064893156)'), GeomFromEWKT('SRID=4674;POINT (-39.794634450227 -2.932258117944)'))) / (select extract(epoch from '2026-07-03 15:37:18'::timestamp) - extract(epoch from '2026-07-03 15:37:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.794716173783 -2.9324000235647)', '2026-07-03 15:37:24', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794634450227 -2.932258117944)'), GeomFromEWKT('SRID=4674;POINT (-39.794716173783 -2.9324000235647)'))) / (select extract(epoch from '2026-07-03 15:37:24'::timestamp) - extract(epoch from '2026-07-03 15:37:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794634450227 -2.932258117944)'), GeomFromEWKT('SRID=4674;POINT (-39.794716173783 -2.9324000235647)'))) / (select extract(epoch from '2026-07-03 15:37:24'::timestamp) - extract(epoch from '2026-07-03 15:37: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'), 47871, 'SRID=4674;POINT (-39.794819187373 -2.932530194521)', '2026-07-03 15:37:30', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794716173783 -2.9324000235647)'), GeomFromEWKT('SRID=4674;POINT (-39.794819187373 -2.932530194521)'))) / (select extract(epoch from '2026-07-03 15:37:30'::timestamp) - extract(epoch from '2026-07-03 15:37:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794716173783 -2.9324000235647)'), GeomFromEWKT('SRID=4674;POINT (-39.794819187373 -2.932530194521)'))) / (select extract(epoch from '2026-07-03 15:37:30'::timestamp) - extract(epoch from '2026-07-03 15:37:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.794926224276 -2.9326640535146)', '2026-07-03 15:37:36', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794819187373 -2.932530194521)'), GeomFromEWKT('SRID=4674;POINT (-39.794926224276 -2.9326640535146)'))) / (select extract(epoch from '2026-07-03 15:37:36'::timestamp) - extract(epoch from '2026-07-03 15:37:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794819187373 -2.932530194521)'), GeomFromEWKT('SRID=4674;POINT (-39.794926224276 -2.9326640535146)'))) / (select extract(epoch from '2026-07-03 15:37:36'::timestamp) - extract(epoch from '2026-07-03 15:37:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.795019179583 -2.9327944759279)', '2026-07-03 15:37:42', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794926224276 -2.9326640535146)'), GeomFromEWKT('SRID=4674;POINT (-39.795019179583 -2.9327944759279)'))) / (select extract(epoch from '2026-07-03 15:37:42'::timestamp) - extract(epoch from '2026-07-03 15:37:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794926224276 -2.9326640535146)'), GeomFromEWKT('SRID=4674;POINT (-39.795019179583 -2.9327944759279)'))) / (select extract(epoch from '2026-07-03 15:37:42'::timestamp) - extract(epoch from '2026-07-03 15:37:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.795148177072 -2.9329529777169)', '2026-07-03 15:37:49', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795019179583 -2.9327944759279)'), GeomFromEWKT('SRID=4674;POINT (-39.795148177072 -2.9329529777169)'))) / (select extract(epoch from '2026-07-03 15:37:49'::timestamp) - extract(epoch from '2026-07-03 15:37:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795019179583 -2.9327944759279)'), GeomFromEWKT('SRID=4674;POINT (-39.795148177072 -2.9329529777169)'))) / (select extract(epoch from '2026-07-03 15:37:49'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.795255968347 -2.9330740962178)', '2026-07-03 15:37:55', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795148177072 -2.9329529777169)'), GeomFromEWKT('SRID=4674;POINT (-39.795255968347 -2.9330740962178)'))) / (select extract(epoch from '2026-07-03 15:37:55'::timestamp) - extract(epoch from '2026-07-03 15:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795148177072 -2.9329529777169)'), GeomFromEWKT('SRID=4674;POINT (-39.795255968347 -2.9330740962178)'))) / (select extract(epoch from '2026-07-03 15:37:55'::timestamp) - extract(epoch from '2026-07-03 15:37: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'), 47871, 'SRID=4674;POINT (-39.79535093531 -2.9331925325096)', '2026-07-03 15:38:01', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795255968347 -2.9330740962178)'), GeomFromEWKT('SRID=4674;POINT (-39.79535093531 -2.9331925325096)'))) / (select extract(epoch from '2026-07-03 15:38:01'::timestamp) - extract(epoch from '2026-07-03 15:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795255968347 -2.9330740962178)'), GeomFromEWKT('SRID=4674;POINT (-39.79535093531 -2.9331925325096)'))) / (select extract(epoch from '2026-07-03 15:38:01'::timestamp) - extract(epoch from '2026-07-03 15:37: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'), 47871, 'SRID=4674;POINT (-39.795471047983 -2.9333424847573)', '2026-07-03 15:38:08', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79535093531 -2.9331925325096)'), GeomFromEWKT('SRID=4674;POINT (-39.795471047983 -2.9333424847573)'))) / (select extract(epoch from '2026-07-03 15:38:08'::timestamp) - extract(epoch from '2026-07-03 15:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79535093531 -2.9331925325096)'), GeomFromEWKT('SRID=4674;POINT (-39.795471047983 -2.9333424847573)'))) / (select extract(epoch from '2026-07-03 15:38:08'::timestamp) - extract(epoch from '2026-07-03 15:38: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'), 47871, 'SRID=4674;POINT (-39.795571379364 -2.9334694705904)', '2026-07-03 15:38:14', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795471047983 -2.9333424847573)'), GeomFromEWKT('SRID=4674;POINT (-39.795571379364 -2.9334694705904)'))) / (select extract(epoch from '2026-07-03 15:38:14'::timestamp) - extract(epoch from '2026-07-03 15:38:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795471047983 -2.9333424847573)'), GeomFromEWKT('SRID=4674;POINT (-39.795571379364 -2.9334694705904)'))) / (select extract(epoch from '2026-07-03 15:38:14'::timestamp) - extract(epoch from '2026-07-03 15:38: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'), 47871, 'SRID=4674;POINT (-39.795671878383 -2.9335922654718)', '2026-07-03 15:38:20', 5.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795571379364 -2.9334694705904)'), GeomFromEWKT('SRID=4674;POINT (-39.795671878383 -2.9335922654718)'))) / (select extract(epoch from '2026-07-03 15:38:20'::timestamp) - extract(epoch from '2026-07-03 15:38:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795571379364 -2.9334694705904)'), GeomFromEWKT('SRID=4674;POINT (-39.795671878383 -2.9335922654718)'))) / (select extract(epoch from '2026-07-03 15:38:20'::timestamp) - extract(epoch from '2026-07-03 15:38: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'), 47871, 'SRID=4674;POINT (-39.79577514343 -2.9336871486157)', '2026-07-03 15:38:25', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795671878383 -2.9335922654718)'), GeomFromEWKT('SRID=4674;POINT (-39.79577514343 -2.9336871486157)'))) / (select extract(epoch from '2026-07-03 15:38:25'::timestamp) - extract(epoch from '2026-07-03 15:38:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795671878383 -2.9335922654718)'), GeomFromEWKT('SRID=4674;POINT (-39.79577514343 -2.9336871486157)'))) / (select extract(epoch from '2026-07-03 15:38:25'::timestamp) - extract(epoch from '2026-07-03 15:38: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'), 47871, 'SRID=4674;POINT (-39.79591185227 -2.9338162299246)', '2026-07-03 15:38:32', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79577514343 -2.9336871486157)'), GeomFromEWKT('SRID=4674;POINT (-39.79591185227 -2.9338162299246)'))) / (select extract(epoch from '2026-07-03 15:38:32'::timestamp) - extract(epoch from '2026-07-03 15:38:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79577514343 -2.9336871486157)'), GeomFromEWKT('SRID=4674;POINT (-39.79591185227 -2.9338162299246)'))) / (select extract(epoch from '2026-07-03 15:38:32'::timestamp) - extract(epoch from '2026-07-03 15:38: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'), 47871, 'SRID=4674;POINT (-39.795988379046 -2.9339070897549)', '2026-07-03 15:38:37', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79591185227 -2.9338162299246)'), GeomFromEWKT('SRID=4674;POINT (-39.795988379046 -2.9339070897549)'))) / (select extract(epoch from '2026-07-03 15:38:37'::timestamp) - extract(epoch from '2026-07-03 15:38:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79591185227 -2.9338162299246)'), GeomFromEWKT('SRID=4674;POINT (-39.795988379046 -2.9339070897549)'))) / (select extract(epoch from '2026-07-03 15:38:37'::timestamp) - extract(epoch from '2026-07-03 15:38: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'), 47871, 'SRID=4674;POINT (-39.796105558053 -2.9340135399252)', '2026-07-03 15:38:43', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795988379046 -2.9339070897549)'), GeomFromEWKT('SRID=4674;POINT (-39.796105558053 -2.9340135399252)'))) / (select extract(epoch from '2026-07-03 15:38:43'::timestamp) - extract(epoch from '2026-07-03 15:38:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795988379046 -2.9339070897549)'), GeomFromEWKT('SRID=4674;POINT (-39.796105558053 -2.9340135399252)'))) / (select extract(epoch from '2026-07-03 15:38:43'::timestamp) - extract(epoch from '2026-07-03 15:38:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.7962070629 -2.9341207444668)', '2026-07-03 15:38:49', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796105558053 -2.9340135399252)'), GeomFromEWKT('SRID=4674;POINT (-39.7962070629 -2.9341207444668)'))) / (select extract(epoch from '2026-07-03 15:38:49'::timestamp) - extract(epoch from '2026-07-03 15:38:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796105558053 -2.9340135399252)'), GeomFromEWKT('SRID=4674;POINT (-39.7962070629 -2.9341207444668)'))) / (select extract(epoch from '2026-07-03 15:38:49'::timestamp) - extract(epoch from '2026-07-03 15:38: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'), 47871, 'SRID=4674;POINT (-39.796333545819 -2.9342405218631)', '2026-07-03 15:38:56', 6.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7962070629 -2.9341207444668)'), GeomFromEWKT('SRID=4674;POINT (-39.796333545819 -2.9342405218631)'))) / (select extract(epoch from '2026-07-03 15:38:56'::timestamp) - extract(epoch from '2026-07-03 15:38:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7962070629 -2.9341207444668)'), GeomFromEWKT('SRID=4674;POINT (-39.796333545819 -2.9342405218631)'))) / (select extract(epoch from '2026-07-03 15:38:56'::timestamp) - extract(epoch from '2026-07-03 15:38: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'), 47871, 'SRID=4674;POINT (-39.79642608203 -2.9343507438898)', '2026-07-03 15:39:02', 6.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796333545819 -2.9342405218631)'), GeomFromEWKT('SRID=4674;POINT (-39.79642608203 -2.9343507438898)'))) / (select extract(epoch from '2026-07-03 15:39:02'::timestamp) - extract(epoch from '2026-07-03 15:38:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796333545819 -2.9342405218631)'), GeomFromEWKT('SRID=4674;POINT (-39.79642608203 -2.9343507438898)'))) / (select extract(epoch from '2026-07-03 15:39:02'::timestamp) - extract(epoch from '2026-07-03 15:38: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'), 47871, 'SRID=4674;POINT (-39.796498250216 -2.9344298690557)', '2026-07-03 15:39:06', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79642608203 -2.9343507438898)'), GeomFromEWKT('SRID=4674;POINT (-39.796498250216 -2.9344298690557)'))) / (select extract(epoch from '2026-07-03 15:39:06'::timestamp) - extract(epoch from '2026-07-03 15:39:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79642608203 -2.9343507438898)'), GeomFromEWKT('SRID=4674;POINT (-39.796498250216 -2.9344298690557)'))) / (select extract(epoch from '2026-07-03 15:39:06'::timestamp) - extract(epoch from '2026-07-03 15:39: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'), 47871, 'SRID=4674;POINT (-39.796569999307 -2.93452818878)', '2026-07-03 15:39:11', 6.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796498250216 -2.9344298690557)'), GeomFromEWKT('SRID=4674;POINT (-39.796569999307 -2.93452818878)'))) / (select extract(epoch from '2026-07-03 15:39:11'::timestamp) - extract(epoch from '2026-07-03 15:39:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796498250216 -2.9344298690557)'), GeomFromEWKT('SRID=4674;POINT (-39.796569999307 -2.93452818878)'))) / (select extract(epoch from '2026-07-03 15:39:11'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.796658763662 -2.9346772190183)', '2026-07-03 15:39:18', 6.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796569999307 -2.93452818878)'), GeomFromEWKT('SRID=4674;POINT (-39.796658763662 -2.9346772190183)'))) / (select extract(epoch from '2026-07-03 15:39:18'::timestamp) - extract(epoch from '2026-07-03 15:39:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796569999307 -2.93452818878)'), GeomFromEWKT('SRID=4674;POINT (-39.796658763662 -2.9346772190183)'))) / (select extract(epoch from '2026-07-03 15:39:18'::timestamp) - extract(epoch from '2026-07-03 15:39: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'), 47871, 'SRID=4674;POINT (-39.796758927405 -2.9347930569202)', '2026-07-03 15:39:24', 6.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796658763662 -2.9346772190183)'), GeomFromEWKT('SRID=4674;POINT (-39.796758927405 -2.9347930569202)'))) / (select extract(epoch from '2026-07-03 15:39:24'::timestamp) - extract(epoch from '2026-07-03 15:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796658763662 -2.9346772190183)'), GeomFromEWKT('SRID=4674;POINT (-39.796758927405 -2.9347930569202)'))) / (select extract(epoch from '2026-07-03 15:39:24'::timestamp) - extract(epoch from '2026-07-03 15:39:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.796833526343 -2.9349261615425)', '2026-07-03 15:39:30', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796758927405 -2.9347930569202)'), GeomFromEWKT('SRID=4674;POINT (-39.796833526343 -2.9349261615425)'))) / (select extract(epoch from '2026-07-03 15:39:30'::timestamp) - extract(epoch from '2026-07-03 15:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796758927405 -2.9347930569202)'), GeomFromEWKT('SRID=4674;POINT (-39.796833526343 -2.9349261615425)'))) / (select extract(epoch from '2026-07-03 15:39:30'::timestamp) - extract(epoch from '2026-07-03 15:39:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.796926062554 -2.9350734315813)', '2026-07-03 15:39:37', 5.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796833526343 -2.9349261615425)'), GeomFromEWKT('SRID=4674;POINT (-39.796926062554 -2.9350734315813)'))) / (select extract(epoch from '2026-07-03 15:39:37'::timestamp) - extract(epoch from '2026-07-03 15:39:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796833526343 -2.9349261615425)'), GeomFromEWKT('SRID=4674;POINT (-39.796926062554 -2.9350734315813)'))) / (select extract(epoch from '2026-07-03 15:39:37'::timestamp) - extract(epoch from '2026-07-03 15:39:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.796973336488 -2.9351618606597)', '2026-07-03 15:39:41', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796926062554 -2.9350734315813)'), GeomFromEWKT('SRID=4674;POINT (-39.796973336488 -2.9351618606597)'))) / (select extract(epoch from '2026-07-03 15:39:41'::timestamp) - extract(epoch from '2026-07-03 15:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796926062554 -2.9350734315813)'), GeomFromEWKT('SRID=4674;POINT (-39.796973336488 -2.9351618606597)'))) / (select extract(epoch from '2026-07-03 15:39:41'::timestamp) - extract(epoch from '2026-07-03 15:39:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.796972665936 -2.9351792950183)', '2026-07-03 15:39:42', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796973336488 -2.9351618606597)'), GeomFromEWKT('SRID=4674;POINT (-39.796972665936 -2.9351792950183)'))) / (select extract(epoch from '2026-07-03 15:39:42'::timestamp) - extract(epoch from '2026-07-03 15:39:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796973336488 -2.9351618606597)'), GeomFromEWKT('SRID=4674;POINT (-39.796972665936 -2.9351792950183)'))) / (select extract(epoch from '2026-07-03 15:39:42'::timestamp) - extract(epoch from '2026-07-03 15:39:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.796963697299 -2.9352644551545)', '2026-07-03 15:39:49', 6.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796972665936 -2.9351792950183)'), GeomFromEWKT('SRID=4674;POINT (-39.796963697299 -2.9352644551545)'))) / (select extract(epoch from '2026-07-03 15:39:49'::timestamp) - extract(epoch from '2026-07-03 15:39:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796972665936 -2.9351792950183)'), GeomFromEWKT('SRID=4674;POINT (-39.796963697299 -2.9352644551545)'))) / (select extract(epoch from '2026-07-03 15:39:49'::timestamp) - extract(epoch from '2026-07-03 15:39: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'), 47871, 'SRID=4674;POINT (-39.796964451671 -2.9353016708046)', '2026-07-03 15:39:55', 7.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796963697299 -2.9352644551545)'), GeomFromEWKT('SRID=4674;POINT (-39.796964451671 -2.9353016708046)'))) / (select extract(epoch from '2026-07-03 15:39:55'::timestamp) - extract(epoch from '2026-07-03 15:39:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796963697299 -2.9352644551545)'), GeomFromEWKT('SRID=4674;POINT (-39.796964451671 -2.9353016708046)'))) / (select extract(epoch from '2026-07-03 15:39:55'::timestamp) - extract(epoch from '2026-07-03 15:39:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.79698875919 -2.935355650261)', '2026-07-03 15:40:09', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796964451671 -2.9353016708046)'), GeomFromEWKT('SRID=4674;POINT (-39.79698875919 -2.935355650261)'))) / (select extract(epoch from '2026-07-03 15:40:09'::timestamp) - extract(epoch from '2026-07-03 15:39:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796964451671 -2.9353016708046)'), GeomFromEWKT('SRID=4674;POINT (-39.79698875919 -2.935355650261)'))) / (select extract(epoch from '2026-07-03 15:40:09'::timestamp) - extract(epoch from '2026-07-03 15:39: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'), 47871, 'SRID=4674;POINT (-39.797004433349 -2.9353703185916)', '2026-07-03 15:40:13', 7.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79698875919 -2.935355650261)'), GeomFromEWKT('SRID=4674;POINT (-39.797004433349 -2.9353703185916)'))) / (select extract(epoch from '2026-07-03 15:40:13'::timestamp) - extract(epoch from '2026-07-03 15:40:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79698875919 -2.935355650261)'), GeomFromEWKT('SRID=4674;POINT (-39.797004433349 -2.9353703185916)'))) / (select extract(epoch from '2026-07-03 15:40:13'::timestamp) - extract(epoch from '2026-07-03 15:40: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'), 47871, 'SRID=4674;POINT (-39.797063944861 -2.9354288242757)', '2026-07-03 15:40:31', 6.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797004433349 -2.9353703185916)'), GeomFromEWKT('SRID=4674;POINT (-39.797063944861 -2.9354288242757)'))) / (select extract(epoch from '2026-07-03 15:40:31'::timestamp) - extract(epoch from '2026-07-03 15:40:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797004433349 -2.9353703185916)'), GeomFromEWKT('SRID=4674;POINT (-39.797063944861 -2.9354288242757)'))) / (select extract(epoch from '2026-07-03 15:40:31'::timestamp) - extract(epoch from '2026-07-03 15:40:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.797143572941 -2.9354815464467)', '2026-07-03 15:40:50', 6.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797063944861 -2.9354288242757)'), GeomFromEWKT('SRID=4674;POINT (-39.797143572941 -2.9354815464467)'))) / (select extract(epoch from '2026-07-03 15:40:50'::timestamp) - extract(epoch from '2026-07-03 15:40:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797063944861 -2.9354288242757)'), GeomFromEWKT('SRID=4674;POINT (-39.797143572941 -2.9354815464467)'))) / (select extract(epoch from '2026-07-03 15:40:50'::timestamp) - extract(epoch from '2026-07-03 15:40: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'), 47871, 'SRID=4674;POINT (-39.797157235444 -2.9354892577976)', '2026-07-03 15:40:52', 6.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797143572941 -2.9354815464467)'), GeomFromEWKT('SRID=4674;POINT (-39.797157235444 -2.9354892577976)'))) / (select extract(epoch from '2026-07-03 15:40:52'::timestamp) - extract(epoch from '2026-07-03 15:40:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797143572941 -2.9354815464467)'), GeomFromEWKT('SRID=4674;POINT (-39.797157235444 -2.9354892577976)'))) / (select extract(epoch from '2026-07-03 15:40:52'::timestamp) - extract(epoch from '2026-07-03 15:40:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.797178693116 -2.9355029202998)', '2026-07-03 15:40:56', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797157235444 -2.9354892577976)'), GeomFromEWKT('SRID=4674;POINT (-39.797178693116 -2.9355029202998)'))) / (select extract(epoch from '2026-07-03 15:40:56'::timestamp) - extract(epoch from '2026-07-03 15:40:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797157235444 -2.9354892577976)'), GeomFromEWKT('SRID=4674;POINT (-39.797178693116 -2.9355029202998)'))) / (select extract(epoch from '2026-07-03 15:40:56'::timestamp) - extract(epoch from '2026-07-03 15:40: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'), 47871, 'SRID=4674;POINT (-39.797213645652 -2.9355233721435)', '2026-07-03 15:41:02', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797178693116 -2.9355029202998)'), GeomFromEWKT('SRID=4674;POINT (-39.797213645652 -2.9355233721435)'))) / (select extract(epoch from '2026-07-03 15:41:02'::timestamp) - extract(epoch from '2026-07-03 15:40:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797178693116 -2.9355029202998)'), GeomFromEWKT('SRID=4674;POINT (-39.797213645652 -2.9355233721435)'))) / (select extract(epoch from '2026-07-03 15:41:02'::timestamp) - extract(epoch from '2026-07-03 15:40:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.797258572653 -2.9355455841869)', '2026-07-03 15:41:09', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797213645652 -2.9355233721435)'), GeomFromEWKT('SRID=4674;POINT (-39.797258572653 -2.9355455841869)'))) / (select extract(epoch from '2026-07-03 15:41:09'::timestamp) - extract(epoch from '2026-07-03 15:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797213645652 -2.9355233721435)'), GeomFromEWKT('SRID=4674;POINT (-39.797258572653 -2.9355455841869)'))) / (select extract(epoch from '2026-07-03 15:41:09'::timestamp) - extract(epoch from '2026-07-03 15:41:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.797318167984 -2.935577435419)', '2026-07-03 15:41:17', 6.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797258572653 -2.9355455841869)'), GeomFromEWKT('SRID=4674;POINT (-39.797318167984 -2.935577435419)'))) / (select extract(epoch from '2026-07-03 15:41:17'::timestamp) - extract(epoch from '2026-07-03 15:41:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797258572653 -2.9355455841869)'), GeomFromEWKT('SRID=4674;POINT (-39.797318167984 -2.935577435419)'))) / (select extract(epoch from '2026-07-03 15:41:17'::timestamp) - extract(epoch from '2026-07-03 15:41: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'), 47871, 'SRID=4674;POINT (-39.797358484939 -2.9356033354998)', '2026-07-03 15:41:23', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797318167984 -2.935577435419)'), GeomFromEWKT('SRID=4674;POINT (-39.797358484939 -2.9356033354998)'))) / (select extract(epoch from '2026-07-03 15:41:23'::timestamp) - extract(epoch from '2026-07-03 15:41:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797318167984 -2.935577435419)'), GeomFromEWKT('SRID=4674;POINT (-39.797358484939 -2.9356033354998)'))) / (select extract(epoch from '2026-07-03 15:41:23'::timestamp) - extract(epoch from '2026-07-03 15:41: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'), 47871, 'SRID=4674;POINT (-39.797398131341 -2.9356297384948)', '2026-07-03 15:41:29', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797358484939 -2.9356033354998)'), GeomFromEWKT('SRID=4674;POINT (-39.797398131341 -2.9356297384948)'))) / (select extract(epoch from '2026-07-03 15:41:29'::timestamp) - extract(epoch from '2026-07-03 15:41:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797358484939 -2.9356033354998)'), GeomFromEWKT('SRID=4674;POINT (-39.797398131341 -2.9356297384948)'))) / (select extract(epoch from '2026-07-03 15:41:29'::timestamp) - extract(epoch from '2026-07-03 15:41: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'), 47871, 'SRID=4674;POINT (-39.797434173524 -2.9356555547565)', '2026-07-03 15:41:35', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797398131341 -2.9356297384948)'), GeomFromEWKT('SRID=4674;POINT (-39.797434173524 -2.9356555547565)'))) / (select extract(epoch from '2026-07-03 15:41:35'::timestamp) - extract(epoch from '2026-07-03 15:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797398131341 -2.9356297384948)'), GeomFromEWKT('SRID=4674;POINT (-39.797434173524 -2.9356555547565)'))) / (select extract(epoch from '2026-07-03 15:41:35'::timestamp) - extract(epoch from '2026-07-03 15:41:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.797471556813 -2.9356797784567)', '2026-07-03 15:41:43', 5.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797434173524 -2.9356555547565)'), GeomFromEWKT('SRID=4674;POINT (-39.797471556813 -2.9356797784567)'))) / (select extract(epoch from '2026-07-03 15:41:43'::timestamp) - extract(epoch from '2026-07-03 15:41:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797434173524 -2.9356555547565)'), GeomFromEWKT('SRID=4674;POINT (-39.797471556813 -2.9356797784567)'))) / (select extract(epoch from '2026-07-03 15:41:43'::timestamp) - extract(epoch from '2026-07-03 15:41: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'), 47871, 'SRID=4674;POINT (-39.797502234578 -2.9356951173395)', '2026-07-03 15:41:50', 5.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797471556813 -2.9356797784567)'), GeomFromEWKT('SRID=4674;POINT (-39.797502234578 -2.9356951173395)'))) / (select extract(epoch from '2026-07-03 15:41:50'::timestamp) - extract(epoch from '2026-07-03 15:41:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797471556813 -2.9356797784567)'), GeomFromEWKT('SRID=4674;POINT (-39.797502234578 -2.9356951173395)'))) / (select extract(epoch from '2026-07-03 15:41:50'::timestamp) - extract(epoch from '2026-07-03 15:41: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'), 47871, 'SRID=4674;POINT (-39.797536935657 -2.9357039183378)', '2026-07-03 15:41:57', 5.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797502234578 -2.9356951173395)'), GeomFromEWKT('SRID=4674;POINT (-39.797536935657 -2.9357039183378)'))) / (select extract(epoch from '2026-07-03 15:41:57'::timestamp) - extract(epoch from '2026-07-03 15:41:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797502234578 -2.9356951173395)'), GeomFromEWKT('SRID=4674;POINT (-39.797536935657 -2.9357039183378)'))) / (select extract(epoch from '2026-07-03 15:41:57'::timestamp) - extract(epoch from '2026-07-03 15:41: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'), 47871, 'SRID=4674;POINT (-39.797566523775 -2.9357074387372)', '2026-07-03 15:42:03', 5.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797536935657 -2.9357039183378)'), GeomFromEWKT('SRID=4674;POINT (-39.797566523775 -2.9357074387372)'))) / (select extract(epoch from '2026-07-03 15:42:03'::timestamp) - extract(epoch from '2026-07-03 15:41:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797536935657 -2.9357039183378)'), GeomFromEWKT('SRID=4674;POINT (-39.797566523775 -2.9357074387372)'))) / (select extract(epoch from '2026-07-03 15:42:03'::timestamp) - extract(epoch from '2026-07-03 15:41:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.797605751082 -2.9357171617448)', '2026-07-03 15:42:10', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797566523775 -2.9357074387372)'), GeomFromEWKT('SRID=4674;POINT (-39.797605751082 -2.9357171617448)'))) / (select extract(epoch from '2026-07-03 15:42:10'::timestamp) - extract(epoch from '2026-07-03 15:42:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797566523775 -2.9357074387372)'), GeomFromEWKT('SRID=4674;POINT (-39.797605751082 -2.9357171617448)'))) / (select extract(epoch from '2026-07-03 15:42:10'::timestamp) - extract(epoch from '2026-07-03 15:42:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.797630645335 -2.9357261303812)', '2026-07-03 15:42:16', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797605751082 -2.9357171617448)'), GeomFromEWKT('SRID=4674;POINT (-39.797630645335 -2.9357261303812)'))) / (select extract(epoch from '2026-07-03 15:42:16'::timestamp) - extract(epoch from '2026-07-03 15:42:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797605751082 -2.9357171617448)'), GeomFromEWKT('SRID=4674;POINT (-39.797630645335 -2.9357261303812)'))) / (select extract(epoch from '2026-07-03 15:42:16'::timestamp) - extract(epoch from '2026-07-03 15:42:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.79766392149 -2.9357401281595)', '2026-07-03 15:42:22', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797630645335 -2.9357261303812)'), GeomFromEWKT('SRID=4674;POINT (-39.79766392149 -2.9357401281595)'))) / (select extract(epoch from '2026-07-03 15:42:22'::timestamp) - extract(epoch from '2026-07-03 15:42:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797630645335 -2.9357261303812)'), GeomFromEWKT('SRID=4674;POINT (-39.79766392149 -2.9357401281595)'))) / (select extract(epoch from '2026-07-03 15:42:22'::timestamp) - extract(epoch from '2026-07-03 15:42: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'), 47871, 'SRID=4674;POINT (-39.797702981159 -2.935749264434)', '2026-07-03 15:42:30', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79766392149 -2.9357401281595)'), GeomFromEWKT('SRID=4674;POINT (-39.797702981159 -2.935749264434)'))) / (select extract(epoch from '2026-07-03 15:42:30'::timestamp) - extract(epoch from '2026-07-03 15:42:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79766392149 -2.9357401281595)'), GeomFromEWKT('SRID=4674;POINT (-39.797702981159 -2.935749264434)'))) / (select extract(epoch from '2026-07-03 15:42:30'::timestamp) - extract(epoch from '2026-07-03 15:42: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'), 47871, 'SRID=4674;POINT (-39.797733742744 -2.9357539582998)', '2026-07-03 15:42:37', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797702981159 -2.935749264434)'), GeomFromEWKT('SRID=4674;POINT (-39.797733742744 -2.9357539582998)'))) / (select extract(epoch from '2026-07-03 15:42:37'::timestamp) - extract(epoch from '2026-07-03 15:42:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797702981159 -2.935749264434)'), GeomFromEWKT('SRID=4674;POINT (-39.797733742744 -2.9357539582998)'))) / (select extract(epoch from '2026-07-03 15:42:37'::timestamp) - extract(epoch from '2026-07-03 15:42: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'), 47871, 'SRID=4674;POINT (-39.797756792977 -2.9357590712607)', '2026-07-03 15:42:41', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797733742744 -2.9357539582998)'), GeomFromEWKT('SRID=4674;POINT (-39.797756792977 -2.9357590712607)'))) / (select extract(epoch from '2026-07-03 15:42:41'::timestamp) - extract(epoch from '2026-07-03 15:42:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797733742744 -2.9357539582998)'), GeomFromEWKT('SRID=4674;POINT (-39.797756792977 -2.9357590712607)'))) / (select extract(epoch from '2026-07-03 15:42:41'::timestamp) - extract(epoch from '2026-07-03 15:42:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.797769784927 -2.9357635974884)', '2026-07-03 15:42:44', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797756792977 -2.9357590712607)'), GeomFromEWKT('SRID=4674;POINT (-39.797769784927 -2.9357635974884)'))) / (select extract(epoch from '2026-07-03 15:42:44'::timestamp) - extract(epoch from '2026-07-03 15:42:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797756792977 -2.9357590712607)'), GeomFromEWKT('SRID=4674;POINT (-39.797769784927 -2.9357635974884)'))) / (select extract(epoch from '2026-07-03 15:42:44'::timestamp) - extract(epoch from '2026-07-03 15:42: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'), 47871, 'SRID=4674;POINT (-39.797810940072 -2.9357716441154)', '2026-07-03 15:42:52', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797769784927 -2.9357635974884)'), GeomFromEWKT('SRID=4674;POINT (-39.797810940072 -2.9357716441154)'))) / (select extract(epoch from '2026-07-03 15:42:52'::timestamp) - extract(epoch from '2026-07-03 15:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797769784927 -2.9357635974884)'), GeomFromEWKT('SRID=4674;POINT (-39.797810940072 -2.9357716441154)'))) / (select extract(epoch from '2026-07-03 15:42:52'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.797851592302 -2.9357770923525)', '2026-07-03 15:43:00', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797810940072 -2.9357716441154)'), GeomFromEWKT('SRID=4674;POINT (-39.797851592302 -2.9357770923525)'))) / (select extract(epoch from '2026-07-03 15:43:00'::timestamp) - extract(epoch from '2026-07-03 15:42:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797810940072 -2.9357716441154)'), GeomFromEWKT('SRID=4674;POINT (-39.797851592302 -2.9357770923525)'))) / (select extract(epoch from '2026-07-03 15:43:00'::timestamp) - extract(epoch from '2026-07-03 15:42:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.79789333418 -2.9357820376754)', '2026-07-03 15:43:07', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797851592302 -2.9357770923525)'), GeomFromEWKT('SRID=4674;POINT (-39.79789333418 -2.9357820376754)'))) / (select extract(epoch from '2026-07-03 15:43:07'::timestamp) - extract(epoch from '2026-07-03 15:43:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797851592302 -2.9357770923525)'), GeomFromEWKT('SRID=4674;POINT (-39.79789333418 -2.9357820376754)'))) / (select extract(epoch from '2026-07-03 15:43:07'::timestamp) - extract(epoch from '2026-07-03 15:43: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'), 47871, 'SRID=4674;POINT (-39.797920072451 -2.9357841331512)', '2026-07-03 15:43:12', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79789333418 -2.9357820376754)'), GeomFromEWKT('SRID=4674;POINT (-39.797920072451 -2.9357841331512)'))) / (select extract(epoch from '2026-07-03 15:43:12'::timestamp) - extract(epoch from '2026-07-03 15:43:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79789333418 -2.9357820376754)'), GeomFromEWKT('SRID=4674;POINT (-39.797920072451 -2.9357841331512)'))) / (select extract(epoch from '2026-07-03 15:43:12'::timestamp) - extract(epoch from '2026-07-03 15:43: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'), 47871, 'SRID=4674;POINT (-39.79795569554 -2.9357818700373)', '2026-07-03 15:43:19', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797920072451 -2.9357841331512)'), GeomFromEWKT('SRID=4674;POINT (-39.79795569554 -2.9357818700373)'))) / (select extract(epoch from '2026-07-03 15:43:19'::timestamp) - extract(epoch from '2026-07-03 15:43:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797920072451 -2.9357841331512)'), GeomFromEWKT('SRID=4674;POINT (-39.79795569554 -2.9357818700373)'))) / (select extract(epoch from '2026-07-03 15:43:19'::timestamp) - extract(epoch from '2026-07-03 15: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'), 47871, 'SRID=4674;POINT (-39.797992240638 -2.9357719793916)', '2026-07-03 15:43:26', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79795569554 -2.9357818700373)'), GeomFromEWKT('SRID=4674;POINT (-39.797992240638 -2.9357719793916)'))) / (select extract(epoch from '2026-07-03 15:43:26'::timestamp) - extract(epoch from '2026-07-03 15:43:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79795569554 -2.9357818700373)'), GeomFromEWKT('SRID=4674;POINT (-39.797992240638 -2.9357719793916)'))) / (select extract(epoch from '2026-07-03 15:43:26'::timestamp) - extract(epoch from '2026-07-03 15:43:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.798033144325 -2.9357555508614)', '2026-07-03 15:43:35', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797992240638 -2.9357719793916)'), GeomFromEWKT('SRID=4674;POINT (-39.798033144325 -2.9357555508614)'))) / (select extract(epoch from '2026-07-03 15:43:35'::timestamp) - extract(epoch from '2026-07-03 15:43:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797992240638 -2.9357719793916)'), GeomFromEWKT('SRID=4674;POINT (-39.798033144325 -2.9357555508614)'))) / (select extract(epoch from '2026-07-03 15:43:35'::timestamp) - extract(epoch from '2026-07-03 15:43:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.798062648624 -2.9357461631298)', '2026-07-03 15:43:43', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.798033144325 -2.9357555508614)'), GeomFromEWKT('SRID=4674;POINT (-39.798062648624 -2.9357461631298)'))) / (select extract(epoch from '2026-07-03 15:43:43'::timestamp) - extract(epoch from '2026-07-03 15:43:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.798033144325 -2.9357555508614)'), GeomFromEWKT('SRID=4674;POINT (-39.798062648624 -2.9357461631298)'))) / (select extract(epoch from '2026-07-03 15:43:43'::timestamp) - extract(epoch from '2026-07-03 15:43: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'), 47871, 'SRID=4674;POINT (-39.798107575625 -2.9357367753983)', '2026-07-03 15:43:52', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.798062648624 -2.9357461631298)'), GeomFromEWKT('SRID=4674;POINT (-39.798107575625 -2.9357367753983)'))) / (select extract(epoch from '2026-07-03 15:43:52'::timestamp) - extract(epoch from '2026-07-03 15:43:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.798062648624 -2.9357461631298)'), GeomFromEWKT('SRID=4674;POINT (-39.798107575625 -2.9357367753983)'))) / (select extract(epoch from '2026-07-03 15:43:52'::timestamp) - extract(epoch from '2026-07-03 15:43:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47871, 'SRID=4674;POINT (-39.798137918115 -2.9357434809208)', '2026-07-03 15:44:00', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.798107575625 -2.9357367753983)'), GeomFromEWKT('SRID=4674;POINT (-39.798137918115 -2.9357434809208)'))) / (select extract(epoch from '2026-07-03 15:44:00'::timestamp) - extract(epoch from '2026-07-03 15:43:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.798107575625 -2.9357367753983)'), GeomFromEWKT('SRID=4674;POINT (-39.798137918115 -2.9357434809208)'))) / (select extract(epoch from '2026-07-03 15:44:00'::timestamp) - extract(epoch from '2026-07-03 15:43: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'), 47871, 'SRID=4674;POINT (-39.798205057159 -2.9357458278537)', '2026-07-03 15:44:11', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.798137918115 -2.9357434809208)'), GeomFromEWKT('SRID=4674;POINT (-39.798205057159 -2.9357458278537)'))) / (select extract(epoch from '2026-07-03 15:44:11'::timestamp) - extract(epoch from '2026-07-03 15:44:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.798137918115 -2.9357434809208)'), GeomFromEWKT('SRID=4674;POINT (-39.798205057159 -2.9357458278537)'))) / (select extract(epoch from '2026-07-03 15:44:11'::timestamp) - extract(epoch from '2026-07-03 15:44:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
