 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.692732 -2.674275)', '2026-07-24 15:12:15', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692712 -2.674305)'), GeomFromEWKT('SRID=4674;POINT (-39.692732 -2.674275)'))) / (select extract(epoch from '2026-07-24 15:12:15'::timestamp) - extract(epoch from '2026-07-24 15:12:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692712 -2.674305)'), GeomFromEWKT('SRID=4674;POINT (-39.692732 -2.674275)'))) / (select extract(epoch from '2026-07-24 15:12:15'::timestamp) - extract(epoch from '2026-07-24 15:12:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69276 -2.674246)', '2026-07-24 15:12:25', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692732 -2.674275)'), GeomFromEWKT('SRID=4674;POINT (-39.69276 -2.674246)'))) / (select extract(epoch from '2026-07-24 15:12:25'::timestamp) - extract(epoch from '2026-07-24 15:12:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692732 -2.674275)'), GeomFromEWKT('SRID=4674;POINT (-39.69276 -2.674246)'))) / (select extract(epoch from '2026-07-24 15:12:25'::timestamp) - extract(epoch from '2026-07-24 15:12: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'), 47870, 'SRID=4674;POINT (-39.692783 -2.674232)', '2026-07-24 15:12:35', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69276 -2.674246)'), GeomFromEWKT('SRID=4674;POINT (-39.692783 -2.674232)'))) / (select extract(epoch from '2026-07-24 15:12:35'::timestamp) - extract(epoch from '2026-07-24 15:12:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69276 -2.674246)'), GeomFromEWKT('SRID=4674;POINT (-39.692783 -2.674232)'))) / (select extract(epoch from '2026-07-24 15:12:35'::timestamp) - extract(epoch from '2026-07-24 15:12: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'), 47870, 'SRID=4674;POINT (-39.692789 -2.674228)', '2026-07-24 15:12:44', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692783 -2.674232)'), GeomFromEWKT('SRID=4674;POINT (-39.692789 -2.674228)'))) / (select extract(epoch from '2026-07-24 15:12:44'::timestamp) - extract(epoch from '2026-07-24 15:12:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692783 -2.674232)'), GeomFromEWKT('SRID=4674;POINT (-39.692789 -2.674228)'))) / (select extract(epoch from '2026-07-24 15:12:44'::timestamp) - extract(epoch from '2026-07-24 15:12: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'), 47870, 'SRID=4674;POINT (-39.69277 -2.674224)', '2026-07-24 15:12:47', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692789 -2.674228)'), GeomFromEWKT('SRID=4674;POINT (-39.69277 -2.674224)'))) / (select extract(epoch from '2026-07-24 15:12:47'::timestamp) - extract(epoch from '2026-07-24 15:12:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692789 -2.674228)'), GeomFromEWKT('SRID=4674;POINT (-39.69277 -2.674224)'))) / (select extract(epoch from '2026-07-24 15:12:47'::timestamp) - extract(epoch from '2026-07-24 15:12: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'), 47870, 'SRID=4674;POINT (-39.692764 -2.674218)', '2026-07-24 15:12:50', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69277 -2.674224)'), GeomFromEWKT('SRID=4674;POINT (-39.692764 -2.674218)'))) / (select extract(epoch from '2026-07-24 15:12:50'::timestamp) - extract(epoch from '2026-07-24 15:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69277 -2.674224)'), GeomFromEWKT('SRID=4674;POINT (-39.692764 -2.674218)'))) / (select extract(epoch from '2026-07-24 15:12:50'::timestamp) - extract(epoch from '2026-07-24 15:12:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.692787 -2.674168)', '2026-07-24 15:13:28', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692764 -2.674218)'), GeomFromEWKT('SRID=4674;POINT (-39.692787 -2.674168)'))) / (select extract(epoch from '2026-07-24 15:13:28'::timestamp) - extract(epoch from '2026-07-24 15:12:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692764 -2.674218)'), GeomFromEWKT('SRID=4674;POINT (-39.692787 -2.674168)'))) / (select extract(epoch from '2026-07-24 15:13:28'::timestamp) - extract(epoch from '2026-07-24 15:12:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.692805 -2.674155)', '2026-07-24 15:13:37', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692787 -2.674168)'), GeomFromEWKT('SRID=4674;POINT (-39.692805 -2.674155)'))) / (select extract(epoch from '2026-07-24 15:13:37'::timestamp) - extract(epoch from '2026-07-24 15:13:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692787 -2.674168)'), GeomFromEWKT('SRID=4674;POINT (-39.692805 -2.674155)'))) / (select extract(epoch from '2026-07-24 15:13:37'::timestamp) - extract(epoch from '2026-07-24 15:13: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'), 47870, 'SRID=4674;POINT (-39.692827 -2.67415)', '2026-07-24 15:13:44', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692805 -2.674155)'), GeomFromEWKT('SRID=4674;POINT (-39.692827 -2.67415)'))) / (select extract(epoch from '2026-07-24 15:13:44'::timestamp) - extract(epoch from '2026-07-24 15:13:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692805 -2.674155)'), GeomFromEWKT('SRID=4674;POINT (-39.692827 -2.67415)'))) / (select extract(epoch from '2026-07-24 15:13:44'::timestamp) - extract(epoch from '2026-07-24 15:13: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'), 47870, 'SRID=4674;POINT (-39.692853 -2.674128)', '2026-07-24 15:13:54', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692827 -2.67415)'), GeomFromEWKT('SRID=4674;POINT (-39.692853 -2.674128)'))) / (select extract(epoch from '2026-07-24 15:13:54'::timestamp) - extract(epoch from '2026-07-24 15:13:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692827 -2.67415)'), GeomFromEWKT('SRID=4674;POINT (-39.692853 -2.674128)'))) / (select extract(epoch from '2026-07-24 15:13:54'::timestamp) - extract(epoch from '2026-07-24 15:13: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'), 47870, 'SRID=4674;POINT (-39.692864 -2.674109)', '2026-07-24 15:14:01', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692853 -2.674128)'), GeomFromEWKT('SRID=4674;POINT (-39.692864 -2.674109)'))) / (select extract(epoch from '2026-07-24 15:14:01'::timestamp) - extract(epoch from '2026-07-24 15:13:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692853 -2.674128)'), GeomFromEWKT('SRID=4674;POINT (-39.692864 -2.674109)'))) / (select extract(epoch from '2026-07-24 15:14:01'::timestamp) - extract(epoch from '2026-07-24 15:13: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'), 47870, 'SRID=4674;POINT (-39.692788 -2.67413)', '2026-07-24 15:14:13', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692864 -2.674109)'), GeomFromEWKT('SRID=4674;POINT (-39.692788 -2.67413)'))) / (select extract(epoch from '2026-07-24 15:14:13'::timestamp) - extract(epoch from '2026-07-24 15:14:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692864 -2.674109)'), GeomFromEWKT('SRID=4674;POINT (-39.692788 -2.67413)'))) / (select extract(epoch from '2026-07-24 15:14:13'::timestamp) - extract(epoch from '2026-07-24 15:14: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'), 47870, 'SRID=4674;POINT (-39.692759 -2.674148)', '2026-07-24 15:14:19', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692788 -2.67413)'), GeomFromEWKT('SRID=4674;POINT (-39.692759 -2.674148)'))) / (select extract(epoch from '2026-07-24 15:14:19'::timestamp) - extract(epoch from '2026-07-24 15:14:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692788 -2.67413)'), GeomFromEWKT('SRID=4674;POINT (-39.692759 -2.674148)'))) / (select extract(epoch from '2026-07-24 15:14:19'::timestamp) - extract(epoch from '2026-07-24 15:14:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.692737 -2.674151)', '2026-07-24 15:14:28', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692759 -2.674148)'), GeomFromEWKT('SRID=4674;POINT (-39.692737 -2.674151)'))) / (select extract(epoch from '2026-07-24 15:14:28'::timestamp) - extract(epoch from '2026-07-24 15:14:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692759 -2.674148)'), GeomFromEWKT('SRID=4674;POINT (-39.692737 -2.674151)'))) / (select extract(epoch from '2026-07-24 15:14:28'::timestamp) - extract(epoch from '2026-07-24 15:14: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'), 47870, 'SRID=4674;POINT (-39.692759 -2.674119)', '2026-07-24 15:14:38', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692737 -2.674151)'), GeomFromEWKT('SRID=4674;POINT (-39.692759 -2.674119)'))) / (select extract(epoch from '2026-07-24 15:14:38'::timestamp) - extract(epoch from '2026-07-24 15:14:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692737 -2.674151)'), GeomFromEWKT('SRID=4674;POINT (-39.692759 -2.674119)'))) / (select extract(epoch from '2026-07-24 15:14:38'::timestamp) - extract(epoch from '2026-07-24 15:14:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.692793 -2.67409)', '2026-07-24 15:14:46', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692759 -2.674119)'), GeomFromEWKT('SRID=4674;POINT (-39.692793 -2.67409)'))) / (select extract(epoch from '2026-07-24 15:14:46'::timestamp) - extract(epoch from '2026-07-24 15:14:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692759 -2.674119)'), GeomFromEWKT('SRID=4674;POINT (-39.692793 -2.67409)'))) / (select extract(epoch from '2026-07-24 15:14:46'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.692819 -2.674043)', '2026-07-24 15:14:55', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692793 -2.67409)'), GeomFromEWKT('SRID=4674;POINT (-39.692819 -2.674043)'))) / (select extract(epoch from '2026-07-24 15:14:55'::timestamp) - extract(epoch from '2026-07-24 15:14:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692793 -2.67409)'), GeomFromEWKT('SRID=4674;POINT (-39.692819 -2.674043)'))) / (select extract(epoch from '2026-07-24 15:14:55'::timestamp) - extract(epoch from '2026-07-24 15:14: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'), 47870, 'SRID=4674;POINT (-39.6928 -2.674037)', '2026-07-24 15:15:02', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692819 -2.674043)'), GeomFromEWKT('SRID=4674;POINT (-39.6928 -2.674037)'))) / (select extract(epoch from '2026-07-24 15:15:02'::timestamp) - extract(epoch from '2026-07-24 15:14:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692819 -2.674043)'), GeomFromEWKT('SRID=4674;POINT (-39.6928 -2.674037)'))) / (select extract(epoch from '2026-07-24 15:15:02'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.692792 -2.674038)', '2026-07-24 15:15:03', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6928 -2.674037)'), GeomFromEWKT('SRID=4674;POINT (-39.692792 -2.674038)'))) / (select extract(epoch from '2026-07-24 15:15:03'::timestamp) - extract(epoch from '2026-07-24 15:15:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6928 -2.674037)'), GeomFromEWKT('SRID=4674;POINT (-39.692792 -2.674038)'))) / (select extract(epoch from '2026-07-24 15:15:03'::timestamp) - extract(epoch from '2026-07-24 15:15:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.692653 -2.674065)', '2026-07-24 15:15:12', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692792 -2.674038)'), GeomFromEWKT('SRID=4674;POINT (-39.692653 -2.674065)'))) / (select extract(epoch from '2026-07-24 15:15:12'::timestamp) - extract(epoch from '2026-07-24 15:15:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692792 -2.674038)'), GeomFromEWKT('SRID=4674;POINT (-39.692653 -2.674065)'))) / (select extract(epoch from '2026-07-24 15:15:12'::timestamp) - extract(epoch from '2026-07-24 15:15:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69254 -2.674082)', '2026-07-24 15:15:18', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692653 -2.674065)'), GeomFromEWKT('SRID=4674;POINT (-39.69254 -2.674082)'))) / (select extract(epoch from '2026-07-24 15:15:18'::timestamp) - extract(epoch from '2026-07-24 15:15:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692653 -2.674065)'), GeomFromEWKT('SRID=4674;POINT (-39.69254 -2.674082)'))) / (select extract(epoch from '2026-07-24 15:15:18'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.692434 -2.674099)', '2026-07-24 15:15:23', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69254 -2.674082)'), GeomFromEWKT('SRID=4674;POINT (-39.692434 -2.674099)'))) / (select extract(epoch from '2026-07-24 15:15:23'::timestamp) - extract(epoch from '2026-07-24 15:15:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69254 -2.674082)'), GeomFromEWKT('SRID=4674;POINT (-39.692434 -2.674099)'))) / (select extract(epoch from '2026-07-24 15:15:23'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.692269 -2.674145)', '2026-07-24 15:15:31', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692434 -2.674099)'), GeomFromEWKT('SRID=4674;POINT (-39.692269 -2.674145)'))) / (select extract(epoch from '2026-07-24 15:15:31'::timestamp) - extract(epoch from '2026-07-24 15:15:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692434 -2.674099)'), GeomFromEWKT('SRID=4674;POINT (-39.692269 -2.674145)'))) / (select extract(epoch from '2026-07-24 15:15:31'::timestamp) - extract(epoch from '2026-07-24 15:15: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'), 47870, 'SRID=4674;POINT (-39.692164 -2.67418)', '2026-07-24 15:15:37', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692269 -2.674145)'), GeomFromEWKT('SRID=4674;POINT (-39.692164 -2.67418)'))) / (select extract(epoch from '2026-07-24 15:15:37'::timestamp) - extract(epoch from '2026-07-24 15:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692269 -2.674145)'), GeomFromEWKT('SRID=4674;POINT (-39.692164 -2.67418)'))) / (select extract(epoch from '2026-07-24 15:15:37'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.692056 -2.674209)', '2026-07-24 15:15:43', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692164 -2.67418)'), GeomFromEWKT('SRID=4674;POINT (-39.692056 -2.674209)'))) / (select extract(epoch from '2026-07-24 15:15:43'::timestamp) - extract(epoch from '2026-07-24 15:15:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692164 -2.67418)'), GeomFromEWKT('SRID=4674;POINT (-39.692056 -2.674209)'))) / (select extract(epoch from '2026-07-24 15:15:43'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.691926 -2.674239)', '2026-07-24 15:15:50', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692056 -2.674209)'), GeomFromEWKT('SRID=4674;POINT (-39.691926 -2.674239)'))) / (select extract(epoch from '2026-07-24 15:15:50'::timestamp) - extract(epoch from '2026-07-24 15:15:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692056 -2.674209)'), GeomFromEWKT('SRID=4674;POINT (-39.691926 -2.674239)'))) / (select extract(epoch from '2026-07-24 15:15:50'::timestamp) - extract(epoch from '2026-07-24 15:15:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.691812 -2.674259)', '2026-07-24 15:15:56', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691926 -2.674239)'), GeomFromEWKT('SRID=4674;POINT (-39.691812 -2.674259)'))) / (select extract(epoch from '2026-07-24 15:15:56'::timestamp) - extract(epoch from '2026-07-24 15:15:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691926 -2.674239)'), GeomFromEWKT('SRID=4674;POINT (-39.691812 -2.674259)'))) / (select extract(epoch from '2026-07-24 15:15:56'::timestamp) - extract(epoch from '2026-07-24 15:15: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'), 47870, 'SRID=4674;POINT (-39.691679 -2.674302)', '2026-07-24 15:16:04', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691812 -2.674259)'), GeomFromEWKT('SRID=4674;POINT (-39.691679 -2.674302)'))) / (select extract(epoch from '2026-07-24 15:16:04'::timestamp) - extract(epoch from '2026-07-24 15:15:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691812 -2.674259)'), GeomFromEWKT('SRID=4674;POINT (-39.691679 -2.674302)'))) / (select extract(epoch from '2026-07-24 15:16:04'::timestamp) - extract(epoch from '2026-07-24 15:15: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'), 47870, 'SRID=4674;POINT (-39.691598 -2.674324)', '2026-07-24 15:16:09', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691679 -2.674302)'), GeomFromEWKT('SRID=4674;POINT (-39.691598 -2.674324)'))) / (select extract(epoch from '2026-07-24 15:16:09'::timestamp) - extract(epoch from '2026-07-24 15:16:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691679 -2.674302)'), GeomFromEWKT('SRID=4674;POINT (-39.691598 -2.674324)'))) / (select extract(epoch from '2026-07-24 15:16:09'::timestamp) - extract(epoch from '2026-07-24 15:16:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.691498 -2.674381)', '2026-07-24 15:16:15', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691598 -2.674324)'), GeomFromEWKT('SRID=4674;POINT (-39.691498 -2.674381)'))) / (select extract(epoch from '2026-07-24 15:16:15'::timestamp) - extract(epoch from '2026-07-24 15:16:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691598 -2.674324)'), GeomFromEWKT('SRID=4674;POINT (-39.691498 -2.674381)'))) / (select extract(epoch from '2026-07-24 15:16:15'::timestamp) - extract(epoch from '2026-07-24 15:16:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.691374 -2.674451)', '2026-07-24 15:16:22', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691498 -2.674381)'), GeomFromEWKT('SRID=4674;POINT (-39.691374 -2.674451)'))) / (select extract(epoch from '2026-07-24 15:16:22'::timestamp) - extract(epoch from '2026-07-24 15:16:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691498 -2.674381)'), GeomFromEWKT('SRID=4674;POINT (-39.691374 -2.674451)'))) / (select extract(epoch from '2026-07-24 15:16:22'::timestamp) - extract(epoch from '2026-07-24 15:16: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'), 47870, 'SRID=4674;POINT (-39.691282 -2.674478)', '2026-07-24 15:16:28', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691374 -2.674451)'), GeomFromEWKT('SRID=4674;POINT (-39.691282 -2.674478)'))) / (select extract(epoch from '2026-07-24 15:16:28'::timestamp) - extract(epoch from '2026-07-24 15:16:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691374 -2.674451)'), GeomFromEWKT('SRID=4674;POINT (-39.691282 -2.674478)'))) / (select extract(epoch from '2026-07-24 15:16:28'::timestamp) - extract(epoch from '2026-07-24 15:16:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.691223 -2.674482)', '2026-07-24 15:16:34', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691282 -2.674478)'), GeomFromEWKT('SRID=4674;POINT (-39.691223 -2.674482)'))) / (select extract(epoch from '2026-07-24 15:16:34'::timestamp) - extract(epoch from '2026-07-24 15:16:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691282 -2.674478)'), GeomFromEWKT('SRID=4674;POINT (-39.691223 -2.674482)'))) / (select extract(epoch from '2026-07-24 15:16:34'::timestamp) - extract(epoch from '2026-07-24 15:16:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.691203 -2.674489)', '2026-07-24 15:16:40', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691223 -2.674482)'), GeomFromEWKT('SRID=4674;POINT (-39.691203 -2.674489)'))) / (select extract(epoch from '2026-07-24 15:16:40'::timestamp) - extract(epoch from '2026-07-24 15:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691223 -2.674482)'), GeomFromEWKT('SRID=4674;POINT (-39.691203 -2.674489)'))) / (select extract(epoch from '2026-07-24 15:16:40'::timestamp) - extract(epoch from '2026-07-24 15:16: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'), 47870, 'SRID=4674;POINT (-39.691195 -2.674477)', '2026-07-24 15:16:44', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691203 -2.674489)'), GeomFromEWKT('SRID=4674;POINT (-39.691195 -2.674477)'))) / (select extract(epoch from '2026-07-24 15:16:44'::timestamp) - extract(epoch from '2026-07-24 15:16:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691203 -2.674489)'), GeomFromEWKT('SRID=4674;POINT (-39.691195 -2.674477)'))) / (select extract(epoch from '2026-07-24 15:16:44'::timestamp) - extract(epoch from '2026-07-24 15:16: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'), 47870, 'SRID=4674;POINT (-39.6912 -2.674435)', '2026-07-24 15:16:52', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691195 -2.674477)'), GeomFromEWKT('SRID=4674;POINT (-39.6912 -2.674435)'))) / (select extract(epoch from '2026-07-24 15:16:52'::timestamp) - extract(epoch from '2026-07-24 15:16:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691195 -2.674477)'), GeomFromEWKT('SRID=4674;POINT (-39.6912 -2.674435)'))) / (select extract(epoch from '2026-07-24 15:16:52'::timestamp) - extract(epoch from '2026-07-24 15:16: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'), 47870, 'SRID=4674;POINT (-39.691215 -2.674375)', '2026-07-24 15:17:01', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6912 -2.674435)'), GeomFromEWKT('SRID=4674;POINT (-39.691215 -2.674375)'))) / (select extract(epoch from '2026-07-24 15:17:01'::timestamp) - extract(epoch from '2026-07-24 15:16:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6912 -2.674435)'), GeomFromEWKT('SRID=4674;POINT (-39.691215 -2.674375)'))) / (select extract(epoch from '2026-07-24 15:17:01'::timestamp) - extract(epoch from '2026-07-24 15:16: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'), 47870, 'SRID=4674;POINT (-39.69116 -2.674338)', '2026-07-24 15:17:11', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691215 -2.674375)'), GeomFromEWKT('SRID=4674;POINT (-39.69116 -2.674338)'))) / (select extract(epoch from '2026-07-24 15:17:11'::timestamp) - extract(epoch from '2026-07-24 15:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691215 -2.674375)'), GeomFromEWKT('SRID=4674;POINT (-39.69116 -2.674338)'))) / (select extract(epoch from '2026-07-24 15:17:11'::timestamp) - extract(epoch from '2026-07-24 15:17:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.691158 -2.67436)', '2026-07-24 15:17:14', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69116 -2.674338)'), GeomFromEWKT('SRID=4674;POINT (-39.691158 -2.67436)'))) / (select extract(epoch from '2026-07-24 15:17:14'::timestamp) - extract(epoch from '2026-07-24 15:17:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69116 -2.674338)'), GeomFromEWKT('SRID=4674;POINT (-39.691158 -2.67436)'))) / (select extract(epoch from '2026-07-24 15:17:14'::timestamp) - extract(epoch from '2026-07-24 15:17: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'), 47870, 'SRID=4674;POINT (-39.69117 -2.674385)', '2026-07-24 15:17:17', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691158 -2.67436)'), GeomFromEWKT('SRID=4674;POINT (-39.69117 -2.674385)'))) / (select extract(epoch from '2026-07-24 15:17:17'::timestamp) - extract(epoch from '2026-07-24 15:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691158 -2.67436)'), GeomFromEWKT('SRID=4674;POINT (-39.69117 -2.674385)'))) / (select extract(epoch from '2026-07-24 15:17:17'::timestamp) - extract(epoch from '2026-07-24 15:17: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'), 47870, 'SRID=4674;POINT (-39.691248 -2.674419)', '2026-07-24 15:17:23', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69117 -2.674385)'), GeomFromEWKT('SRID=4674;POINT (-39.691248 -2.674419)'))) / (select extract(epoch from '2026-07-24 15:17:23'::timestamp) - extract(epoch from '2026-07-24 15:17:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69117 -2.674385)'), GeomFromEWKT('SRID=4674;POINT (-39.691248 -2.674419)'))) / (select extract(epoch from '2026-07-24 15:17:23'::timestamp) - extract(epoch from '2026-07-24 15:17: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'), 47870, 'SRID=4674;POINT (-39.69133 -2.674387)', '2026-07-24 15:17:30', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691248 -2.674419)'), GeomFromEWKT('SRID=4674;POINT (-39.69133 -2.674387)'))) / (select extract(epoch from '2026-07-24 15:17:30'::timestamp) - extract(epoch from '2026-07-24 15:17:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691248 -2.674419)'), GeomFromEWKT('SRID=4674;POINT (-39.69133 -2.674387)'))) / (select extract(epoch from '2026-07-24 15:17:30'::timestamp) - extract(epoch from '2026-07-24 15:17: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'), 47870, 'SRID=4674;POINT (-39.691375 -2.674322)', '2026-07-24 15:17:37', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69133 -2.674387)'), GeomFromEWKT('SRID=4674;POINT (-39.691375 -2.674322)'))) / (select extract(epoch from '2026-07-24 15:17:37'::timestamp) - extract(epoch from '2026-07-24 15:17:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69133 -2.674387)'), GeomFromEWKT('SRID=4674;POINT (-39.691375 -2.674322)'))) / (select extract(epoch from '2026-07-24 15:17:37'::timestamp) - extract(epoch from '2026-07-24 15:17:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.691396 -2.67427)', '2026-07-24 15:17:45', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691375 -2.674322)'), GeomFromEWKT('SRID=4674;POINT (-39.691396 -2.67427)'))) / (select extract(epoch from '2026-07-24 15:17:45'::timestamp) - extract(epoch from '2026-07-24 15:17:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691375 -2.674322)'), GeomFromEWKT('SRID=4674;POINT (-39.691396 -2.67427)'))) / (select extract(epoch from '2026-07-24 15:17:45'::timestamp) - extract(epoch from '2026-07-24 15:17: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'), 47870, 'SRID=4674;POINT (-39.691426 -2.674235)', '2026-07-24 15:17:52', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691396 -2.67427)'), GeomFromEWKT('SRID=4674;POINT (-39.691426 -2.674235)'))) / (select extract(epoch from '2026-07-24 15:17:52'::timestamp) - extract(epoch from '2026-07-24 15:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691396 -2.67427)'), GeomFromEWKT('SRID=4674;POINT (-39.691426 -2.674235)'))) / (select extract(epoch from '2026-07-24 15:17:52'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.691435 -2.674232)', '2026-07-24 15:17:53', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691426 -2.674235)'), GeomFromEWKT('SRID=4674;POINT (-39.691435 -2.674232)'))) / (select extract(epoch from '2026-07-24 15:17:53'::timestamp) - extract(epoch from '2026-07-24 15:17:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691426 -2.674235)'), GeomFromEWKT('SRID=4674;POINT (-39.691435 -2.674232)'))) / (select extract(epoch from '2026-07-24 15:17:53'::timestamp) - extract(epoch from '2026-07-24 15:17:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.691465 -2.674209)', '2026-07-24 15:17:59', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691435 -2.674232)'), GeomFromEWKT('SRID=4674;POINT (-39.691465 -2.674209)'))) / (select extract(epoch from '2026-07-24 15:17:59'::timestamp) - extract(epoch from '2026-07-24 15:17:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691435 -2.674232)'), GeomFromEWKT('SRID=4674;POINT (-39.691465 -2.674209)'))) / (select extract(epoch from '2026-07-24 15:17:59'::timestamp) - extract(epoch from '2026-07-24 15:17:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.691505 -2.674187)', '2026-07-24 15:18:07', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691465 -2.674209)'), GeomFromEWKT('SRID=4674;POINT (-39.691505 -2.674187)'))) / (select extract(epoch from '2026-07-24 15:18:07'::timestamp) - extract(epoch from '2026-07-24 15:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691465 -2.674209)'), GeomFromEWKT('SRID=4674;POINT (-39.691505 -2.674187)'))) / (select extract(epoch from '2026-07-24 15:18:07'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.69152 -2.674149)', '2026-07-24 15:18:15', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691505 -2.674187)'), GeomFromEWKT('SRID=4674;POINT (-39.69152 -2.674149)'))) / (select extract(epoch from '2026-07-24 15:18:15'::timestamp) - extract(epoch from '2026-07-24 15:18:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691505 -2.674187)'), GeomFromEWKT('SRID=4674;POINT (-39.69152 -2.674149)'))) / (select extract(epoch from '2026-07-24 15:18:15'::timestamp) - extract(epoch from '2026-07-24 15:18:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.691552 -2.67411)', '2026-07-24 15:18:26', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69152 -2.674149)'), GeomFromEWKT('SRID=4674;POINT (-39.691552 -2.67411)'))) / (select extract(epoch from '2026-07-24 15:18:26'::timestamp) - extract(epoch from '2026-07-24 15:18:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69152 -2.674149)'), GeomFromEWKT('SRID=4674;POINT (-39.691552 -2.67411)'))) / (select extract(epoch from '2026-07-24 15:18:26'::timestamp) - extract(epoch from '2026-07-24 15:18: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'), 47870, 'SRID=4674;POINT (-39.691588 -2.674069)', '2026-07-24 15:18:35', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691552 -2.67411)'), GeomFromEWKT('SRID=4674;POINT (-39.691588 -2.674069)'))) / (select extract(epoch from '2026-07-24 15:18:35'::timestamp) - extract(epoch from '2026-07-24 15:18:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691552 -2.67411)'), GeomFromEWKT('SRID=4674;POINT (-39.691588 -2.674069)'))) / (select extract(epoch from '2026-07-24 15:18:35'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.691626 -2.674016)', '2026-07-24 15:18:45', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691588 -2.674069)'), GeomFromEWKT('SRID=4674;POINT (-39.691626 -2.674016)'))) / (select extract(epoch from '2026-07-24 15:18:45'::timestamp) - extract(epoch from '2026-07-24 15:18:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691588 -2.674069)'), GeomFromEWKT('SRID=4674;POINT (-39.691626 -2.674016)'))) / (select extract(epoch from '2026-07-24 15:18:45'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.691667 -2.673978)', '2026-07-24 15:18:55', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691626 -2.674016)'), GeomFromEWKT('SRID=4674;POINT (-39.691667 -2.673978)'))) / (select extract(epoch from '2026-07-24 15:18:55'::timestamp) - extract(epoch from '2026-07-24 15:18:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691626 -2.674016)'), GeomFromEWKT('SRID=4674;POINT (-39.691667 -2.673978)'))) / (select extract(epoch from '2026-07-24 15:18:55'::timestamp) - extract(epoch from '2026-07-24 15:18: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'), 47870, 'SRID=4674;POINT (-39.691724 -2.673932)', '2026-07-24 15:19:05', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691667 -2.673978)'), GeomFromEWKT('SRID=4674;POINT (-39.691724 -2.673932)'))) / (select extract(epoch from '2026-07-24 15:19:05'::timestamp) - extract(epoch from '2026-07-24 15:18:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691667 -2.673978)'), GeomFromEWKT('SRID=4674;POINT (-39.691724 -2.673932)'))) / (select extract(epoch from '2026-07-24 15:19:05'::timestamp) - extract(epoch from '2026-07-24 15:18: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'), 47870, 'SRID=4674;POINT (-39.691746 -2.673902)', '2026-07-24 15:19:16', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691724 -2.673932)'), GeomFromEWKT('SRID=4674;POINT (-39.691746 -2.673902)'))) / (select extract(epoch from '2026-07-24 15:19:16'::timestamp) - extract(epoch from '2026-07-24 15:19:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691724 -2.673932)'), GeomFromEWKT('SRID=4674;POINT (-39.691746 -2.673902)'))) / (select extract(epoch from '2026-07-24 15:19:16'::timestamp) - extract(epoch from '2026-07-24 15:19: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'), 47870, 'SRID=4674;POINT (-39.691721 -2.673899)', '2026-07-24 15:19:24', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691746 -2.673902)'), GeomFromEWKT('SRID=4674;POINT (-39.691721 -2.673899)'))) / (select extract(epoch from '2026-07-24 15:19:24'::timestamp) - extract(epoch from '2026-07-24 15:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691746 -2.673902)'), GeomFromEWKT('SRID=4674;POINT (-39.691721 -2.673899)'))) / (select extract(epoch from '2026-07-24 15:19:24'::timestamp) - extract(epoch from '2026-07-24 15:19: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'), 47870, 'SRID=4674;POINT (-39.691657 -2.673888)', '2026-07-24 15:19:35', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691721 -2.673899)'), GeomFromEWKT('SRID=4674;POINT (-39.691657 -2.673888)'))) / (select extract(epoch from '2026-07-24 15:19:35'::timestamp) - extract(epoch from '2026-07-24 15:19:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691721 -2.673899)'), GeomFromEWKT('SRID=4674;POINT (-39.691657 -2.673888)'))) / (select extract(epoch from '2026-07-24 15:19:35'::timestamp) - extract(epoch from '2026-07-24 15:19: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'), 47870, 'SRID=4674;POINT (-39.69163 -2.673871)', '2026-07-24 15:19:44', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691657 -2.673888)'), GeomFromEWKT('SRID=4674;POINT (-39.69163 -2.673871)'))) / (select extract(epoch from '2026-07-24 15:19:44'::timestamp) - extract(epoch from '2026-07-24 15:19:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691657 -2.673888)'), GeomFromEWKT('SRID=4674;POINT (-39.69163 -2.673871)'))) / (select extract(epoch from '2026-07-24 15:19:44'::timestamp) - extract(epoch from '2026-07-24 15:19: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'), 47870, 'SRID=4674;POINT (-39.691609 -2.673873)', '2026-07-24 15:20:03', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69163 -2.673871)'), GeomFromEWKT('SRID=4674;POINT (-39.691609 -2.673873)'))) / (select extract(epoch from '2026-07-24 15:20:03'::timestamp) - extract(epoch from '2026-07-24 15:19:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69163 -2.673871)'), GeomFromEWKT('SRID=4674;POINT (-39.691609 -2.673873)'))) / (select extract(epoch from '2026-07-24 15:20:03'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.691597 -2.673933)', '2026-07-24 15:20:10', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691609 -2.673873)'), GeomFromEWKT('SRID=4674;POINT (-39.691597 -2.673933)'))) / (select extract(epoch from '2026-07-24 15:20:10'::timestamp) - extract(epoch from '2026-07-24 15:20:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691609 -2.673873)'), GeomFromEWKT('SRID=4674;POINT (-39.691597 -2.673933)'))) / (select extract(epoch from '2026-07-24 15:20:10'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.69159 -2.67394)', '2026-07-24 15:20:11', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691597 -2.673933)'), GeomFromEWKT('SRID=4674;POINT (-39.69159 -2.67394)'))) / (select extract(epoch from '2026-07-24 15:20:11'::timestamp) - extract(epoch from '2026-07-24 15:20:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691597 -2.673933)'), GeomFromEWKT('SRID=4674;POINT (-39.69159 -2.67394)'))) / (select extract(epoch from '2026-07-24 15:20:11'::timestamp) - extract(epoch from '2026-07-24 15:20: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'), 47870, 'SRID=4674;POINT (-39.691571 -2.673966)', '2026-07-24 15:20:14', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69159 -2.67394)'), GeomFromEWKT('SRID=4674;POINT (-39.691571 -2.673966)'))) / (select extract(epoch from '2026-07-24 15:20:14'::timestamp) - extract(epoch from '2026-07-24 15:20:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69159 -2.67394)'), GeomFromEWKT('SRID=4674;POINT (-39.691571 -2.673966)'))) / (select extract(epoch from '2026-07-24 15:20:14'::timestamp) - extract(epoch from '2026-07-24 15:20:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.691547 -2.67398)', '2026-07-24 15:20:18', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691571 -2.673966)'), GeomFromEWKT('SRID=4674;POINT (-39.691547 -2.67398)'))) / (select extract(epoch from '2026-07-24 15:20:18'::timestamp) - extract(epoch from '2026-07-24 15:20:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691571 -2.673966)'), GeomFromEWKT('SRID=4674;POINT (-39.691547 -2.67398)'))) / (select extract(epoch from '2026-07-24 15:20:18'::timestamp) - extract(epoch from '2026-07-24 15:20: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'), 47870, 'SRID=4674;POINT (-39.691525 -2.673967)', '2026-07-24 15:20:27', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691547 -2.67398)'), GeomFromEWKT('SRID=4674;POINT (-39.691525 -2.673967)'))) / (select extract(epoch from '2026-07-24 15:20:27'::timestamp) - extract(epoch from '2026-07-24 15:20:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691547 -2.67398)'), GeomFromEWKT('SRID=4674;POINT (-39.691525 -2.673967)'))) / (select extract(epoch from '2026-07-24 15:20:27'::timestamp) - extract(epoch from '2026-07-24 15:20: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'), 47870, 'SRID=4674;POINT (-39.691561 -2.673919)', '2026-07-24 15:20:37', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691525 -2.673967)'), GeomFromEWKT('SRID=4674;POINT (-39.691561 -2.673919)'))) / (select extract(epoch from '2026-07-24 15:20:37'::timestamp) - extract(epoch from '2026-07-24 15:20:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691525 -2.673967)'), GeomFromEWKT('SRID=4674;POINT (-39.691561 -2.673919)'))) / (select extract(epoch from '2026-07-24 15:20:37'::timestamp) - extract(epoch from '2026-07-24 15:20: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'), 47870, 'SRID=4674;POINT (-39.691578 -2.673894)', '2026-07-24 15:20:42', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691561 -2.673919)'), GeomFromEWKT('SRID=4674;POINT (-39.691578 -2.673894)'))) / (select extract(epoch from '2026-07-24 15:20:42'::timestamp) - extract(epoch from '2026-07-24 15:20:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691561 -2.673919)'), GeomFromEWKT('SRID=4674;POINT (-39.691578 -2.673894)'))) / (select extract(epoch from '2026-07-24 15:20:42'::timestamp) - extract(epoch from '2026-07-24 15:20:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69159 -2.673885)', '2026-07-24 15:20:45', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691578 -2.673894)'), GeomFromEWKT('SRID=4674;POINT (-39.69159 -2.673885)'))) / (select extract(epoch from '2026-07-24 15:20:45'::timestamp) - extract(epoch from '2026-07-24 15:20:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691578 -2.673894)'), GeomFromEWKT('SRID=4674;POINT (-39.69159 -2.673885)'))) / (select extract(epoch from '2026-07-24 15:20:45'::timestamp) - extract(epoch from '2026-07-24 15:20:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.691622 -2.673835)', '2026-07-24 15:20:53', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69159 -2.673885)'), GeomFromEWKT('SRID=4674;POINT (-39.691622 -2.673835)'))) / (select extract(epoch from '2026-07-24 15:20:53'::timestamp) - extract(epoch from '2026-07-24 15:20:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69159 -2.673885)'), GeomFromEWKT('SRID=4674;POINT (-39.691622 -2.673835)'))) / (select extract(epoch from '2026-07-24 15:20:53'::timestamp) - extract(epoch from '2026-07-24 15:20: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'), 47870, 'SRID=4674;POINT (-39.691667 -2.673782)', '2026-07-24 15:21:03', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691622 -2.673835)'), GeomFromEWKT('SRID=4674;POINT (-39.691667 -2.673782)'))) / (select extract(epoch from '2026-07-24 15:21:03'::timestamp) - extract(epoch from '2026-07-24 15:20:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691622 -2.673835)'), GeomFromEWKT('SRID=4674;POINT (-39.691667 -2.673782)'))) / (select extract(epoch from '2026-07-24 15:21:03'::timestamp) - extract(epoch from '2026-07-24 15:20: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'), 47870, 'SRID=4674;POINT (-39.691715 -2.673748)', '2026-07-24 15:21:12', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691667 -2.673782)'), GeomFromEWKT('SRID=4674;POINT (-39.691715 -2.673748)'))) / (select extract(epoch from '2026-07-24 15:21:12'::timestamp) - extract(epoch from '2026-07-24 15:21:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691667 -2.673782)'), GeomFromEWKT('SRID=4674;POINT (-39.691715 -2.673748)'))) / (select extract(epoch from '2026-07-24 15:21:12'::timestamp) - extract(epoch from '2026-07-24 15:21: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'), 47870, 'SRID=4674;POINT (-39.691751 -2.673703)', '2026-07-24 15:21:21', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691715 -2.673748)'), GeomFromEWKT('SRID=4674;POINT (-39.691751 -2.673703)'))) / (select extract(epoch from '2026-07-24 15:21:21'::timestamp) - extract(epoch from '2026-07-24 15:21:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691715 -2.673748)'), GeomFromEWKT('SRID=4674;POINT (-39.691751 -2.673703)'))) / (select extract(epoch from '2026-07-24 15:21:21'::timestamp) - extract(epoch from '2026-07-24 15:21: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'), 47870, 'SRID=4674;POINT (-39.691755 -2.673696)', '2026-07-24 15:21:22', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691751 -2.673703)'), GeomFromEWKT('SRID=4674;POINT (-39.691755 -2.673696)'))) / (select extract(epoch from '2026-07-24 15:21:22'::timestamp) - extract(epoch from '2026-07-24 15:21:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691751 -2.673703)'), GeomFromEWKT('SRID=4674;POINT (-39.691755 -2.673696)'))) / (select extract(epoch from '2026-07-24 15:21:22'::timestamp) - extract(epoch from '2026-07-24 15:21: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'), 47870, 'SRID=4674;POINT (-39.691777 -2.673679)', '2026-07-24 15:21:26', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691755 -2.673696)'), GeomFromEWKT('SRID=4674;POINT (-39.691777 -2.673679)'))) / (select extract(epoch from '2026-07-24 15:21:26'::timestamp) - extract(epoch from '2026-07-24 15:21:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691755 -2.673696)'), GeomFromEWKT('SRID=4674;POINT (-39.691777 -2.673679)'))) / (select extract(epoch from '2026-07-24 15:21:26'::timestamp) - extract(epoch from '2026-07-24 15:21: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'), 47870, 'SRID=4674;POINT (-39.691819 -2.673639)', '2026-07-24 15:21:34', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691777 -2.673679)'), GeomFromEWKT('SRID=4674;POINT (-39.691819 -2.673639)'))) / (select extract(epoch from '2026-07-24 15:21:34'::timestamp) - extract(epoch from '2026-07-24 15:21:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691777 -2.673679)'), GeomFromEWKT('SRID=4674;POINT (-39.691819 -2.673639)'))) / (select extract(epoch from '2026-07-24 15:21:34'::timestamp) - extract(epoch from '2026-07-24 15:21: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'), 47870, 'SRID=4674;POINT (-39.691883 -2.673603)', '2026-07-24 15:21:43', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691819 -2.673639)'), GeomFromEWKT('SRID=4674;POINT (-39.691883 -2.673603)'))) / (select extract(epoch from '2026-07-24 15:21:43'::timestamp) - extract(epoch from '2026-07-24 15:21:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691819 -2.673639)'), GeomFromEWKT('SRID=4674;POINT (-39.691883 -2.673603)'))) / (select extract(epoch from '2026-07-24 15:21:43'::timestamp) - extract(epoch from '2026-07-24 15:21:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.691924 -2.673571)', '2026-07-24 15:21:50', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691883 -2.673603)'), GeomFromEWKT('SRID=4674;POINT (-39.691924 -2.673571)'))) / (select extract(epoch from '2026-07-24 15:21:50'::timestamp) - extract(epoch from '2026-07-24 15:21:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691883 -2.673603)'), GeomFromEWKT('SRID=4674;POINT (-39.691924 -2.673571)'))) / (select extract(epoch from '2026-07-24 15:21:50'::timestamp) - extract(epoch from '2026-07-24 15:21:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.691994 -2.673521)', '2026-07-24 15:22:01', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691924 -2.673571)'), GeomFromEWKT('SRID=4674;POINT (-39.691994 -2.673521)'))) / (select extract(epoch from '2026-07-24 15:22:01'::timestamp) - extract(epoch from '2026-07-24 15:21:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691924 -2.673571)'), GeomFromEWKT('SRID=4674;POINT (-39.691994 -2.673521)'))) / (select extract(epoch from '2026-07-24 15:22:01'::timestamp) - extract(epoch from '2026-07-24 15:21:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69202 -2.673472)', '2026-07-24 15:22:09', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691994 -2.673521)'), GeomFromEWKT('SRID=4674;POINT (-39.69202 -2.673472)'))) / (select extract(epoch from '2026-07-24 15:22:09'::timestamp) - extract(epoch from '2026-07-24 15:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691994 -2.673521)'), GeomFromEWKT('SRID=4674;POINT (-39.69202 -2.673472)'))) / (select extract(epoch from '2026-07-24 15:22:09'::timestamp) - extract(epoch from '2026-07-24 15:22: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'), 47870, 'SRID=4674;POINT (-39.69203 -2.673448)', '2026-07-24 15:22:13', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69202 -2.673472)'), GeomFromEWKT('SRID=4674;POINT (-39.69203 -2.673448)'))) / (select extract(epoch from '2026-07-24 15:22:13'::timestamp) - extract(epoch from '2026-07-24 15:22:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69202 -2.673472)'), GeomFromEWKT('SRID=4674;POINT (-39.69203 -2.673448)'))) / (select extract(epoch from '2026-07-24 15:22:13'::timestamp) - extract(epoch from '2026-07-24 15:22: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'), 47870, 'SRID=4674;POINT (-39.692017 -2.673435)', '2026-07-24 15:22:15', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69203 -2.673448)'), GeomFromEWKT('SRID=4674;POINT (-39.692017 -2.673435)'))) / (select extract(epoch from '2026-07-24 15:22:15'::timestamp) - extract(epoch from '2026-07-24 15:22:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69203 -2.673448)'), GeomFromEWKT('SRID=4674;POINT (-39.692017 -2.673435)'))) / (select extract(epoch from '2026-07-24 15:22:15'::timestamp) - extract(epoch from '2026-07-24 15:22: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'), 47870, 'SRID=4674;POINT (-39.691951 -2.673411)', '2026-07-24 15:22:23', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692017 -2.673435)'), GeomFromEWKT('SRID=4674;POINT (-39.691951 -2.673411)'))) / (select extract(epoch from '2026-07-24 15:22:23'::timestamp) - extract(epoch from '2026-07-24 15:22:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692017 -2.673435)'), GeomFromEWKT('SRID=4674;POINT (-39.691951 -2.673411)'))) / (select extract(epoch from '2026-07-24 15:22:23'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.691882 -2.673436)', '2026-07-24 15:22:29', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691951 -2.673411)'), GeomFromEWKT('SRID=4674;POINT (-39.691882 -2.673436)'))) / (select extract(epoch from '2026-07-24 15:22:29'::timestamp) - extract(epoch from '2026-07-24 15:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691951 -2.673411)'), GeomFromEWKT('SRID=4674;POINT (-39.691882 -2.673436)'))) / (select extract(epoch from '2026-07-24 15:22:29'::timestamp) - extract(epoch from '2026-07-24 15:22: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'), 47870, 'SRID=4674;POINT (-39.691798 -2.673496)', '2026-07-24 15:22:36', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691882 -2.673436)'), GeomFromEWKT('SRID=4674;POINT (-39.691798 -2.673496)'))) / (select extract(epoch from '2026-07-24 15:22:36'::timestamp) - extract(epoch from '2026-07-24 15:22:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691882 -2.673436)'), GeomFromEWKT('SRID=4674;POINT (-39.691798 -2.673496)'))) / (select extract(epoch from '2026-07-24 15:22:36'::timestamp) - extract(epoch from '2026-07-24 15:22:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.691736 -2.673557)', '2026-07-24 15:22:41', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691798 -2.673496)'), GeomFromEWKT('SRID=4674;POINT (-39.691736 -2.673557)'))) / (select extract(epoch from '2026-07-24 15:22:41'::timestamp) - extract(epoch from '2026-07-24 15:22:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691798 -2.673496)'), GeomFromEWKT('SRID=4674;POINT (-39.691736 -2.673557)'))) / (select extract(epoch from '2026-07-24 15:22:41'::timestamp) - extract(epoch from '2026-07-24 15:22: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'), 47870, 'SRID=4674;POINT (-39.691711 -2.673585)', '2026-07-24 15:22:43', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691736 -2.673557)'), GeomFromEWKT('SRID=4674;POINT (-39.691711 -2.673585)'))) / (select extract(epoch from '2026-07-24 15:22:43'::timestamp) - extract(epoch from '2026-07-24 15:22:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691736 -2.673557)'), GeomFromEWKT('SRID=4674;POINT (-39.691711 -2.673585)'))) / (select extract(epoch from '2026-07-24 15:22:43'::timestamp) - extract(epoch from '2026-07-24 15:22:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.691637 -2.673654)', '2026-07-24 15:22:48', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691711 -2.673585)'), GeomFromEWKT('SRID=4674;POINT (-39.691637 -2.673654)'))) / (select extract(epoch from '2026-07-24 15:22:48'::timestamp) - extract(epoch from '2026-07-24 15:22:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691711 -2.673585)'), GeomFromEWKT('SRID=4674;POINT (-39.691637 -2.673654)'))) / (select extract(epoch from '2026-07-24 15:22:48'::timestamp) - extract(epoch from '2026-07-24 15:22:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.691631 -2.673673)', '2026-07-24 15:22:49', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691637 -2.673654)'), GeomFromEWKT('SRID=4674;POINT (-39.691631 -2.673673)'))) / (select extract(epoch from '2026-07-24 15:22:49'::timestamp) - extract(epoch from '2026-07-24 15:22:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691637 -2.673654)'), GeomFromEWKT('SRID=4674;POINT (-39.691631 -2.673673)'))) / (select extract(epoch from '2026-07-24 15:22:49'::timestamp) - extract(epoch from '2026-07-24 15:22:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.691579 -2.673734)', '2026-07-24 15:22:54', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691631 -2.673673)'), GeomFromEWKT('SRID=4674;POINT (-39.691579 -2.673734)'))) / (select extract(epoch from '2026-07-24 15:22:54'::timestamp) - extract(epoch from '2026-07-24 15:22:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691631 -2.673673)'), GeomFromEWKT('SRID=4674;POINT (-39.691579 -2.673734)'))) / (select extract(epoch from '2026-07-24 15:22:54'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.691515 -2.673794)', '2026-07-24 15:22:59', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691579 -2.673734)'), GeomFromEWKT('SRID=4674;POINT (-39.691515 -2.673794)'))) / (select extract(epoch from '2026-07-24 15:22:59'::timestamp) - extract(epoch from '2026-07-24 15:22:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691579 -2.673734)'), GeomFromEWKT('SRID=4674;POINT (-39.691515 -2.673794)'))) / (select extract(epoch from '2026-07-24 15:22:59'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.691455 -2.673845)', '2026-07-24 15:23:04', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691515 -2.673794)'), GeomFromEWKT('SRID=4674;POINT (-39.691455 -2.673845)'))) / (select extract(epoch from '2026-07-24 15:23:04'::timestamp) - extract(epoch from '2026-07-24 15:22:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691515 -2.673794)'), GeomFromEWKT('SRID=4674;POINT (-39.691455 -2.673845)'))) / (select extract(epoch from '2026-07-24 15:23:04'::timestamp) - extract(epoch from '2026-07-24 15:22: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'), 47870, 'SRID=4674;POINT (-39.691369 -2.673887)', '2026-07-24 15:23:09', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691455 -2.673845)'), GeomFromEWKT('SRID=4674;POINT (-39.691369 -2.673887)'))) / (select extract(epoch from '2026-07-24 15:23:09'::timestamp) - extract(epoch from '2026-07-24 15:23:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691455 -2.673845)'), GeomFromEWKT('SRID=4674;POINT (-39.691369 -2.673887)'))) / (select extract(epoch from '2026-07-24 15:23:09'::timestamp) - extract(epoch from '2026-07-24 15:23: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'), 47870, 'SRID=4674;POINT (-39.691283 -2.673925)', '2026-07-24 15:23:14', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691369 -2.673887)'), GeomFromEWKT('SRID=4674;POINT (-39.691283 -2.673925)'))) / (select extract(epoch from '2026-07-24 15:23:14'::timestamp) - extract(epoch from '2026-07-24 15:23:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691369 -2.673887)'), GeomFromEWKT('SRID=4674;POINT (-39.691283 -2.673925)'))) / (select extract(epoch from '2026-07-24 15:23:14'::timestamp) - extract(epoch from '2026-07-24 15:23:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.691161 -2.674003)', '2026-07-24 15:23:22', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691283 -2.673925)'), GeomFromEWKT('SRID=4674;POINT (-39.691161 -2.674003)'))) / (select extract(epoch from '2026-07-24 15:23:22'::timestamp) - extract(epoch from '2026-07-24 15:23:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691283 -2.673925)'), GeomFromEWKT('SRID=4674;POINT (-39.691161 -2.674003)'))) / (select extract(epoch from '2026-07-24 15:23:22'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.691087 -2.674087)', '2026-07-24 15:23:28', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691161 -2.674003)'), GeomFromEWKT('SRID=4674;POINT (-39.691087 -2.674087)'))) / (select extract(epoch from '2026-07-24 15:23:28'::timestamp) - extract(epoch from '2026-07-24 15:23:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691161 -2.674003)'), GeomFromEWKT('SRID=4674;POINT (-39.691087 -2.674087)'))) / (select extract(epoch from '2026-07-24 15:23:28'::timestamp) - extract(epoch from '2026-07-24 15:23: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'), 47870, 'SRID=4674;POINT (-39.691041 -2.67413)', '2026-07-24 15:23:31', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691087 -2.674087)'), GeomFromEWKT('SRID=4674;POINT (-39.691041 -2.67413)'))) / (select extract(epoch from '2026-07-24 15:23:31'::timestamp) - extract(epoch from '2026-07-24 15:23:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691087 -2.674087)'), GeomFromEWKT('SRID=4674;POINT (-39.691041 -2.67413)'))) / (select extract(epoch from '2026-07-24 15:23:31'::timestamp) - extract(epoch from '2026-07-24 15:23: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'), 47870, 'SRID=4674;POINT (-39.691033 -2.674145)', '2026-07-24 15:23:32', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691041 -2.67413)'), GeomFromEWKT('SRID=4674;POINT (-39.691033 -2.674145)'))) / (select extract(epoch from '2026-07-24 15:23:32'::timestamp) - extract(epoch from '2026-07-24 15:23:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691041 -2.67413)'), GeomFromEWKT('SRID=4674;POINT (-39.691033 -2.674145)'))) / (select extract(epoch from '2026-07-24 15:23:32'::timestamp) - extract(epoch from '2026-07-24 15:23: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'), 47870, 'SRID=4674;POINT (-39.690979 -2.674213)', '2026-07-24 15:23:37', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691033 -2.674145)'), GeomFromEWKT('SRID=4674;POINT (-39.690979 -2.674213)'))) / (select extract(epoch from '2026-07-24 15:23:37'::timestamp) - extract(epoch from '2026-07-24 15:23:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691033 -2.674145)'), GeomFromEWKT('SRID=4674;POINT (-39.690979 -2.674213)'))) / (select extract(epoch from '2026-07-24 15:23:37'::timestamp) - extract(epoch from '2026-07-24 15:23: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'), 47870, 'SRID=4674;POINT (-39.690905 -2.674306)', '2026-07-24 15:23:43', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690979 -2.674213)'), GeomFromEWKT('SRID=4674;POINT (-39.690905 -2.674306)'))) / (select extract(epoch from '2026-07-24 15:23:43'::timestamp) - extract(epoch from '2026-07-24 15:23:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690979 -2.674213)'), GeomFromEWKT('SRID=4674;POINT (-39.690905 -2.674306)'))) / (select extract(epoch from '2026-07-24 15:23:43'::timestamp) - extract(epoch from '2026-07-24 15:23: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'), 47870, 'SRID=4674;POINT (-39.690849 -2.674383)', '2026-07-24 15:23:48', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690905 -2.674306)'), GeomFromEWKT('SRID=4674;POINT (-39.690849 -2.674383)'))) / (select extract(epoch from '2026-07-24 15:23:48'::timestamp) - extract(epoch from '2026-07-24 15:23:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690905 -2.674306)'), GeomFromEWKT('SRID=4674;POINT (-39.690849 -2.674383)'))) / (select extract(epoch from '2026-07-24 15:23:48'::timestamp) - extract(epoch from '2026-07-24 15:23: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'), 47870, 'SRID=4674;POINT (-39.69079 -2.674437)', '2026-07-24 15:23:53', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690849 -2.674383)'), GeomFromEWKT('SRID=4674;POINT (-39.69079 -2.674437)'))) / (select extract(epoch from '2026-07-24 15:23:53'::timestamp) - extract(epoch from '2026-07-24 15:23:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690849 -2.674383)'), GeomFromEWKT('SRID=4674;POINT (-39.69079 -2.674437)'))) / (select extract(epoch from '2026-07-24 15:23:53'::timestamp) - extract(epoch from '2026-07-24 15:23: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'), 47870, 'SRID=4674;POINT (-39.690747 -2.674463)', '2026-07-24 15:23:56', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69079 -2.674437)'), GeomFromEWKT('SRID=4674;POINT (-39.690747 -2.674463)'))) / (select extract(epoch from '2026-07-24 15:23:56'::timestamp) - extract(epoch from '2026-07-24 15:23:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69079 -2.674437)'), GeomFromEWKT('SRID=4674;POINT (-39.690747 -2.674463)'))) / (select extract(epoch from '2026-07-24 15:23:56'::timestamp) - extract(epoch from '2026-07-24 15:23: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'), 47870, 'SRID=4674;POINT (-39.69073 -2.674467)', '2026-07-24 15:23:57', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690747 -2.674463)'), GeomFromEWKT('SRID=4674;POINT (-39.69073 -2.674467)'))) / (select extract(epoch from '2026-07-24 15:23:57'::timestamp) - extract(epoch from '2026-07-24 15:23:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690747 -2.674463)'), GeomFromEWKT('SRID=4674;POINT (-39.69073 -2.674467)'))) / (select extract(epoch from '2026-07-24 15:23:57'::timestamp) - extract(epoch from '2026-07-24 15:23: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'), 47870, 'SRID=4674;POINT (-39.690624 -2.674506)', '2026-07-24 15:24:04', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69073 -2.674467)'), GeomFromEWKT('SRID=4674;POINT (-39.690624 -2.674506)'))) / (select extract(epoch from '2026-07-24 15:24:04'::timestamp) - extract(epoch from '2026-07-24 15:23:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69073 -2.674467)'), GeomFromEWKT('SRID=4674;POINT (-39.690624 -2.674506)'))) / (select extract(epoch from '2026-07-24 15:24:04'::timestamp) - extract(epoch from '2026-07-24 15:23: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'), 47870, 'SRID=4674;POINT (-39.69054 -2.674507)', '2026-07-24 15:24:09', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690624 -2.674506)'), GeomFromEWKT('SRID=4674;POINT (-39.69054 -2.674507)'))) / (select extract(epoch from '2026-07-24 15:24:09'::timestamp) - extract(epoch from '2026-07-24 15:24:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690624 -2.674506)'), GeomFromEWKT('SRID=4674;POINT (-39.69054 -2.674507)'))) / (select extract(epoch from '2026-07-24 15:24:09'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.690441 -2.674486)', '2026-07-24 15:24:15', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69054 -2.674507)'), GeomFromEWKT('SRID=4674;POINT (-39.690441 -2.674486)'))) / (select extract(epoch from '2026-07-24 15:24:15'::timestamp) - extract(epoch from '2026-07-24 15:24:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69054 -2.674507)'), GeomFromEWKT('SRID=4674;POINT (-39.690441 -2.674486)'))) / (select extract(epoch from '2026-07-24 15:24:15'::timestamp) - extract(epoch from '2026-07-24 15:24: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'), 47870, 'SRID=4674;POINT (-39.690317 -2.674478)', '2026-07-24 15:24:22', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690441 -2.674486)'), GeomFromEWKT('SRID=4674;POINT (-39.690317 -2.674478)'))) / (select extract(epoch from '2026-07-24 15:24:22'::timestamp) - extract(epoch from '2026-07-24 15:24:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690441 -2.674486)'), GeomFromEWKT('SRID=4674;POINT (-39.690317 -2.674478)'))) / (select extract(epoch from '2026-07-24 15:24:22'::timestamp) - extract(epoch from '2026-07-24 15:24:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.690202 -2.674512)', '2026-07-24 15:24:29', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690317 -2.674478)'), GeomFromEWKT('SRID=4674;POINT (-39.690202 -2.674512)'))) / (select extract(epoch from '2026-07-24 15:24:29'::timestamp) - extract(epoch from '2026-07-24 15:24:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690317 -2.674478)'), GeomFromEWKT('SRID=4674;POINT (-39.690202 -2.674512)'))) / (select extract(epoch from '2026-07-24 15:24:29'::timestamp) - extract(epoch from '2026-07-24 15:24:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.690115 -2.67453)', '2026-07-24 15:24:35', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690202 -2.674512)'), GeomFromEWKT('SRID=4674;POINT (-39.690115 -2.67453)'))) / (select extract(epoch from '2026-07-24 15:24:35'::timestamp) - extract(epoch from '2026-07-24 15:24:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690202 -2.674512)'), GeomFromEWKT('SRID=4674;POINT (-39.690115 -2.67453)'))) / (select extract(epoch from '2026-07-24 15:24:35'::timestamp) - extract(epoch from '2026-07-24 15:24:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.690016 -2.674524)', '2026-07-24 15:24:41', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690115 -2.67453)'), GeomFromEWKT('SRID=4674;POINT (-39.690016 -2.674524)'))) / (select extract(epoch from '2026-07-24 15:24:41'::timestamp) - extract(epoch from '2026-07-24 15:24:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690115 -2.67453)'), GeomFromEWKT('SRID=4674;POINT (-39.690016 -2.674524)'))) / (select extract(epoch from '2026-07-24 15:24:41'::timestamp) - extract(epoch from '2026-07-24 15:24: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'), 47870, 'SRID=4674;POINT (-39.689954 -2.674504)', '2026-07-24 15:24:45', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690016 -2.674524)'), GeomFromEWKT('SRID=4674;POINT (-39.689954 -2.674504)'))) / (select extract(epoch from '2026-07-24 15:24:45'::timestamp) - extract(epoch from '2026-07-24 15:24:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690016 -2.674524)'), GeomFromEWKT('SRID=4674;POINT (-39.689954 -2.674504)'))) / (select extract(epoch from '2026-07-24 15:24:45'::timestamp) - extract(epoch from '2026-07-24 15:24: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'), 47870, 'SRID=4674;POINT (-39.689905 -2.674452)', '2026-07-24 15:24:51', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689954 -2.674504)'), GeomFromEWKT('SRID=4674;POINT (-39.689905 -2.674452)'))) / (select extract(epoch from '2026-07-24 15:24:51'::timestamp) - extract(epoch from '2026-07-24 15:24:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689954 -2.674504)'), GeomFromEWKT('SRID=4674;POINT (-39.689905 -2.674452)'))) / (select extract(epoch from '2026-07-24 15:24:51'::timestamp) - extract(epoch from '2026-07-24 15:24:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.689892 -2.674395)', '2026-07-24 15:24:57', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689905 -2.674452)'), GeomFromEWKT('SRID=4674;POINT (-39.689892 -2.674395)'))) / (select extract(epoch from '2026-07-24 15:24:57'::timestamp) - extract(epoch from '2026-07-24 15:24:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689905 -2.674452)'), GeomFromEWKT('SRID=4674;POINT (-39.689892 -2.674395)'))) / (select extract(epoch from '2026-07-24 15:24:57'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.689888 -2.674386)', '2026-07-24 15:24:58', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689892 -2.674395)'), GeomFromEWKT('SRID=4674;POINT (-39.689888 -2.674386)'))) / (select extract(epoch from '2026-07-24 15:24:58'::timestamp) - extract(epoch from '2026-07-24 15:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689892 -2.674395)'), GeomFromEWKT('SRID=4674;POINT (-39.689888 -2.674386)'))) / (select extract(epoch from '2026-07-24 15:24:58'::timestamp) - extract(epoch from '2026-07-24 15:24:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.68989 -2.674378)', '2026-07-24 15:24:59', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689888 -2.674386)'), GeomFromEWKT('SRID=4674;POINT (-39.68989 -2.674378)'))) / (select extract(epoch from '2026-07-24 15:24:59'::timestamp) - extract(epoch from '2026-07-24 15:24:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689888 -2.674386)'), GeomFromEWKT('SRID=4674;POINT (-39.68989 -2.674378)'))) / (select extract(epoch from '2026-07-24 15:24:59'::timestamp) - extract(epoch from '2026-07-24 15:24: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'), 47870, 'SRID=4674;POINT (-39.689891 -2.674348)', '2026-07-24 15:25:03', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68989 -2.674378)'), GeomFromEWKT('SRID=4674;POINT (-39.689891 -2.674348)'))) / (select extract(epoch from '2026-07-24 15:25:03'::timestamp) - extract(epoch from '2026-07-24 15:24:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68989 -2.674378)'), GeomFromEWKT('SRID=4674;POINT (-39.689891 -2.674348)'))) / (select extract(epoch from '2026-07-24 15:25:03'::timestamp) - extract(epoch from '2026-07-24 15:24: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'), 47870, 'SRID=4674;POINT (-39.689883 -2.674294)', '2026-07-24 15:25:11', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689891 -2.674348)'), GeomFromEWKT('SRID=4674;POINT (-39.689883 -2.674294)'))) / (select extract(epoch from '2026-07-24 15:25:11'::timestamp) - extract(epoch from '2026-07-24 15:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689891 -2.674348)'), GeomFromEWKT('SRID=4674;POINT (-39.689883 -2.674294)'))) / (select extract(epoch from '2026-07-24 15:25:11'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.689889 -2.674285)', '2026-07-24 15:25:14', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689883 -2.674294)'), GeomFromEWKT('SRID=4674;POINT (-39.689889 -2.674285)'))) / (select extract(epoch from '2026-07-24 15:25:14'::timestamp) - extract(epoch from '2026-07-24 15:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689883 -2.674294)'), GeomFromEWKT('SRID=4674;POINT (-39.689889 -2.674285)'))) / (select extract(epoch from '2026-07-24 15:25:14'::timestamp) - extract(epoch from '2026-07-24 15:25: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'), 47870, 'SRID=4674;POINT (-39.689897 -2.674278)', '2026-07-24 15:25:17', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689889 -2.674285)'), GeomFromEWKT('SRID=4674;POINT (-39.689897 -2.674278)'))) / (select extract(epoch from '2026-07-24 15:25:17'::timestamp) - extract(epoch from '2026-07-24 15:25:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689889 -2.674285)'), GeomFromEWKT('SRID=4674;POINT (-39.689897 -2.674278)'))) / (select extract(epoch from '2026-07-24 15:25:17'::timestamp) - extract(epoch from '2026-07-24 15:25: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'), 47870, 'SRID=4674;POINT (-39.689921 -2.674263)', '2026-07-24 15:25:31', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689897 -2.674278)'), GeomFromEWKT('SRID=4674;POINT (-39.689921 -2.674263)'))) / (select extract(epoch from '2026-07-24 15:25:31'::timestamp) - extract(epoch from '2026-07-24 15:25:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689897 -2.674278)'), GeomFromEWKT('SRID=4674;POINT (-39.689921 -2.674263)'))) / (select extract(epoch from '2026-07-24 15:25:31'::timestamp) - extract(epoch from '2026-07-24 15:25: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'), 47870, 'SRID=4674;POINT (-39.689956 -2.674251)', '2026-07-24 15:25:49', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689921 -2.674263)'), GeomFromEWKT('SRID=4674;POINT (-39.689956 -2.674251)'))) / (select extract(epoch from '2026-07-24 15:25:49'::timestamp) - extract(epoch from '2026-07-24 15:25:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689921 -2.674263)'), GeomFromEWKT('SRID=4674;POINT (-39.689956 -2.674251)'))) / (select extract(epoch from '2026-07-24 15:25:49'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.690004 -2.674232)', '2026-07-24 15:25:58', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689956 -2.674251)'), GeomFromEWKT('SRID=4674;POINT (-39.690004 -2.674232)'))) / (select extract(epoch from '2026-07-24 15:25:58'::timestamp) - extract(epoch from '2026-07-24 15:25:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689956 -2.674251)'), GeomFromEWKT('SRID=4674;POINT (-39.690004 -2.674232)'))) / (select extract(epoch from '2026-07-24 15:25:58'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.690021 -2.674227)', '2026-07-24 15:26:04', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690004 -2.674232)'), GeomFromEWKT('SRID=4674;POINT (-39.690021 -2.674227)'))) / (select extract(epoch from '2026-07-24 15:26:04'::timestamp) - extract(epoch from '2026-07-24 15:25:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690004 -2.674232)'), GeomFromEWKT('SRID=4674;POINT (-39.690021 -2.674227)'))) / (select extract(epoch from '2026-07-24 15:26:04'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.690062 -2.67422)', '2026-07-24 15:26:12', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690021 -2.674227)'), GeomFromEWKT('SRID=4674;POINT (-39.690062 -2.67422)'))) / (select extract(epoch from '2026-07-24 15:26:12'::timestamp) - extract(epoch from '2026-07-24 15:26:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690021 -2.674227)'), GeomFromEWKT('SRID=4674;POINT (-39.690062 -2.67422)'))) / (select extract(epoch from '2026-07-24 15:26:12'::timestamp) - extract(epoch from '2026-07-24 15:26: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'), 47870, 'SRID=4674;POINT (-39.690104 -2.674209)', '2026-07-24 15:26:18', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690062 -2.67422)'), GeomFromEWKT('SRID=4674;POINT (-39.690104 -2.674209)'))) / (select extract(epoch from '2026-07-24 15:26:18'::timestamp) - extract(epoch from '2026-07-24 15:26:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690062 -2.67422)'), GeomFromEWKT('SRID=4674;POINT (-39.690104 -2.674209)'))) / (select extract(epoch from '2026-07-24 15:26:18'::timestamp) - extract(epoch from '2026-07-24 15:26:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69016 -2.674202)', '2026-07-24 15:26:27', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690104 -2.674209)'), GeomFromEWKT('SRID=4674;POINT (-39.69016 -2.674202)'))) / (select extract(epoch from '2026-07-24 15:26:27'::timestamp) - extract(epoch from '2026-07-24 15:26:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690104 -2.674209)'), GeomFromEWKT('SRID=4674;POINT (-39.69016 -2.674202)'))) / (select extract(epoch from '2026-07-24 15:26:27'::timestamp) - extract(epoch from '2026-07-24 15:26: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'), 47870, 'SRID=4674;POINT (-39.690191 -2.674192)', '2026-07-24 15:26:34', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69016 -2.674202)'), GeomFromEWKT('SRID=4674;POINT (-39.690191 -2.674192)'))) / (select extract(epoch from '2026-07-24 15:26:34'::timestamp) - extract(epoch from '2026-07-24 15:26:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69016 -2.674202)'), GeomFromEWKT('SRID=4674;POINT (-39.690191 -2.674192)'))) / (select extract(epoch from '2026-07-24 15:26:34'::timestamp) - extract(epoch from '2026-07-24 15:26: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'), 47870, 'SRID=4674;POINT (-39.69024 -2.674183)', '2026-07-24 15:26:41', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690191 -2.674192)'), GeomFromEWKT('SRID=4674;POINT (-39.69024 -2.674183)'))) / (select extract(epoch from '2026-07-24 15:26:41'::timestamp) - extract(epoch from '2026-07-24 15:26:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690191 -2.674192)'), GeomFromEWKT('SRID=4674;POINT (-39.69024 -2.674183)'))) / (select extract(epoch from '2026-07-24 15:26:41'::timestamp) - extract(epoch from '2026-07-24 15:26: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'), 47870, 'SRID=4674;POINT (-39.690288 -2.674173)', '2026-07-24 15:26:50', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69024 -2.674183)'), GeomFromEWKT('SRID=4674;POINT (-39.690288 -2.674173)'))) / (select extract(epoch from '2026-07-24 15:26:50'::timestamp) - extract(epoch from '2026-07-24 15:26:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69024 -2.674183)'), GeomFromEWKT('SRID=4674;POINT (-39.690288 -2.674173)'))) / (select extract(epoch from '2026-07-24 15:26:50'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.690347 -2.674158)', '2026-07-24 15:27:01', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690288 -2.674173)'), GeomFromEWKT('SRID=4674;POINT (-39.690347 -2.674158)'))) / (select extract(epoch from '2026-07-24 15:27:01'::timestamp) - extract(epoch from '2026-07-24 15:26:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690288 -2.674173)'), GeomFromEWKT('SRID=4674;POINT (-39.690347 -2.674158)'))) / (select extract(epoch from '2026-07-24 15:27:01'::timestamp) - extract(epoch from '2026-07-24 15:26: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'), 47870, 'SRID=4674;POINT (-39.690368 -2.674155)', '2026-07-24 15:27:11', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690347 -2.674158)'), GeomFromEWKT('SRID=4674;POINT (-39.690368 -2.674155)'))) / (select extract(epoch from '2026-07-24 15:27:11'::timestamp) - extract(epoch from '2026-07-24 15:27:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690347 -2.674158)'), GeomFromEWKT('SRID=4674;POINT (-39.690368 -2.674155)'))) / (select extract(epoch from '2026-07-24 15:27:11'::timestamp) - extract(epoch from '2026-07-24 15:27: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'), 47870, 'SRID=4674;POINT (-39.690394 -2.674132)', '2026-07-24 15:27:20', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690368 -2.674155)'), GeomFromEWKT('SRID=4674;POINT (-39.690394 -2.674132)'))) / (select extract(epoch from '2026-07-24 15:27:20'::timestamp) - extract(epoch from '2026-07-24 15:27:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690368 -2.674155)'), GeomFromEWKT('SRID=4674;POINT (-39.690394 -2.674132)'))) / (select extract(epoch from '2026-07-24 15:27:20'::timestamp) - extract(epoch from '2026-07-24 15:27:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69042 -2.674096)', '2026-07-24 15:27:27', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690394 -2.674132)'), GeomFromEWKT('SRID=4674;POINT (-39.69042 -2.674096)'))) / (select extract(epoch from '2026-07-24 15:27:27'::timestamp) - extract(epoch from '2026-07-24 15:27:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690394 -2.674132)'), GeomFromEWKT('SRID=4674;POINT (-39.69042 -2.674096)'))) / (select extract(epoch from '2026-07-24 15:27:27'::timestamp) - extract(epoch from '2026-07-24 15:27: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'), 47870, 'SRID=4674;POINT (-39.690481 -2.674052)', '2026-07-24 15:27:37', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69042 -2.674096)'), GeomFromEWKT('SRID=4674;POINT (-39.690481 -2.674052)'))) / (select extract(epoch from '2026-07-24 15:27:37'::timestamp) - extract(epoch from '2026-07-24 15:27:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69042 -2.674096)'), GeomFromEWKT('SRID=4674;POINT (-39.690481 -2.674052)'))) / (select extract(epoch from '2026-07-24 15:27:37'::timestamp) - extract(epoch from '2026-07-24 15:27:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.690505 -2.673976)', '2026-07-24 15:27:46', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690481 -2.674052)'), GeomFromEWKT('SRID=4674;POINT (-39.690505 -2.673976)'))) / (select extract(epoch from '2026-07-24 15:27:46'::timestamp) - extract(epoch from '2026-07-24 15:27:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690481 -2.674052)'), GeomFromEWKT('SRID=4674;POINT (-39.690505 -2.673976)'))) / (select extract(epoch from '2026-07-24 15:27:46'::timestamp) - extract(epoch from '2026-07-24 15:27:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.690503 -2.673968)', '2026-07-24 15:27:47', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690505 -2.673976)'), GeomFromEWKT('SRID=4674;POINT (-39.690503 -2.673968)'))) / (select extract(epoch from '2026-07-24 15:27:47'::timestamp) - extract(epoch from '2026-07-24 15:27:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690505 -2.673976)'), GeomFromEWKT('SRID=4674;POINT (-39.690503 -2.673968)'))) / (select extract(epoch from '2026-07-24 15:27:47'::timestamp) - extract(epoch from '2026-07-24 15:27: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'), 47870, 'SRID=4674;POINT (-39.690489 -2.673907)', '2026-07-24 15:27:57', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690503 -2.673968)'), GeomFromEWKT('SRID=4674;POINT (-39.690489 -2.673907)'))) / (select extract(epoch from '2026-07-24 15:27:57'::timestamp) - extract(epoch from '2026-07-24 15:27:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690503 -2.673968)'), GeomFromEWKT('SRID=4674;POINT (-39.690489 -2.673907)'))) / (select extract(epoch from '2026-07-24 15:27:57'::timestamp) - extract(epoch from '2026-07-24 15:27: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'), 47870, 'SRID=4674;POINT (-39.6905 -2.673896)', '2026-07-24 15:28:06', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690489 -2.673907)'), GeomFromEWKT('SRID=4674;POINT (-39.6905 -2.673896)'))) / (select extract(epoch from '2026-07-24 15:28:06'::timestamp) - extract(epoch from '2026-07-24 15:27:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690489 -2.673907)'), GeomFromEWKT('SRID=4674;POINT (-39.6905 -2.673896)'))) / (select extract(epoch from '2026-07-24 15:28:06'::timestamp) - extract(epoch from '2026-07-24 15:27:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.690532 -2.673879)', '2026-07-24 15:28:13', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6905 -2.673896)'), GeomFromEWKT('SRID=4674;POINT (-39.690532 -2.673879)'))) / (select extract(epoch from '2026-07-24 15:28:13'::timestamp) - extract(epoch from '2026-07-24 15:28:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6905 -2.673896)'), GeomFromEWKT('SRID=4674;POINT (-39.690532 -2.673879)'))) / (select extract(epoch from '2026-07-24 15:28:13'::timestamp) - extract(epoch from '2026-07-24 15:28:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69055 -2.673881)', '2026-07-24 15:28:17', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690532 -2.673879)'), GeomFromEWKT('SRID=4674;POINT (-39.69055 -2.673881)'))) / (select extract(epoch from '2026-07-24 15:28:17'::timestamp) - extract(epoch from '2026-07-24 15:28:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690532 -2.673879)'), GeomFromEWKT('SRID=4674;POINT (-39.69055 -2.673881)'))) / (select extract(epoch from '2026-07-24 15:28:17'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.690549 -2.673876)', '2026-07-24 15:28:30', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69055 -2.673881)'), GeomFromEWKT('SRID=4674;POINT (-39.690549 -2.673876)'))) / (select extract(epoch from '2026-07-24 15:28:30'::timestamp) - extract(epoch from '2026-07-24 15:28:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69055 -2.673881)'), GeomFromEWKT('SRID=4674;POINT (-39.690549 -2.673876)'))) / (select extract(epoch from '2026-07-24 15:28:30'::timestamp) - extract(epoch from '2026-07-24 15:28:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.690562 -2.673837)', '2026-07-24 15:28:41', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690549 -2.673876)'), GeomFromEWKT('SRID=4674;POINT (-39.690562 -2.673837)'))) / (select extract(epoch from '2026-07-24 15:28:41'::timestamp) - extract(epoch from '2026-07-24 15:28:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690549 -2.673876)'), GeomFromEWKT('SRID=4674;POINT (-39.690562 -2.673837)'))) / (select extract(epoch from '2026-07-24 15:28:41'::timestamp) - extract(epoch from '2026-07-24 15:28: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'), 47870, 'SRID=4674;POINT (-39.690547 -2.673776)', '2026-07-24 15:28:55', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690562 -2.673837)'), GeomFromEWKT('SRID=4674;POINT (-39.690547 -2.673776)'))) / (select extract(epoch from '2026-07-24 15:28:55'::timestamp) - extract(epoch from '2026-07-24 15:28:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690562 -2.673837)'), GeomFromEWKT('SRID=4674;POINT (-39.690547 -2.673776)'))) / (select extract(epoch from '2026-07-24 15:28:55'::timestamp) - extract(epoch from '2026-07-24 15:28: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'), 47870, 'SRID=4674;POINT (-39.690454 -2.673773)', '2026-07-24 15:29:06', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690547 -2.673776)'), GeomFromEWKT('SRID=4674;POINT (-39.690454 -2.673773)'))) / (select extract(epoch from '2026-07-24 15:29:06'::timestamp) - extract(epoch from '2026-07-24 15:28:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690547 -2.673776)'), GeomFromEWKT('SRID=4674;POINT (-39.690454 -2.673773)'))) / (select extract(epoch from '2026-07-24 15:29:06'::timestamp) - extract(epoch from '2026-07-24 15:28: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'), 47870, 'SRID=4674;POINT (-39.6904 -2.673809)', '2026-07-24 15:29:12', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690454 -2.673773)'), GeomFromEWKT('SRID=4674;POINT (-39.6904 -2.673809)'))) / (select extract(epoch from '2026-07-24 15:29:12'::timestamp) - extract(epoch from '2026-07-24 15:29:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690454 -2.673773)'), GeomFromEWKT('SRID=4674;POINT (-39.6904 -2.673809)'))) / (select extract(epoch from '2026-07-24 15:29:12'::timestamp) - extract(epoch from '2026-07-24 15:29: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'), 47870, 'SRID=4674;POINT (-39.69031 -2.673849)', '2026-07-24 15:29:20', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6904 -2.673809)'), GeomFromEWKT('SRID=4674;POINT (-39.69031 -2.673849)'))) / (select extract(epoch from '2026-07-24 15:29:20'::timestamp) - extract(epoch from '2026-07-24 15:29:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6904 -2.673809)'), GeomFromEWKT('SRID=4674;POINT (-39.69031 -2.673849)'))) / (select extract(epoch from '2026-07-24 15:29:20'::timestamp) - extract(epoch from '2026-07-24 15:29: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'), 47870, 'SRID=4674;POINT (-39.69021 -2.67388)', '2026-07-24 15:29:27', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69031 -2.673849)'), GeomFromEWKT('SRID=4674;POINT (-39.69021 -2.67388)'))) / (select extract(epoch from '2026-07-24 15:29:27'::timestamp) - extract(epoch from '2026-07-24 15:29:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69031 -2.673849)'), GeomFromEWKT('SRID=4674;POINT (-39.69021 -2.67388)'))) / (select extract(epoch from '2026-07-24 15:29:27'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.690127 -2.673939)', '2026-07-24 15:29:34', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69021 -2.67388)'), GeomFromEWKT('SRID=4674;POINT (-39.690127 -2.673939)'))) / (select extract(epoch from '2026-07-24 15:29:34'::timestamp) - extract(epoch from '2026-07-24 15:29:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69021 -2.67388)'), GeomFromEWKT('SRID=4674;POINT (-39.690127 -2.673939)'))) / (select extract(epoch from '2026-07-24 15:29:34'::timestamp) - extract(epoch from '2026-07-24 15:29: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'), 47870, 'SRID=4674;POINT (-39.690108 -2.673959)', '2026-07-24 15:29:36', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690127 -2.673939)'), GeomFromEWKT('SRID=4674;POINT (-39.690108 -2.673959)'))) / (select extract(epoch from '2026-07-24 15:29:36'::timestamp) - extract(epoch from '2026-07-24 15:29:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690127 -2.673939)'), GeomFromEWKT('SRID=4674;POINT (-39.690108 -2.673959)'))) / (select extract(epoch from '2026-07-24 15:29:36'::timestamp) - extract(epoch from '2026-07-24 15:29: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'), 47870, 'SRID=4674;POINT (-39.690049 -2.673996)', '2026-07-24 15:29:40', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690108 -2.673959)'), GeomFromEWKT('SRID=4674;POINT (-39.690049 -2.673996)'))) / (select extract(epoch from '2026-07-24 15:29:40'::timestamp) - extract(epoch from '2026-07-24 15:29:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690108 -2.673959)'), GeomFromEWKT('SRID=4674;POINT (-39.690049 -2.673996)'))) / (select extract(epoch from '2026-07-24 15:29:40'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.689986 -2.673998)', '2026-07-24 15:29:45', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690049 -2.673996)'), GeomFromEWKT('SRID=4674;POINT (-39.689986 -2.673998)'))) / (select extract(epoch from '2026-07-24 15:29:45'::timestamp) - extract(epoch from '2026-07-24 15:29:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690049 -2.673996)'), GeomFromEWKT('SRID=4674;POINT (-39.689986 -2.673998)'))) / (select extract(epoch from '2026-07-24 15:29:45'::timestamp) - extract(epoch from '2026-07-24 15:29:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.689891 -2.67397)', '2026-07-24 15:29:52', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689986 -2.673998)'), GeomFromEWKT('SRID=4674;POINT (-39.689891 -2.67397)'))) / (select extract(epoch from '2026-07-24 15:29:52'::timestamp) - extract(epoch from '2026-07-24 15:29:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689986 -2.673998)'), GeomFromEWKT('SRID=4674;POINT (-39.689891 -2.67397)'))) / (select extract(epoch from '2026-07-24 15:29:52'::timestamp) - extract(epoch from '2026-07-24 15:29: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'), 47870, 'SRID=4674;POINT (-39.689825 -2.673992)', '2026-07-24 15:29:58', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689891 -2.67397)'), GeomFromEWKT('SRID=4674;POINT (-39.689825 -2.673992)'))) / (select extract(epoch from '2026-07-24 15:29:58'::timestamp) - extract(epoch from '2026-07-24 15:29:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689891 -2.67397)'), GeomFromEWKT('SRID=4674;POINT (-39.689825 -2.673992)'))) / (select extract(epoch from '2026-07-24 15:29:58'::timestamp) - extract(epoch from '2026-07-24 15:29:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.689738 -2.674036)', '2026-07-24 15:30:05', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689825 -2.673992)'), GeomFromEWKT('SRID=4674;POINT (-39.689738 -2.674036)'))) / (select extract(epoch from '2026-07-24 15:30:05'::timestamp) - extract(epoch from '2026-07-24 15:29:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689825 -2.673992)'), GeomFromEWKT('SRID=4674;POINT (-39.689738 -2.674036)'))) / (select extract(epoch from '2026-07-24 15:30:05'::timestamp) - extract(epoch from '2026-07-24 15:29: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'), 47870, 'SRID=4674;POINT (-39.689634 -2.674099)', '2026-07-24 15:30:12', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689738 -2.674036)'), GeomFromEWKT('SRID=4674;POINT (-39.689634 -2.674099)'))) / (select extract(epoch from '2026-07-24 15:30:12'::timestamp) - extract(epoch from '2026-07-24 15:30:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689738 -2.674036)'), GeomFromEWKT('SRID=4674;POINT (-39.689634 -2.674099)'))) / (select extract(epoch from '2026-07-24 15:30:12'::timestamp) - extract(epoch from '2026-07-24 15:30:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.689558 -2.674142)', '2026-07-24 15:30:17', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689634 -2.674099)'), GeomFromEWKT('SRID=4674;POINT (-39.689558 -2.674142)'))) / (select extract(epoch from '2026-07-24 15:30:17'::timestamp) - extract(epoch from '2026-07-24 15:30:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689634 -2.674099)'), GeomFromEWKT('SRID=4674;POINT (-39.689558 -2.674142)'))) / (select extract(epoch from '2026-07-24 15:30:17'::timestamp) - extract(epoch from '2026-07-24 15:30: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'), 47870, 'SRID=4674;POINT (-39.689541 -2.674149)', '2026-07-24 15:30:18', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689558 -2.674142)'), GeomFromEWKT('SRID=4674;POINT (-39.689541 -2.674149)'))) / (select extract(epoch from '2026-07-24 15:30:18'::timestamp) - extract(epoch from '2026-07-24 15:30:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689558 -2.674142)'), GeomFromEWKT('SRID=4674;POINT (-39.689541 -2.674149)'))) / (select extract(epoch from '2026-07-24 15:30:18'::timestamp) - extract(epoch from '2026-07-24 15:30: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'), 47870, 'SRID=4674;POINT (-39.68949 -2.674173)', '2026-07-24 15:30:21', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689541 -2.674149)'), GeomFromEWKT('SRID=4674;POINT (-39.68949 -2.674173)'))) / (select extract(epoch from '2026-07-24 15:30:21'::timestamp) - extract(epoch from '2026-07-24 15:30:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689541 -2.674149)'), GeomFromEWKT('SRID=4674;POINT (-39.68949 -2.674173)'))) / (select extract(epoch from '2026-07-24 15:30:21'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.689406 -2.674201)', '2026-07-24 15:30:27', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68949 -2.674173)'), GeomFromEWKT('SRID=4674;POINT (-39.689406 -2.674201)'))) / (select extract(epoch from '2026-07-24 15:30:27'::timestamp) - extract(epoch from '2026-07-24 15:30:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68949 -2.674173)'), GeomFromEWKT('SRID=4674;POINT (-39.689406 -2.674201)'))) / (select extract(epoch from '2026-07-24 15:30:27'::timestamp) - extract(epoch from '2026-07-24 15:30:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.689298 -2.674252)', '2026-07-24 15:30:35', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689406 -2.674201)'), GeomFromEWKT('SRID=4674;POINT (-39.689298 -2.674252)'))) / (select extract(epoch from '2026-07-24 15:30:35'::timestamp) - extract(epoch from '2026-07-24 15:30:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689406 -2.674201)'), GeomFromEWKT('SRID=4674;POINT (-39.689298 -2.674252)'))) / (select extract(epoch from '2026-07-24 15:30:35'::timestamp) - extract(epoch from '2026-07-24 15:30: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'), 47870, 'SRID=4674;POINT (-39.689207 -2.674302)', '2026-07-24 15:30:41', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689298 -2.674252)'), GeomFromEWKT('SRID=4674;POINT (-39.689207 -2.674302)'))) / (select extract(epoch from '2026-07-24 15:30:41'::timestamp) - extract(epoch from '2026-07-24 15:30:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689298 -2.674252)'), GeomFromEWKT('SRID=4674;POINT (-39.689207 -2.674302)'))) / (select extract(epoch from '2026-07-24 15:30:41'::timestamp) - extract(epoch from '2026-07-24 15:30:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.689076 -2.674362)', '2026-07-24 15:30:49', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689207 -2.674302)'), GeomFromEWKT('SRID=4674;POINT (-39.689076 -2.674362)'))) / (select extract(epoch from '2026-07-24 15:30:49'::timestamp) - extract(epoch from '2026-07-24 15:30:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689207 -2.674302)'), GeomFromEWKT('SRID=4674;POINT (-39.689076 -2.674362)'))) / (select extract(epoch from '2026-07-24 15:30:49'::timestamp) - extract(epoch from '2026-07-24 15:30: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'), 47870, 'SRID=4674;POINT (-39.688975 -2.674392)', '2026-07-24 15:30:55', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689076 -2.674362)'), GeomFromEWKT('SRID=4674;POINT (-39.688975 -2.674392)'))) / (select extract(epoch from '2026-07-24 15:30:55'::timestamp) - extract(epoch from '2026-07-24 15:30:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689076 -2.674362)'), GeomFromEWKT('SRID=4674;POINT (-39.688975 -2.674392)'))) / (select extract(epoch from '2026-07-24 15:30:55'::timestamp) - extract(epoch from '2026-07-24 15:30: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'), 47870, 'SRID=4674;POINT (-39.688873 -2.674418)', '2026-07-24 15:31:01', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688975 -2.674392)'), GeomFromEWKT('SRID=4674;POINT (-39.688873 -2.674418)'))) / (select extract(epoch from '2026-07-24 15:31:01'::timestamp) - extract(epoch from '2026-07-24 15:30:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688975 -2.674392)'), GeomFromEWKT('SRID=4674;POINT (-39.688873 -2.674418)'))) / (select extract(epoch from '2026-07-24 15:31:01'::timestamp) - extract(epoch from '2026-07-24 15:30:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.688757 -2.674429)', '2026-07-24 15:31:08', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688873 -2.674418)'), GeomFromEWKT('SRID=4674;POINT (-39.688757 -2.674429)'))) / (select extract(epoch from '2026-07-24 15:31:08'::timestamp) - extract(epoch from '2026-07-24 15:31:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688873 -2.674418)'), GeomFromEWKT('SRID=4674;POINT (-39.688757 -2.674429)'))) / (select extract(epoch from '2026-07-24 15:31:08'::timestamp) - extract(epoch from '2026-07-24 15:31:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.688704 -2.674414)', '2026-07-24 15:31:15', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688757 -2.674429)'), GeomFromEWKT('SRID=4674;POINT (-39.688704 -2.674414)'))) / (select extract(epoch from '2026-07-24 15:31:15'::timestamp) - extract(epoch from '2026-07-24 15:31:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688757 -2.674429)'), GeomFromEWKT('SRID=4674;POINT (-39.688704 -2.674414)'))) / (select extract(epoch from '2026-07-24 15:31:15'::timestamp) - extract(epoch from '2026-07-24 15:31:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.688676 -2.674341)', '2026-07-24 15:31:27', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688704 -2.674414)'), GeomFromEWKT('SRID=4674;POINT (-39.688676 -2.674341)'))) / (select extract(epoch from '2026-07-24 15:31:27'::timestamp) - extract(epoch from '2026-07-24 15:31:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688704 -2.674414)'), GeomFromEWKT('SRID=4674;POINT (-39.688676 -2.674341)'))) / (select extract(epoch from '2026-07-24 15:31:27'::timestamp) - extract(epoch from '2026-07-24 15:31:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.688675 -2.674291)', '2026-07-24 15:31:38', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688676 -2.674341)'), GeomFromEWKT('SRID=4674;POINT (-39.688675 -2.674291)'))) / (select extract(epoch from '2026-07-24 15:31:38'::timestamp) - extract(epoch from '2026-07-24 15:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688676 -2.674341)'), GeomFromEWKT('SRID=4674;POINT (-39.688675 -2.674291)'))) / (select extract(epoch from '2026-07-24 15:31:38'::timestamp) - extract(epoch from '2026-07-24 15:31: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'), 47870, 'SRID=4674;POINT (-39.688667 -2.674302)', '2026-07-24 15:31:48', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688675 -2.674291)'), GeomFromEWKT('SRID=4674;POINT (-39.688667 -2.674302)'))) / (select extract(epoch from '2026-07-24 15:31:48'::timestamp) - extract(epoch from '2026-07-24 15:31:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688675 -2.674291)'), GeomFromEWKT('SRID=4674;POINT (-39.688667 -2.674302)'))) / (select extract(epoch from '2026-07-24 15:31:48'::timestamp) - extract(epoch from '2026-07-24 15:31:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.688653 -2.674343)', '2026-07-24 15:31:52', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688667 -2.674302)'), GeomFromEWKT('SRID=4674;POINT (-39.688653 -2.674343)'))) / (select extract(epoch from '2026-07-24 15:31:52'::timestamp) - extract(epoch from '2026-07-24 15:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688667 -2.674302)'), GeomFromEWKT('SRID=4674;POINT (-39.688653 -2.674343)'))) / (select extract(epoch from '2026-07-24 15:31:52'::timestamp) - extract(epoch from '2026-07-24 15:31: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'), 47870, 'SRID=4674;POINT (-39.688644 -2.674363)', '2026-07-24 15:31:54', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688653 -2.674343)'), GeomFromEWKT('SRID=4674;POINT (-39.688644 -2.674363)'))) / (select extract(epoch from '2026-07-24 15:31:54'::timestamp) - extract(epoch from '2026-07-24 15:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688653 -2.674343)'), GeomFromEWKT('SRID=4674;POINT (-39.688644 -2.674363)'))) / (select extract(epoch from '2026-07-24 15:31:54'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.688634 -2.674389)', '2026-07-24 15:31:57', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688644 -2.674363)'), GeomFromEWKT('SRID=4674;POINT (-39.688634 -2.674389)'))) / (select extract(epoch from '2026-07-24 15:31:57'::timestamp) - extract(epoch from '2026-07-24 15:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688644 -2.674363)'), GeomFromEWKT('SRID=4674;POINT (-39.688634 -2.674389)'))) / (select extract(epoch from '2026-07-24 15:31:57'::timestamp) - extract(epoch from '2026-07-24 15:31:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.688628 -2.674405)', '2026-07-24 15:31:59', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688634 -2.674389)'), GeomFromEWKT('SRID=4674;POINT (-39.688628 -2.674405)'))) / (select extract(epoch from '2026-07-24 15:31:59'::timestamp) - extract(epoch from '2026-07-24 15:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688634 -2.674389)'), GeomFromEWKT('SRID=4674;POINT (-39.688628 -2.674405)'))) / (select extract(epoch from '2026-07-24 15:31:59'::timestamp) - extract(epoch from '2026-07-24 15:31: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'), 47870, 'SRID=4674;POINT (-39.688635 -2.674457)', '2026-07-24 15:32:07', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688628 -2.674405)'), GeomFromEWKT('SRID=4674;POINT (-39.688635 -2.674457)'))) / (select extract(epoch from '2026-07-24 15:32:07'::timestamp) - extract(epoch from '2026-07-24 15:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688628 -2.674405)'), GeomFromEWKT('SRID=4674;POINT (-39.688635 -2.674457)'))) / (select extract(epoch from '2026-07-24 15:32:07'::timestamp) - extract(epoch from '2026-07-24 15:31:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.68872 -2.674509)', '2026-07-24 15:32:17', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688635 -2.674457)'), GeomFromEWKT('SRID=4674;POINT (-39.68872 -2.674509)'))) / (select extract(epoch from '2026-07-24 15:32:17'::timestamp) - extract(epoch from '2026-07-24 15:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688635 -2.674457)'), GeomFromEWKT('SRID=4674;POINT (-39.68872 -2.674509)'))) / (select extract(epoch from '2026-07-24 15:32:17'::timestamp) - extract(epoch from '2026-07-24 15:32:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.688788 -2.674494)', '2026-07-24 15:32:22', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68872 -2.674509)'), GeomFromEWKT('SRID=4674;POINT (-39.688788 -2.674494)'))) / (select extract(epoch from '2026-07-24 15:32:22'::timestamp) - extract(epoch from '2026-07-24 15:32:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68872 -2.674509)'), GeomFromEWKT('SRID=4674;POINT (-39.688788 -2.674494)'))) / (select extract(epoch from '2026-07-24 15:32:22'::timestamp) - extract(epoch from '2026-07-24 15:32: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'), 47870, 'SRID=4674;POINT (-39.688822 -2.674471)', '2026-07-24 15:32:25', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688788 -2.674494)'), GeomFromEWKT('SRID=4674;POINT (-39.688822 -2.674471)'))) / (select extract(epoch from '2026-07-24 15:32:25'::timestamp) - extract(epoch from '2026-07-24 15:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688788 -2.674494)'), GeomFromEWKT('SRID=4674;POINT (-39.688822 -2.674471)'))) / (select extract(epoch from '2026-07-24 15:32:25'::timestamp) - extract(epoch from '2026-07-24 15:32: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'), 47870, 'SRID=4674;POINT (-39.688846 -2.674442)', '2026-07-24 15:32:28', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688822 -2.674471)'), GeomFromEWKT('SRID=4674;POINT (-39.688846 -2.674442)'))) / (select extract(epoch from '2026-07-24 15:32:28'::timestamp) - extract(epoch from '2026-07-24 15:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688822 -2.674471)'), GeomFromEWKT('SRID=4674;POINT (-39.688846 -2.674442)'))) / (select extract(epoch from '2026-07-24 15:32:28'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.68888 -2.674393)', '2026-07-24 15:32:35', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688846 -2.674442)'), GeomFromEWKT('SRID=4674;POINT (-39.68888 -2.674393)'))) / (select extract(epoch from '2026-07-24 15:32:35'::timestamp) - extract(epoch from '2026-07-24 15:32:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688846 -2.674442)'), GeomFromEWKT('SRID=4674;POINT (-39.68888 -2.674393)'))) / (select extract(epoch from '2026-07-24 15:32:35'::timestamp) - extract(epoch from '2026-07-24 15:32:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.688916 -2.674367)', '2026-07-24 15:32:41', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68888 -2.674393)'), GeomFromEWKT('SRID=4674;POINT (-39.688916 -2.674367)'))) / (select extract(epoch from '2026-07-24 15:32:41'::timestamp) - extract(epoch from '2026-07-24 15:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68888 -2.674393)'), GeomFromEWKT('SRID=4674;POINT (-39.688916 -2.674367)'))) / (select extract(epoch from '2026-07-24 15:32:41'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.688985 -2.674332)', '2026-07-24 15:32:50', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688916 -2.674367)'), GeomFromEWKT('SRID=4674;POINT (-39.688985 -2.674332)'))) / (select extract(epoch from '2026-07-24 15:32:50'::timestamp) - extract(epoch from '2026-07-24 15:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688916 -2.674367)'), GeomFromEWKT('SRID=4674;POINT (-39.688985 -2.674332)'))) / (select extract(epoch from '2026-07-24 15:32:50'::timestamp) - extract(epoch from '2026-07-24 15:32:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.689006 -2.674298)', '2026-07-24 15:32:58', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688985 -2.674332)'), GeomFromEWKT('SRID=4674;POINT (-39.689006 -2.674298)'))) / (select extract(epoch from '2026-07-24 15:32:58'::timestamp) - extract(epoch from '2026-07-24 15:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688985 -2.674332)'), GeomFromEWKT('SRID=4674;POINT (-39.689006 -2.674298)'))) / (select extract(epoch from '2026-07-24 15:32:58'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.689019 -2.674286)', '2026-07-24 15:33:05', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689006 -2.674298)'), GeomFromEWKT('SRID=4674;POINT (-39.689019 -2.674286)'))) / (select extract(epoch from '2026-07-24 15:33:05'::timestamp) - extract(epoch from '2026-07-24 15:32:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689006 -2.674298)'), GeomFromEWKT('SRID=4674;POINT (-39.689019 -2.674286)'))) / (select extract(epoch from '2026-07-24 15:33:05'::timestamp) - extract(epoch from '2026-07-24 15:32: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'), 47870, 'SRID=4674;POINT (-39.689026 -2.674281)', '2026-07-24 15:33:12', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689019 -2.674286)'), GeomFromEWKT('SRID=4674;POINT (-39.689026 -2.674281)'))) / (select extract(epoch from '2026-07-24 15:33:12'::timestamp) - extract(epoch from '2026-07-24 15:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689019 -2.674286)'), GeomFromEWKT('SRID=4674;POINT (-39.689026 -2.674281)'))) / (select extract(epoch from '2026-07-24 15:33:12'::timestamp) - extract(epoch from '2026-07-24 15:33: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'), 47870, 'SRID=4674;POINT (-39.689028 -2.674258)', '2026-07-24 15:33:25', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689026 -2.674281)'), GeomFromEWKT('SRID=4674;POINT (-39.689028 -2.674258)'))) / (select extract(epoch from '2026-07-24 15:33:25'::timestamp) - extract(epoch from '2026-07-24 15:33:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689026 -2.674281)'), GeomFromEWKT('SRID=4674;POINT (-39.689028 -2.674258)'))) / (select extract(epoch from '2026-07-24 15:33:25'::timestamp) - extract(epoch from '2026-07-24 15:33: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'), 47870, 'SRID=4674;POINT (-39.689049 -2.674205)', '2026-07-24 15:33:33', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689028 -2.674258)'), GeomFromEWKT('SRID=4674;POINT (-39.689049 -2.674205)'))) / (select extract(epoch from '2026-07-24 15:33:33'::timestamp) - extract(epoch from '2026-07-24 15:33:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689028 -2.674258)'), GeomFromEWKT('SRID=4674;POINT (-39.689049 -2.674205)'))) / (select extract(epoch from '2026-07-24 15:33:33'::timestamp) - extract(epoch from '2026-07-24 15:33:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.689082 -2.674151)', '2026-07-24 15:33:42', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689049 -2.674205)'), GeomFromEWKT('SRID=4674;POINT (-39.689082 -2.674151)'))) / (select extract(epoch from '2026-07-24 15:33:42'::timestamp) - extract(epoch from '2026-07-24 15:33:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689049 -2.674205)'), GeomFromEWKT('SRID=4674;POINT (-39.689082 -2.674151)'))) / (select extract(epoch from '2026-07-24 15:33:42'::timestamp) - extract(epoch from '2026-07-24 15:33:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.6891 -2.67411)', '2026-07-24 15:33:51', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689082 -2.674151)'), GeomFromEWKT('SRID=4674;POINT (-39.6891 -2.67411)'))) / (select extract(epoch from '2026-07-24 15:33:51'::timestamp) - extract(epoch from '2026-07-24 15:33:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689082 -2.674151)'), GeomFromEWKT('SRID=4674;POINT (-39.6891 -2.67411)'))) / (select extract(epoch from '2026-07-24 15:33:51'::timestamp) - extract(epoch from '2026-07-24 15:33:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.689105 -2.674088)', '2026-07-24 15:33:58', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6891 -2.67411)'), GeomFromEWKT('SRID=4674;POINT (-39.689105 -2.674088)'))) / (select extract(epoch from '2026-07-24 15:33:58'::timestamp) - extract(epoch from '2026-07-24 15:33:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6891 -2.67411)'), GeomFromEWKT('SRID=4674;POINT (-39.689105 -2.674088)'))) / (select extract(epoch from '2026-07-24 15:33:58'::timestamp) - extract(epoch from '2026-07-24 15:33: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'), 47870, 'SRID=4674;POINT (-39.689121 -2.674062)', '2026-07-24 15:34:07', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689105 -2.674088)'), GeomFromEWKT('SRID=4674;POINT (-39.689121 -2.674062)'))) / (select extract(epoch from '2026-07-24 15:34:07'::timestamp) - extract(epoch from '2026-07-24 15:33:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689105 -2.674088)'), GeomFromEWKT('SRID=4674;POINT (-39.689121 -2.674062)'))) / (select extract(epoch from '2026-07-24 15:34:07'::timestamp) - extract(epoch from '2026-07-24 15:33:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.689145 -2.674038)', '2026-07-24 15:34:14', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689121 -2.674062)'), GeomFromEWKT('SRID=4674;POINT (-39.689145 -2.674038)'))) / (select extract(epoch from '2026-07-24 15:34:14'::timestamp) - extract(epoch from '2026-07-24 15:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689121 -2.674062)'), GeomFromEWKT('SRID=4674;POINT (-39.689145 -2.674038)'))) / (select extract(epoch from '2026-07-24 15:34:14'::timestamp) - extract(epoch from '2026-07-24 15:34:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.689188 -2.673988)', '2026-07-24 15:34:22', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689145 -2.674038)'), GeomFromEWKT('SRID=4674;POINT (-39.689188 -2.673988)'))) / (select extract(epoch from '2026-07-24 15:34:22'::timestamp) - extract(epoch from '2026-07-24 15:34:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689145 -2.674038)'), GeomFromEWKT('SRID=4674;POINT (-39.689188 -2.673988)'))) / (select extract(epoch from '2026-07-24 15:34:22'::timestamp) - extract(epoch from '2026-07-24 15:34: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'), 47870, 'SRID=4674;POINT (-39.689239 -2.673949)', '2026-07-24 15:34:32', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689188 -2.673988)'), GeomFromEWKT('SRID=4674;POINT (-39.689239 -2.673949)'))) / (select extract(epoch from '2026-07-24 15:34:32'::timestamp) - extract(epoch from '2026-07-24 15:34:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689188 -2.673988)'), GeomFromEWKT('SRID=4674;POINT (-39.689239 -2.673949)'))) / (select extract(epoch from '2026-07-24 15:34:32'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.689269 -2.673913)', '2026-07-24 15:34:40', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689239 -2.673949)'), GeomFromEWKT('SRID=4674;POINT (-39.689269 -2.673913)'))) / (select extract(epoch from '2026-07-24 15:34:40'::timestamp) - extract(epoch from '2026-07-24 15:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689239 -2.673949)'), GeomFromEWKT('SRID=4674;POINT (-39.689269 -2.673913)'))) / (select extract(epoch from '2026-07-24 15:34:40'::timestamp) - extract(epoch from '2026-07-24 15:34: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'), 47870, 'SRID=4674;POINT (-39.689271 -2.673869)', '2026-07-24 15:34:51', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689269 -2.673913)'), GeomFromEWKT('SRID=4674;POINT (-39.689271 -2.673869)'))) / (select extract(epoch from '2026-07-24 15:34:51'::timestamp) - extract(epoch from '2026-07-24 15:34:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689269 -2.673913)'), GeomFromEWKT('SRID=4674;POINT (-39.689271 -2.673869)'))) / (select extract(epoch from '2026-07-24 15:34:51'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.689296 -2.673829)', '2026-07-24 15:35:03', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689271 -2.673869)'), GeomFromEWKT('SRID=4674;POINT (-39.689296 -2.673829)'))) / (select extract(epoch from '2026-07-24 15:35:03'::timestamp) - extract(epoch from '2026-07-24 15:34:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689271 -2.673869)'), GeomFromEWKT('SRID=4674;POINT (-39.689296 -2.673829)'))) / (select extract(epoch from '2026-07-24 15:35:03'::timestamp) - extract(epoch from '2026-07-24 15:34: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'), 47870, 'SRID=4674;POINT (-39.68932 -2.673794)', '2026-07-24 15:35:13', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689296 -2.673829)'), GeomFromEWKT('SRID=4674;POINT (-39.68932 -2.673794)'))) / (select extract(epoch from '2026-07-24 15:35:13'::timestamp) - extract(epoch from '2026-07-24 15:35:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689296 -2.673829)'), GeomFromEWKT('SRID=4674;POINT (-39.68932 -2.673794)'))) / (select extract(epoch from '2026-07-24 15:35:13'::timestamp) - extract(epoch from '2026-07-24 15:35: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'), 47870, 'SRID=4674;POINT (-39.689346 -2.67377)', '2026-07-24 15:35:20', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68932 -2.673794)'), GeomFromEWKT('SRID=4674;POINT (-39.689346 -2.67377)'))) / (select extract(epoch from '2026-07-24 15:35:20'::timestamp) - extract(epoch from '2026-07-24 15:35:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68932 -2.673794)'), GeomFromEWKT('SRID=4674;POINT (-39.689346 -2.67377)'))) / (select extract(epoch from '2026-07-24 15:35:20'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.68937 -2.673737)', '2026-07-24 15:35:26', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689346 -2.67377)'), GeomFromEWKT('SRID=4674;POINT (-39.68937 -2.673737)'))) / (select extract(epoch from '2026-07-24 15:35:26'::timestamp) - extract(epoch from '2026-07-24 15:35:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689346 -2.67377)'), GeomFromEWKT('SRID=4674;POINT (-39.68937 -2.673737)'))) / (select extract(epoch from '2026-07-24 15:35:26'::timestamp) - extract(epoch from '2026-07-24 15:35:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.689409 -2.673689)', '2026-07-24 15:35:35', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68937 -2.673737)'), GeomFromEWKT('SRID=4674;POINT (-39.689409 -2.673689)'))) / (select extract(epoch from '2026-07-24 15:35:35'::timestamp) - extract(epoch from '2026-07-24 15:35:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68937 -2.673737)'), GeomFromEWKT('SRID=4674;POINT (-39.689409 -2.673689)'))) / (select extract(epoch from '2026-07-24 15:35:35'::timestamp) - extract(epoch from '2026-07-24 15:35:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.689459 -2.67365)', '2026-07-24 15:35:43', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689409 -2.673689)'), GeomFromEWKT('SRID=4674;POINT (-39.689459 -2.67365)'))) / (select extract(epoch from '2026-07-24 15:35:43'::timestamp) - extract(epoch from '2026-07-24 15:35:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689409 -2.673689)'), GeomFromEWKT('SRID=4674;POINT (-39.689459 -2.67365)'))) / (select extract(epoch from '2026-07-24 15:35:43'::timestamp) - extract(epoch from '2026-07-24 15:35: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'), 47870, 'SRID=4674;POINT (-39.689481 -2.673599)', '2026-07-24 15:35:49', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689459 -2.67365)'), GeomFromEWKT('SRID=4674;POINT (-39.689481 -2.673599)'))) / (select extract(epoch from '2026-07-24 15:35:49'::timestamp) - extract(epoch from '2026-07-24 15:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689459 -2.67365)'), GeomFromEWKT('SRID=4674;POINT (-39.689481 -2.673599)'))) / (select extract(epoch from '2026-07-24 15:35:49'::timestamp) - extract(epoch from '2026-07-24 15:35: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'), 47870, 'SRID=4674;POINT (-39.689476 -2.673588)', '2026-07-24 15:35:50', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689481 -2.673599)'), GeomFromEWKT('SRID=4674;POINT (-39.689476 -2.673588)'))) / (select extract(epoch from '2026-07-24 15:35:50'::timestamp) - extract(epoch from '2026-07-24 15:35:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689481 -2.673599)'), GeomFromEWKT('SRID=4674;POINT (-39.689476 -2.673588)'))) / (select extract(epoch from '2026-07-24 15:35:50'::timestamp) - extract(epoch from '2026-07-24 15:35: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'), 47870, 'SRID=4674;POINT (-39.689452 -2.673563)', '2026-07-24 15:35:53', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689476 -2.673588)'), GeomFromEWKT('SRID=4674;POINT (-39.689452 -2.673563)'))) / (select extract(epoch from '2026-07-24 15:35:53'::timestamp) - extract(epoch from '2026-07-24 15:35:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689476 -2.673588)'), GeomFromEWKT('SRID=4674;POINT (-39.689452 -2.673563)'))) / (select extract(epoch from '2026-07-24 15:35:53'::timestamp) - extract(epoch from '2026-07-24 15:35: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'), 47870, 'SRID=4674;POINT (-39.68944 -2.673549)', '2026-07-24 15:35:55', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689452 -2.673563)'), GeomFromEWKT('SRID=4674;POINT (-39.68944 -2.673549)'))) / (select extract(epoch from '2026-07-24 15:35:55'::timestamp) - extract(epoch from '2026-07-24 15:35:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689452 -2.673563)'), GeomFromEWKT('SRID=4674;POINT (-39.68944 -2.673549)'))) / (select extract(epoch from '2026-07-24 15:35:55'::timestamp) - extract(epoch from '2026-07-24 15:35: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'), 47870, 'SRID=4674;POINT (-39.689431 -2.673543)', '2026-07-24 15:35:56', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68944 -2.673549)'), GeomFromEWKT('SRID=4674;POINT (-39.689431 -2.673543)'))) / (select extract(epoch from '2026-07-24 15:35:56'::timestamp) - extract(epoch from '2026-07-24 15:35:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68944 -2.673549)'), GeomFromEWKT('SRID=4674;POINT (-39.689431 -2.673543)'))) / (select extract(epoch from '2026-07-24 15:35:56'::timestamp) - extract(epoch from '2026-07-24 15:35: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'), 47870, 'SRID=4674;POINT (-39.689337 -2.673524)', '2026-07-24 15:36:02', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689431 -2.673543)'), GeomFromEWKT('SRID=4674;POINT (-39.689337 -2.673524)'))) / (select extract(epoch from '2026-07-24 15:36:02'::timestamp) - extract(epoch from '2026-07-24 15:35:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689431 -2.673543)'), GeomFromEWKT('SRID=4674;POINT (-39.689337 -2.673524)'))) / (select extract(epoch from '2026-07-24 15:36:02'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.689251 -2.673532)', '2026-07-24 15:36:07', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689337 -2.673524)'), GeomFromEWKT('SRID=4674;POINT (-39.689251 -2.673532)'))) / (select extract(epoch from '2026-07-24 15:36:07'::timestamp) - extract(epoch from '2026-07-24 15:36:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689337 -2.673524)'), GeomFromEWKT('SRID=4674;POINT (-39.689251 -2.673532)'))) / (select extract(epoch from '2026-07-24 15:36:07'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.689153 -2.673564)', '2026-07-24 15:36:13', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689251 -2.673532)'), GeomFromEWKT('SRID=4674;POINT (-39.689153 -2.673564)'))) / (select extract(epoch from '2026-07-24 15:36:13'::timestamp) - extract(epoch from '2026-07-24 15:36:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689251 -2.673532)'), GeomFromEWKT('SRID=4674;POINT (-39.689153 -2.673564)'))) / (select extract(epoch from '2026-07-24 15:36:13'::timestamp) - extract(epoch from '2026-07-24 15:36:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.689045 -2.673626)', '2026-07-24 15:36:19', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689153 -2.673564)'), GeomFromEWKT('SRID=4674;POINT (-39.689045 -2.673626)'))) / (select extract(epoch from '2026-07-24 15:36:19'::timestamp) - extract(epoch from '2026-07-24 15:36:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689153 -2.673564)'), GeomFromEWKT('SRID=4674;POINT (-39.689045 -2.673626)'))) / (select extract(epoch from '2026-07-24 15:36:19'::timestamp) - extract(epoch from '2026-07-24 15:36: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'), 47870, 'SRID=4674;POINT (-39.688935 -2.673703)', '2026-07-24 15:36:26', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689045 -2.673626)'), GeomFromEWKT('SRID=4674;POINT (-39.688935 -2.673703)'))) / (select extract(epoch from '2026-07-24 15:36:26'::timestamp) - extract(epoch from '2026-07-24 15:36:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689045 -2.673626)'), GeomFromEWKT('SRID=4674;POINT (-39.688935 -2.673703)'))) / (select extract(epoch from '2026-07-24 15:36:26'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.688838 -2.673782)', '2026-07-24 15:36:33', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688935 -2.673703)'), GeomFromEWKT('SRID=4674;POINT (-39.688838 -2.673782)'))) / (select extract(epoch from '2026-07-24 15:36:33'::timestamp) - extract(epoch from '2026-07-24 15:36:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688935 -2.673703)'), GeomFromEWKT('SRID=4674;POINT (-39.688838 -2.673782)'))) / (select extract(epoch from '2026-07-24 15:36:33'::timestamp) - extract(epoch from '2026-07-24 15:36: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'), 47870, 'SRID=4674;POINT (-39.688743 -2.67385)', '2026-07-24 15:36:39', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688838 -2.673782)'), GeomFromEWKT('SRID=4674;POINT (-39.688743 -2.67385)'))) / (select extract(epoch from '2026-07-24 15:36:39'::timestamp) - extract(epoch from '2026-07-24 15:36:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688838 -2.673782)'), GeomFromEWKT('SRID=4674;POINT (-39.688743 -2.67385)'))) / (select extract(epoch from '2026-07-24 15:36:39'::timestamp) - extract(epoch from '2026-07-24 15:36: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'), 47870, 'SRID=4674;POINT (-39.688676 -2.673909)', '2026-07-24 15:36:44', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688743 -2.67385)'), GeomFromEWKT('SRID=4674;POINT (-39.688676 -2.673909)'))) / (select extract(epoch from '2026-07-24 15:36:44'::timestamp) - extract(epoch from '2026-07-24 15:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688743 -2.67385)'), GeomFromEWKT('SRID=4674;POINT (-39.688676 -2.673909)'))) / (select extract(epoch from '2026-07-24 15:36:44'::timestamp) - extract(epoch from '2026-07-24 15:36: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'), 47870, 'SRID=4674;POINT (-39.688587 -2.673984)', '2026-07-24 15:36:50', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688676 -2.673909)'), GeomFromEWKT('SRID=4674;POINT (-39.688587 -2.673984)'))) / (select extract(epoch from '2026-07-24 15:36:50'::timestamp) - extract(epoch from '2026-07-24 15:36:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688676 -2.673909)'), GeomFromEWKT('SRID=4674;POINT (-39.688587 -2.673984)'))) / (select extract(epoch from '2026-07-24 15:36:50'::timestamp) - extract(epoch from '2026-07-24 15:36: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'), 47870, 'SRID=4674;POINT (-39.688511 -2.674044)', '2026-07-24 15:36:55', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688587 -2.673984)'), GeomFromEWKT('SRID=4674;POINT (-39.688511 -2.674044)'))) / (select extract(epoch from '2026-07-24 15:36:55'::timestamp) - extract(epoch from '2026-07-24 15:36:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688587 -2.673984)'), GeomFromEWKT('SRID=4674;POINT (-39.688511 -2.674044)'))) / (select extract(epoch from '2026-07-24 15:36:55'::timestamp) - extract(epoch from '2026-07-24 15:36: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'), 47870, 'SRID=4674;POINT (-39.68842 -2.674116)', '2026-07-24 15:37:01', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688511 -2.674044)'), GeomFromEWKT('SRID=4674;POINT (-39.68842 -2.674116)'))) / (select extract(epoch from '2026-07-24 15:37:01'::timestamp) - extract(epoch from '2026-07-24 15:36:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688511 -2.674044)'), GeomFromEWKT('SRID=4674;POINT (-39.68842 -2.674116)'))) / (select extract(epoch from '2026-07-24 15:37:01'::timestamp) - extract(epoch from '2026-07-24 15:36: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'), 47870, 'SRID=4674;POINT (-39.688348 -2.674171)', '2026-07-24 15:37:06', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68842 -2.674116)'), GeomFromEWKT('SRID=4674;POINT (-39.688348 -2.674171)'))) / (select extract(epoch from '2026-07-24 15:37:06'::timestamp) - extract(epoch from '2026-07-24 15:37:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68842 -2.674116)'), GeomFromEWKT('SRID=4674;POINT (-39.688348 -2.674171)'))) / (select extract(epoch from '2026-07-24 15:37:06'::timestamp) - extract(epoch from '2026-07-24 15:37: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'), 47870, 'SRID=4674;POINT (-39.688288 -2.674217)', '2026-07-24 15:37:10', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688348 -2.674171)'), GeomFromEWKT('SRID=4674;POINT (-39.688288 -2.674217)'))) / (select extract(epoch from '2026-07-24 15:37:10'::timestamp) - extract(epoch from '2026-07-24 15:37:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688348 -2.674171)'), GeomFromEWKT('SRID=4674;POINT (-39.688288 -2.674217)'))) / (select extract(epoch from '2026-07-24 15:37:10'::timestamp) - extract(epoch from '2026-07-24 15:37: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'), 47870, 'SRID=4674;POINT (-39.688272 -2.674226)', '2026-07-24 15:37:11', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688288 -2.674217)'), GeomFromEWKT('SRID=4674;POINT (-39.688272 -2.674226)'))) / (select extract(epoch from '2026-07-24 15:37:11'::timestamp) - extract(epoch from '2026-07-24 15:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688288 -2.674217)'), GeomFromEWKT('SRID=4674;POINT (-39.688272 -2.674226)'))) / (select extract(epoch from '2026-07-24 15:37:11'::timestamp) - extract(epoch from '2026-07-24 15:37: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'), 47870, 'SRID=4674;POINT (-39.688147 -2.674323)', '2026-07-24 15:37:19', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688272 -2.674226)'), GeomFromEWKT('SRID=4674;POINT (-39.688147 -2.674323)'))) / (select extract(epoch from '2026-07-24 15:37:19'::timestamp) - extract(epoch from '2026-07-24 15:37:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688272 -2.674226)'), GeomFromEWKT('SRID=4674;POINT (-39.688147 -2.674323)'))) / (select extract(epoch from '2026-07-24 15:37:19'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.688047 -2.674398)', '2026-07-24 15:37:25', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688147 -2.674323)'), GeomFromEWKT('SRID=4674;POINT (-39.688047 -2.674398)'))) / (select extract(epoch from '2026-07-24 15:37:25'::timestamp) - extract(epoch from '2026-07-24 15:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688147 -2.674323)'), GeomFromEWKT('SRID=4674;POINT (-39.688047 -2.674398)'))) / (select extract(epoch from '2026-07-24 15:37:25'::timestamp) - extract(epoch from '2026-07-24 15:37: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'), 47870, 'SRID=4674;POINT (-39.687943 -2.674475)', '2026-07-24 15:37:31', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688047 -2.674398)'), GeomFromEWKT('SRID=4674;POINT (-39.687943 -2.674475)'))) / (select extract(epoch from '2026-07-24 15:37:31'::timestamp) - extract(epoch from '2026-07-24 15:37:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688047 -2.674398)'), GeomFromEWKT('SRID=4674;POINT (-39.687943 -2.674475)'))) / (select extract(epoch from '2026-07-24 15:37:31'::timestamp) - extract(epoch from '2026-07-24 15:37: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'), 47870, 'SRID=4674;POINT (-39.687836 -2.67453)', '2026-07-24 15:37:37', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687943 -2.674475)'), GeomFromEWKT('SRID=4674;POINT (-39.687836 -2.67453)'))) / (select extract(epoch from '2026-07-24 15:37:37'::timestamp) - extract(epoch from '2026-07-24 15:37:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687943 -2.674475)'), GeomFromEWKT('SRID=4674;POINT (-39.687836 -2.67453)'))) / (select extract(epoch from '2026-07-24 15:37:37'::timestamp) - extract(epoch from '2026-07-24 15:37: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'), 47870, 'SRID=4674;POINT (-39.687786 -2.674554)', '2026-07-24 15:37:40', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687836 -2.67453)'), GeomFromEWKT('SRID=4674;POINT (-39.687786 -2.674554)'))) / (select extract(epoch from '2026-07-24 15:37:40'::timestamp) - extract(epoch from '2026-07-24 15:37:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687836 -2.67453)'), GeomFromEWKT('SRID=4674;POINT (-39.687786 -2.674554)'))) / (select extract(epoch from '2026-07-24 15:37:40'::timestamp) - extract(epoch from '2026-07-24 15:37: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'), 47870, 'SRID=4674;POINT (-39.687746 -2.674559)', '2026-07-24 15:37:42', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687786 -2.674554)'), GeomFromEWKT('SRID=4674;POINT (-39.687746 -2.674559)'))) / (select extract(epoch from '2026-07-24 15:37:42'::timestamp) - extract(epoch from '2026-07-24 15:37:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687786 -2.674554)'), GeomFromEWKT('SRID=4674;POINT (-39.687746 -2.674559)'))) / (select extract(epoch from '2026-07-24 15:37:42'::timestamp) - extract(epoch from '2026-07-24 15:37: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'), 47870, 'SRID=4674;POINT (-39.687577 -2.67455)', '2026-07-24 15:37:50', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687746 -2.674559)'), GeomFromEWKT('SRID=4674;POINT (-39.687577 -2.67455)'))) / (select extract(epoch from '2026-07-24 15:37:50'::timestamp) - extract(epoch from '2026-07-24 15:37:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687746 -2.674559)'), GeomFromEWKT('SRID=4674;POINT (-39.687577 -2.67455)'))) / (select extract(epoch from '2026-07-24 15:37:50'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.687481 -2.674526)', '2026-07-24 15:37:55', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687577 -2.67455)'), GeomFromEWKT('SRID=4674;POINT (-39.687481 -2.674526)'))) / (select extract(epoch from '2026-07-24 15:37:55'::timestamp) - extract(epoch from '2026-07-24 15:37:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687577 -2.67455)'), GeomFromEWKT('SRID=4674;POINT (-39.687481 -2.674526)'))) / (select extract(epoch from '2026-07-24 15:37:55'::timestamp) - extract(epoch from '2026-07-24 15:37: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'), 47870, 'SRID=4674;POINT (-39.687348 -2.674517)', '2026-07-24 15:38:02', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687481 -2.674526)'), GeomFromEWKT('SRID=4674;POINT (-39.687348 -2.674517)'))) / (select extract(epoch from '2026-07-24 15:38:02'::timestamp) - extract(epoch from '2026-07-24 15:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687481 -2.674526)'), GeomFromEWKT('SRID=4674;POINT (-39.687348 -2.674517)'))) / (select extract(epoch from '2026-07-24 15:38:02'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.687259 -2.674497)', '2026-07-24 15:38:08', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687348 -2.674517)'), GeomFromEWKT('SRID=4674;POINT (-39.687259 -2.674497)'))) / (select extract(epoch from '2026-07-24 15:38:08'::timestamp) - extract(epoch from '2026-07-24 15:38:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687348 -2.674517)'), GeomFromEWKT('SRID=4674;POINT (-39.687259 -2.674497)'))) / (select extract(epoch from '2026-07-24 15:38:08'::timestamp) - extract(epoch from '2026-07-24 15:38: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'), 47870, 'SRID=4674;POINT (-39.687186 -2.674461)', '2026-07-24 15:38:15', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687259 -2.674497)'), GeomFromEWKT('SRID=4674;POINT (-39.687186 -2.674461)'))) / (select extract(epoch from '2026-07-24 15:38:15'::timestamp) - extract(epoch from '2026-07-24 15:38:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687259 -2.674497)'), GeomFromEWKT('SRID=4674;POINT (-39.687186 -2.674461)'))) / (select extract(epoch from '2026-07-24 15:38:15'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.687144 -2.674402)', '2026-07-24 15:38:24', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687186 -2.674461)'), GeomFromEWKT('SRID=4674;POINT (-39.687144 -2.674402)'))) / (select extract(epoch from '2026-07-24 15:38:24'::timestamp) - extract(epoch from '2026-07-24 15:38:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687186 -2.674461)'), GeomFromEWKT('SRID=4674;POINT (-39.687144 -2.674402)'))) / (select extract(epoch from '2026-07-24 15:38:24'::timestamp) - extract(epoch from '2026-07-24 15:38:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.687145 -2.674355)', '2026-07-24 15:38:31', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687144 -2.674402)'), GeomFromEWKT('SRID=4674;POINT (-39.687145 -2.674355)'))) / (select extract(epoch from '2026-07-24 15:38:31'::timestamp) - extract(epoch from '2026-07-24 15:38:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687144 -2.674402)'), GeomFromEWKT('SRID=4674;POINT (-39.687145 -2.674355)'))) / (select extract(epoch from '2026-07-24 15:38:31'::timestamp) - extract(epoch from '2026-07-24 15:38: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'), 47870, 'SRID=4674;POINT (-39.687149 -2.674343)', '2026-07-24 15:38:33', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687145 -2.674355)'), GeomFromEWKT('SRID=4674;POINT (-39.687149 -2.674343)'))) / (select extract(epoch from '2026-07-24 15:38:33'::timestamp) - extract(epoch from '2026-07-24 15:38:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687145 -2.674355)'), GeomFromEWKT('SRID=4674;POINT (-39.687149 -2.674343)'))) / (select extract(epoch from '2026-07-24 15:38:33'::timestamp) - extract(epoch from '2026-07-24 15:38: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'), 47870, 'SRID=4674;POINT (-39.68716 -2.674316)', '2026-07-24 15:38:38', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687149 -2.674343)'), GeomFromEWKT('SRID=4674;POINT (-39.68716 -2.674316)'))) / (select extract(epoch from '2026-07-24 15:38:38'::timestamp) - extract(epoch from '2026-07-24 15:38:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687149 -2.674343)'), GeomFromEWKT('SRID=4674;POINT (-39.68716 -2.674316)'))) / (select extract(epoch from '2026-07-24 15:38:38'::timestamp) - extract(epoch from '2026-07-24 15:38: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'), 47870, 'SRID=4674;POINT (-39.687175 -2.67428)', '2026-07-24 15:38:45', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68716 -2.674316)'), GeomFromEWKT('SRID=4674;POINT (-39.687175 -2.67428)'))) / (select extract(epoch from '2026-07-24 15:38:45'::timestamp) - extract(epoch from '2026-07-24 15:38:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68716 -2.674316)'), GeomFromEWKT('SRID=4674;POINT (-39.687175 -2.67428)'))) / (select extract(epoch from '2026-07-24 15:38:45'::timestamp) - extract(epoch from '2026-07-24 15:38: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'), 47870, 'SRID=4674;POINT (-39.687205 -2.674236)', '2026-07-24 15:38:53', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687175 -2.67428)'), GeomFromEWKT('SRID=4674;POINT (-39.687205 -2.674236)'))) / (select extract(epoch from '2026-07-24 15:38:53'::timestamp) - extract(epoch from '2026-07-24 15:38:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687175 -2.67428)'), GeomFromEWKT('SRID=4674;POINT (-39.687205 -2.674236)'))) / (select extract(epoch from '2026-07-24 15:38:53'::timestamp) - extract(epoch from '2026-07-24 15:38:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.687228 -2.674216)', '2026-07-24 15:38:58', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687205 -2.674236)'), GeomFromEWKT('SRID=4674;POINT (-39.687228 -2.674216)'))) / (select extract(epoch from '2026-07-24 15:38:58'::timestamp) - extract(epoch from '2026-07-24 15:38:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687205 -2.674236)'), GeomFromEWKT('SRID=4674;POINT (-39.687228 -2.674216)'))) / (select extract(epoch from '2026-07-24 15:38:58'::timestamp) - extract(epoch from '2026-07-24 15:38:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.687254 -2.67418)', '2026-07-24 15:39:05', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687228 -2.674216)'), GeomFromEWKT('SRID=4674;POINT (-39.687254 -2.67418)'))) / (select extract(epoch from '2026-07-24 15:39:05'::timestamp) - extract(epoch from '2026-07-24 15:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687228 -2.674216)'), GeomFromEWKT('SRID=4674;POINT (-39.687254 -2.67418)'))) / (select extract(epoch from '2026-07-24 15:39:05'::timestamp) - extract(epoch from '2026-07-24 15:38:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.687282 -2.674136)', '2026-07-24 15:39:14', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687254 -2.67418)'), GeomFromEWKT('SRID=4674;POINT (-39.687282 -2.674136)'))) / (select extract(epoch from '2026-07-24 15:39:14'::timestamp) - extract(epoch from '2026-07-24 15:39:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687254 -2.67418)'), GeomFromEWKT('SRID=4674;POINT (-39.687282 -2.674136)'))) / (select extract(epoch from '2026-07-24 15:39:14'::timestamp) - extract(epoch from '2026-07-24 15:39: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'), 47870, 'SRID=4674;POINT (-39.687319 -2.674093)', '2026-07-24 15:39:23', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687282 -2.674136)'), GeomFromEWKT('SRID=4674;POINT (-39.687319 -2.674093)'))) / (select extract(epoch from '2026-07-24 15:39:23'::timestamp) - extract(epoch from '2026-07-24 15:39:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687282 -2.674136)'), GeomFromEWKT('SRID=4674;POINT (-39.687319 -2.674093)'))) / (select extract(epoch from '2026-07-24 15:39:23'::timestamp) - extract(epoch from '2026-07-24 15:39: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'), 47870, 'SRID=4674;POINT (-39.687335 -2.674077)', '2026-07-24 15:39:27', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687319 -2.674093)'), GeomFromEWKT('SRID=4674;POINT (-39.687335 -2.674077)'))) / (select extract(epoch from '2026-07-24 15:39:27'::timestamp) - extract(epoch from '2026-07-24 15:39:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687319 -2.674093)'), GeomFromEWKT('SRID=4674;POINT (-39.687335 -2.674077)'))) / (select extract(epoch from '2026-07-24 15:39:27'::timestamp) - extract(epoch from '2026-07-24 15:39: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'), 47870, 'SRID=4674;POINT (-39.687339 -2.67407)', '2026-07-24 15:39:29', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687335 -2.674077)'), GeomFromEWKT('SRID=4674;POINT (-39.687339 -2.67407)'))) / (select extract(epoch from '2026-07-24 15:39:29'::timestamp) - extract(epoch from '2026-07-24 15:39:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687335 -2.674077)'), GeomFromEWKT('SRID=4674;POINT (-39.687339 -2.67407)'))) / (select extract(epoch from '2026-07-24 15:39:29'::timestamp) - extract(epoch from '2026-07-24 15:39: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'), 47870, 'SRID=4674;POINT (-39.687367 -2.674054)', '2026-07-24 15:39:36', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687339 -2.67407)'), GeomFromEWKT('SRID=4674;POINT (-39.687367 -2.674054)'))) / (select extract(epoch from '2026-07-24 15:39:36'::timestamp) - extract(epoch from '2026-07-24 15:39:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687339 -2.67407)'), GeomFromEWKT('SRID=4674;POINT (-39.687367 -2.674054)'))) / (select extract(epoch from '2026-07-24 15:39:36'::timestamp) - extract(epoch from '2026-07-24 15:39: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'), 47870, 'SRID=4674;POINT (-39.687389 -2.67404)', '2026-07-24 15:39:41', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687367 -2.674054)'), GeomFromEWKT('SRID=4674;POINT (-39.687389 -2.67404)'))) / (select extract(epoch from '2026-07-24 15:39:41'::timestamp) - extract(epoch from '2026-07-24 15:39:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687367 -2.674054)'), GeomFromEWKT('SRID=4674;POINT (-39.687389 -2.67404)'))) / (select extract(epoch from '2026-07-24 15:39:41'::timestamp) - extract(epoch from '2026-07-24 15:39:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.687416 -2.674026)', '2026-07-24 15:39:48', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687389 -2.67404)'), GeomFromEWKT('SRID=4674;POINT (-39.687416 -2.674026)'))) / (select extract(epoch from '2026-07-24 15:39:48'::timestamp) - extract(epoch from '2026-07-24 15:39:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687389 -2.67404)'), GeomFromEWKT('SRID=4674;POINT (-39.687416 -2.674026)'))) / (select extract(epoch from '2026-07-24 15:39:48'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.687449 -2.674015)', '2026-07-24 15:39:59', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687416 -2.674026)'), GeomFromEWKT('SRID=4674;POINT (-39.687449 -2.674015)'))) / (select extract(epoch from '2026-07-24 15:39:59'::timestamp) - extract(epoch from '2026-07-24 15:39:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687416 -2.674026)'), GeomFromEWKT('SRID=4674;POINT (-39.687449 -2.674015)'))) / (select extract(epoch from '2026-07-24 15:39:59'::timestamp) - extract(epoch from '2026-07-24 15:39: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'), 47870, 'SRID=4674;POINT (-39.687502 -2.673981)', '2026-07-24 15:40:18', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687449 -2.674015)'), GeomFromEWKT('SRID=4674;POINT (-39.687502 -2.673981)'))) / (select extract(epoch from '2026-07-24 15:40:18'::timestamp) - extract(epoch from '2026-07-24 15:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687449 -2.674015)'), GeomFromEWKT('SRID=4674;POINT (-39.687502 -2.673981)'))) / (select extract(epoch from '2026-07-24 15:40:18'::timestamp) - extract(epoch from '2026-07-24 15:39: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'), 47870, 'SRID=4674;POINT (-39.687523 -2.673965)', '2026-07-24 15:40:26', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687502 -2.673981)'), GeomFromEWKT('SRID=4674;POINT (-39.687523 -2.673965)'))) / (select extract(epoch from '2026-07-24 15:40:26'::timestamp) - extract(epoch from '2026-07-24 15:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687502 -2.673981)'), GeomFromEWKT('SRID=4674;POINT (-39.687523 -2.673965)'))) / (select extract(epoch from '2026-07-24 15:40:26'::timestamp) - extract(epoch from '2026-07-24 15:40:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.687552 -2.673956)', '2026-07-24 15:40:35', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687523 -2.673965)'), GeomFromEWKT('SRID=4674;POINT (-39.687552 -2.673956)'))) / (select extract(epoch from '2026-07-24 15:40:35'::timestamp) - extract(epoch from '2026-07-24 15:40:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687523 -2.673965)'), GeomFromEWKT('SRID=4674;POINT (-39.687552 -2.673956)'))) / (select extract(epoch from '2026-07-24 15:40:35'::timestamp) - extract(epoch from '2026-07-24 15:40: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'), 47870, 'SRID=4674;POINT (-39.687585 -2.673938)', '2026-07-24 15:40:43', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687552 -2.673956)'), GeomFromEWKT('SRID=4674;POINT (-39.687585 -2.673938)'))) / (select extract(epoch from '2026-07-24 15:40:43'::timestamp) - extract(epoch from '2026-07-24 15:40:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687552 -2.673956)'), GeomFromEWKT('SRID=4674;POINT (-39.687585 -2.673938)'))) / (select extract(epoch from '2026-07-24 15:40:43'::timestamp) - extract(epoch from '2026-07-24 15:40: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'), 47870, 'SRID=4674;POINT (-39.687615 -2.673933)', '2026-07-24 15:40:49', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687585 -2.673938)'), GeomFromEWKT('SRID=4674;POINT (-39.687615 -2.673933)'))) / (select extract(epoch from '2026-07-24 15:40:49'::timestamp) - extract(epoch from '2026-07-24 15:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687585 -2.673938)'), GeomFromEWKT('SRID=4674;POINT (-39.687615 -2.673933)'))) / (select extract(epoch from '2026-07-24 15:40:49'::timestamp) - extract(epoch from '2026-07-24 15:40:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.687672 -2.673934)', '2026-07-24 15:40:59', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687615 -2.673933)'), GeomFromEWKT('SRID=4674;POINT (-39.687672 -2.673934)'))) / (select extract(epoch from '2026-07-24 15:40:59'::timestamp) - extract(epoch from '2026-07-24 15:40:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687615 -2.673933)'), GeomFromEWKT('SRID=4674;POINT (-39.687672 -2.673934)'))) / (select extract(epoch from '2026-07-24 15:40:59'::timestamp) - extract(epoch from '2026-07-24 15:40:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.687717 -2.673926)', '2026-07-24 15:41:09', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687672 -2.673934)'), GeomFromEWKT('SRID=4674;POINT (-39.687717 -2.673926)'))) / (select extract(epoch from '2026-07-24 15:41:09'::timestamp) - extract(epoch from '2026-07-24 15:40:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687672 -2.673934)'), GeomFromEWKT('SRID=4674;POINT (-39.687717 -2.673926)'))) / (select extract(epoch from '2026-07-24 15:41:09'::timestamp) - extract(epoch from '2026-07-24 15:40: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'), 47870, 'SRID=4674;POINT (-39.687739 -2.673925)', '2026-07-24 15:41:14', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687717 -2.673926)'), GeomFromEWKT('SRID=4674;POINT (-39.687739 -2.673925)'))) / (select extract(epoch from '2026-07-24 15:41:14'::timestamp) - extract(epoch from '2026-07-24 15:41:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687717 -2.673926)'), GeomFromEWKT('SRID=4674;POINT (-39.687739 -2.673925)'))) / (select extract(epoch from '2026-07-24 15:41:14'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.68777 -2.673912)', '2026-07-24 15:41:22', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687739 -2.673925)'), GeomFromEWKT('SRID=4674;POINT (-39.68777 -2.673912)'))) / (select extract(epoch from '2026-07-24 15:41:22'::timestamp) - extract(epoch from '2026-07-24 15:41:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687739 -2.673925)'), GeomFromEWKT('SRID=4674;POINT (-39.68777 -2.673912)'))) / (select extract(epoch from '2026-07-24 15:41:22'::timestamp) - extract(epoch from '2026-07-24 15:41:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.687807 -2.673912)', '2026-07-24 15:41:30', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68777 -2.673912)'), GeomFromEWKT('SRID=4674;POINT (-39.687807 -2.673912)'))) / (select extract(epoch from '2026-07-24 15:41:30'::timestamp) - extract(epoch from '2026-07-24 15:41:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68777 -2.673912)'), GeomFromEWKT('SRID=4674;POINT (-39.687807 -2.673912)'))) / (select extract(epoch from '2026-07-24 15:41:30'::timestamp) - extract(epoch from '2026-07-24 15:41:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.687842 -2.673901)', '2026-07-24 15:41:38', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687807 -2.673912)'), GeomFromEWKT('SRID=4674;POINT (-39.687842 -2.673901)'))) / (select extract(epoch from '2026-07-24 15:41:38'::timestamp) - extract(epoch from '2026-07-24 15:41:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687807 -2.673912)'), GeomFromEWKT('SRID=4674;POINT (-39.687842 -2.673901)'))) / (select extract(epoch from '2026-07-24 15:41:38'::timestamp) - extract(epoch from '2026-07-24 15:41:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.687876 -2.673879)', '2026-07-24 15:41:48', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687842 -2.673901)'), GeomFromEWKT('SRID=4674;POINT (-39.687876 -2.673879)'))) / (select extract(epoch from '2026-07-24 15:41:48'::timestamp) - extract(epoch from '2026-07-24 15:41:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687842 -2.673901)'), GeomFromEWKT('SRID=4674;POINT (-39.687876 -2.673879)'))) / (select extract(epoch from '2026-07-24 15:41:48'::timestamp) - extract(epoch from '2026-07-24 15:41: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'), 47870, 'SRID=4674;POINT (-39.687915 -2.673854)', '2026-07-24 15:41:55', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687876 -2.673879)'), GeomFromEWKT('SRID=4674;POINT (-39.687915 -2.673854)'))) / (select extract(epoch from '2026-07-24 15:41:55'::timestamp) - extract(epoch from '2026-07-24 15:41:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687876 -2.673879)'), GeomFromEWKT('SRID=4674;POINT (-39.687915 -2.673854)'))) / (select extract(epoch from '2026-07-24 15:41:55'::timestamp) - extract(epoch from '2026-07-24 15:41:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.687989 -2.673805)', '2026-07-24 15:42:07', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687915 -2.673854)'), GeomFromEWKT('SRID=4674;POINT (-39.687989 -2.673805)'))) / (select extract(epoch from '2026-07-24 15:42:07'::timestamp) - extract(epoch from '2026-07-24 15:41:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687915 -2.673854)'), GeomFromEWKT('SRID=4674;POINT (-39.687989 -2.673805)'))) / (select extract(epoch from '2026-07-24 15:42:07'::timestamp) - extract(epoch from '2026-07-24 15:41: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'), 47870, 'SRID=4674;POINT (-39.688035 -2.673762)', '2026-07-24 15:42:16', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687989 -2.673805)'), GeomFromEWKT('SRID=4674;POINT (-39.688035 -2.673762)'))) / (select extract(epoch from '2026-07-24 15:42:16'::timestamp) - extract(epoch from '2026-07-24 15:42:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687989 -2.673805)'), GeomFromEWKT('SRID=4674;POINT (-39.688035 -2.673762)'))) / (select extract(epoch from '2026-07-24 15:42:16'::timestamp) - extract(epoch from '2026-07-24 15:42: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'), 47870, 'SRID=4674;POINT (-39.688073 -2.673731)', '2026-07-24 15:42:23', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688035 -2.673762)'), GeomFromEWKT('SRID=4674;POINT (-39.688073 -2.673731)'))) / (select extract(epoch from '2026-07-24 15:42:23'::timestamp) - extract(epoch from '2026-07-24 15:42:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688035 -2.673762)'), GeomFromEWKT('SRID=4674;POINT (-39.688073 -2.673731)'))) / (select extract(epoch from '2026-07-24 15:42:23'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.68808 -2.673724)', '2026-07-24 15:42:26', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688073 -2.673731)'), GeomFromEWKT('SRID=4674;POINT (-39.68808 -2.673724)'))) / (select extract(epoch from '2026-07-24 15:42:26'::timestamp) - extract(epoch from '2026-07-24 15:42:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688073 -2.673731)'), GeomFromEWKT('SRID=4674;POINT (-39.68808 -2.673724)'))) / (select extract(epoch from '2026-07-24 15:42:26'::timestamp) - extract(epoch from '2026-07-24 15:42: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'), 47870, 'SRID=4674;POINT (-39.688093 -2.673718)', '2026-07-24 15:42:29', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68808 -2.673724)'), GeomFromEWKT('SRID=4674;POINT (-39.688093 -2.673718)'))) / (select extract(epoch from '2026-07-24 15:42:29'::timestamp) - extract(epoch from '2026-07-24 15:42:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68808 -2.673724)'), GeomFromEWKT('SRID=4674;POINT (-39.688093 -2.673718)'))) / (select extract(epoch from '2026-07-24 15:42:29'::timestamp) - extract(epoch from '2026-07-24 15:42: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'), 47870, 'SRID=4674;POINT (-39.68812 -2.6737)', '2026-07-24 15:42:35', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688093 -2.673718)'), GeomFromEWKT('SRID=4674;POINT (-39.68812 -2.6737)'))) / (select extract(epoch from '2026-07-24 15:42:35'::timestamp) - extract(epoch from '2026-07-24 15:42:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688093 -2.673718)'), GeomFromEWKT('SRID=4674;POINT (-39.68812 -2.6737)'))) / (select extract(epoch from '2026-07-24 15:42:35'::timestamp) - extract(epoch from '2026-07-24 15:42: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'), 47870, 'SRID=4674;POINT (-39.688149 -2.673678)', '2026-07-24 15:42:42', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68812 -2.6737)'), GeomFromEWKT('SRID=4674;POINT (-39.688149 -2.673678)'))) / (select extract(epoch from '2026-07-24 15:42:42'::timestamp) - extract(epoch from '2026-07-24 15:42:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68812 -2.6737)'), GeomFromEWKT('SRID=4674;POINT (-39.688149 -2.673678)'))) / (select extract(epoch from '2026-07-24 15:42:42'::timestamp) - extract(epoch from '2026-07-24 15:42:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.688159 -2.673659)', '2026-07-24 15:42:48', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688149 -2.673678)'), GeomFromEWKT('SRID=4674;POINT (-39.688159 -2.673659)'))) / (select extract(epoch from '2026-07-24 15:42:48'::timestamp) - extract(epoch from '2026-07-24 15:42:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688149 -2.673678)'), GeomFromEWKT('SRID=4674;POINT (-39.688159 -2.673659)'))) / (select extract(epoch from '2026-07-24 15:42:48'::timestamp) - extract(epoch from '2026-07-24 15:42:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.688176 -2.673634)', '2026-07-24 15:42:57', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688159 -2.673659)'), GeomFromEWKT('SRID=4674;POINT (-39.688176 -2.673634)'))) / (select extract(epoch from '2026-07-24 15:42:57'::timestamp) - extract(epoch from '2026-07-24 15:42:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688159 -2.673659)'), GeomFromEWKT('SRID=4674;POINT (-39.688176 -2.673634)'))) / (select extract(epoch from '2026-07-24 15:42:57'::timestamp) - extract(epoch from '2026-07-24 15:42:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.68819 -2.673585)', '2026-07-24 15:43:07', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688176 -2.673634)'), GeomFromEWKT('SRID=4674;POINT (-39.68819 -2.673585)'))) / (select extract(epoch from '2026-07-24 15:43:07'::timestamp) - extract(epoch from '2026-07-24 15:42:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688176 -2.673634)'), GeomFromEWKT('SRID=4674;POINT (-39.68819 -2.673585)'))) / (select extract(epoch from '2026-07-24 15:43:07'::timestamp) - extract(epoch from '2026-07-24 15:42: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'), 47870, 'SRID=4674;POINT (-39.688166 -2.673566)', '2026-07-24 15:43:13', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68819 -2.673585)'), GeomFromEWKT('SRID=4674;POINT (-39.688166 -2.673566)'))) / (select extract(epoch from '2026-07-24 15:43:13'::timestamp) - extract(epoch from '2026-07-24 15:43:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68819 -2.673585)'), GeomFromEWKT('SRID=4674;POINT (-39.688166 -2.673566)'))) / (select extract(epoch from '2026-07-24 15:43:13'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.688111 -2.673567)', '2026-07-24 15:43:21', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688166 -2.673566)'), GeomFromEWKT('SRID=4674;POINT (-39.688111 -2.673567)'))) / (select extract(epoch from '2026-07-24 15:43:21'::timestamp) - extract(epoch from '2026-07-24 15:43:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688166 -2.673566)'), GeomFromEWKT('SRID=4674;POINT (-39.688111 -2.673567)'))) / (select extract(epoch from '2026-07-24 15:43:21'::timestamp) - extract(epoch from '2026-07-24 15:43: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'), 47870, 'SRID=4674;POINT (-39.688054 -2.673554)', '2026-07-24 15:43:29', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688111 -2.673567)'), GeomFromEWKT('SRID=4674;POINT (-39.688054 -2.673554)'))) / (select extract(epoch from '2026-07-24 15:43:29'::timestamp) - extract(epoch from '2026-07-24 15:43:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688111 -2.673567)'), GeomFromEWKT('SRID=4674;POINT (-39.688054 -2.673554)'))) / (select extract(epoch from '2026-07-24 15:43:29'::timestamp) - extract(epoch from '2026-07-24 15:43: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'), 47870, 'SRID=4674;POINT (-39.688019 -2.673553)', '2026-07-24 15:43:35', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688054 -2.673554)'), GeomFromEWKT('SRID=4674;POINT (-39.688019 -2.673553)'))) / (select extract(epoch from '2026-07-24 15:43:35'::timestamp) - extract(epoch from '2026-07-24 15:43:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688054 -2.673554)'), GeomFromEWKT('SRID=4674;POINT (-39.688019 -2.673553)'))) / (select extract(epoch from '2026-07-24 15:43:35'::timestamp) - extract(epoch from '2026-07-24 15:43:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.687992 -2.673545)', '2026-07-24 15:43:50', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688019 -2.673553)'), GeomFromEWKT('SRID=4674;POINT (-39.687992 -2.673545)'))) / (select extract(epoch from '2026-07-24 15:43:50'::timestamp) - extract(epoch from '2026-07-24 15:43:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688019 -2.673553)'), GeomFromEWKT('SRID=4674;POINT (-39.687992 -2.673545)'))) / (select extract(epoch from '2026-07-24 15:43:50'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.687975 -2.673535)', '2026-07-24 15:44:12', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687992 -2.673545)'), GeomFromEWKT('SRID=4674;POINT (-39.687975 -2.673535)'))) / (select extract(epoch from '2026-07-24 15:44:12'::timestamp) - extract(epoch from '2026-07-24 15:43:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687992 -2.673545)'), GeomFromEWKT('SRID=4674;POINT (-39.687975 -2.673535)'))) / (select extract(epoch from '2026-07-24 15:44:12'::timestamp) - extract(epoch from '2026-07-24 15:43: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'), 47870, 'SRID=4674;POINT (-39.687869 -2.673542)', '2026-07-24 15:44:23', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687975 -2.673535)'), GeomFromEWKT('SRID=4674;POINT (-39.687869 -2.673542)'))) / (select extract(epoch from '2026-07-24 15:44:23'::timestamp) - extract(epoch from '2026-07-24 15:44:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687975 -2.673535)'), GeomFromEWKT('SRID=4674;POINT (-39.687869 -2.673542)'))) / (select extract(epoch from '2026-07-24 15:44:23'::timestamp) - extract(epoch from '2026-07-24 15:44: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'), 47870, 'SRID=4674;POINT (-39.687803 -2.673561)', '2026-07-24 15:44:29', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687869 -2.673542)'), GeomFromEWKT('SRID=4674;POINT (-39.687803 -2.673561)'))) / (select extract(epoch from '2026-07-24 15:44:29'::timestamp) - extract(epoch from '2026-07-24 15:44:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687869 -2.673542)'), GeomFromEWKT('SRID=4674;POINT (-39.687803 -2.673561)'))) / (select extract(epoch from '2026-07-24 15:44:29'::timestamp) - extract(epoch from '2026-07-24 15:44: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'), 47870, 'SRID=4674;POINT (-39.687713 -2.673582)', '2026-07-24 15:44:36', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687803 -2.673561)'), GeomFromEWKT('SRID=4674;POINT (-39.687713 -2.673582)'))) / (select extract(epoch from '2026-07-24 15:44:36'::timestamp) - extract(epoch from '2026-07-24 15:44:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687803 -2.673561)'), GeomFromEWKT('SRID=4674;POINT (-39.687713 -2.673582)'))) / (select extract(epoch from '2026-07-24 15:44:36'::timestamp) - extract(epoch from '2026-07-24 15:44: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'), 47870, 'SRID=4674;POINT (-39.687644 -2.673593)', '2026-07-24 15:44:42', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687713 -2.673582)'), GeomFromEWKT('SRID=4674;POINT (-39.687644 -2.673593)'))) / (select extract(epoch from '2026-07-24 15:44:42'::timestamp) - extract(epoch from '2026-07-24 15:44:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687713 -2.673582)'), GeomFromEWKT('SRID=4674;POINT (-39.687644 -2.673593)'))) / (select extract(epoch from '2026-07-24 15:44:42'::timestamp) - extract(epoch from '2026-07-24 15:44:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.687564 -2.6736)', '2026-07-24 15:44:50', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687644 -2.673593)'), GeomFromEWKT('SRID=4674;POINT (-39.687564 -2.6736)'))) / (select extract(epoch from '2026-07-24 15:44:50'::timestamp) - extract(epoch from '2026-07-24 15:44:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687644 -2.673593)'), GeomFromEWKT('SRID=4674;POINT (-39.687564 -2.6736)'))) / (select extract(epoch from '2026-07-24 15:44:50'::timestamp) - extract(epoch from '2026-07-24 15:44: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'), 47870, 'SRID=4674;POINT (-39.687545 -2.673604)', '2026-07-24 15:44:53', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687564 -2.6736)'), GeomFromEWKT('SRID=4674;POINT (-39.687545 -2.673604)'))) / (select extract(epoch from '2026-07-24 15:44:53'::timestamp) - extract(epoch from '2026-07-24 15:44:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687564 -2.6736)'), GeomFromEWKT('SRID=4674;POINT (-39.687545 -2.673604)'))) / (select extract(epoch from '2026-07-24 15:44:53'::timestamp) - extract(epoch from '2026-07-24 15:44: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'), 47870, 'SRID=4674;POINT (-39.687526 -2.673602)', '2026-07-24 15:44:55', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687545 -2.673604)'), GeomFromEWKT('SRID=4674;POINT (-39.687526 -2.673602)'))) / (select extract(epoch from '2026-07-24 15:44:55'::timestamp) - extract(epoch from '2026-07-24 15:44:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687545 -2.673604)'), GeomFromEWKT('SRID=4674;POINT (-39.687526 -2.673602)'))) / (select extract(epoch from '2026-07-24 15:44:55'::timestamp) - extract(epoch from '2026-07-24 15:44: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'), 47870, 'SRID=4674;POINT (-39.687518 -2.673601)', '2026-07-24 15:44:56', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687526 -2.673602)'), GeomFromEWKT('SRID=4674;POINT (-39.687518 -2.673601)'))) / (select extract(epoch from '2026-07-24 15:44:56'::timestamp) - extract(epoch from '2026-07-24 15:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687526 -2.673602)'), GeomFromEWKT('SRID=4674;POINT (-39.687518 -2.673601)'))) / (select extract(epoch from '2026-07-24 15:44:56'::timestamp) - extract(epoch from '2026-07-24 15:44:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.687497 -2.673604)', '2026-07-24 15:44:58', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687518 -2.673601)'), GeomFromEWKT('SRID=4674;POINT (-39.687497 -2.673604)'))) / (select extract(epoch from '2026-07-24 15:44:58'::timestamp) - extract(epoch from '2026-07-24 15:44:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687518 -2.673601)'), GeomFromEWKT('SRID=4674;POINT (-39.687497 -2.673604)'))) / (select extract(epoch from '2026-07-24 15:44:58'::timestamp) - extract(epoch from '2026-07-24 15:44:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.687476 -2.673605)', '2026-07-24 15:45:00', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687497 -2.673604)'), GeomFromEWKT('SRID=4674;POINT (-39.687476 -2.673605)'))) / (select extract(epoch from '2026-07-24 15:45:00'::timestamp) - extract(epoch from '2026-07-24 15:44:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687497 -2.673604)'), GeomFromEWKT('SRID=4674;POINT (-39.687476 -2.673605)'))) / (select extract(epoch from '2026-07-24 15:45:00'::timestamp) - extract(epoch from '2026-07-24 15:44: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'), 47870, 'SRID=4674;POINT (-39.687466 -2.673608)', '2026-07-24 15:45:01', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687476 -2.673605)'), GeomFromEWKT('SRID=4674;POINT (-39.687466 -2.673608)'))) / (select extract(epoch from '2026-07-24 15:45:01'::timestamp) - extract(epoch from '2026-07-24 15:45:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687476 -2.673605)'), GeomFromEWKT('SRID=4674;POINT (-39.687466 -2.673608)'))) / (select extract(epoch from '2026-07-24 15:45:01'::timestamp) - extract(epoch from '2026-07-24 15:45: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'), 47870, 'SRID=4674;POINT (-39.687445 -2.673615)', '2026-07-24 15:45:03', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687466 -2.673608)'), GeomFromEWKT('SRID=4674;POINT (-39.687445 -2.673615)'))) / (select extract(epoch from '2026-07-24 15:45:03'::timestamp) - extract(epoch from '2026-07-24 15:45:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687466 -2.673608)'), GeomFromEWKT('SRID=4674;POINT (-39.687445 -2.673615)'))) / (select extract(epoch from '2026-07-24 15:45:03'::timestamp) - extract(epoch from '2026-07-24 15:45:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.687423 -2.673615)', '2026-07-24 15:45:05', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687445 -2.673615)'), GeomFromEWKT('SRID=4674;POINT (-39.687423 -2.673615)'))) / (select extract(epoch from '2026-07-24 15:45:05'::timestamp) - extract(epoch from '2026-07-24 15:45:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687445 -2.673615)'), GeomFromEWKT('SRID=4674;POINT (-39.687423 -2.673615)'))) / (select extract(epoch from '2026-07-24 15:45:05'::timestamp) - extract(epoch from '2026-07-24 15:45: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'), 47870, 'SRID=4674;POINT (-39.687402 -2.673619)', '2026-07-24 15:45:07', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687423 -2.673615)'), GeomFromEWKT('SRID=4674;POINT (-39.687402 -2.673619)'))) / (select extract(epoch from '2026-07-24 15:45:07'::timestamp) - extract(epoch from '2026-07-24 15:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687423 -2.673615)'), GeomFromEWKT('SRID=4674;POINT (-39.687402 -2.673619)'))) / (select extract(epoch from '2026-07-24 15:45:07'::timestamp) - extract(epoch from '2026-07-24 15:45:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.687361 -2.673635)', '2026-07-24 15:45:12', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687402 -2.673619)'), GeomFromEWKT('SRID=4674;POINT (-39.687361 -2.673635)'))) / (select extract(epoch from '2026-07-24 15:45:12'::timestamp) - extract(epoch from '2026-07-24 15:45:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687402 -2.673619)'), GeomFromEWKT('SRID=4674;POINT (-39.687361 -2.673635)'))) / (select extract(epoch from '2026-07-24 15:45:12'::timestamp) - extract(epoch from '2026-07-24 15:45: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'), 47870, 'SRID=4674;POINT (-39.687351 -2.673638)', '2026-07-24 15:45:13', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687361 -2.673635)'), GeomFromEWKT('SRID=4674;POINT (-39.687351 -2.673638)'))) / (select extract(epoch from '2026-07-24 15:45:13'::timestamp) - extract(epoch from '2026-07-24 15:45:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687361 -2.673635)'), GeomFromEWKT('SRID=4674;POINT (-39.687351 -2.673638)'))) / (select extract(epoch from '2026-07-24 15:45:13'::timestamp) - extract(epoch from '2026-07-24 15:45:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.687295 -2.673648)', '2026-07-24 15:45:18', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687351 -2.673638)'), GeomFromEWKT('SRID=4674;POINT (-39.687295 -2.673648)'))) / (select extract(epoch from '2026-07-24 15:45:18'::timestamp) - extract(epoch from '2026-07-24 15:45:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687351 -2.673638)'), GeomFromEWKT('SRID=4674;POINT (-39.687295 -2.673648)'))) / (select extract(epoch from '2026-07-24 15:45:18'::timestamp) - extract(epoch from '2026-07-24 15:45: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'), 47870, 'SRID=4674;POINT (-39.687248 -2.673662)', '2026-07-24 15:45:22', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687295 -2.673648)'), GeomFromEWKT('SRID=4674;POINT (-39.687248 -2.673662)'))) / (select extract(epoch from '2026-07-24 15:45:22'::timestamp) - extract(epoch from '2026-07-24 15:45:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687295 -2.673648)'), GeomFromEWKT('SRID=4674;POINT (-39.687248 -2.673662)'))) / (select extract(epoch from '2026-07-24 15:45:22'::timestamp) - extract(epoch from '2026-07-24 15:45: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'), 47870, 'SRID=4674;POINT (-39.687227 -2.67367)', '2026-07-24 15:45:24', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687248 -2.673662)'), GeomFromEWKT('SRID=4674;POINT (-39.687227 -2.67367)'))) / (select extract(epoch from '2026-07-24 15:45:24'::timestamp) - extract(epoch from '2026-07-24 15:45:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687248 -2.673662)'), GeomFromEWKT('SRID=4674;POINT (-39.687227 -2.67367)'))) / (select extract(epoch from '2026-07-24 15:45:24'::timestamp) - extract(epoch from '2026-07-24 15:45:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.687217 -2.673671)', '2026-07-24 15:45:25', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687227 -2.67367)'), GeomFromEWKT('SRID=4674;POINT (-39.687217 -2.673671)'))) / (select extract(epoch from '2026-07-24 15:45:25'::timestamp) - extract(epoch from '2026-07-24 15:45:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687227 -2.67367)'), GeomFromEWKT('SRID=4674;POINT (-39.687217 -2.673671)'))) / (select extract(epoch from '2026-07-24 15:45:25'::timestamp) - extract(epoch from '2026-07-24 15:45:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.68715 -2.673703)', '2026-07-24 15:45:32', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687217 -2.673671)'), GeomFromEWKT('SRID=4674;POINT (-39.68715 -2.673703)'))) / (select extract(epoch from '2026-07-24 15:45:32'::timestamp) - extract(epoch from '2026-07-24 15:45:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687217 -2.673671)'), GeomFromEWKT('SRID=4674;POINT (-39.68715 -2.673703)'))) / (select extract(epoch from '2026-07-24 15:45:32'::timestamp) - extract(epoch from '2026-07-24 15:45: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'), 47870, 'SRID=4674;POINT (-39.687079 -2.673733)', '2026-07-24 15:45:39', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68715 -2.673703)'), GeomFromEWKT('SRID=4674;POINT (-39.687079 -2.673733)'))) / (select extract(epoch from '2026-07-24 15:45:39'::timestamp) - extract(epoch from '2026-07-24 15:45:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68715 -2.673703)'), GeomFromEWKT('SRID=4674;POINT (-39.687079 -2.673733)'))) / (select extract(epoch from '2026-07-24 15:45:39'::timestamp) - extract(epoch from '2026-07-24 15:45:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.68701 -2.673762)', '2026-07-24 15:45:45', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687079 -2.673733)'), GeomFromEWKT('SRID=4674;POINT (-39.68701 -2.673762)'))) / (select extract(epoch from '2026-07-24 15:45:45'::timestamp) - extract(epoch from '2026-07-24 15:45:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687079 -2.673733)'), GeomFromEWKT('SRID=4674;POINT (-39.68701 -2.673762)'))) / (select extract(epoch from '2026-07-24 15:45:45'::timestamp) - extract(epoch from '2026-07-24 15:45: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'), 47870, 'SRID=4674;POINT (-39.686998 -2.673769)', '2026-07-24 15:45:46', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68701 -2.673762)'), GeomFromEWKT('SRID=4674;POINT (-39.686998 -2.673769)'))) / (select extract(epoch from '2026-07-24 15:45:46'::timestamp) - extract(epoch from '2026-07-24 15:45:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68701 -2.673762)'), GeomFromEWKT('SRID=4674;POINT (-39.686998 -2.673769)'))) / (select extract(epoch from '2026-07-24 15:45:46'::timestamp) - extract(epoch from '2026-07-24 15:45:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.686956 -2.673787)', '2026-07-24 15:45:50', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686998 -2.673769)'), GeomFromEWKT('SRID=4674;POINT (-39.686956 -2.673787)'))) / (select extract(epoch from '2026-07-24 15:45:50'::timestamp) - extract(epoch from '2026-07-24 15:45:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686998 -2.673769)'), GeomFromEWKT('SRID=4674;POINT (-39.686956 -2.673787)'))) / (select extract(epoch from '2026-07-24 15:45:50'::timestamp) - extract(epoch from '2026-07-24 15:45: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'), 47870, 'SRID=4674;POINT (-39.686878 -2.673827)', '2026-07-24 15:45:57', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686956 -2.673787)'), GeomFromEWKT('SRID=4674;POINT (-39.686878 -2.673827)'))) / (select extract(epoch from '2026-07-24 15:45:57'::timestamp) - extract(epoch from '2026-07-24 15:45:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686956 -2.673787)'), GeomFromEWKT('SRID=4674;POINT (-39.686878 -2.673827)'))) / (select extract(epoch from '2026-07-24 15:45:57'::timestamp) - extract(epoch from '2026-07-24 15:45:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.68682 -2.673881)', '2026-07-24 15:46:02', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686878 -2.673827)'), GeomFromEWKT('SRID=4674;POINT (-39.68682 -2.673881)'))) / (select extract(epoch from '2026-07-24 15:46:02'::timestamp) - extract(epoch from '2026-07-24 15:45:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686878 -2.673827)'), GeomFromEWKT('SRID=4674;POINT (-39.68682 -2.673881)'))) / (select extract(epoch from '2026-07-24 15:46:02'::timestamp) - extract(epoch from '2026-07-24 15:45:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.686732 -2.673937)', '2026-07-24 15:46:08', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68682 -2.673881)'), GeomFromEWKT('SRID=4674;POINT (-39.686732 -2.673937)'))) / (select extract(epoch from '2026-07-24 15:46:08'::timestamp) - extract(epoch from '2026-07-24 15:46:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68682 -2.673881)'), GeomFromEWKT('SRID=4674;POINT (-39.686732 -2.673937)'))) / (select extract(epoch from '2026-07-24 15:46:08'::timestamp) - extract(epoch from '2026-07-24 15:46: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'), 47870, 'SRID=4674;POINT (-39.68661 -2.674006)', '2026-07-24 15:46:16', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686732 -2.673937)'), GeomFromEWKT('SRID=4674;POINT (-39.68661 -2.674006)'))) / (select extract(epoch from '2026-07-24 15:46:16'::timestamp) - extract(epoch from '2026-07-24 15:46:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686732 -2.673937)'), GeomFromEWKT('SRID=4674;POINT (-39.68661 -2.674006)'))) / (select extract(epoch from '2026-07-24 15:46:16'::timestamp) - extract(epoch from '2026-07-24 15:46:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.686516 -2.674064)', '2026-07-24 15:46:22', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68661 -2.674006)'), GeomFromEWKT('SRID=4674;POINT (-39.686516 -2.674064)'))) / (select extract(epoch from '2026-07-24 15:46:22'::timestamp) - extract(epoch from '2026-07-24 15:46:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68661 -2.674006)'), GeomFromEWKT('SRID=4674;POINT (-39.686516 -2.674064)'))) / (select extract(epoch from '2026-07-24 15:46:22'::timestamp) - extract(epoch from '2026-07-24 15:46:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.686431 -2.674128)', '2026-07-24 15:46:29', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686516 -2.674064)'), GeomFromEWKT('SRID=4674;POINT (-39.686431 -2.674128)'))) / (select extract(epoch from '2026-07-24 15:46:29'::timestamp) - extract(epoch from '2026-07-24 15:46:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686516 -2.674064)'), GeomFromEWKT('SRID=4674;POINT (-39.686431 -2.674128)'))) / (select extract(epoch from '2026-07-24 15:46:29'::timestamp) - extract(epoch from '2026-07-24 15:46: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'), 47870, 'SRID=4674;POINT (-39.686377 -2.67416)', '2026-07-24 15:46:33', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686431 -2.674128)'), GeomFromEWKT('SRID=4674;POINT (-39.686377 -2.67416)'))) / (select extract(epoch from '2026-07-24 15:46:33'::timestamp) - extract(epoch from '2026-07-24 15:46:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686431 -2.674128)'), GeomFromEWKT('SRID=4674;POINT (-39.686377 -2.67416)'))) / (select extract(epoch from '2026-07-24 15:46:33'::timestamp) - extract(epoch from '2026-07-24 15:46: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'), 47870, 'SRID=4674;POINT (-39.686367 -2.674172)', '2026-07-24 15:46:34', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686377 -2.67416)'), GeomFromEWKT('SRID=4674;POINT (-39.686367 -2.674172)'))) / (select extract(epoch from '2026-07-24 15:46:34'::timestamp) - extract(epoch from '2026-07-24 15:46:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686377 -2.67416)'), GeomFromEWKT('SRID=4674;POINT (-39.686367 -2.674172)'))) / (select extract(epoch from '2026-07-24 15:46:34'::timestamp) - extract(epoch from '2026-07-24 15:46: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'), 47870, 'SRID=4674;POINT (-39.6863 -2.674218)', '2026-07-24 15:46:38', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686367 -2.674172)'), GeomFromEWKT('SRID=4674;POINT (-39.6863 -2.674218)'))) / (select extract(epoch from '2026-07-24 15:46:38'::timestamp) - extract(epoch from '2026-07-24 15:46:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686367 -2.674172)'), GeomFromEWKT('SRID=4674;POINT (-39.6863 -2.674218)'))) / (select extract(epoch from '2026-07-24 15:46:38'::timestamp) - extract(epoch from '2026-07-24 15:46: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'), 47870, 'SRID=4674;POINT (-39.686258 -2.67427)', '2026-07-24 15:46:42', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6863 -2.674218)'), GeomFromEWKT('SRID=4674;POINT (-39.686258 -2.67427)'))) / (select extract(epoch from '2026-07-24 15:46:42'::timestamp) - extract(epoch from '2026-07-24 15:46:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6863 -2.674218)'), GeomFromEWKT('SRID=4674;POINT (-39.686258 -2.67427)'))) / (select extract(epoch from '2026-07-24 15:46:42'::timestamp) - extract(epoch from '2026-07-24 15:46: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'), 47870, 'SRID=4674;POINT (-39.686205 -2.674356)', '2026-07-24 15:46:48', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686258 -2.67427)'), GeomFromEWKT('SRID=4674;POINT (-39.686205 -2.674356)'))) / (select extract(epoch from '2026-07-24 15:46:48'::timestamp) - extract(epoch from '2026-07-24 15:46:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686258 -2.67427)'), GeomFromEWKT('SRID=4674;POINT (-39.686205 -2.674356)'))) / (select extract(epoch from '2026-07-24 15:46:48'::timestamp) - extract(epoch from '2026-07-24 15:46: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'), 47870, 'SRID=4674;POINT (-39.686148 -2.674424)', '2026-07-24 15:46:53', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686205 -2.674356)'), GeomFromEWKT('SRID=4674;POINT (-39.686148 -2.674424)'))) / (select extract(epoch from '2026-07-24 15:46:53'::timestamp) - extract(epoch from '2026-07-24 15:46:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686205 -2.674356)'), GeomFromEWKT('SRID=4674;POINT (-39.686148 -2.674424)'))) / (select extract(epoch from '2026-07-24 15:46:53'::timestamp) - extract(epoch from '2026-07-24 15:46: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'), 47870, 'SRID=4674;POINT (-39.686085 -2.674476)', '2026-07-24 15:46:58', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686148 -2.674424)'), GeomFromEWKT('SRID=4674;POINT (-39.686085 -2.674476)'))) / (select extract(epoch from '2026-07-24 15:46:58'::timestamp) - extract(epoch from '2026-07-24 15:46:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686148 -2.674424)'), GeomFromEWKT('SRID=4674;POINT (-39.686085 -2.674476)'))) / (select extract(epoch from '2026-07-24 15:46:58'::timestamp) - extract(epoch from '2026-07-24 15:46: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'), 47870, 'SRID=4674;POINT (-39.686014 -2.674551)', '2026-07-24 15:47:04', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686085 -2.674476)'), GeomFromEWKT('SRID=4674;POINT (-39.686014 -2.674551)'))) / (select extract(epoch from '2026-07-24 15:47:04'::timestamp) - extract(epoch from '2026-07-24 15:46:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686085 -2.674476)'), GeomFromEWKT('SRID=4674;POINT (-39.686014 -2.674551)'))) / (select extract(epoch from '2026-07-24 15:47:04'::timestamp) - extract(epoch from '2026-07-24 15:46:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.685979 -2.674635)', '2026-07-24 15:47:09', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686014 -2.674551)'), GeomFromEWKT('SRID=4674;POINT (-39.685979 -2.674635)'))) / (select extract(epoch from '2026-07-24 15:47:09'::timestamp) - extract(epoch from '2026-07-24 15:47:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686014 -2.674551)'), GeomFromEWKT('SRID=4674;POINT (-39.685979 -2.674635)'))) / (select extract(epoch from '2026-07-24 15:47:09'::timestamp) - extract(epoch from '2026-07-24 15:47: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'), 47870, 'SRID=4674;POINT (-39.685963 -2.674709)', '2026-07-24 15:47:13', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685979 -2.674635)'), GeomFromEWKT('SRID=4674;POINT (-39.685963 -2.674709)'))) / (select extract(epoch from '2026-07-24 15:47:13'::timestamp) - extract(epoch from '2026-07-24 15:47:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685979 -2.674635)'), GeomFromEWKT('SRID=4674;POINT (-39.685963 -2.674709)'))) / (select extract(epoch from '2026-07-24 15:47:13'::timestamp) - extract(epoch from '2026-07-24 15:47: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'), 47870, 'SRID=4674;POINT (-39.685965 -2.674813)', '2026-07-24 15:47:19', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685963 -2.674709)'), GeomFromEWKT('SRID=4674;POINT (-39.685965 -2.674813)'))) / (select extract(epoch from '2026-07-24 15:47:19'::timestamp) - extract(epoch from '2026-07-24 15:47:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685963 -2.674709)'), GeomFromEWKT('SRID=4674;POINT (-39.685965 -2.674813)'))) / (select extract(epoch from '2026-07-24 15:47:19'::timestamp) - extract(epoch from '2026-07-24 15:47:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.686014 -2.674879)', '2026-07-24 15:47:25', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685965 -2.674813)'), GeomFromEWKT('SRID=4674;POINT (-39.686014 -2.674879)'))) / (select extract(epoch from '2026-07-24 15:47:25'::timestamp) - extract(epoch from '2026-07-24 15:47:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685965 -2.674813)'), GeomFromEWKT('SRID=4674;POINT (-39.686014 -2.674879)'))) / (select extract(epoch from '2026-07-24 15:47:25'::timestamp) - extract(epoch from '2026-07-24 15:47: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'), 47870, 'SRID=4674;POINT (-39.686085 -2.674893)', '2026-07-24 15:47:30', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686014 -2.674879)'), GeomFromEWKT('SRID=4674;POINT (-39.686085 -2.674893)'))) / (select extract(epoch from '2026-07-24 15:47:30'::timestamp) - extract(epoch from '2026-07-24 15:47:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686014 -2.674879)'), GeomFromEWKT('SRID=4674;POINT (-39.686085 -2.674893)'))) / (select extract(epoch from '2026-07-24 15:47:30'::timestamp) - extract(epoch from '2026-07-24 15:47: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'), 47870, 'SRID=4674;POINT (-39.686153 -2.67488)', '2026-07-24 15:47:35', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686085 -2.674893)'), GeomFromEWKT('SRID=4674;POINT (-39.686153 -2.67488)'))) / (select extract(epoch from '2026-07-24 15:47:35'::timestamp) - extract(epoch from '2026-07-24 15:47:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686085 -2.674893)'), GeomFromEWKT('SRID=4674;POINT (-39.686153 -2.67488)'))) / (select extract(epoch from '2026-07-24 15:47:35'::timestamp) - extract(epoch from '2026-07-24 15:47: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'), 47870, 'SRID=4674;POINT (-39.686216 -2.674824)', '2026-07-24 15:47:41', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686153 -2.67488)'), GeomFromEWKT('SRID=4674;POINT (-39.686216 -2.674824)'))) / (select extract(epoch from '2026-07-24 15:47:41'::timestamp) - extract(epoch from '2026-07-24 15:47:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686153 -2.67488)'), GeomFromEWKT('SRID=4674;POINT (-39.686216 -2.674824)'))) / (select extract(epoch from '2026-07-24 15:47:41'::timestamp) - extract(epoch from '2026-07-24 15:47: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'), 47870, 'SRID=4674;POINT (-39.686242 -2.674756)', '2026-07-24 15:47:48', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686216 -2.674824)'), GeomFromEWKT('SRID=4674;POINT (-39.686242 -2.674756)'))) / (select extract(epoch from '2026-07-24 15:47:48'::timestamp) - extract(epoch from '2026-07-24 15:47:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686216 -2.674824)'), GeomFromEWKT('SRID=4674;POINT (-39.686242 -2.674756)'))) / (select extract(epoch from '2026-07-24 15:47:48'::timestamp) - extract(epoch from '2026-07-24 15:47:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.686251 -2.674731)', '2026-07-24 15:47:55', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686242 -2.674756)'), GeomFromEWKT('SRID=4674;POINT (-39.686251 -2.674731)'))) / (select extract(epoch from '2026-07-24 15:47:55'::timestamp) - extract(epoch from '2026-07-24 15:47:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686242 -2.674756)'), GeomFromEWKT('SRID=4674;POINT (-39.686251 -2.674731)'))) / (select extract(epoch from '2026-07-24 15:47:55'::timestamp) - extract(epoch from '2026-07-24 15:47: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'), 47870, 'SRID=4674;POINT (-39.686256 -2.674708)', '2026-07-24 15:48:00', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686251 -2.674731)'), GeomFromEWKT('SRID=4674;POINT (-39.686256 -2.674708)'))) / (select extract(epoch from '2026-07-24 15:48:00'::timestamp) - extract(epoch from '2026-07-24 15:47:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686251 -2.674731)'), GeomFromEWKT('SRID=4674;POINT (-39.686256 -2.674708)'))) / (select extract(epoch from '2026-07-24 15:48:00'::timestamp) - extract(epoch from '2026-07-24 15:47: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'), 47870, 'SRID=4674;POINT (-39.686258 -2.674672)', '2026-07-24 15:48:09', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686256 -2.674708)'), GeomFromEWKT('SRID=4674;POINT (-39.686258 -2.674672)'))) / (select extract(epoch from '2026-07-24 15:48:09'::timestamp) - extract(epoch from '2026-07-24 15:48:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686256 -2.674708)'), GeomFromEWKT('SRID=4674;POINT (-39.686258 -2.674672)'))) / (select extract(epoch from '2026-07-24 15:48:09'::timestamp) - extract(epoch from '2026-07-24 15:48:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.686234 -2.674601)', '2026-07-24 15:48:21', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686258 -2.674672)'), GeomFromEWKT('SRID=4674;POINT (-39.686234 -2.674601)'))) / (select extract(epoch from '2026-07-24 15:48:21'::timestamp) - extract(epoch from '2026-07-24 15:48:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686258 -2.674672)'), GeomFromEWKT('SRID=4674;POINT (-39.686234 -2.674601)'))) / (select extract(epoch from '2026-07-24 15:48:21'::timestamp) - extract(epoch from '2026-07-24 15:48: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'), 47870, 'SRID=4674;POINT (-39.686248 -2.674549)', '2026-07-24 15:48:32', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686234 -2.674601)'), GeomFromEWKT('SRID=4674;POINT (-39.686248 -2.674549)'))) / (select extract(epoch from '2026-07-24 15:48:32'::timestamp) - extract(epoch from '2026-07-24 15:48:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686234 -2.674601)'), GeomFromEWKT('SRID=4674;POINT (-39.686248 -2.674549)'))) / (select extract(epoch from '2026-07-24 15:48:32'::timestamp) - extract(epoch from '2026-07-24 15:48: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'), 47870, 'SRID=4674;POINT (-39.686264 -2.674509)', '2026-07-24 15:48:41', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686248 -2.674549)'), GeomFromEWKT('SRID=4674;POINT (-39.686264 -2.674509)'))) / (select extract(epoch from '2026-07-24 15:48:41'::timestamp) - extract(epoch from '2026-07-24 15:48:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686248 -2.674549)'), GeomFromEWKT('SRID=4674;POINT (-39.686264 -2.674509)'))) / (select extract(epoch from '2026-07-24 15:48:41'::timestamp) - extract(epoch from '2026-07-24 15:48: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'), 47870, 'SRID=4674;POINT (-39.686282 -2.674485)', '2026-07-24 15:48:48', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686264 -2.674509)'), GeomFromEWKT('SRID=4674;POINT (-39.686282 -2.674485)'))) / (select extract(epoch from '2026-07-24 15:48:48'::timestamp) - extract(epoch from '2026-07-24 15:48:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686264 -2.674509)'), GeomFromEWKT('SRID=4674;POINT (-39.686282 -2.674485)'))) / (select extract(epoch from '2026-07-24 15:48:48'::timestamp) - extract(epoch from '2026-07-24 15:48: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'), 47870, 'SRID=4674;POINT (-39.68631 -2.674456)', '2026-07-24 15:48:57', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686282 -2.674485)'), GeomFromEWKT('SRID=4674;POINT (-39.68631 -2.674456)'))) / (select extract(epoch from '2026-07-24 15:48:57'::timestamp) - extract(epoch from '2026-07-24 15:48:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686282 -2.674485)'), GeomFromEWKT('SRID=4674;POINT (-39.68631 -2.674456)'))) / (select extract(epoch from '2026-07-24 15:48:57'::timestamp) - extract(epoch from '2026-07-24 15:48:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.686309 -2.674449)', '2026-07-24 15:49:05', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68631 -2.674456)'), GeomFromEWKT('SRID=4674;POINT (-39.686309 -2.674449)'))) / (select extract(epoch from '2026-07-24 15:49:05'::timestamp) - extract(epoch from '2026-07-24 15:48:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68631 -2.674456)'), GeomFromEWKT('SRID=4674;POINT (-39.686309 -2.674449)'))) / (select extract(epoch from '2026-07-24 15:49:05'::timestamp) - extract(epoch from '2026-07-24 15:48:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.686277 -2.674417)', '2026-07-24 15:49:11', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686309 -2.674449)'), GeomFromEWKT('SRID=4674;POINT (-39.686277 -2.674417)'))) / (select extract(epoch from '2026-07-24 15:49:11'::timestamp) - extract(epoch from '2026-07-24 15:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686309 -2.674449)'), GeomFromEWKT('SRID=4674;POINT (-39.686277 -2.674417)'))) / (select extract(epoch from '2026-07-24 15:49:11'::timestamp) - extract(epoch from '2026-07-24 15:49: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'), 47870, 'SRID=4674;POINT (-39.686264 -2.674417)', '2026-07-24 15:49:12', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686277 -2.674417)'), GeomFromEWKT('SRID=4674;POINT (-39.686264 -2.674417)'))) / (select extract(epoch from '2026-07-24 15:49:12'::timestamp) - extract(epoch from '2026-07-24 15:49:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686277 -2.674417)'), GeomFromEWKT('SRID=4674;POINT (-39.686264 -2.674417)'))) / (select extract(epoch from '2026-07-24 15:49:12'::timestamp) - extract(epoch from '2026-07-24 15:49: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'), 47870, 'SRID=4674;POINT (-39.68621 -2.674417)', '2026-07-24 15:49:16', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686264 -2.674417)'), GeomFromEWKT('SRID=4674;POINT (-39.68621 -2.674417)'))) / (select extract(epoch from '2026-07-24 15:49:16'::timestamp) - extract(epoch from '2026-07-24 15:49:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686264 -2.674417)'), GeomFromEWKT('SRID=4674;POINT (-39.68621 -2.674417)'))) / (select extract(epoch from '2026-07-24 15:49:16'::timestamp) - extract(epoch from '2026-07-24 15:49:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.68613 -2.674436)', '2026-07-24 15:49:21', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68621 -2.674417)'), GeomFromEWKT('SRID=4674;POINT (-39.68613 -2.674436)'))) / (select extract(epoch from '2026-07-24 15:49:21'::timestamp) - extract(epoch from '2026-07-24 15:49:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68621 -2.674417)'), GeomFromEWKT('SRID=4674;POINT (-39.68613 -2.674436)'))) / (select extract(epoch from '2026-07-24 15:49:21'::timestamp) - extract(epoch from '2026-07-24 15:49: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'), 47870, 'SRID=4674;POINT (-39.686035 -2.67448)', '2026-07-24 15:49:28', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68613 -2.674436)'), GeomFromEWKT('SRID=4674;POINT (-39.686035 -2.67448)'))) / (select extract(epoch from '2026-07-24 15:49:28'::timestamp) - extract(epoch from '2026-07-24 15:49:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68613 -2.674436)'), GeomFromEWKT('SRID=4674;POINT (-39.686035 -2.67448)'))) / (select extract(epoch from '2026-07-24 15:49:28'::timestamp) - extract(epoch from '2026-07-24 15:49: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'), 47870, 'SRID=4674;POINT (-39.685934 -2.674506)', '2026-07-24 15:49:34', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686035 -2.67448)'), GeomFromEWKT('SRID=4674;POINT (-39.685934 -2.674506)'))) / (select extract(epoch from '2026-07-24 15:49:34'::timestamp) - extract(epoch from '2026-07-24 15:49:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686035 -2.67448)'), GeomFromEWKT('SRID=4674;POINT (-39.685934 -2.674506)'))) / (select extract(epoch from '2026-07-24 15:49:34'::timestamp) - extract(epoch from '2026-07-24 15:49:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.685795 -2.674525)', '2026-07-24 15:49:42', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685934 -2.674506)'), GeomFromEWKT('SRID=4674;POINT (-39.685795 -2.674525)'))) / (select extract(epoch from '2026-07-24 15:49:42'::timestamp) - extract(epoch from '2026-07-24 15:49:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685934 -2.674506)'), GeomFromEWKT('SRID=4674;POINT (-39.685795 -2.674525)'))) / (select extract(epoch from '2026-07-24 15:49:42'::timestamp) - extract(epoch from '2026-07-24 15:49:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.685705 -2.674511)', '2026-07-24 15:49:47', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685795 -2.674525)'), GeomFromEWKT('SRID=4674;POINT (-39.685705 -2.674511)'))) / (select extract(epoch from '2026-07-24 15:49:47'::timestamp) - extract(epoch from '2026-07-24 15:49:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685795 -2.674525)'), GeomFromEWKT('SRID=4674;POINT (-39.685705 -2.674511)'))) / (select extract(epoch from '2026-07-24 15:49:47'::timestamp) - extract(epoch from '2026-07-24 15:49: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'), 47870, 'SRID=4674;POINT (-39.685606 -2.674512)', '2026-07-24 15:49:52', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685705 -2.674511)'), GeomFromEWKT('SRID=4674;POINT (-39.685606 -2.674512)'))) / (select extract(epoch from '2026-07-24 15:49:52'::timestamp) - extract(epoch from '2026-07-24 15:49:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685705 -2.674511)'), GeomFromEWKT('SRID=4674;POINT (-39.685606 -2.674512)'))) / (select extract(epoch from '2026-07-24 15:49:52'::timestamp) - extract(epoch from '2026-07-24 15:49:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.685472 -2.67453)', '2026-07-24 15:49:59', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685606 -2.674512)'), GeomFromEWKT('SRID=4674;POINT (-39.685472 -2.67453)'))) / (select extract(epoch from '2026-07-24 15:49:59'::timestamp) - extract(epoch from '2026-07-24 15:49:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685606 -2.674512)'), GeomFromEWKT('SRID=4674;POINT (-39.685472 -2.67453)'))) / (select extract(epoch from '2026-07-24 15:49:59'::timestamp) - extract(epoch from '2026-07-24 15:49: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'), 47870, 'SRID=4674;POINT (-39.685355 -2.674549)', '2026-07-24 15:50:05', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685472 -2.67453)'), GeomFromEWKT('SRID=4674;POINT (-39.685355 -2.674549)'))) / (select extract(epoch from '2026-07-24 15:50:05'::timestamp) - extract(epoch from '2026-07-24 15:49:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685472 -2.67453)'), GeomFromEWKT('SRID=4674;POINT (-39.685355 -2.674549)'))) / (select extract(epoch from '2026-07-24 15:50:05'::timestamp) - extract(epoch from '2026-07-24 15:49:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.685255 -2.674567)', '2026-07-24 15:50:10', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685355 -2.674549)'), GeomFromEWKT('SRID=4674;POINT (-39.685255 -2.674567)'))) / (select extract(epoch from '2026-07-24 15:50:10'::timestamp) - extract(epoch from '2026-07-24 15:50:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685355 -2.674549)'), GeomFromEWKT('SRID=4674;POINT (-39.685255 -2.674567)'))) / (select extract(epoch from '2026-07-24 15:50:10'::timestamp) - extract(epoch from '2026-07-24 15:50:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.685182 -2.674605)', '2026-07-24 15:50:15', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685255 -2.674567)'), GeomFromEWKT('SRID=4674;POINT (-39.685182 -2.674605)'))) / (select extract(epoch from '2026-07-24 15:50:15'::timestamp) - extract(epoch from '2026-07-24 15:50:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685255 -2.674567)'), GeomFromEWKT('SRID=4674;POINT (-39.685182 -2.674605)'))) / (select extract(epoch from '2026-07-24 15:50:15'::timestamp) - extract(epoch from '2026-07-24 15:50: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'), 47870, 'SRID=4674;POINT (-39.685093 -2.674698)', '2026-07-24 15:50:22', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685182 -2.674605)'), GeomFromEWKT('SRID=4674;POINT (-39.685093 -2.674698)'))) / (select extract(epoch from '2026-07-24 15:50:22'::timestamp) - extract(epoch from '2026-07-24 15:50:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685182 -2.674605)'), GeomFromEWKT('SRID=4674;POINT (-39.685093 -2.674698)'))) / (select extract(epoch from '2026-07-24 15:50:22'::timestamp) - extract(epoch from '2026-07-24 15:50: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'), 47870, 'SRID=4674;POINT (-39.685057 -2.674739)', '2026-07-24 15:50:25', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685093 -2.674698)'), GeomFromEWKT('SRID=4674;POINT (-39.685057 -2.674739)'))) / (select extract(epoch from '2026-07-24 15:50:25'::timestamp) - extract(epoch from '2026-07-24 15:50:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685093 -2.674698)'), GeomFromEWKT('SRID=4674;POINT (-39.685057 -2.674739)'))) / (select extract(epoch from '2026-07-24 15:50:25'::timestamp) - extract(epoch from '2026-07-24 15:50: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'), 47870, 'SRID=4674;POINT (-39.685024 -2.674755)', '2026-07-24 15:50:27', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685057 -2.674739)'), GeomFromEWKT('SRID=4674;POINT (-39.685024 -2.674755)'))) / (select extract(epoch from '2026-07-24 15:50:27'::timestamp) - extract(epoch from '2026-07-24 15:50:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685057 -2.674739)'), GeomFromEWKT('SRID=4674;POINT (-39.685024 -2.674755)'))) / (select extract(epoch from '2026-07-24 15:50:27'::timestamp) - extract(epoch from '2026-07-24 15:50: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'), 47870, 'SRID=4674;POINT (-39.684936 -2.67482)', '2026-07-24 15:50:33', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685024 -2.674755)'), GeomFromEWKT('SRID=4674;POINT (-39.684936 -2.67482)'))) / (select extract(epoch from '2026-07-24 15:50:33'::timestamp) - extract(epoch from '2026-07-24 15:50:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685024 -2.674755)'), GeomFromEWKT('SRID=4674;POINT (-39.684936 -2.67482)'))) / (select extract(epoch from '2026-07-24 15:50:33'::timestamp) - extract(epoch from '2026-07-24 15:50: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'), 47870, 'SRID=4674;POINT (-39.684856 -2.674902)', '2026-07-24 15:50:39', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684936 -2.67482)'), GeomFromEWKT('SRID=4674;POINT (-39.684856 -2.674902)'))) / (select extract(epoch from '2026-07-24 15:50:39'::timestamp) - extract(epoch from '2026-07-24 15:50:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684936 -2.67482)'), GeomFromEWKT('SRID=4674;POINT (-39.684856 -2.674902)'))) / (select extract(epoch from '2026-07-24 15:50:39'::timestamp) - extract(epoch from '2026-07-24 15:50:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.684788 -2.674972)', '2026-07-24 15:50:44', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684856 -2.674902)'), GeomFromEWKT('SRID=4674;POINT (-39.684788 -2.674972)'))) / (select extract(epoch from '2026-07-24 15:50:44'::timestamp) - extract(epoch from '2026-07-24 15:50:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684856 -2.674902)'), GeomFromEWKT('SRID=4674;POINT (-39.684788 -2.674972)'))) / (select extract(epoch from '2026-07-24 15:50:44'::timestamp) - extract(epoch from '2026-07-24 15:50: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'), 47870, 'SRID=4674;POINT (-39.684698 -2.675058)', '2026-07-24 15:50:50', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684788 -2.674972)'), GeomFromEWKT('SRID=4674;POINT (-39.684698 -2.675058)'))) / (select extract(epoch from '2026-07-24 15:50:50'::timestamp) - extract(epoch from '2026-07-24 15:50:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684788 -2.674972)'), GeomFromEWKT('SRID=4674;POINT (-39.684698 -2.675058)'))) / (select extract(epoch from '2026-07-24 15:50:50'::timestamp) - extract(epoch from '2026-07-24 15:50: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'), 47870, 'SRID=4674;POINT (-39.684636 -2.675115)', '2026-07-24 15:50:54', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684698 -2.675058)'), GeomFromEWKT('SRID=4674;POINT (-39.684636 -2.675115)'))) / (select extract(epoch from '2026-07-24 15:50:54'::timestamp) - extract(epoch from '2026-07-24 15:50:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684698 -2.675058)'), GeomFromEWKT('SRID=4674;POINT (-39.684636 -2.675115)'))) / (select extract(epoch from '2026-07-24 15:50:54'::timestamp) - extract(epoch from '2026-07-24 15:50: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'), 47870, 'SRID=4674;POINT (-39.684613 -2.675138)', '2026-07-24 15:50:56', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684636 -2.675115)'), GeomFromEWKT('SRID=4674;POINT (-39.684613 -2.675138)'))) / (select extract(epoch from '2026-07-24 15:50:56'::timestamp) - extract(epoch from '2026-07-24 15:50:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684636 -2.675115)'), GeomFromEWKT('SRID=4674;POINT (-39.684613 -2.675138)'))) / (select extract(epoch from '2026-07-24 15:50:56'::timestamp) - extract(epoch from '2026-07-24 15:50:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.684591 -2.675159)', '2026-07-24 15:50:58', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684613 -2.675138)'), GeomFromEWKT('SRID=4674;POINT (-39.684591 -2.675159)'))) / (select extract(epoch from '2026-07-24 15:50:58'::timestamp) - extract(epoch from '2026-07-24 15:50:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684613 -2.675138)'), GeomFromEWKT('SRID=4674;POINT (-39.684591 -2.675159)'))) / (select extract(epoch from '2026-07-24 15:50:58'::timestamp) - extract(epoch from '2026-07-24 15:50:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.684541 -2.675205)', '2026-07-24 15:51:05', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684591 -2.675159)'), GeomFromEWKT('SRID=4674;POINT (-39.684541 -2.675205)'))) / (select extract(epoch from '2026-07-24 15:51:05'::timestamp) - extract(epoch from '2026-07-24 15:50:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684591 -2.675159)'), GeomFromEWKT('SRID=4674;POINT (-39.684541 -2.675205)'))) / (select extract(epoch from '2026-07-24 15:51:05'::timestamp) - extract(epoch from '2026-07-24 15:50: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'), 47870, 'SRID=4674;POINT (-39.684511 -2.675204)', '2026-07-24 15:51:13', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684541 -2.675205)'), GeomFromEWKT('SRID=4674;POINT (-39.684511 -2.675204)'))) / (select extract(epoch from '2026-07-24 15:51:13'::timestamp) - extract(epoch from '2026-07-24 15:51:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684541 -2.675205)'), GeomFromEWKT('SRID=4674;POINT (-39.684511 -2.675204)'))) / (select extract(epoch from '2026-07-24 15:51:13'::timestamp) - extract(epoch from '2026-07-24 15:51: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'), 47870, 'SRID=4674;POINT (-39.6845 -2.675194)', '2026-07-24 15:51:25', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684511 -2.675204)'), GeomFromEWKT('SRID=4674;POINT (-39.6845 -2.675194)'))) / (select extract(epoch from '2026-07-24 15:51:25'::timestamp) - extract(epoch from '2026-07-24 15:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684511 -2.675204)'), GeomFromEWKT('SRID=4674;POINT (-39.6845 -2.675194)'))) / (select extract(epoch from '2026-07-24 15:51:25'::timestamp) - extract(epoch from '2026-07-24 15:51: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'), 47870, 'SRID=4674;POINT (-39.684542 -2.675138)', '2026-07-24 15:51:41', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6845 -2.675194)'), GeomFromEWKT('SRID=4674;POINT (-39.684542 -2.675138)'))) / (select extract(epoch from '2026-07-24 15:51:41'::timestamp) - extract(epoch from '2026-07-24 15:51:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6845 -2.675194)'), GeomFromEWKT('SRID=4674;POINT (-39.684542 -2.675138)'))) / (select extract(epoch from '2026-07-24 15:51:41'::timestamp) - extract(epoch from '2026-07-24 15:51: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'), 47870, 'SRID=4674;POINT (-39.684596 -2.675102)', '2026-07-24 15:51:57', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684542 -2.675138)'), GeomFromEWKT('SRID=4674;POINT (-39.684596 -2.675102)'))) / (select extract(epoch from '2026-07-24 15:51:57'::timestamp) - extract(epoch from '2026-07-24 15:51:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684542 -2.675138)'), GeomFromEWKT('SRID=4674;POINT (-39.684596 -2.675102)'))) / (select extract(epoch from '2026-07-24 15:51:57'::timestamp) - extract(epoch from '2026-07-24 15:51:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.684631 -2.675088)', '2026-07-24 15:52:06', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684596 -2.675102)'), GeomFromEWKT('SRID=4674;POINT (-39.684631 -2.675088)'))) / (select extract(epoch from '2026-07-24 15:52:06'::timestamp) - extract(epoch from '2026-07-24 15:51:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684596 -2.675102)'), GeomFromEWKT('SRID=4674;POINT (-39.684631 -2.675088)'))) / (select extract(epoch from '2026-07-24 15:52:06'::timestamp) - extract(epoch from '2026-07-24 15:51:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.684658 -2.675066)', '2026-07-24 15:52:13', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684631 -2.675088)'), GeomFromEWKT('SRID=4674;POINT (-39.684658 -2.675066)'))) / (select extract(epoch from '2026-07-24 15:52:13'::timestamp) - extract(epoch from '2026-07-24 15:52:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684631 -2.675088)'), GeomFromEWKT('SRID=4674;POINT (-39.684658 -2.675066)'))) / (select extract(epoch from '2026-07-24 15:52:13'::timestamp) - extract(epoch from '2026-07-24 15:52: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'), 47870, 'SRID=4674;POINT (-39.68471 -2.675037)', '2026-07-24 15:52:23', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684658 -2.675066)'), GeomFromEWKT('SRID=4674;POINT (-39.68471 -2.675037)'))) / (select extract(epoch from '2026-07-24 15:52:23'::timestamp) - extract(epoch from '2026-07-24 15:52:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684658 -2.675066)'), GeomFromEWKT('SRID=4674;POINT (-39.68471 -2.675037)'))) / (select extract(epoch from '2026-07-24 15:52:23'::timestamp) - extract(epoch from '2026-07-24 15:52:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.684777 -2.675006)', '2026-07-24 15:52:33', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68471 -2.675037)'), GeomFromEWKT('SRID=4674;POINT (-39.684777 -2.675006)'))) / (select extract(epoch from '2026-07-24 15:52:33'::timestamp) - extract(epoch from '2026-07-24 15:52:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68471 -2.675037)'), GeomFromEWKT('SRID=4674;POINT (-39.684777 -2.675006)'))) / (select extract(epoch from '2026-07-24 15:52:33'::timestamp) - extract(epoch from '2026-07-24 15:52: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'), 47870, 'SRID=4674;POINT (-39.684847 -2.674982)', '2026-07-24 15:52:42', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684777 -2.675006)'), GeomFromEWKT('SRID=4674;POINT (-39.684847 -2.674982)'))) / (select extract(epoch from '2026-07-24 15:52:42'::timestamp) - extract(epoch from '2026-07-24 15:52:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684777 -2.675006)'), GeomFromEWKT('SRID=4674;POINT (-39.684847 -2.674982)'))) / (select extract(epoch from '2026-07-24 15:52:42'::timestamp) - extract(epoch from '2026-07-24 15:52:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.684914 -2.674939)', '2026-07-24 15:52:52', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684847 -2.674982)'), GeomFromEWKT('SRID=4674;POINT (-39.684914 -2.674939)'))) / (select extract(epoch from '2026-07-24 15:52:52'::timestamp) - extract(epoch from '2026-07-24 15:52:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684847 -2.674982)'), GeomFromEWKT('SRID=4674;POINT (-39.684914 -2.674939)'))) / (select extract(epoch from '2026-07-24 15:52:52'::timestamp) - extract(epoch from '2026-07-24 15:52: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'), 47870, 'SRID=4674;POINT (-39.684977 -2.674901)', '2026-07-24 15:53:01', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684914 -2.674939)'), GeomFromEWKT('SRID=4674;POINT (-39.684977 -2.674901)'))) / (select extract(epoch from '2026-07-24 15:53:01'::timestamp) - extract(epoch from '2026-07-24 15:52:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684914 -2.674939)'), GeomFromEWKT('SRID=4674;POINT (-39.684977 -2.674901)'))) / (select extract(epoch from '2026-07-24 15:53:01'::timestamp) - extract(epoch from '2026-07-24 15:52:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.685011 -2.674867)', '2026-07-24 15:53:11', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684977 -2.674901)'), GeomFromEWKT('SRID=4674;POINT (-39.685011 -2.674867)'))) / (select extract(epoch from '2026-07-24 15:53:11'::timestamp) - extract(epoch from '2026-07-24 15:53:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684977 -2.674901)'), GeomFromEWKT('SRID=4674;POINT (-39.685011 -2.674867)'))) / (select extract(epoch from '2026-07-24 15:53:11'::timestamp) - extract(epoch from '2026-07-24 15:53: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'), 47870, 'SRID=4674;POINT (-39.685005 -2.674813)', '2026-07-24 15:53:19', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685011 -2.674867)'), GeomFromEWKT('SRID=4674;POINT (-39.685005 -2.674813)'))) / (select extract(epoch from '2026-07-24 15:53:19'::timestamp) - extract(epoch from '2026-07-24 15:53:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685011 -2.674867)'), GeomFromEWKT('SRID=4674;POINT (-39.685005 -2.674813)'))) / (select extract(epoch from '2026-07-24 15:53:19'::timestamp) - extract(epoch from '2026-07-24 15:53: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'), 47870, 'SRID=4674;POINT (-39.684916 -2.674792)', '2026-07-24 15:53:26', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685005 -2.674813)'), GeomFromEWKT('SRID=4674;POINT (-39.684916 -2.674792)'))) / (select extract(epoch from '2026-07-24 15:53:26'::timestamp) - extract(epoch from '2026-07-24 15:53:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685005 -2.674813)'), GeomFromEWKT('SRID=4674;POINT (-39.684916 -2.674792)'))) / (select extract(epoch from '2026-07-24 15:53:26'::timestamp) - extract(epoch from '2026-07-24 15:53:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.684811 -2.674824)', '2026-07-24 15:53:33', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684916 -2.674792)'), GeomFromEWKT('SRID=4674;POINT (-39.684811 -2.674824)'))) / (select extract(epoch from '2026-07-24 15:53:33'::timestamp) - extract(epoch from '2026-07-24 15:53:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684916 -2.674792)'), GeomFromEWKT('SRID=4674;POINT (-39.684811 -2.674824)'))) / (select extract(epoch from '2026-07-24 15:53:33'::timestamp) - extract(epoch from '2026-07-24 15:53: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'), 47870, 'SRID=4674;POINT (-39.684738 -2.674868)', '2026-07-24 15:53:38', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684811 -2.674824)'), GeomFromEWKT('SRID=4674;POINT (-39.684738 -2.674868)'))) / (select extract(epoch from '2026-07-24 15:53:38'::timestamp) - extract(epoch from '2026-07-24 15:53:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684811 -2.674824)'), GeomFromEWKT('SRID=4674;POINT (-39.684738 -2.674868)'))) / (select extract(epoch from '2026-07-24 15:53:38'::timestamp) - extract(epoch from '2026-07-24 15:53: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'), 47870, 'SRID=4674;POINT (-39.684617 -2.674946)', '2026-07-24 15:53:45', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684738 -2.674868)'), GeomFromEWKT('SRID=4674;POINT (-39.684617 -2.674946)'))) / (select extract(epoch from '2026-07-24 15:53:45'::timestamp) - extract(epoch from '2026-07-24 15:53:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684738 -2.674868)'), GeomFromEWKT('SRID=4674;POINT (-39.684617 -2.674946)'))) / (select extract(epoch from '2026-07-24 15:53:45'::timestamp) - extract(epoch from '2026-07-24 15:53: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'), 47870, 'SRID=4674;POINT (-39.684513 -2.675013)', '2026-07-24 15:53:51', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684617 -2.674946)'), GeomFromEWKT('SRID=4674;POINT (-39.684513 -2.675013)'))) / (select extract(epoch from '2026-07-24 15:53:51'::timestamp) - extract(epoch from '2026-07-24 15:53:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684617 -2.674946)'), GeomFromEWKT('SRID=4674;POINT (-39.684513 -2.675013)'))) / (select extract(epoch from '2026-07-24 15:53:51'::timestamp) - extract(epoch from '2026-07-24 15:53:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.684409 -2.67511)', '2026-07-24 15:53:58', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684513 -2.675013)'), GeomFromEWKT('SRID=4674;POINT (-39.684409 -2.67511)'))) / (select extract(epoch from '2026-07-24 15:53:58'::timestamp) - extract(epoch from '2026-07-24 15:53:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684513 -2.675013)'), GeomFromEWKT('SRID=4674;POINT (-39.684409 -2.67511)'))) / (select extract(epoch from '2026-07-24 15:53:58'::timestamp) - extract(epoch from '2026-07-24 15:53: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'), 47870, 'SRID=4674;POINT (-39.684381 -2.675138)', '2026-07-24 15:54:00', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684409 -2.67511)'), GeomFromEWKT('SRID=4674;POINT (-39.684381 -2.675138)'))) / (select extract(epoch from '2026-07-24 15:54:00'::timestamp) - extract(epoch from '2026-07-24 15:53:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684409 -2.67511)'), GeomFromEWKT('SRID=4674;POINT (-39.684381 -2.675138)'))) / (select extract(epoch from '2026-07-24 15:54:00'::timestamp) - extract(epoch from '2026-07-24 15:53: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'), 47870, 'SRID=4674;POINT (-39.684357 -2.675172)', '2026-07-24 15:54:02', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684381 -2.675138)'), GeomFromEWKT('SRID=4674;POINT (-39.684357 -2.675172)'))) / (select extract(epoch from '2026-07-24 15:54:02'::timestamp) - extract(epoch from '2026-07-24 15:54:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684381 -2.675138)'), GeomFromEWKT('SRID=4674;POINT (-39.684357 -2.675172)'))) / (select extract(epoch from '2026-07-24 15:54:02'::timestamp) - extract(epoch from '2026-07-24 15:54:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.684341 -2.675184)', '2026-07-24 15:54:03', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684357 -2.675172)'), GeomFromEWKT('SRID=4674;POINT (-39.684341 -2.675184)'))) / (select extract(epoch from '2026-07-24 15:54:03'::timestamp) - extract(epoch from '2026-07-24 15:54:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684357 -2.675172)'), GeomFromEWKT('SRID=4674;POINT (-39.684341 -2.675184)'))) / (select extract(epoch from '2026-07-24 15:54:03'::timestamp) - extract(epoch from '2026-07-24 15:54:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.684279 -2.675252)', '2026-07-24 15:54:08', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684341 -2.675184)'), GeomFromEWKT('SRID=4674;POINT (-39.684279 -2.675252)'))) / (select extract(epoch from '2026-07-24 15:54:08'::timestamp) - extract(epoch from '2026-07-24 15:54:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684341 -2.675184)'), GeomFromEWKT('SRID=4674;POINT (-39.684279 -2.675252)'))) / (select extract(epoch from '2026-07-24 15:54:08'::timestamp) - extract(epoch from '2026-07-24 15:54:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.684184 -2.675307)', '2026-07-24 15:54:14', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684279 -2.675252)'), GeomFromEWKT('SRID=4674;POINT (-39.684184 -2.675307)'))) / (select extract(epoch from '2026-07-24 15:54:14'::timestamp) - extract(epoch from '2026-07-24 15:54:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684279 -2.675252)'), GeomFromEWKT('SRID=4674;POINT (-39.684184 -2.675307)'))) / (select extract(epoch from '2026-07-24 15:54:14'::timestamp) - extract(epoch from '2026-07-24 15:54: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'), 47870, 'SRID=4674;POINT (-39.684057 -2.675369)', '2026-07-24 15:54:21', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684184 -2.675307)'), GeomFromEWKT('SRID=4674;POINT (-39.684057 -2.675369)'))) / (select extract(epoch from '2026-07-24 15:54:21'::timestamp) - extract(epoch from '2026-07-24 15:54:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684184 -2.675307)'), GeomFromEWKT('SRID=4674;POINT (-39.684057 -2.675369)'))) / (select extract(epoch from '2026-07-24 15:54:21'::timestamp) - extract(epoch from '2026-07-24 15:54: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'), 47870, 'SRID=4674;POINT (-39.683944 -2.675411)', '2026-07-24 15:54:27', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684057 -2.675369)'), GeomFromEWKT('SRID=4674;POINT (-39.683944 -2.675411)'))) / (select extract(epoch from '2026-07-24 15:54:27'::timestamp) - extract(epoch from '2026-07-24 15:54:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684057 -2.675369)'), GeomFromEWKT('SRID=4674;POINT (-39.683944 -2.675411)'))) / (select extract(epoch from '2026-07-24 15:54:27'::timestamp) - extract(epoch from '2026-07-24 15:54: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'), 47870, 'SRID=4674;POINT (-39.683828 -2.675453)', '2026-07-24 15:54:33', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683944 -2.675411)'), GeomFromEWKT('SRID=4674;POINT (-39.683828 -2.675453)'))) / (select extract(epoch from '2026-07-24 15:54:33'::timestamp) - extract(epoch from '2026-07-24 15:54:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683944 -2.675411)'), GeomFromEWKT('SRID=4674;POINT (-39.683828 -2.675453)'))) / (select extract(epoch from '2026-07-24 15:54:33'::timestamp) - extract(epoch from '2026-07-24 15:54: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'), 47870, 'SRID=4674;POINT (-39.68371 -2.67548)', '2026-07-24 15:54:39', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683828 -2.675453)'), GeomFromEWKT('SRID=4674;POINT (-39.68371 -2.67548)'))) / (select extract(epoch from '2026-07-24 15:54:39'::timestamp) - extract(epoch from '2026-07-24 15:54:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683828 -2.675453)'), GeomFromEWKT('SRID=4674;POINT (-39.68371 -2.67548)'))) / (select extract(epoch from '2026-07-24 15:54:39'::timestamp) - extract(epoch from '2026-07-24 15:54: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'), 47870, 'SRID=4674;POINT (-39.683614 -2.675491)', '2026-07-24 15:54:44', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68371 -2.67548)'), GeomFromEWKT('SRID=4674;POINT (-39.683614 -2.675491)'))) / (select extract(epoch from '2026-07-24 15:54:44'::timestamp) - extract(epoch from '2026-07-24 15:54:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68371 -2.67548)'), GeomFromEWKT('SRID=4674;POINT (-39.683614 -2.675491)'))) / (select extract(epoch from '2026-07-24 15:54:44'::timestamp) - extract(epoch from '2026-07-24 15:54:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.683514 -2.675488)', '2026-07-24 15:54:49', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683614 -2.675491)'), GeomFromEWKT('SRID=4674;POINT (-39.683514 -2.675488)'))) / (select extract(epoch from '2026-07-24 15:54:49'::timestamp) - extract(epoch from '2026-07-24 15:54:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683614 -2.675491)'), GeomFromEWKT('SRID=4674;POINT (-39.683514 -2.675488)'))) / (select extract(epoch from '2026-07-24 15:54:49'::timestamp) - extract(epoch from '2026-07-24 15:54:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.683369 -2.675464)', '2026-07-24 15:54:56', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683514 -2.675488)'), GeomFromEWKT('SRID=4674;POINT (-39.683369 -2.675464)'))) / (select extract(epoch from '2026-07-24 15:54:56'::timestamp) - extract(epoch from '2026-07-24 15:54:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683514 -2.675488)'), GeomFromEWKT('SRID=4674;POINT (-39.683369 -2.675464)'))) / (select extract(epoch from '2026-07-24 15:54:56'::timestamp) - extract(epoch from '2026-07-24 15:54:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.683242 -2.675424)', '2026-07-24 15:55:03', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683369 -2.675464)'), GeomFromEWKT('SRID=4674;POINT (-39.683242 -2.675424)'))) / (select extract(epoch from '2026-07-24 15:55:03'::timestamp) - extract(epoch from '2026-07-24 15:54:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683369 -2.675464)'), GeomFromEWKT('SRID=4674;POINT (-39.683242 -2.675424)'))) / (select extract(epoch from '2026-07-24 15:55:03'::timestamp) - extract(epoch from '2026-07-24 15:54: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'), 47870, 'SRID=4674;POINT (-39.683232 -2.675417)', '2026-07-24 15:55:04', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683242 -2.675424)'), GeomFromEWKT('SRID=4674;POINT (-39.683232 -2.675417)'))) / (select extract(epoch from '2026-07-24 15:55:04'::timestamp) - extract(epoch from '2026-07-24 15:55:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683242 -2.675424)'), GeomFromEWKT('SRID=4674;POINT (-39.683232 -2.675417)'))) / (select extract(epoch from '2026-07-24 15:55:04'::timestamp) - extract(epoch from '2026-07-24 15:55:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.683204 -2.675401)', '2026-07-24 15:55:07', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683232 -2.675417)'), GeomFromEWKT('SRID=4674;POINT (-39.683204 -2.675401)'))) / (select extract(epoch from '2026-07-24 15:55:07'::timestamp) - extract(epoch from '2026-07-24 15:55:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683232 -2.675417)'), GeomFromEWKT('SRID=4674;POINT (-39.683204 -2.675401)'))) / (select extract(epoch from '2026-07-24 15:55:07'::timestamp) - extract(epoch from '2026-07-24 15:55: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'), 47870, 'SRID=4674;POINT (-39.683202 -2.675393)', '2026-07-24 15:55:08', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683204 -2.675401)'), GeomFromEWKT('SRID=4674;POINT (-39.683202 -2.675393)'))) / (select extract(epoch from '2026-07-24 15:55:08'::timestamp) - extract(epoch from '2026-07-24 15:55:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683204 -2.675401)'), GeomFromEWKT('SRID=4674;POINT (-39.683202 -2.675393)'))) / (select extract(epoch from '2026-07-24 15:55:08'::timestamp) - extract(epoch from '2026-07-24 15:55: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'), 47870, 'SRID=4674;POINT (-39.683188 -2.675355)', '2026-07-24 15:55:12', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683202 -2.675393)'), GeomFromEWKT('SRID=4674;POINT (-39.683188 -2.675355)'))) / (select extract(epoch from '2026-07-24 15:55:12'::timestamp) - extract(epoch from '2026-07-24 15:55:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683202 -2.675393)'), GeomFromEWKT('SRID=4674;POINT (-39.683188 -2.675355)'))) / (select extract(epoch from '2026-07-24 15:55:12'::timestamp) - extract(epoch from '2026-07-24 15:55:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.683186 -2.675337)', '2026-07-24 15:55:15', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683188 -2.675355)'), GeomFromEWKT('SRID=4674;POINT (-39.683186 -2.675337)'))) / (select extract(epoch from '2026-07-24 15:55:15'::timestamp) - extract(epoch from '2026-07-24 15:55:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683188 -2.675355)'), GeomFromEWKT('SRID=4674;POINT (-39.683186 -2.675337)'))) / (select extract(epoch from '2026-07-24 15:55:15'::timestamp) - extract(epoch from '2026-07-24 15:55: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'), 47870, 'SRID=4674;POINT (-39.6832 -2.67529)', '2026-07-24 15:55:22', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683186 -2.675337)'), GeomFromEWKT('SRID=4674;POINT (-39.6832 -2.67529)'))) / (select extract(epoch from '2026-07-24 15:55:22'::timestamp) - extract(epoch from '2026-07-24 15:55:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683186 -2.675337)'), GeomFromEWKT('SRID=4674;POINT (-39.6832 -2.67529)'))) / (select extract(epoch from '2026-07-24 15:55:22'::timestamp) - extract(epoch from '2026-07-24 15:55: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'), 47870, 'SRID=4674;POINT (-39.683237 -2.675256)', '2026-07-24 15:55:30', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6832 -2.67529)'), GeomFromEWKT('SRID=4674;POINT (-39.683237 -2.675256)'))) / (select extract(epoch from '2026-07-24 15:55:30'::timestamp) - extract(epoch from '2026-07-24 15:55:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6832 -2.67529)'), GeomFromEWKT('SRID=4674;POINT (-39.683237 -2.675256)'))) / (select extract(epoch from '2026-07-24 15:55:30'::timestamp) - extract(epoch from '2026-07-24 15:55: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'), 47870, 'SRID=4674;POINT (-39.683288 -2.675217)', '2026-07-24 15:55:38', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683237 -2.675256)'), GeomFromEWKT('SRID=4674;POINT (-39.683288 -2.675217)'))) / (select extract(epoch from '2026-07-24 15:55:38'::timestamp) - extract(epoch from '2026-07-24 15:55:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683237 -2.675256)'), GeomFromEWKT('SRID=4674;POINT (-39.683288 -2.675217)'))) / (select extract(epoch from '2026-07-24 15:55:38'::timestamp) - extract(epoch from '2026-07-24 15:55: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'), 47870, 'SRID=4674;POINT (-39.683336 -2.675188)', '2026-07-24 15:55:46', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683288 -2.675217)'), GeomFromEWKT('SRID=4674;POINT (-39.683336 -2.675188)'))) / (select extract(epoch from '2026-07-24 15:55:46'::timestamp) - extract(epoch from '2026-07-24 15:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683288 -2.675217)'), GeomFromEWKT('SRID=4674;POINT (-39.683336 -2.675188)'))) / (select extract(epoch from '2026-07-24 15:55:46'::timestamp) - extract(epoch from '2026-07-24 15:55:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.683379 -2.675158)', '2026-07-24 15:55:55', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683336 -2.675188)'), GeomFromEWKT('SRID=4674;POINT (-39.683379 -2.675158)'))) / (select extract(epoch from '2026-07-24 15:55:55'::timestamp) - extract(epoch from '2026-07-24 15:55:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683336 -2.675188)'), GeomFromEWKT('SRID=4674;POINT (-39.683379 -2.675158)'))) / (select extract(epoch from '2026-07-24 15:55:55'::timestamp) - extract(epoch from '2026-07-24 15:55: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'), 47870, 'SRID=4674;POINT (-39.683394 -2.675138)', '2026-07-24 15:56:02', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683379 -2.675158)'), GeomFromEWKT('SRID=4674;POINT (-39.683394 -2.675138)'))) / (select extract(epoch from '2026-07-24 15:56:02'::timestamp) - extract(epoch from '2026-07-24 15:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683379 -2.675158)'), GeomFromEWKT('SRID=4674;POINT (-39.683394 -2.675138)'))) / (select extract(epoch from '2026-07-24 15:56:02'::timestamp) - extract(epoch from '2026-07-24 15:55: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'), 47870, 'SRID=4674;POINT (-39.683408 -2.675116)', '2026-07-24 15:56:11', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683394 -2.675138)'), GeomFromEWKT('SRID=4674;POINT (-39.683408 -2.675116)'))) / (select extract(epoch from '2026-07-24 15:56:11'::timestamp) - extract(epoch from '2026-07-24 15:56:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683394 -2.675138)'), GeomFromEWKT('SRID=4674;POINT (-39.683408 -2.675116)'))) / (select extract(epoch from '2026-07-24 15:56:11'::timestamp) - extract(epoch from '2026-07-24 15:56: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'), 47870, 'SRID=4674;POINT (-39.683425 -2.675081)', '2026-07-24 15:56:21', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683408 -2.675116)'), GeomFromEWKT('SRID=4674;POINT (-39.683425 -2.675081)'))) / (select extract(epoch from '2026-07-24 15:56:21'::timestamp) - extract(epoch from '2026-07-24 15:56:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683408 -2.675116)'), GeomFromEWKT('SRID=4674;POINT (-39.683425 -2.675081)'))) / (select extract(epoch from '2026-07-24 15:56:21'::timestamp) - extract(epoch from '2026-07-24 15:56: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'), 47870, 'SRID=4674;POINT (-39.683462 -2.675059)', '2026-07-24 15:56:31', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683425 -2.675081)'), GeomFromEWKT('SRID=4674;POINT (-39.683462 -2.675059)'))) / (select extract(epoch from '2026-07-24 15:56:31'::timestamp) - extract(epoch from '2026-07-24 15:56:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683425 -2.675081)'), GeomFromEWKT('SRID=4674;POINT (-39.683462 -2.675059)'))) / (select extract(epoch from '2026-07-24 15:56:31'::timestamp) - extract(epoch from '2026-07-24 15:56: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'), 47870, 'SRID=4674;POINT (-39.683526 -2.675007)', '2026-07-24 15:56:46', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683462 -2.675059)'), GeomFromEWKT('SRID=4674;POINT (-39.683526 -2.675007)'))) / (select extract(epoch from '2026-07-24 15:56:46'::timestamp) - extract(epoch from '2026-07-24 15:56:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683462 -2.675059)'), GeomFromEWKT('SRID=4674;POINT (-39.683526 -2.675007)'))) / (select extract(epoch from '2026-07-24 15:56:46'::timestamp) - extract(epoch from '2026-07-24 15:56: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'), 47870, 'SRID=4674;POINT (-39.683562 -2.674985)', '2026-07-24 15:56:52', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683526 -2.675007)'), GeomFromEWKT('SRID=4674;POINT (-39.683562 -2.674985)'))) / (select extract(epoch from '2026-07-24 15:56:52'::timestamp) - extract(epoch from '2026-07-24 15:56:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683526 -2.675007)'), GeomFromEWKT('SRID=4674;POINT (-39.683562 -2.674985)'))) / (select extract(epoch from '2026-07-24 15:56:52'::timestamp) - extract(epoch from '2026-07-24 15:56:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.683601 -2.674963)', '2026-07-24 15:56:59', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683562 -2.674985)'), GeomFromEWKT('SRID=4674;POINT (-39.683601 -2.674963)'))) / (select extract(epoch from '2026-07-24 15:56:59'::timestamp) - extract(epoch from '2026-07-24 15:56:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683562 -2.674985)'), GeomFromEWKT('SRID=4674;POINT (-39.683601 -2.674963)'))) / (select extract(epoch from '2026-07-24 15:56:59'::timestamp) - extract(epoch from '2026-07-24 15:56: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'), 47870, 'SRID=4674;POINT (-39.68366 -2.674937)', '2026-07-24 15:57:08', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683601 -2.674963)'), GeomFromEWKT('SRID=4674;POINT (-39.68366 -2.674937)'))) / (select extract(epoch from '2026-07-24 15:57:08'::timestamp) - extract(epoch from '2026-07-24 15:56:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683601 -2.674963)'), GeomFromEWKT('SRID=4674;POINT (-39.68366 -2.674937)'))) / (select extract(epoch from '2026-07-24 15:57:08'::timestamp) - extract(epoch from '2026-07-24 15:56: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'), 47870, 'SRID=4674;POINT (-39.683711 -2.674912)', '2026-07-24 15:57:16', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68366 -2.674937)'), GeomFromEWKT('SRID=4674;POINT (-39.683711 -2.674912)'))) / (select extract(epoch from '2026-07-24 15:57:16'::timestamp) - extract(epoch from '2026-07-24 15:57:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68366 -2.674937)'), GeomFromEWKT('SRID=4674;POINT (-39.683711 -2.674912)'))) / (select extract(epoch from '2026-07-24 15:57:16'::timestamp) - extract(epoch from '2026-07-24 15: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'), 47870, 'SRID=4674;POINT (-39.683765 -2.674891)', '2026-07-24 15:57:24', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683711 -2.674912)'), GeomFromEWKT('SRID=4674;POINT (-39.683765 -2.674891)'))) / (select extract(epoch from '2026-07-24 15:57:24'::timestamp) - extract(epoch from '2026-07-24 15:57:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683711 -2.674912)'), GeomFromEWKT('SRID=4674;POINT (-39.683765 -2.674891)'))) / (select extract(epoch from '2026-07-24 15:57:24'::timestamp) - extract(epoch from '2026-07-24 15:57: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'), 47870, 'SRID=4674;POINT (-39.683822 -2.674867)', '2026-07-24 15:57:32', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683765 -2.674891)'), GeomFromEWKT('SRID=4674;POINT (-39.683822 -2.674867)'))) / (select extract(epoch from '2026-07-24 15:57:32'::timestamp) - extract(epoch from '2026-07-24 15:57:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683765 -2.674891)'), GeomFromEWKT('SRID=4674;POINT (-39.683822 -2.674867)'))) / (select extract(epoch from '2026-07-24 15:57:32'::timestamp) - extract(epoch from '2026-07-24 15:57: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'), 47870, 'SRID=4674;POINT (-39.683926 -2.674845)', '2026-07-24 15:57:44', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683822 -2.674867)'), GeomFromEWKT('SRID=4674;POINT (-39.683926 -2.674845)'))) / (select extract(epoch from '2026-07-24 15:57:44'::timestamp) - extract(epoch from '2026-07-24 15:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683822 -2.674867)'), GeomFromEWKT('SRID=4674;POINT (-39.683926 -2.674845)'))) / (select extract(epoch from '2026-07-24 15:57:44'::timestamp) - extract(epoch from '2026-07-24 15: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'), 47870, 'SRID=4674;POINT (-39.683987 -2.674825)', '2026-07-24 15:57:53', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683926 -2.674845)'), GeomFromEWKT('SRID=4674;POINT (-39.683987 -2.674825)'))) / (select extract(epoch from '2026-07-24 15:57:53'::timestamp) - extract(epoch from '2026-07-24 15:57:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683926 -2.674845)'), GeomFromEWKT('SRID=4674;POINT (-39.683987 -2.674825)'))) / (select extract(epoch from '2026-07-24 15:57:53'::timestamp) - extract(epoch from '2026-07-24 15:57: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'), 47870, 'SRID=4674;POINT (-39.684037 -2.674811)', '2026-07-24 15:58:00', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683987 -2.674825)'), GeomFromEWKT('SRID=4674;POINT (-39.684037 -2.674811)'))) / (select extract(epoch from '2026-07-24 15:58:00'::timestamp) - extract(epoch from '2026-07-24 15:57:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683987 -2.674825)'), GeomFromEWKT('SRID=4674;POINT (-39.684037 -2.674811)'))) / (select extract(epoch from '2026-07-24 15:58:00'::timestamp) - extract(epoch from '2026-07-24 15:57:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.684074 -2.674791)', '2026-07-24 15:58:06', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684037 -2.674811)'), GeomFromEWKT('SRID=4674;POINT (-39.684074 -2.674791)'))) / (select extract(epoch from '2026-07-24 15:58:06'::timestamp) - extract(epoch from '2026-07-24 15:58:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684037 -2.674811)'), GeomFromEWKT('SRID=4674;POINT (-39.684074 -2.674791)'))) / (select extract(epoch from '2026-07-24 15:58:06'::timestamp) - extract(epoch from '2026-07-24 15: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'), 47870, 'SRID=4674;POINT (-39.684141 -2.674761)', '2026-07-24 15:58:15', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684074 -2.674791)'), GeomFromEWKT('SRID=4674;POINT (-39.684141 -2.674761)'))) / (select extract(epoch from '2026-07-24 15:58:15'::timestamp) - extract(epoch from '2026-07-24 15:58:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684074 -2.674791)'), GeomFromEWKT('SRID=4674;POINT (-39.684141 -2.674761)'))) / (select extract(epoch from '2026-07-24 15:58:15'::timestamp) - extract(epoch from '2026-07-24 15: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'), 47870, 'SRID=4674;POINT (-39.684192 -2.674742)', '2026-07-24 15:58:22', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684141 -2.674761)'), GeomFromEWKT('SRID=4674;POINT (-39.684192 -2.674742)'))) / (select extract(epoch from '2026-07-24 15:58:22'::timestamp) - extract(epoch from '2026-07-24 15:58:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684141 -2.674761)'), GeomFromEWKT('SRID=4674;POINT (-39.684192 -2.674742)'))) / (select extract(epoch from '2026-07-24 15:58:22'::timestamp) - extract(epoch from '2026-07-24 15: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'), 47870, 'SRID=4674;POINT (-39.684271 -2.674711)', '2026-07-24 15:58:34', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684192 -2.674742)'), GeomFromEWKT('SRID=4674;POINT (-39.684271 -2.674711)'))) / (select extract(epoch from '2026-07-24 15:58:34'::timestamp) - extract(epoch from '2026-07-24 15:58:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684192 -2.674742)'), GeomFromEWKT('SRID=4674;POINT (-39.684271 -2.674711)'))) / (select extract(epoch from '2026-07-24 15:58:34'::timestamp) - extract(epoch from '2026-07-24 15:58:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.684332 -2.674675)', '2026-07-24 15:58:43', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684271 -2.674711)'), GeomFromEWKT('SRID=4674;POINT (-39.684332 -2.674675)'))) / (select extract(epoch from '2026-07-24 15:58:43'::timestamp) - extract(epoch from '2026-07-24 15:58:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684271 -2.674711)'), GeomFromEWKT('SRID=4674;POINT (-39.684332 -2.674675)'))) / (select extract(epoch from '2026-07-24 15:58:43'::timestamp) - extract(epoch from '2026-07-24 15:58: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'), 47870, 'SRID=4674;POINT (-39.684391 -2.674641)', '2026-07-24 15:58:52', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684332 -2.674675)'), GeomFromEWKT('SRID=4674;POINT (-39.684391 -2.674641)'))) / (select extract(epoch from '2026-07-24 15:58:52'::timestamp) - extract(epoch from '2026-07-24 15:58:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684332 -2.674675)'), GeomFromEWKT('SRID=4674;POINT (-39.684391 -2.674641)'))) / (select extract(epoch from '2026-07-24 15:58:52'::timestamp) - extract(epoch from '2026-07-24 15:58: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'), 47870, 'SRID=4674;POINT (-39.684444 -2.67462)', '2026-07-24 15:59:02', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684391 -2.674641)'), GeomFromEWKT('SRID=4674;POINT (-39.684444 -2.67462)'))) / (select extract(epoch from '2026-07-24 15:59:02'::timestamp) - extract(epoch from '2026-07-24 15:58:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684391 -2.674641)'), GeomFromEWKT('SRID=4674;POINT (-39.684444 -2.67462)'))) / (select extract(epoch from '2026-07-24 15:59:02'::timestamp) - extract(epoch from '2026-07-24 15:58: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'), 47870, 'SRID=4674;POINT (-39.684517 -2.674573)', '2026-07-24 15:59:14', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684444 -2.67462)'), GeomFromEWKT('SRID=4674;POINT (-39.684517 -2.674573)'))) / (select extract(epoch from '2026-07-24 15:59:14'::timestamp) - extract(epoch from '2026-07-24 15:59:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684444 -2.67462)'), GeomFromEWKT('SRID=4674;POINT (-39.684517 -2.674573)'))) / (select extract(epoch from '2026-07-24 15:59:14'::timestamp) - extract(epoch from '2026-07-24 15:59: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'), 47870, 'SRID=4674;POINT (-39.684574 -2.67454)', '2026-07-24 15:59:23', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684517 -2.674573)'), GeomFromEWKT('SRID=4674;POINT (-39.684574 -2.67454)'))) / (select extract(epoch from '2026-07-24 15:59:23'::timestamp) - extract(epoch from '2026-07-24 15:59:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684517 -2.674573)'), GeomFromEWKT('SRID=4674;POINT (-39.684574 -2.67454)'))) / (select extract(epoch from '2026-07-24 15:59:23'::timestamp) - extract(epoch from '2026-07-24 15:59: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'), 47870, 'SRID=4674;POINT (-39.684618 -2.67451)', '2026-07-24 15:59:30', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684574 -2.67454)'), GeomFromEWKT('SRID=4674;POINT (-39.684618 -2.67451)'))) / (select extract(epoch from '2026-07-24 15:59:30'::timestamp) - extract(epoch from '2026-07-24 15:59:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684574 -2.67454)'), GeomFromEWKT('SRID=4674;POINT (-39.684618 -2.67451)'))) / (select extract(epoch from '2026-07-24 15:59:30'::timestamp) - extract(epoch from '2026-07-24 15:59:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.684679 -2.674466)', '2026-07-24 15:59:40', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684618 -2.67451)'), GeomFromEWKT('SRID=4674;POINT (-39.684679 -2.674466)'))) / (select extract(epoch from '2026-07-24 15:59:40'::timestamp) - extract(epoch from '2026-07-24 15:59:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684618 -2.67451)'), GeomFromEWKT('SRID=4674;POINT (-39.684679 -2.674466)'))) / (select extract(epoch from '2026-07-24 15:59:40'::timestamp) - extract(epoch from '2026-07-24 15:59:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.684728 -2.674439)', '2026-07-24 15:59:49', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684679 -2.674466)'), GeomFromEWKT('SRID=4674;POINT (-39.684728 -2.674439)'))) / (select extract(epoch from '2026-07-24 15:59:49'::timestamp) - extract(epoch from '2026-07-24 15:59:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684679 -2.674466)'), GeomFromEWKT('SRID=4674;POINT (-39.684728 -2.674439)'))) / (select extract(epoch from '2026-07-24 15:59:49'::timestamp) - extract(epoch from '2026-07-24 15: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'), 47870, 'SRID=4674;POINT (-39.684804 -2.674403)', '2026-07-24 16:00:02', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684728 -2.674439)'), GeomFromEWKT('SRID=4674;POINT (-39.684804 -2.674403)'))) / (select extract(epoch from '2026-07-24 16:00:02'::timestamp) - extract(epoch from '2026-07-24 15:59:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684728 -2.674439)'), GeomFromEWKT('SRID=4674;POINT (-39.684804 -2.674403)'))) / (select extract(epoch from '2026-07-24 16:00:02'::timestamp) - extract(epoch from '2026-07-24 15:59: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'), 47870, 'SRID=4674;POINT (-39.684861 -2.674349)', '2026-07-24 16:00:13', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684804 -2.674403)'), GeomFromEWKT('SRID=4674;POINT (-39.684861 -2.674349)'))) / (select extract(epoch from '2026-07-24 16:00:13'::timestamp) - extract(epoch from '2026-07-24 16:00:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684804 -2.674403)'), GeomFromEWKT('SRID=4674;POINT (-39.684861 -2.674349)'))) / (select extract(epoch from '2026-07-24 16:00:13'::timestamp) - extract(epoch from '2026-07-24 16:00: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'), 47870, 'SRID=4674;POINT (-39.684918 -2.674318)', '2026-07-24 16:00:22', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684861 -2.674349)'), GeomFromEWKT('SRID=4674;POINT (-39.684918 -2.674318)'))) / (select extract(epoch from '2026-07-24 16:00:22'::timestamp) - extract(epoch from '2026-07-24 16:00:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684861 -2.674349)'), GeomFromEWKT('SRID=4674;POINT (-39.684918 -2.674318)'))) / (select extract(epoch from '2026-07-24 16:00:22'::timestamp) - extract(epoch from '2026-07-24 16: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'), 47870, 'SRID=4674;POINT (-39.684961 -2.674245)', '2026-07-24 16:00:32', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684918 -2.674318)'), GeomFromEWKT('SRID=4674;POINT (-39.684961 -2.674245)'))) / (select extract(epoch from '2026-07-24 16:00:32'::timestamp) - extract(epoch from '2026-07-24 16:00:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684918 -2.674318)'), GeomFromEWKT('SRID=4674;POINT (-39.684961 -2.674245)'))) / (select extract(epoch from '2026-07-24 16:00:32'::timestamp) - extract(epoch from '2026-07-24 16:00: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'), 47870, 'SRID=4674;POINT (-39.684982 -2.674137)', '2026-07-24 16:00:40', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684961 -2.674245)'), GeomFromEWKT('SRID=4674;POINT (-39.684982 -2.674137)'))) / (select extract(epoch from '2026-07-24 16:00:40'::timestamp) - extract(epoch from '2026-07-24 16:00:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684961 -2.674245)'), GeomFromEWKT('SRID=4674;POINT (-39.684982 -2.674137)'))) / (select extract(epoch from '2026-07-24 16:00:40'::timestamp) - extract(epoch from '2026-07-24 16:00: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'), 47870, 'SRID=4674;POINT (-39.685036 -2.674041)', '2026-07-24 16:00:46', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684982 -2.674137)'), GeomFromEWKT('SRID=4674;POINT (-39.685036 -2.674041)'))) / (select extract(epoch from '2026-07-24 16:00:46'::timestamp) - extract(epoch from '2026-07-24 16:00:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684982 -2.674137)'), GeomFromEWKT('SRID=4674;POINT (-39.685036 -2.674041)'))) / (select extract(epoch from '2026-07-24 16:00:46'::timestamp) - extract(epoch from '2026-07-24 16:00: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'), 47870, 'SRID=4674;POINT (-39.685131 -2.673947)', '2026-07-24 16:00:52', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685036 -2.674041)'), GeomFromEWKT('SRID=4674;POINT (-39.685131 -2.673947)'))) / (select extract(epoch from '2026-07-24 16:00:52'::timestamp) - extract(epoch from '2026-07-24 16:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685036 -2.674041)'), GeomFromEWKT('SRID=4674;POINT (-39.685131 -2.673947)'))) / (select extract(epoch from '2026-07-24 16:00:52'::timestamp) - extract(epoch from '2026-07-24 16:00: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'), 47870, 'SRID=4674;POINT (-39.685217 -2.673897)', '2026-07-24 16:00:57', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685131 -2.673947)'), GeomFromEWKT('SRID=4674;POINT (-39.685217 -2.673897)'))) / (select extract(epoch from '2026-07-24 16:00:57'::timestamp) - extract(epoch from '2026-07-24 16:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685131 -2.673947)'), GeomFromEWKT('SRID=4674;POINT (-39.685217 -2.673897)'))) / (select extract(epoch from '2026-07-24 16:00:57'::timestamp) - extract(epoch from '2026-07-24 16:00: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'), 47870, 'SRID=4674;POINT (-39.685383 -2.673828)', '2026-07-24 16:01:04', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685217 -2.673897)'), GeomFromEWKT('SRID=4674;POINT (-39.685383 -2.673828)'))) / (select extract(epoch from '2026-07-24 16:01:04'::timestamp) - extract(epoch from '2026-07-24 16:00:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685217 -2.673897)'), GeomFromEWKT('SRID=4674;POINT (-39.685383 -2.673828)'))) / (select extract(epoch from '2026-07-24 16:01:04'::timestamp) - extract(epoch from '2026-07-24 16:00:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.685505 -2.673722)', '2026-07-24 16:01:10', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685383 -2.673828)'), GeomFromEWKT('SRID=4674;POINT (-39.685505 -2.673722)'))) / (select extract(epoch from '2026-07-24 16:01:10'::timestamp) - extract(epoch from '2026-07-24 16:01:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685383 -2.673828)'), GeomFromEWKT('SRID=4674;POINT (-39.685505 -2.673722)'))) / (select extract(epoch from '2026-07-24 16:01:10'::timestamp) - extract(epoch from '2026-07-24 16:01: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'), 47870, 'SRID=4674;POINT (-39.685622 -2.67364)', '2026-07-24 16:01:15', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685505 -2.673722)'), GeomFromEWKT('SRID=4674;POINT (-39.685622 -2.67364)'))) / (select extract(epoch from '2026-07-24 16:01:15'::timestamp) - extract(epoch from '2026-07-24 16:01:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685505 -2.673722)'), GeomFromEWKT('SRID=4674;POINT (-39.685622 -2.67364)'))) / (select extract(epoch from '2026-07-24 16:01:15'::timestamp) - extract(epoch from '2026-07-24 16:01: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'), 47870, 'SRID=4674;POINT (-39.685796 -2.67353)', '2026-07-24 16:01:22', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685622 -2.67364)'), GeomFromEWKT('SRID=4674;POINT (-39.685796 -2.67353)'))) / (select extract(epoch from '2026-07-24 16:01:22'::timestamp) - extract(epoch from '2026-07-24 16:01:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685622 -2.67364)'), GeomFromEWKT('SRID=4674;POINT (-39.685796 -2.67353)'))) / (select extract(epoch from '2026-07-24 16:01:22'::timestamp) - extract(epoch from '2026-07-24 16:01: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'), 47870, 'SRID=4674;POINT (-39.685979 -2.673385)', '2026-07-24 16:01:30', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685796 -2.67353)'), GeomFromEWKT('SRID=4674;POINT (-39.685979 -2.673385)'))) / (select extract(epoch from '2026-07-24 16:01:30'::timestamp) - extract(epoch from '2026-07-24 16:01:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685796 -2.67353)'), GeomFromEWKT('SRID=4674;POINT (-39.685979 -2.673385)'))) / (select extract(epoch from '2026-07-24 16:01:30'::timestamp) - extract(epoch from '2026-07-24 16: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'), 47870, 'SRID=4674;POINT (-39.686116 -2.673261)', '2026-07-24 16:01:36', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685979 -2.673385)'), GeomFromEWKT('SRID=4674;POINT (-39.686116 -2.673261)'))) / (select extract(epoch from '2026-07-24 16:01:36'::timestamp) - extract(epoch from '2026-07-24 16:01:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685979 -2.673385)'), GeomFromEWKT('SRID=4674;POINT (-39.686116 -2.673261)'))) / (select extract(epoch from '2026-07-24 16:01:36'::timestamp) - extract(epoch from '2026-07-24 16:01:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.686251 -2.673158)', '2026-07-24 16:01:42', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686116 -2.673261)'), GeomFromEWKT('SRID=4674;POINT (-39.686251 -2.673158)'))) / (select extract(epoch from '2026-07-24 16:01:42'::timestamp) - extract(epoch from '2026-07-24 16:01:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686116 -2.673261)'), GeomFromEWKT('SRID=4674;POINT (-39.686251 -2.673158)'))) / (select extract(epoch from '2026-07-24 16:01:42'::timestamp) - extract(epoch from '2026-07-24 16:01: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'), 47870, 'SRID=4674;POINT (-39.686404 -2.673073)', '2026-07-24 16:01:48', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686251 -2.673158)'), GeomFromEWKT('SRID=4674;POINT (-39.686404 -2.673073)'))) / (select extract(epoch from '2026-07-24 16:01:48'::timestamp) - extract(epoch from '2026-07-24 16:01:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686251 -2.673158)'), GeomFromEWKT('SRID=4674;POINT (-39.686404 -2.673073)'))) / (select extract(epoch from '2026-07-24 16:01:48'::timestamp) - extract(epoch from '2026-07-24 16:01: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'), 47870, 'SRID=4674;POINT (-39.68654 -2.672995)', '2026-07-24 16:01:53', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686404 -2.673073)'), GeomFromEWKT('SRID=4674;POINT (-39.68654 -2.672995)'))) / (select extract(epoch from '2026-07-24 16:01:53'::timestamp) - extract(epoch from '2026-07-24 16:01:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686404 -2.673073)'), GeomFromEWKT('SRID=4674;POINT (-39.68654 -2.672995)'))) / (select extract(epoch from '2026-07-24 16:01:53'::timestamp) - extract(epoch from '2026-07-24 16: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'), 47870, 'SRID=4674;POINT (-39.686636 -2.672904)', '2026-07-24 16:01:58', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68654 -2.672995)'), GeomFromEWKT('SRID=4674;POINT (-39.686636 -2.672904)'))) / (select extract(epoch from '2026-07-24 16:01:58'::timestamp) - extract(epoch from '2026-07-24 16:01:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68654 -2.672995)'), GeomFromEWKT('SRID=4674;POINT (-39.686636 -2.672904)'))) / (select extract(epoch from '2026-07-24 16:01:58'::timestamp) - extract(epoch from '2026-07-24 16:01: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'), 47870, 'SRID=4674;POINT (-39.68674 -2.672807)', '2026-07-24 16:02:03', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686636 -2.672904)'), GeomFromEWKT('SRID=4674;POINT (-39.68674 -2.672807)'))) / (select extract(epoch from '2026-07-24 16:02:03'::timestamp) - extract(epoch from '2026-07-24 16:01:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686636 -2.672904)'), GeomFromEWKT('SRID=4674;POINT (-39.68674 -2.672807)'))) / (select extract(epoch from '2026-07-24 16:02:03'::timestamp) - extract(epoch from '2026-07-24 16:01: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'), 47870, 'SRID=4674;POINT (-39.686876 -2.672696)', '2026-07-24 16:02:09', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68674 -2.672807)'), GeomFromEWKT('SRID=4674;POINT (-39.686876 -2.672696)'))) / (select extract(epoch from '2026-07-24 16:02:09'::timestamp) - extract(epoch from '2026-07-24 16:02:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68674 -2.672807)'), GeomFromEWKT('SRID=4674;POINT (-39.686876 -2.672696)'))) / (select extract(epoch from '2026-07-24 16:02:09'::timestamp) - extract(epoch from '2026-07-24 16:02: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'), 47870, 'SRID=4674;POINT (-39.68699 -2.672603)', '2026-07-24 16:02:14', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686876 -2.672696)'), GeomFromEWKT('SRID=4674;POINT (-39.68699 -2.672603)'))) / (select extract(epoch from '2026-07-24 16:02:14'::timestamp) - extract(epoch from '2026-07-24 16:02:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686876 -2.672696)'), GeomFromEWKT('SRID=4674;POINT (-39.68699 -2.672603)'))) / (select extract(epoch from '2026-07-24 16:02:14'::timestamp) - extract(epoch from '2026-07-24 16:02: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'), 47870, 'SRID=4674;POINT (-39.687091 -2.672495)', '2026-07-24 16:02:19', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68699 -2.672603)'), GeomFromEWKT('SRID=4674;POINT (-39.687091 -2.672495)'))) / (select extract(epoch from '2026-07-24 16:02:19'::timestamp) - extract(epoch from '2026-07-24 16:02:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68699 -2.672603)'), GeomFromEWKT('SRID=4674;POINT (-39.687091 -2.672495)'))) / (select extract(epoch from '2026-07-24 16:02:19'::timestamp) - extract(epoch from '2026-07-24 16:02:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.687189 -2.672392)', '2026-07-24 16:02:24', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687091 -2.672495)'), GeomFromEWKT('SRID=4674;POINT (-39.687189 -2.672392)'))) / (select extract(epoch from '2026-07-24 16:02:24'::timestamp) - extract(epoch from '2026-07-24 16:02:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687091 -2.672495)'), GeomFromEWKT('SRID=4674;POINT (-39.687189 -2.672392)'))) / (select extract(epoch from '2026-07-24 16:02:24'::timestamp) - extract(epoch from '2026-07-24 16:02:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.687321 -2.672271)', '2026-07-24 16:02:30', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687189 -2.672392)'), GeomFromEWKT('SRID=4674;POINT (-39.687321 -2.672271)'))) / (select extract(epoch from '2026-07-24 16:02:30'::timestamp) - extract(epoch from '2026-07-24 16:02:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687189 -2.672392)'), GeomFromEWKT('SRID=4674;POINT (-39.687321 -2.672271)'))) / (select extract(epoch from '2026-07-24 16:02:30'::timestamp) - extract(epoch from '2026-07-24 16:02: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'), 47870, 'SRID=4674;POINT (-39.687459 -2.67216)', '2026-07-24 16:02:36', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687321 -2.672271)'), GeomFromEWKT('SRID=4674;POINT (-39.687459 -2.67216)'))) / (select extract(epoch from '2026-07-24 16:02:36'::timestamp) - extract(epoch from '2026-07-24 16:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687321 -2.672271)'), GeomFromEWKT('SRID=4674;POINT (-39.687459 -2.67216)'))) / (select extract(epoch from '2026-07-24 16:02:36'::timestamp) - extract(epoch from '2026-07-24 16:02:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.687593 -2.672039)', '2026-07-24 16:02:42', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687459 -2.67216)'), GeomFromEWKT('SRID=4674;POINT (-39.687593 -2.672039)'))) / (select extract(epoch from '2026-07-24 16:02:42'::timestamp) - extract(epoch from '2026-07-24 16:02:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687459 -2.67216)'), GeomFromEWKT('SRID=4674;POINT (-39.687593 -2.672039)'))) / (select extract(epoch from '2026-07-24 16:02:42'::timestamp) - extract(epoch from '2026-07-24 16:02: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'), 47870, 'SRID=4674;POINT (-39.687724 -2.671891)', '2026-07-24 16:02:49', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687593 -2.672039)'), GeomFromEWKT('SRID=4674;POINT (-39.687724 -2.671891)'))) / (select extract(epoch from '2026-07-24 16:02:49'::timestamp) - extract(epoch from '2026-07-24 16:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687593 -2.672039)'), GeomFromEWKT('SRID=4674;POINT (-39.687724 -2.671891)'))) / (select extract(epoch from '2026-07-24 16:02:49'::timestamp) - extract(epoch from '2026-07-24 16:02: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'), 47870, 'SRID=4674;POINT (-39.687826 -2.671791)', '2026-07-24 16:02:54', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687724 -2.671891)'), GeomFromEWKT('SRID=4674;POINT (-39.687826 -2.671791)'))) / (select extract(epoch from '2026-07-24 16:02:54'::timestamp) - extract(epoch from '2026-07-24 16:02:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687724 -2.671891)'), GeomFromEWKT('SRID=4674;POINT (-39.687826 -2.671791)'))) / (select extract(epoch from '2026-07-24 16:02:54'::timestamp) - extract(epoch from '2026-07-24 16:02: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'), 47870, 'SRID=4674;POINT (-39.687959 -2.671672)', '2026-07-24 16:03:00', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687826 -2.671791)'), GeomFromEWKT('SRID=4674;POINT (-39.687959 -2.671672)'))) / (select extract(epoch from '2026-07-24 16:03:00'::timestamp) - extract(epoch from '2026-07-24 16:02:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687826 -2.671791)'), GeomFromEWKT('SRID=4674;POINT (-39.687959 -2.671672)'))) / (select extract(epoch from '2026-07-24 16:03:00'::timestamp) - extract(epoch from '2026-07-24 16:02:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.688094 -2.671556)', '2026-07-24 16:03:06', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687959 -2.671672)'), GeomFromEWKT('SRID=4674;POINT (-39.688094 -2.671556)'))) / (select extract(epoch from '2026-07-24 16:03:06'::timestamp) - extract(epoch from '2026-07-24 16:03:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687959 -2.671672)'), GeomFromEWKT('SRID=4674;POINT (-39.688094 -2.671556)'))) / (select extract(epoch from '2026-07-24 16:03:06'::timestamp) - extract(epoch from '2026-07-24 16:03: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'), 47870, 'SRID=4674;POINT (-39.688213 -2.671458)', '2026-07-24 16:03:11', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688094 -2.671556)'), GeomFromEWKT('SRID=4674;POINT (-39.688213 -2.671458)'))) / (select extract(epoch from '2026-07-24 16:03:11'::timestamp) - extract(epoch from '2026-07-24 16:03:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688094 -2.671556)'), GeomFromEWKT('SRID=4674;POINT (-39.688213 -2.671458)'))) / (select extract(epoch from '2026-07-24 16:03:11'::timestamp) - extract(epoch from '2026-07-24 16:03: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'), 47870, 'SRID=4674;POINT (-39.688322 -2.671363)', '2026-07-24 16:03:16', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688213 -2.671458)'), GeomFromEWKT('SRID=4674;POINT (-39.688322 -2.671363)'))) / (select extract(epoch from '2026-07-24 16:03:16'::timestamp) - extract(epoch from '2026-07-24 16:03:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688213 -2.671458)'), GeomFromEWKT('SRID=4674;POINT (-39.688322 -2.671363)'))) / (select extract(epoch from '2026-07-24 16:03:16'::timestamp) - extract(epoch from '2026-07-24 16:03: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'), 47870, 'SRID=4674;POINT (-39.688425 -2.671262)', '2026-07-24 16:03:21', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688322 -2.671363)'), GeomFromEWKT('SRID=4674;POINT (-39.688425 -2.671262)'))) / (select extract(epoch from '2026-07-24 16:03:21'::timestamp) - extract(epoch from '2026-07-24 16:03:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688322 -2.671363)'), GeomFromEWKT('SRID=4674;POINT (-39.688425 -2.671262)'))) / (select extract(epoch from '2026-07-24 16:03:21'::timestamp) - extract(epoch from '2026-07-24 16:03:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.688568 -2.671116)', '2026-07-24 16:03:28', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688425 -2.671262)'), GeomFromEWKT('SRID=4674;POINT (-39.688568 -2.671116)'))) / (select extract(epoch from '2026-07-24 16:03:28'::timestamp) - extract(epoch from '2026-07-24 16:03:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688425 -2.671262)'), GeomFromEWKT('SRID=4674;POINT (-39.688568 -2.671116)'))) / (select extract(epoch from '2026-07-24 16:03:28'::timestamp) - extract(epoch from '2026-07-24 16:03: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'), 47870, 'SRID=4674;POINT (-39.688674 -2.671019)', '2026-07-24 16:03:33', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688568 -2.671116)'), GeomFromEWKT('SRID=4674;POINT (-39.688674 -2.671019)'))) / (select extract(epoch from '2026-07-24 16:03:33'::timestamp) - extract(epoch from '2026-07-24 16:03:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688568 -2.671116)'), GeomFromEWKT('SRID=4674;POINT (-39.688674 -2.671019)'))) / (select extract(epoch from '2026-07-24 16:03:33'::timestamp) - extract(epoch from '2026-07-24 16:03: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'), 47870, 'SRID=4674;POINT (-39.688781 -2.67092)', '2026-07-24 16:03:38', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688674 -2.671019)'), GeomFromEWKT('SRID=4674;POINT (-39.688781 -2.67092)'))) / (select extract(epoch from '2026-07-24 16:03:38'::timestamp) - extract(epoch from '2026-07-24 16:03:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688674 -2.671019)'), GeomFromEWKT('SRID=4674;POINT (-39.688781 -2.67092)'))) / (select extract(epoch from '2026-07-24 16:03:38'::timestamp) - extract(epoch from '2026-07-24 16:03: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'), 47870, 'SRID=4674;POINT (-39.688899 -2.670794)', '2026-07-24 16:03:44', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688781 -2.67092)'), GeomFromEWKT('SRID=4674;POINT (-39.688899 -2.670794)'))) / (select extract(epoch from '2026-07-24 16:03:44'::timestamp) - extract(epoch from '2026-07-24 16:03:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688781 -2.67092)'), GeomFromEWKT('SRID=4674;POINT (-39.688899 -2.670794)'))) / (select extract(epoch from '2026-07-24 16:03:44'::timestamp) - extract(epoch from '2026-07-24 16:03: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'), 47870, 'SRID=4674;POINT (-39.688999 -2.67069)', '2026-07-24 16:03:49', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688899 -2.670794)'), GeomFromEWKT('SRID=4674;POINT (-39.688999 -2.67069)'))) / (select extract(epoch from '2026-07-24 16:03:49'::timestamp) - extract(epoch from '2026-07-24 16:03:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688899 -2.670794)'), GeomFromEWKT('SRID=4674;POINT (-39.688999 -2.67069)'))) / (select extract(epoch from '2026-07-24 16:03:49'::timestamp) - extract(epoch from '2026-07-24 16: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'), 47870, 'SRID=4674;POINT (-39.6891 -2.670586)', '2026-07-24 16:03:54', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688999 -2.67069)'), GeomFromEWKT('SRID=4674;POINT (-39.6891 -2.670586)'))) / (select extract(epoch from '2026-07-24 16:03:54'::timestamp) - extract(epoch from '2026-07-24 16:03:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688999 -2.67069)'), GeomFromEWKT('SRID=4674;POINT (-39.6891 -2.670586)'))) / (select extract(epoch from '2026-07-24 16:03:54'::timestamp) - extract(epoch from '2026-07-24 16:03: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'), 47870, 'SRID=4674;POINT (-39.689235 -2.670469)', '2026-07-24 16:04:00', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6891 -2.670586)'), GeomFromEWKT('SRID=4674;POINT (-39.689235 -2.670469)'))) / (select extract(epoch from '2026-07-24 16:04:00'::timestamp) - extract(epoch from '2026-07-24 16:03:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6891 -2.670586)'), GeomFromEWKT('SRID=4674;POINT (-39.689235 -2.670469)'))) / (select extract(epoch from '2026-07-24 16:04:00'::timestamp) - extract(epoch from '2026-07-24 16: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'), 47870, 'SRID=4674;POINT (-39.689401 -2.670312)', '2026-07-24 16:04:08', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689235 -2.670469)'), GeomFromEWKT('SRID=4674;POINT (-39.689401 -2.670312)'))) / (select extract(epoch from '2026-07-24 16:04:08'::timestamp) - extract(epoch from '2026-07-24 16:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689235 -2.670469)'), GeomFromEWKT('SRID=4674;POINT (-39.689401 -2.670312)'))) / (select extract(epoch from '2026-07-24 16:04:08'::timestamp) - extract(epoch from '2026-07-24 16: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'), 47870, 'SRID=4674;POINT (-39.689562 -2.670142)', '2026-07-24 16:04:16', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689401 -2.670312)'), GeomFromEWKT('SRID=4674;POINT (-39.689562 -2.670142)'))) / (select extract(epoch from '2026-07-24 16:04:16'::timestamp) - extract(epoch from '2026-07-24 16:04:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689401 -2.670312)'), GeomFromEWKT('SRID=4674;POINT (-39.689562 -2.670142)'))) / (select extract(epoch from '2026-07-24 16:04:16'::timestamp) - extract(epoch from '2026-07-24 16:04: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'), 47870, 'SRID=4674;POINT (-39.689668 -2.67003)', '2026-07-24 16:04:21', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689562 -2.670142)'), GeomFromEWKT('SRID=4674;POINT (-39.689668 -2.67003)'))) / (select extract(epoch from '2026-07-24 16:04:21'::timestamp) - extract(epoch from '2026-07-24 16:04:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689562 -2.670142)'), GeomFromEWKT('SRID=4674;POINT (-39.689668 -2.67003)'))) / (select extract(epoch from '2026-07-24 16:04:21'::timestamp) - extract(epoch from '2026-07-24 16: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'), 47870, 'SRID=4674;POINT (-39.689827 -2.669897)', '2026-07-24 16:04:28', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689668 -2.67003)'), GeomFromEWKT('SRID=4674;POINT (-39.689827 -2.669897)'))) / (select extract(epoch from '2026-07-24 16:04:28'::timestamp) - extract(epoch from '2026-07-24 16:04:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689668 -2.67003)'), GeomFromEWKT('SRID=4674;POINT (-39.689827 -2.669897)'))) / (select extract(epoch from '2026-07-24 16:04:28'::timestamp) - extract(epoch from '2026-07-24 16:04: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'), 47870, 'SRID=4674;POINT (-39.689962 -2.669797)', '2026-07-24 16:04:34', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689827 -2.669897)'), GeomFromEWKT('SRID=4674;POINT (-39.689962 -2.669797)'))) / (select extract(epoch from '2026-07-24 16:04:34'::timestamp) - extract(epoch from '2026-07-24 16:04:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689827 -2.669897)'), GeomFromEWKT('SRID=4674;POINT (-39.689962 -2.669797)'))) / (select extract(epoch from '2026-07-24 16:04:34'::timestamp) - extract(epoch from '2026-07-24 16: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'), 47870, 'SRID=4674;POINT (-39.690065 -2.669707)', '2026-07-24 16:04:39', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689962 -2.669797)'), GeomFromEWKT('SRID=4674;POINT (-39.690065 -2.669707)'))) / (select extract(epoch from '2026-07-24 16:04:39'::timestamp) - extract(epoch from '2026-07-24 16:04:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689962 -2.669797)'), GeomFromEWKT('SRID=4674;POINT (-39.690065 -2.669707)'))) / (select extract(epoch from '2026-07-24 16:04:39'::timestamp) - extract(epoch from '2026-07-24 16: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'), 47870, 'SRID=4674;POINT (-39.690181 -2.669576)', '2026-07-24 16:04:45', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690065 -2.669707)'), GeomFromEWKT('SRID=4674;POINT (-39.690181 -2.669576)'))) / (select extract(epoch from '2026-07-24 16:04:45'::timestamp) - extract(epoch from '2026-07-24 16:04:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690065 -2.669707)'), GeomFromEWKT('SRID=4674;POINT (-39.690181 -2.669576)'))) / (select extract(epoch from '2026-07-24 16:04:45'::timestamp) - extract(epoch from '2026-07-24 16:04:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.690305 -2.669453)', '2026-07-24 16:04:51', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690181 -2.669576)'), GeomFromEWKT('SRID=4674;POINT (-39.690305 -2.669453)'))) / (select extract(epoch from '2026-07-24 16:04:51'::timestamp) - extract(epoch from '2026-07-24 16:04:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690181 -2.669576)'), GeomFromEWKT('SRID=4674;POINT (-39.690305 -2.669453)'))) / (select extract(epoch from '2026-07-24 16:04:51'::timestamp) - extract(epoch from '2026-07-24 16:04:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.690444 -2.66934)', '2026-07-24 16:04:57', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690305 -2.669453)'), GeomFromEWKT('SRID=4674;POINT (-39.690444 -2.66934)'))) / (select extract(epoch from '2026-07-24 16:04:57'::timestamp) - extract(epoch from '2026-07-24 16:04:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690305 -2.669453)'), GeomFromEWKT('SRID=4674;POINT (-39.690444 -2.66934)'))) / (select extract(epoch from '2026-07-24 16:04:57'::timestamp) - extract(epoch from '2026-07-24 16:04:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
