 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.783803 -2.629803)', '2026-07-22 13:46:23', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783863 -2.629798)'), GeomFromEWKT('SRID=4674;POINT (-39.783803 -2.629803)'))) / (select extract(epoch from '2026-07-22 13:46:23'::timestamp) - extract(epoch from '2026-07-22 13:46:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783863 -2.629798)'), GeomFromEWKT('SRID=4674;POINT (-39.783803 -2.629803)'))) / (select extract(epoch from '2026-07-22 13:46:23'::timestamp) - extract(epoch from '2026-07-22 13:46: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.783724 -2.629815)', '2026-07-22 13:46:28', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783803 -2.629803)'), GeomFromEWKT('SRID=4674;POINT (-39.783724 -2.629815)'))) / (select extract(epoch from '2026-07-22 13:46:28'::timestamp) - extract(epoch from '2026-07-22 13:46:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783803 -2.629803)'), GeomFromEWKT('SRID=4674;POINT (-39.783724 -2.629815)'))) / (select extract(epoch from '2026-07-22 13:46:28'::timestamp) - extract(epoch from '2026-07-22 13:46:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.783639 -2.629818)', '2026-07-22 13:46:34', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783724 -2.629815)'), GeomFromEWKT('SRID=4674;POINT (-39.783639 -2.629818)'))) / (select extract(epoch from '2026-07-22 13:46:34'::timestamp) - extract(epoch from '2026-07-22 13:46:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783724 -2.629815)'), GeomFromEWKT('SRID=4674;POINT (-39.783639 -2.629818)'))) / (select extract(epoch from '2026-07-22 13:46:34'::timestamp) - extract(epoch from '2026-07-22 13:46:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.783529 -2.629867)', '2026-07-22 13:46:41', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783639 -2.629818)'), GeomFromEWKT('SRID=4674;POINT (-39.783529 -2.629867)'))) / (select extract(epoch from '2026-07-22 13:46:41'::timestamp) - extract(epoch from '2026-07-22 13:46:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783639 -2.629818)'), GeomFromEWKT('SRID=4674;POINT (-39.783529 -2.629867)'))) / (select extract(epoch from '2026-07-22 13:46:41'::timestamp) - extract(epoch from '2026-07-22 13: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.783455 -2.629922)', '2026-07-22 13:46:47', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783529 -2.629867)'), GeomFromEWKT('SRID=4674;POINT (-39.783455 -2.629922)'))) / (select extract(epoch from '2026-07-22 13:46:47'::timestamp) - extract(epoch from '2026-07-22 13:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783529 -2.629867)'), GeomFromEWKT('SRID=4674;POINT (-39.783455 -2.629922)'))) / (select extract(epoch from '2026-07-22 13:46:47'::timestamp) - extract(epoch from '2026-07-22 13:46: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.783429 -2.629932)', '2026-07-22 13:46:49', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783455 -2.629922)'), GeomFromEWKT('SRID=4674;POINT (-39.783429 -2.629932)'))) / (select extract(epoch from '2026-07-22 13:46:49'::timestamp) - extract(epoch from '2026-07-22 13:46:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783455 -2.629922)'), GeomFromEWKT('SRID=4674;POINT (-39.783429 -2.629932)'))) / (select extract(epoch from '2026-07-22 13:46:49'::timestamp) - extract(epoch from '2026-07-22 13:46: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.783405 -2.629937)', '2026-07-22 13:46:51', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783429 -2.629932)'), GeomFromEWKT('SRID=4674;POINT (-39.783405 -2.629937)'))) / (select extract(epoch from '2026-07-22 13:46:51'::timestamp) - extract(epoch from '2026-07-22 13:46:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783429 -2.629932)'), GeomFromEWKT('SRID=4674;POINT (-39.783405 -2.629937)'))) / (select extract(epoch from '2026-07-22 13:46:51'::timestamp) - extract(epoch from '2026-07-22 13:46:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.783382 -2.629946)', '2026-07-22 13:46:53', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783405 -2.629937)'), GeomFromEWKT('SRID=4674;POINT (-39.783382 -2.629946)'))) / (select extract(epoch from '2026-07-22 13:46:53'::timestamp) - extract(epoch from '2026-07-22 13:46:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783405 -2.629937)'), GeomFromEWKT('SRID=4674;POINT (-39.783382 -2.629946)'))) / (select extract(epoch from '2026-07-22 13:46:53'::timestamp) - extract(epoch from '2026-07-22 13:46: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.783329 -2.629976)', '2026-07-22 13:46:57', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783382 -2.629946)'), GeomFromEWKT('SRID=4674;POINT (-39.783329 -2.629976)'))) / (select extract(epoch from '2026-07-22 13:46:57'::timestamp) - extract(epoch from '2026-07-22 13:46:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783382 -2.629946)'), GeomFromEWKT('SRID=4674;POINT (-39.783329 -2.629976)'))) / (select extract(epoch from '2026-07-22 13:46:57'::timestamp) - extract(epoch from '2026-07-22 13: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.783257 -2.629985)', '2026-07-22 13:47:02', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783329 -2.629976)'), GeomFromEWKT('SRID=4674;POINT (-39.783257 -2.629985)'))) / (select extract(epoch from '2026-07-22 13:47:02'::timestamp) - extract(epoch from '2026-07-22 13:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783329 -2.629976)'), GeomFromEWKT('SRID=4674;POINT (-39.783257 -2.629985)'))) / (select extract(epoch from '2026-07-22 13:47:02'::timestamp) - extract(epoch from '2026-07-22 13:46: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.783182 -2.630005)', '2026-07-22 13:47:07', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783257 -2.629985)'), GeomFromEWKT('SRID=4674;POINT (-39.783182 -2.630005)'))) / (select extract(epoch from '2026-07-22 13:47:07'::timestamp) - extract(epoch from '2026-07-22 13:47:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783257 -2.629985)'), GeomFromEWKT('SRID=4674;POINT (-39.783182 -2.630005)'))) / (select extract(epoch from '2026-07-22 13:47:07'::timestamp) - extract(epoch from '2026-07-22 13:47: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.783092 -2.630054)', '2026-07-22 13:47:13', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783182 -2.630005)'), GeomFromEWKT('SRID=4674;POINT (-39.783092 -2.630054)'))) / (select extract(epoch from '2026-07-22 13:47:13'::timestamp) - extract(epoch from '2026-07-22 13:47:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783182 -2.630005)'), GeomFromEWKT('SRID=4674;POINT (-39.783092 -2.630054)'))) / (select extract(epoch from '2026-07-22 13:47:13'::timestamp) - extract(epoch from '2026-07-22 13:47: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.782992 -2.630091)', '2026-07-22 13:47:19', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783092 -2.630054)'), GeomFromEWKT('SRID=4674;POINT (-39.782992 -2.630091)'))) / (select extract(epoch from '2026-07-22 13:47:19'::timestamp) - extract(epoch from '2026-07-22 13:47:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783092 -2.630054)'), GeomFromEWKT('SRID=4674;POINT (-39.782992 -2.630091)'))) / (select extract(epoch from '2026-07-22 13:47:19'::timestamp) - extract(epoch from '2026-07-22 13: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.782881 -2.630119)', '2026-07-22 13:47:25', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782992 -2.630091)'), GeomFromEWKT('SRID=4674;POINT (-39.782881 -2.630119)'))) / (select extract(epoch from '2026-07-22 13:47:25'::timestamp) - extract(epoch from '2026-07-22 13:47:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782992 -2.630091)'), GeomFromEWKT('SRID=4674;POINT (-39.782881 -2.630119)'))) / (select extract(epoch from '2026-07-22 13:47:25'::timestamp) - extract(epoch from '2026-07-22 13: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.782756 -2.630167)', '2026-07-22 13:47:32', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782881 -2.630119)'), GeomFromEWKT('SRID=4674;POINT (-39.782756 -2.630167)'))) / (select extract(epoch from '2026-07-22 13:47:32'::timestamp) - extract(epoch from '2026-07-22 13:47:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782881 -2.630119)'), GeomFromEWKT('SRID=4674;POINT (-39.782756 -2.630167)'))) / (select extract(epoch from '2026-07-22 13:47:32'::timestamp) - extract(epoch from '2026-07-22 13: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.782662 -2.630183)', '2026-07-22 13:47:37', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782756 -2.630167)'), GeomFromEWKT('SRID=4674;POINT (-39.782662 -2.630183)'))) / (select extract(epoch from '2026-07-22 13:47:37'::timestamp) - extract(epoch from '2026-07-22 13:47:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782756 -2.630167)'), GeomFromEWKT('SRID=4674;POINT (-39.782662 -2.630183)'))) / (select extract(epoch from '2026-07-22 13:47:37'::timestamp) - extract(epoch from '2026-07-22 13:47: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.782642 -2.63019)', '2026-07-22 13:47:38', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782662 -2.630183)'), GeomFromEWKT('SRID=4674;POINT (-39.782642 -2.63019)'))) / (select extract(epoch from '2026-07-22 13:47:38'::timestamp) - extract(epoch from '2026-07-22 13:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782662 -2.630183)'), GeomFromEWKT('SRID=4674;POINT (-39.782642 -2.63019)'))) / (select extract(epoch from '2026-07-22 13:47:38'::timestamp) - extract(epoch from '2026-07-22 13:47: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.78254 -2.630208)', '2026-07-22 13:47:44', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782642 -2.63019)'), GeomFromEWKT('SRID=4674;POINT (-39.78254 -2.630208)'))) / (select extract(epoch from '2026-07-22 13:47:44'::timestamp) - extract(epoch from '2026-07-22 13:47:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782642 -2.63019)'), GeomFromEWKT('SRID=4674;POINT (-39.78254 -2.630208)'))) / (select extract(epoch from '2026-07-22 13:47:44'::timestamp) - extract(epoch from '2026-07-22 13:47:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.782483 -2.6302)', '2026-07-22 13:47:49', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78254 -2.630208)'), GeomFromEWKT('SRID=4674;POINT (-39.782483 -2.6302)'))) / (select extract(epoch from '2026-07-22 13:47:49'::timestamp) - extract(epoch from '2026-07-22 13:47:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78254 -2.630208)'), GeomFromEWKT('SRID=4674;POINT (-39.782483 -2.6302)'))) / (select extract(epoch from '2026-07-22 13:47:49'::timestamp) - extract(epoch from '2026-07-22 13:47: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.782456 -2.630184)', '2026-07-22 13:47:53', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782483 -2.6302)'), GeomFromEWKT('SRID=4674;POINT (-39.782456 -2.630184)'))) / (select extract(epoch from '2026-07-22 13:47:53'::timestamp) - extract(epoch from '2026-07-22 13:47:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782483 -2.6302)'), GeomFromEWKT('SRID=4674;POINT (-39.782456 -2.630184)'))) / (select extract(epoch from '2026-07-22 13:47:53'::timestamp) - extract(epoch from '2026-07-22 13:47:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.782436 -2.630172)', '2026-07-22 13:47:55', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782456 -2.630184)'), GeomFromEWKT('SRID=4674;POINT (-39.782436 -2.630172)'))) / (select extract(epoch from '2026-07-22 13:47:55'::timestamp) - extract(epoch from '2026-07-22 13:47:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782456 -2.630184)'), GeomFromEWKT('SRID=4674;POINT (-39.782436 -2.630172)'))) / (select extract(epoch from '2026-07-22 13:47:55'::timestamp) - extract(epoch from '2026-07-22 13:47: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.782387 -2.630146)', '2026-07-22 13:48:02', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782436 -2.630172)'), GeomFromEWKT('SRID=4674;POINT (-39.782387 -2.630146)'))) / (select extract(epoch from '2026-07-22 13:48:02'::timestamp) - extract(epoch from '2026-07-22 13:47:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782436 -2.630172)'), GeomFromEWKT('SRID=4674;POINT (-39.782387 -2.630146)'))) / (select extract(epoch from '2026-07-22 13:48:02'::timestamp) - extract(epoch from '2026-07-22 13: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.782362 -2.630108)', '2026-07-22 13:48:09', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782387 -2.630146)'), GeomFromEWKT('SRID=4674;POINT (-39.782362 -2.630108)'))) / (select extract(epoch from '2026-07-22 13:48:09'::timestamp) - extract(epoch from '2026-07-22 13:48:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782387 -2.630146)'), GeomFromEWKT('SRID=4674;POINT (-39.782362 -2.630108)'))) / (select extract(epoch from '2026-07-22 13:48:09'::timestamp) - extract(epoch from '2026-07-22 13:48: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.782353 -2.630075)', '2026-07-22 13:48:19', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782362 -2.630108)'), GeomFromEWKT('SRID=4674;POINT (-39.782353 -2.630075)'))) / (select extract(epoch from '2026-07-22 13:48:19'::timestamp) - extract(epoch from '2026-07-22 13:48:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782362 -2.630108)'), GeomFromEWKT('SRID=4674;POINT (-39.782353 -2.630075)'))) / (select extract(epoch from '2026-07-22 13:48:19'::timestamp) - extract(epoch from '2026-07-22 13: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.782381 -2.630035)', '2026-07-22 13:48:35', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782353 -2.630075)'), GeomFromEWKT('SRID=4674;POINT (-39.782381 -2.630035)'))) / (select extract(epoch from '2026-07-22 13:48:35'::timestamp) - extract(epoch from '2026-07-22 13:48:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782353 -2.630075)'), GeomFromEWKT('SRID=4674;POINT (-39.782381 -2.630035)'))) / (select extract(epoch from '2026-07-22 13:48:35'::timestamp) - extract(epoch from '2026-07-22 13:48: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.782409 -2.630026)', '2026-07-22 13:48:42', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782381 -2.630035)'), GeomFromEWKT('SRID=4674;POINT (-39.782409 -2.630026)'))) / (select extract(epoch from '2026-07-22 13:48:42'::timestamp) - extract(epoch from '2026-07-22 13:48:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782381 -2.630035)'), GeomFromEWKT('SRID=4674;POINT (-39.782409 -2.630026)'))) / (select extract(epoch from '2026-07-22 13:48:42'::timestamp) - extract(epoch from '2026-07-22 13:48:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.782444 -2.630013)', '2026-07-22 13:48:50', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782409 -2.630026)'), GeomFromEWKT('SRID=4674;POINT (-39.782444 -2.630013)'))) / (select extract(epoch from '2026-07-22 13:48:50'::timestamp) - extract(epoch from '2026-07-22 13:48:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782409 -2.630026)'), GeomFromEWKT('SRID=4674;POINT (-39.782444 -2.630013)'))) / (select extract(epoch from '2026-07-22 13:48:50'::timestamp) - extract(epoch from '2026-07-22 13:48: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.782475 -2.629987)', '2026-07-22 13:48:58', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782444 -2.630013)'), GeomFromEWKT('SRID=4674;POINT (-39.782475 -2.629987)'))) / (select extract(epoch from '2026-07-22 13:48:58'::timestamp) - extract(epoch from '2026-07-22 13:48:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782444 -2.630013)'), GeomFromEWKT('SRID=4674;POINT (-39.782475 -2.629987)'))) / (select extract(epoch from '2026-07-22 13:48:58'::timestamp) - extract(epoch from '2026-07-22 13:48:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.78252 -2.62995)', '2026-07-22 13:49:06', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782475 -2.629987)'), GeomFromEWKT('SRID=4674;POINT (-39.78252 -2.62995)'))) / (select extract(epoch from '2026-07-22 13:49:06'::timestamp) - extract(epoch from '2026-07-22 13:48:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782475 -2.629987)'), GeomFromEWKT('SRID=4674;POINT (-39.78252 -2.62995)'))) / (select extract(epoch from '2026-07-22 13:49:06'::timestamp) - extract(epoch from '2026-07-22 13:48: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.782557 -2.629924)', '2026-07-22 13:49:13', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78252 -2.62995)'), GeomFromEWKT('SRID=4674;POINT (-39.782557 -2.629924)'))) / (select extract(epoch from '2026-07-22 13:49:13'::timestamp) - extract(epoch from '2026-07-22 13:49:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78252 -2.62995)'), GeomFromEWKT('SRID=4674;POINT (-39.782557 -2.629924)'))) / (select extract(epoch from '2026-07-22 13:49:13'::timestamp) - extract(epoch from '2026-07-22 13:49: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.782603 -2.629904)', '2026-07-22 13:49:20', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782557 -2.629924)'), GeomFromEWKT('SRID=4674;POINT (-39.782603 -2.629904)'))) / (select extract(epoch from '2026-07-22 13:49:20'::timestamp) - extract(epoch from '2026-07-22 13:49:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782557 -2.629924)'), GeomFromEWKT('SRID=4674;POINT (-39.782603 -2.629904)'))) / (select extract(epoch from '2026-07-22 13:49:20'::timestamp) - extract(epoch from '2026-07-22 13:49: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.782635 -2.629866)', '2026-07-22 13:49:30', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782603 -2.629904)'), GeomFromEWKT('SRID=4674;POINT (-39.782635 -2.629866)'))) / (select extract(epoch from '2026-07-22 13:49:30'::timestamp) - extract(epoch from '2026-07-22 13:49:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782603 -2.629904)'), GeomFromEWKT('SRID=4674;POINT (-39.782635 -2.629866)'))) / (select extract(epoch from '2026-07-22 13:49:30'::timestamp) - extract(epoch from '2026-07-22 13:49: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.782666 -2.629838)', '2026-07-22 13:49:37', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782635 -2.629866)'), GeomFromEWKT('SRID=4674;POINT (-39.782666 -2.629838)'))) / (select extract(epoch from '2026-07-22 13:49:37'::timestamp) - extract(epoch from '2026-07-22 13:49:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782635 -2.629866)'), GeomFromEWKT('SRID=4674;POINT (-39.782666 -2.629838)'))) / (select extract(epoch from '2026-07-22 13:49:37'::timestamp) - extract(epoch from '2026-07-22 13:49: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.782672 -2.629804)', '2026-07-22 13:49:49', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782666 -2.629838)'), GeomFromEWKT('SRID=4674;POINT (-39.782672 -2.629804)'))) / (select extract(epoch from '2026-07-22 13:49:49'::timestamp) - extract(epoch from '2026-07-22 13:49:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782666 -2.629838)'), GeomFromEWKT('SRID=4674;POINT (-39.782672 -2.629804)'))) / (select extract(epoch from '2026-07-22 13:49:49'::timestamp) - extract(epoch from '2026-07-22 13:49: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.782638 -2.629797)', '2026-07-22 13:49:56', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782672 -2.629804)'), GeomFromEWKT('SRID=4674;POINT (-39.782638 -2.629797)'))) / (select extract(epoch from '2026-07-22 13:49:56'::timestamp) - extract(epoch from '2026-07-22 13:49:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782672 -2.629804)'), GeomFromEWKT('SRID=4674;POINT (-39.782638 -2.629797)'))) / (select extract(epoch from '2026-07-22 13:49:56'::timestamp) - extract(epoch from '2026-07-22 13:49:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.782576 -2.629802)', '2026-07-22 13:50:02', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782638 -2.629797)'), GeomFromEWKT('SRID=4674;POINT (-39.782576 -2.629802)'))) / (select extract(epoch from '2026-07-22 13:50:02'::timestamp) - extract(epoch from '2026-07-22 13:49:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782638 -2.629797)'), GeomFromEWKT('SRID=4674;POINT (-39.782576 -2.629802)'))) / (select extract(epoch from '2026-07-22 13:50:02'::timestamp) - extract(epoch from '2026-07-22 13:49: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.782455 -2.629819)', '2026-07-22 13:50:10', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782576 -2.629802)'), GeomFromEWKT('SRID=4674;POINT (-39.782455 -2.629819)'))) / (select extract(epoch from '2026-07-22 13:50:10'::timestamp) - extract(epoch from '2026-07-22 13:50:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782576 -2.629802)'), GeomFromEWKT('SRID=4674;POINT (-39.782455 -2.629819)'))) / (select extract(epoch from '2026-07-22 13:50:10'::timestamp) - extract(epoch from '2026-07-22 13:50: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.782341 -2.629835)', '2026-07-22 13:50:16', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782455 -2.629819)'), GeomFromEWKT('SRID=4674;POINT (-39.782341 -2.629835)'))) / (select extract(epoch from '2026-07-22 13:50:16'::timestamp) - extract(epoch from '2026-07-22 13:50:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782455 -2.629819)'), GeomFromEWKT('SRID=4674;POINT (-39.782341 -2.629835)'))) / (select extract(epoch from '2026-07-22 13:50:16'::timestamp) - extract(epoch from '2026-07-22 13: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.782248 -2.629813)', '2026-07-22 13:50:21', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782341 -2.629835)'), GeomFromEWKT('SRID=4674;POINT (-39.782248 -2.629813)'))) / (select extract(epoch from '2026-07-22 13:50:21'::timestamp) - extract(epoch from '2026-07-22 13:50:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782341 -2.629835)'), GeomFromEWKT('SRID=4674;POINT (-39.782248 -2.629813)'))) / (select extract(epoch from '2026-07-22 13:50:21'::timestamp) - extract(epoch from '2026-07-22 13:50: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.782142 -2.629813)', '2026-07-22 13:50:27', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782248 -2.629813)'), GeomFromEWKT('SRID=4674;POINT (-39.782142 -2.629813)'))) / (select extract(epoch from '2026-07-22 13:50:27'::timestamp) - extract(epoch from '2026-07-22 13:50:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782248 -2.629813)'), GeomFromEWKT('SRID=4674;POINT (-39.782142 -2.629813)'))) / (select extract(epoch from '2026-07-22 13:50:27'::timestamp) - extract(epoch from '2026-07-22 13:50: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.782052 -2.629828)', '2026-07-22 13:50:32', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782142 -2.629813)'), GeomFromEWKT('SRID=4674;POINT (-39.782052 -2.629828)'))) / (select extract(epoch from '2026-07-22 13:50:32'::timestamp) - extract(epoch from '2026-07-22 13:50:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782142 -2.629813)'), GeomFromEWKT('SRID=4674;POINT (-39.782052 -2.629828)'))) / (select extract(epoch from '2026-07-22 13:50:32'::timestamp) - extract(epoch from '2026-07-22 13: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.78193 -2.629877)', '2026-07-22 13:50:40', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782052 -2.629828)'), GeomFromEWKT('SRID=4674;POINT (-39.78193 -2.629877)'))) / (select extract(epoch from '2026-07-22 13:50:40'::timestamp) - extract(epoch from '2026-07-22 13:50:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782052 -2.629828)'), GeomFromEWKT('SRID=4674;POINT (-39.78193 -2.629877)'))) / (select extract(epoch from '2026-07-22 13:50:40'::timestamp) - extract(epoch from '2026-07-22 13:50: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.781846 -2.629938)', '2026-07-22 13:50:46', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78193 -2.629877)'), GeomFromEWKT('SRID=4674;POINT (-39.781846 -2.629938)'))) / (select extract(epoch from '2026-07-22 13:50:46'::timestamp) - extract(epoch from '2026-07-22 13:50:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78193 -2.629877)'), GeomFromEWKT('SRID=4674;POINT (-39.781846 -2.629938)'))) / (select extract(epoch from '2026-07-22 13:50:46'::timestamp) - extract(epoch from '2026-07-22 13:50:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.781737 -2.629992)', '2026-07-22 13:50:52', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781846 -2.629938)'), GeomFromEWKT('SRID=4674;POINT (-39.781737 -2.629992)'))) / (select extract(epoch from '2026-07-22 13:50:52'::timestamp) - extract(epoch from '2026-07-22 13:50:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781846 -2.629938)'), GeomFromEWKT('SRID=4674;POINT (-39.781737 -2.629992)'))) / (select extract(epoch from '2026-07-22 13:50:52'::timestamp) - extract(epoch from '2026-07-22 13:50: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.781617 -2.630025)', '2026-07-22 13:50:59', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781737 -2.629992)'), GeomFromEWKT('SRID=4674;POINT (-39.781617 -2.630025)'))) / (select extract(epoch from '2026-07-22 13:50:59'::timestamp) - extract(epoch from '2026-07-22 13:50:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781737 -2.629992)'), GeomFromEWKT('SRID=4674;POINT (-39.781617 -2.630025)'))) / (select extract(epoch from '2026-07-22 13:50:59'::timestamp) - extract(epoch from '2026-07-22 13:50: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.781518 -2.630036)', '2026-07-22 13:51:05', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781617 -2.630025)'), GeomFromEWKT('SRID=4674;POINT (-39.781518 -2.630036)'))) / (select extract(epoch from '2026-07-22 13:51:05'::timestamp) - extract(epoch from '2026-07-22 13:50:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781617 -2.630025)'), GeomFromEWKT('SRID=4674;POINT (-39.781518 -2.630036)'))) / (select extract(epoch from '2026-07-22 13:51:05'::timestamp) - extract(epoch from '2026-07-22 13:50: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.781397 -2.630061)', '2026-07-22 13:51:12', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781518 -2.630036)'), GeomFromEWKT('SRID=4674;POINT (-39.781397 -2.630061)'))) / (select extract(epoch from '2026-07-22 13:51:12'::timestamp) - extract(epoch from '2026-07-22 13:51:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781518 -2.630036)'), GeomFromEWKT('SRID=4674;POINT (-39.781397 -2.630061)'))) / (select extract(epoch from '2026-07-22 13:51:12'::timestamp) - extract(epoch from '2026-07-22 13: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.78133 -2.630073)', '2026-07-22 13:51:17', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781397 -2.630061)'), GeomFromEWKT('SRID=4674;POINT (-39.78133 -2.630073)'))) / (select extract(epoch from '2026-07-22 13:51:17'::timestamp) - extract(epoch from '2026-07-22 13:51:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781397 -2.630061)'), GeomFromEWKT('SRID=4674;POINT (-39.78133 -2.630073)'))) / (select extract(epoch from '2026-07-22 13:51:17'::timestamp) - extract(epoch from '2026-07-22 13:51:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.781275 -2.63008)', '2026-07-22 13:51:23', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78133 -2.630073)'), GeomFromEWKT('SRID=4674;POINT (-39.781275 -2.63008)'))) / (select extract(epoch from '2026-07-22 13:51:23'::timestamp) - extract(epoch from '2026-07-22 13:51:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78133 -2.630073)'), GeomFromEWKT('SRID=4674;POINT (-39.781275 -2.63008)'))) / (select extract(epoch from '2026-07-22 13:51:23'::timestamp) - extract(epoch from '2026-07-22 13:51: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.781234 -2.630064)', '2026-07-22 13:51:32', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781275 -2.63008)'), GeomFromEWKT('SRID=4674;POINT (-39.781234 -2.630064)'))) / (select extract(epoch from '2026-07-22 13:51:32'::timestamp) - extract(epoch from '2026-07-22 13:51:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781275 -2.63008)'), GeomFromEWKT('SRID=4674;POINT (-39.781234 -2.630064)'))) / (select extract(epoch from '2026-07-22 13:51:32'::timestamp) - extract(epoch from '2026-07-22 13:51:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.781229 -2.629997)', '2026-07-22 13:51:43', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781234 -2.630064)'), GeomFromEWKT('SRID=4674;POINT (-39.781229 -2.629997)'))) / (select extract(epoch from '2026-07-22 13:51:43'::timestamp) - extract(epoch from '2026-07-22 13:51:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781234 -2.630064)'), GeomFromEWKT('SRID=4674;POINT (-39.781229 -2.629997)'))) / (select extract(epoch from '2026-07-22 13:51:43'::timestamp) - extract(epoch from '2026-07-22 13:51:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.781255 -2.629942)', '2026-07-22 13:51:53', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781229 -2.629997)'), GeomFromEWKT('SRID=4674;POINT (-39.781255 -2.629942)'))) / (select extract(epoch from '2026-07-22 13:51:53'::timestamp) - extract(epoch from '2026-07-22 13:51:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781229 -2.629997)'), GeomFromEWKT('SRID=4674;POINT (-39.781255 -2.629942)'))) / (select extract(epoch from '2026-07-22 13:51:53'::timestamp) - extract(epoch from '2026-07-22 13:51: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.781272 -2.629905)', '2026-07-22 13:51:59', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781255 -2.629942)'), GeomFromEWKT('SRID=4674;POINT (-39.781272 -2.629905)'))) / (select extract(epoch from '2026-07-22 13:51:59'::timestamp) - extract(epoch from '2026-07-22 13:51:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781255 -2.629942)'), GeomFromEWKT('SRID=4674;POINT (-39.781272 -2.629905)'))) / (select extract(epoch from '2026-07-22 13:51:59'::timestamp) - extract(epoch from '2026-07-22 13:51: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.78129 -2.629853)', '2026-07-22 13:52:07', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781272 -2.629905)'), GeomFromEWKT('SRID=4674;POINT (-39.78129 -2.629853)'))) / (select extract(epoch from '2026-07-22 13:52:07'::timestamp) - extract(epoch from '2026-07-22 13:51:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781272 -2.629905)'), GeomFromEWKT('SRID=4674;POINT (-39.78129 -2.629853)'))) / (select extract(epoch from '2026-07-22 13:52:07'::timestamp) - extract(epoch from '2026-07-22 13:51: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.781308 -2.629807)', '2026-07-22 13:52:14', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78129 -2.629853)'), GeomFromEWKT('SRID=4674;POINT (-39.781308 -2.629807)'))) / (select extract(epoch from '2026-07-22 13:52:14'::timestamp) - extract(epoch from '2026-07-22 13:52:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78129 -2.629853)'), GeomFromEWKT('SRID=4674;POINT (-39.781308 -2.629807)'))) / (select extract(epoch from '2026-07-22 13:52:14'::timestamp) - extract(epoch from '2026-07-22 13:52: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.781334 -2.629767)', '2026-07-22 13:52:22', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781308 -2.629807)'), GeomFromEWKT('SRID=4674;POINT (-39.781334 -2.629767)'))) / (select extract(epoch from '2026-07-22 13:52:22'::timestamp) - extract(epoch from '2026-07-22 13:52:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781308 -2.629807)'), GeomFromEWKT('SRID=4674;POINT (-39.781334 -2.629767)'))) / (select extract(epoch from '2026-07-22 13:52:22'::timestamp) - extract(epoch from '2026-07-22 13:52: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.781346 -2.629723)', '2026-07-22 13:52:29', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781334 -2.629767)'), GeomFromEWKT('SRID=4674;POINT (-39.781346 -2.629723)'))) / (select extract(epoch from '2026-07-22 13:52:29'::timestamp) - extract(epoch from '2026-07-22 13:52:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781334 -2.629767)'), GeomFromEWKT('SRID=4674;POINT (-39.781346 -2.629723)'))) / (select extract(epoch from '2026-07-22 13:52:29'::timestamp) - extract(epoch from '2026-07-22 13:52: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.781361 -2.629662)', '2026-07-22 13:52:40', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781346 -2.629723)'), GeomFromEWKT('SRID=4674;POINT (-39.781361 -2.629662)'))) / (select extract(epoch from '2026-07-22 13:52:40'::timestamp) - extract(epoch from '2026-07-22 13:52:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781346 -2.629723)'), GeomFromEWKT('SRID=4674;POINT (-39.781361 -2.629662)'))) / (select extract(epoch from '2026-07-22 13:52:40'::timestamp) - extract(epoch from '2026-07-22 13:52: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.781382 -2.629628)', '2026-07-22 13:52:47', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781361 -2.629662)'), GeomFromEWKT('SRID=4674;POINT (-39.781382 -2.629628)'))) / (select extract(epoch from '2026-07-22 13:52:47'::timestamp) - extract(epoch from '2026-07-22 13:52:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781361 -2.629662)'), GeomFromEWKT('SRID=4674;POINT (-39.781382 -2.629628)'))) / (select extract(epoch from '2026-07-22 13:52:47'::timestamp) - extract(epoch from '2026-07-22 13:52:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.781444 -2.629572)', '2026-07-22 13:52:57', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781382 -2.629628)'), GeomFromEWKT('SRID=4674;POINT (-39.781444 -2.629572)'))) / (select extract(epoch from '2026-07-22 13:52:57'::timestamp) - extract(epoch from '2026-07-22 13:52:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781382 -2.629628)'), GeomFromEWKT('SRID=4674;POINT (-39.781444 -2.629572)'))) / (select extract(epoch from '2026-07-22 13:52:57'::timestamp) - extract(epoch from '2026-07-22 13:52: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.781451 -2.629555)', '2026-07-22 13:53:03', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781444 -2.629572)'), GeomFromEWKT('SRID=4674;POINT (-39.781451 -2.629555)'))) / (select extract(epoch from '2026-07-22 13:53:03'::timestamp) - extract(epoch from '2026-07-22 13:52:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781444 -2.629572)'), GeomFromEWKT('SRID=4674;POINT (-39.781451 -2.629555)'))) / (select extract(epoch from '2026-07-22 13:53:03'::timestamp) - extract(epoch from '2026-07-22 13:52: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.78143 -2.629507)', '2026-07-22 13:53:25', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781451 -2.629555)'), GeomFromEWKT('SRID=4674;POINT (-39.78143 -2.629507)'))) / (select extract(epoch from '2026-07-22 13:53:25'::timestamp) - extract(epoch from '2026-07-22 13:53:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781451 -2.629555)'), GeomFromEWKT('SRID=4674;POINT (-39.78143 -2.629507)'))) / (select extract(epoch from '2026-07-22 13:53:25'::timestamp) - extract(epoch from '2026-07-22 13:53:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.781441 -2.629469)', '2026-07-22 13:53:33', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78143 -2.629507)'), GeomFromEWKT('SRID=4674;POINT (-39.781441 -2.629469)'))) / (select extract(epoch from '2026-07-22 13:53:33'::timestamp) - extract(epoch from '2026-07-22 13:53:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78143 -2.629507)'), GeomFromEWKT('SRID=4674;POINT (-39.781441 -2.629469)'))) / (select extract(epoch from '2026-07-22 13:53:33'::timestamp) - extract(epoch from '2026-07-22 13:53:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.781448 -2.629458)', '2026-07-22 13:53:39', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781441 -2.629469)'), GeomFromEWKT('SRID=4674;POINT (-39.781448 -2.629458)'))) / (select extract(epoch from '2026-07-22 13:53:39'::timestamp) - extract(epoch from '2026-07-22 13:53:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781441 -2.629469)'), GeomFromEWKT('SRID=4674;POINT (-39.781448 -2.629458)'))) / (select extract(epoch from '2026-07-22 13:53:39'::timestamp) - extract(epoch from '2026-07-22 13: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.781442 -2.629461)', '2026-07-22 13:53:42', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781448 -2.629458)'), GeomFromEWKT('SRID=4674;POINT (-39.781442 -2.629461)'))) / (select extract(epoch from '2026-07-22 13:53:42'::timestamp) - extract(epoch from '2026-07-22 13:53:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781448 -2.629458)'), GeomFromEWKT('SRID=4674;POINT (-39.781442 -2.629461)'))) / (select extract(epoch from '2026-07-22 13:53:42'::timestamp) - extract(epoch from '2026-07-22 13:53:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.781407 -2.629501)', '2026-07-22 13:53:47', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781442 -2.629461)'), GeomFromEWKT('SRID=4674;POINT (-39.781407 -2.629501)'))) / (select extract(epoch from '2026-07-22 13:53:47'::timestamp) - extract(epoch from '2026-07-22 13:53:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781442 -2.629461)'), GeomFromEWKT('SRID=4674;POINT (-39.781407 -2.629501)'))) / (select extract(epoch from '2026-07-22 13:53:47'::timestamp) - extract(epoch from '2026-07-22 13:53: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.781294 -2.629548)', '2026-07-22 13:53:55', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781407 -2.629501)'), GeomFromEWKT('SRID=4674;POINT (-39.781294 -2.629548)'))) / (select extract(epoch from '2026-07-22 13:53:55'::timestamp) - extract(epoch from '2026-07-22 13:53:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781407 -2.629501)'), GeomFromEWKT('SRID=4674;POINT (-39.781294 -2.629548)'))) / (select extract(epoch from '2026-07-22 13:53:55'::timestamp) - extract(epoch from '2026-07-22 13:53: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.781192 -2.629597)', '2026-07-22 13:54:01', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781294 -2.629548)'), GeomFromEWKT('SRID=4674;POINT (-39.781192 -2.629597)'))) / (select extract(epoch from '2026-07-22 13:54:01'::timestamp) - extract(epoch from '2026-07-22 13:53:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781294 -2.629548)'), GeomFromEWKT('SRID=4674;POINT (-39.781192 -2.629597)'))) / (select extract(epoch from '2026-07-22 13:54:01'::timestamp) - extract(epoch from '2026-07-22 13:53: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.781104 -2.629633)', '2026-07-22 13:54:06', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781192 -2.629597)'), GeomFromEWKT('SRID=4674;POINT (-39.781104 -2.629633)'))) / (select extract(epoch from '2026-07-22 13:54:06'::timestamp) - extract(epoch from '2026-07-22 13:54:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781192 -2.629597)'), GeomFromEWKT('SRID=4674;POINT (-39.781104 -2.629633)'))) / (select extract(epoch from '2026-07-22 13:54:06'::timestamp) - extract(epoch from '2026-07-22 13:54: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.781002 -2.629682)', '2026-07-22 13:54:13', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781104 -2.629633)'), GeomFromEWKT('SRID=4674;POINT (-39.781002 -2.629682)'))) / (select extract(epoch from '2026-07-22 13:54:13'::timestamp) - extract(epoch from '2026-07-22 13:54:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781104 -2.629633)'), GeomFromEWKT('SRID=4674;POINT (-39.781002 -2.629682)'))) / (select extract(epoch from '2026-07-22 13:54:13'::timestamp) - extract(epoch from '2026-07-22 13:54: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.780929 -2.62972)', '2026-07-22 13:54:19', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781002 -2.629682)'), GeomFromEWKT('SRID=4674;POINT (-39.780929 -2.62972)'))) / (select extract(epoch from '2026-07-22 13:54:19'::timestamp) - extract(epoch from '2026-07-22 13:54:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781002 -2.629682)'), GeomFromEWKT('SRID=4674;POINT (-39.780929 -2.62972)'))) / (select extract(epoch from '2026-07-22 13:54:19'::timestamp) - extract(epoch from '2026-07-22 13:54: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.780909 -2.629738)', '2026-07-22 13:54:21', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780929 -2.62972)'), GeomFromEWKT('SRID=4674;POINT (-39.780909 -2.629738)'))) / (select extract(epoch from '2026-07-22 13:54:21'::timestamp) - extract(epoch from '2026-07-22 13:54:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780929 -2.62972)'), GeomFromEWKT('SRID=4674;POINT (-39.780909 -2.629738)'))) / (select extract(epoch from '2026-07-22 13:54:21'::timestamp) - extract(epoch from '2026-07-22 13:54: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.780858 -2.629759)', '2026-07-22 13:54:24', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780909 -2.629738)'), GeomFromEWKT('SRID=4674;POINT (-39.780858 -2.629759)'))) / (select extract(epoch from '2026-07-22 13:54:24'::timestamp) - extract(epoch from '2026-07-22 13:54:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780909 -2.629738)'), GeomFromEWKT('SRID=4674;POINT (-39.780858 -2.629759)'))) / (select extract(epoch from '2026-07-22 13:54:24'::timestamp) - extract(epoch from '2026-07-22 13: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.780792 -2.629801)', '2026-07-22 13:54:29', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780858 -2.629759)'), GeomFromEWKT('SRID=4674;POINT (-39.780792 -2.629801)'))) / (select extract(epoch from '2026-07-22 13:54:29'::timestamp) - extract(epoch from '2026-07-22 13:54:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780858 -2.629759)'), GeomFromEWKT('SRID=4674;POINT (-39.780792 -2.629801)'))) / (select extract(epoch from '2026-07-22 13:54:29'::timestamp) - extract(epoch from '2026-07-22 13:54: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.780721 -2.629847)', '2026-07-22 13:54:34', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780792 -2.629801)'), GeomFromEWKT('SRID=4674;POINT (-39.780721 -2.629847)'))) / (select extract(epoch from '2026-07-22 13:54:34'::timestamp) - extract(epoch from '2026-07-22 13:54:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780792 -2.629801)'), GeomFromEWKT('SRID=4674;POINT (-39.780721 -2.629847)'))) / (select extract(epoch from '2026-07-22 13:54:34'::timestamp) - extract(epoch from '2026-07-22 13:54:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.780681 -2.629894)', '2026-07-22 13:54:38', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780721 -2.629847)'), GeomFromEWKT('SRID=4674;POINT (-39.780681 -2.629894)'))) / (select extract(epoch from '2026-07-22 13:54:38'::timestamp) - extract(epoch from '2026-07-22 13:54:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780721 -2.629847)'), GeomFromEWKT('SRID=4674;POINT (-39.780681 -2.629894)'))) / (select extract(epoch from '2026-07-22 13:54:38'::timestamp) - extract(epoch from '2026-07-22 13:54: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.780667 -2.629905)', '2026-07-22 13:54:39', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780681 -2.629894)'), GeomFromEWKT('SRID=4674;POINT (-39.780667 -2.629905)'))) / (select extract(epoch from '2026-07-22 13:54:39'::timestamp) - extract(epoch from '2026-07-22 13:54:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780681 -2.629894)'), GeomFromEWKT('SRID=4674;POINT (-39.780667 -2.629905)'))) / (select extract(epoch from '2026-07-22 13:54:39'::timestamp) - extract(epoch from '2026-07-22 13:54: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.780569 -2.629964)', '2026-07-22 13:54:45', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780667 -2.629905)'), GeomFromEWKT('SRID=4674;POINT (-39.780569 -2.629964)'))) / (select extract(epoch from '2026-07-22 13:54:45'::timestamp) - extract(epoch from '2026-07-22 13:54:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780667 -2.629905)'), GeomFromEWKT('SRID=4674;POINT (-39.780569 -2.629964)'))) / (select extract(epoch from '2026-07-22 13:54:45'::timestamp) - extract(epoch from '2026-07-22 13: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.780469 -2.630024)', '2026-07-22 13:54:51', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780569 -2.629964)'), GeomFromEWKT('SRID=4674;POINT (-39.780469 -2.630024)'))) / (select extract(epoch from '2026-07-22 13:54:51'::timestamp) - extract(epoch from '2026-07-22 13:54:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780569 -2.629964)'), GeomFromEWKT('SRID=4674;POINT (-39.780469 -2.630024)'))) / (select extract(epoch from '2026-07-22 13:54:51'::timestamp) - extract(epoch from '2026-07-22 13:54: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.780376 -2.630065)', '2026-07-22 13:54:57', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780469 -2.630024)'), GeomFromEWKT('SRID=4674;POINT (-39.780376 -2.630065)'))) / (select extract(epoch from '2026-07-22 13:54:57'::timestamp) - extract(epoch from '2026-07-22 13:54:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780469 -2.630024)'), GeomFromEWKT('SRID=4674;POINT (-39.780376 -2.630065)'))) / (select extract(epoch from '2026-07-22 13:54:57'::timestamp) - extract(epoch from '2026-07-22 13:54:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.780279 -2.630095)', '2026-07-22 13:55:03', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780376 -2.630065)'), GeomFromEWKT('SRID=4674;POINT (-39.780279 -2.630095)'))) / (select extract(epoch from '2026-07-22 13:55:03'::timestamp) - extract(epoch from '2026-07-22 13:54:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780376 -2.630065)'), GeomFromEWKT('SRID=4674;POINT (-39.780279 -2.630095)'))) / (select extract(epoch from '2026-07-22 13:55:03'::timestamp) - extract(epoch from '2026-07-22 13:54: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.78023 -2.630107)', '2026-07-22 13:55:06', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780279 -2.630095)'), GeomFromEWKT('SRID=4674;POINT (-39.78023 -2.630107)'))) / (select extract(epoch from '2026-07-22 13:55:06'::timestamp) - extract(epoch from '2026-07-22 13:55:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780279 -2.630095)'), GeomFromEWKT('SRID=4674;POINT (-39.78023 -2.630107)'))) / (select extract(epoch from '2026-07-22 13:55:06'::timestamp) - extract(epoch from '2026-07-22 13: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.780201 -2.630105)', '2026-07-22 13:55:08', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78023 -2.630107)'), GeomFromEWKT('SRID=4674;POINT (-39.780201 -2.630105)'))) / (select extract(epoch from '2026-07-22 13:55:08'::timestamp) - extract(epoch from '2026-07-22 13:55:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78023 -2.630107)'), GeomFromEWKT('SRID=4674;POINT (-39.780201 -2.630105)'))) / (select extract(epoch from '2026-07-22 13:55:08'::timestamp) - extract(epoch from '2026-07-22 13:55: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.780133 -2.630091)', '2026-07-22 13:55:14', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780201 -2.630105)'), GeomFromEWKT('SRID=4674;POINT (-39.780133 -2.630091)'))) / (select extract(epoch from '2026-07-22 13:55:14'::timestamp) - extract(epoch from '2026-07-22 13:55:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780201 -2.630105)'), GeomFromEWKT('SRID=4674;POINT (-39.780133 -2.630091)'))) / (select extract(epoch from '2026-07-22 13:55:14'::timestamp) - extract(epoch from '2026-07-22 13: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.780123 -2.630082)', '2026-07-22 13:55:15', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780133 -2.630091)'), GeomFromEWKT('SRID=4674;POINT (-39.780123 -2.630082)'))) / (select extract(epoch from '2026-07-22 13:55:15'::timestamp) - extract(epoch from '2026-07-22 13:55:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780133 -2.630091)'), GeomFromEWKT('SRID=4674;POINT (-39.780123 -2.630082)'))) / (select extract(epoch from '2026-07-22 13:55:15'::timestamp) - extract(epoch from '2026-07-22 13:55: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.780101 -2.630043)', '2026-07-22 13:55:19', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780123 -2.630082)'), GeomFromEWKT('SRID=4674;POINT (-39.780101 -2.630043)'))) / (select extract(epoch from '2026-07-22 13:55:19'::timestamp) - extract(epoch from '2026-07-22 13:55:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780123 -2.630082)'), GeomFromEWKT('SRID=4674;POINT (-39.780101 -2.630043)'))) / (select extract(epoch from '2026-07-22 13:55:19'::timestamp) - extract(epoch from '2026-07-22 13: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.780087 -2.630023)', '2026-07-22 13:55:23', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780101 -2.630043)'), GeomFromEWKT('SRID=4674;POINT (-39.780087 -2.630023)'))) / (select extract(epoch from '2026-07-22 13:55:23'::timestamp) - extract(epoch from '2026-07-22 13:55:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780101 -2.630043)'), GeomFromEWKT('SRID=4674;POINT (-39.780087 -2.630023)'))) / (select extract(epoch from '2026-07-22 13:55:23'::timestamp) - extract(epoch from '2026-07-22 13:55:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.780087 -2.630009)', '2026-07-22 13:55:25', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780087 -2.630023)'), GeomFromEWKT('SRID=4674;POINT (-39.780087 -2.630009)'))) / (select extract(epoch from '2026-07-22 13:55:25'::timestamp) - extract(epoch from '2026-07-22 13:55:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780087 -2.630023)'), GeomFromEWKT('SRID=4674;POINT (-39.780087 -2.630009)'))) / (select extract(epoch from '2026-07-22 13:55:25'::timestamp) - extract(epoch from '2026-07-22 13:55: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.780091 -2.629959)', '2026-07-22 13:55:35', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780087 -2.630009)'), GeomFromEWKT('SRID=4674;POINT (-39.780091 -2.629959)'))) / (select extract(epoch from '2026-07-22 13:55:35'::timestamp) - extract(epoch from '2026-07-22 13:55:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780087 -2.630009)'), GeomFromEWKT('SRID=4674;POINT (-39.780091 -2.629959)'))) / (select extract(epoch from '2026-07-22 13:55:35'::timestamp) - extract(epoch from '2026-07-22 13:55:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.780098 -2.629911)', '2026-07-22 13:55:46', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780091 -2.629959)'), GeomFromEWKT('SRID=4674;POINT (-39.780098 -2.629911)'))) / (select extract(epoch from '2026-07-22 13:55:46'::timestamp) - extract(epoch from '2026-07-22 13:55:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780091 -2.629959)'), GeomFromEWKT('SRID=4674;POINT (-39.780098 -2.629911)'))) / (select extract(epoch from '2026-07-22 13:55:46'::timestamp) - extract(epoch from '2026-07-22 13:55: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.780111 -2.629867)', '2026-07-22 13:55:57', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780098 -2.629911)'), GeomFromEWKT('SRID=4674;POINT (-39.780111 -2.629867)'))) / (select extract(epoch from '2026-07-22 13:55:57'::timestamp) - extract(epoch from '2026-07-22 13:55:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780098 -2.629911)'), GeomFromEWKT('SRID=4674;POINT (-39.780111 -2.629867)'))) / (select extract(epoch from '2026-07-22 13:55:57'::timestamp) - extract(epoch from '2026-07-22 13: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.780134 -2.629859)', '2026-07-22 13:56:03', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780111 -2.629867)'), GeomFromEWKT('SRID=4674;POINT (-39.780134 -2.629859)'))) / (select extract(epoch from '2026-07-22 13:56:03'::timestamp) - extract(epoch from '2026-07-22 13:55:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780111 -2.629867)'), GeomFromEWKT('SRID=4674;POINT (-39.780134 -2.629859)'))) / (select extract(epoch from '2026-07-22 13:56:03'::timestamp) - extract(epoch from '2026-07-22 13:55: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.780172 -2.629843)', '2026-07-22 13:56:12', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780134 -2.629859)'), GeomFromEWKT('SRID=4674;POINT (-39.780172 -2.629843)'))) / (select extract(epoch from '2026-07-22 13:56:12'::timestamp) - extract(epoch from '2026-07-22 13:56:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780134 -2.629859)'), GeomFromEWKT('SRID=4674;POINT (-39.780172 -2.629843)'))) / (select extract(epoch from '2026-07-22 13:56:12'::timestamp) - extract(epoch from '2026-07-22 13:56: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.780196 -2.62984)', '2026-07-22 13:56:18', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780172 -2.629843)'), GeomFromEWKT('SRID=4674;POINT (-39.780196 -2.62984)'))) / (select extract(epoch from '2026-07-22 13:56:18'::timestamp) - extract(epoch from '2026-07-22 13:56:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780172 -2.629843)'), GeomFromEWKT('SRID=4674;POINT (-39.780196 -2.62984)'))) / (select extract(epoch from '2026-07-22 13:56:18'::timestamp) - extract(epoch from '2026-07-22 13:56:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.780221 -2.629831)', '2026-07-22 13:56:25', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780196 -2.62984)'), GeomFromEWKT('SRID=4674;POINT (-39.780221 -2.629831)'))) / (select extract(epoch from '2026-07-22 13:56:25'::timestamp) - extract(epoch from '2026-07-22 13:56:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780196 -2.62984)'), GeomFromEWKT('SRID=4674;POINT (-39.780221 -2.629831)'))) / (select extract(epoch from '2026-07-22 13:56:25'::timestamp) - extract(epoch from '2026-07-22 13:56:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.78026 -2.629816)', '2026-07-22 13:56:33', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780221 -2.629831)'), GeomFromEWKT('SRID=4674;POINT (-39.78026 -2.629816)'))) / (select extract(epoch from '2026-07-22 13:56:33'::timestamp) - extract(epoch from '2026-07-22 13:56:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780221 -2.629831)'), GeomFromEWKT('SRID=4674;POINT (-39.78026 -2.629816)'))) / (select extract(epoch from '2026-07-22 13:56:33'::timestamp) - extract(epoch from '2026-07-22 13:56: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.780268 -2.629813)', '2026-07-22 13:56:34', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78026 -2.629816)'), GeomFromEWKT('SRID=4674;POINT (-39.780268 -2.629813)'))) / (select extract(epoch from '2026-07-22 13:56:34'::timestamp) - extract(epoch from '2026-07-22 13:56:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78026 -2.629816)'), GeomFromEWKT('SRID=4674;POINT (-39.780268 -2.629813)'))) / (select extract(epoch from '2026-07-22 13:56:34'::timestamp) - extract(epoch from '2026-07-22 13:56:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.780279 -2.629805)', '2026-07-22 13:56:38', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780268 -2.629813)'), GeomFromEWKT('SRID=4674;POINT (-39.780279 -2.629805)'))) / (select extract(epoch from '2026-07-22 13:56:38'::timestamp) - extract(epoch from '2026-07-22 13:56:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780268 -2.629813)'), GeomFromEWKT('SRID=4674;POINT (-39.780279 -2.629805)'))) / (select extract(epoch from '2026-07-22 13:56:38'::timestamp) - extract(epoch from '2026-07-22 13:56:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.780302 -2.629799)', '2026-07-22 13:56:41', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780279 -2.629805)'), GeomFromEWKT('SRID=4674;POINT (-39.780302 -2.629799)'))) / (select extract(epoch from '2026-07-22 13:56:41'::timestamp) - extract(epoch from '2026-07-22 13:56:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780279 -2.629805)'), GeomFromEWKT('SRID=4674;POINT (-39.780302 -2.629799)'))) / (select extract(epoch from '2026-07-22 13:56:41'::timestamp) - extract(epoch from '2026-07-22 13:56:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.780308 -2.62979)', '2026-07-22 13:56:44', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780302 -2.629799)'), GeomFromEWKT('SRID=4674;POINT (-39.780308 -2.62979)'))) / (select extract(epoch from '2026-07-22 13:56:44'::timestamp) - extract(epoch from '2026-07-22 13:56:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780302 -2.629799)'), GeomFromEWKT('SRID=4674;POINT (-39.780308 -2.62979)'))) / (select extract(epoch from '2026-07-22 13:56:44'::timestamp) - extract(epoch from '2026-07-22 13:56: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.780342 -2.629762)', '2026-07-22 13:56:49', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780308 -2.62979)'), GeomFromEWKT('SRID=4674;POINT (-39.780342 -2.629762)'))) / (select extract(epoch from '2026-07-22 13:56:49'::timestamp) - extract(epoch from '2026-07-22 13:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780308 -2.62979)'), GeomFromEWKT('SRID=4674;POINT (-39.780342 -2.629762)'))) / (select extract(epoch from '2026-07-22 13:56:49'::timestamp) - extract(epoch from '2026-07-22 13:56:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.780396 -2.629705)', '2026-07-22 13:56:59', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780342 -2.629762)'), GeomFromEWKT('SRID=4674;POINT (-39.780396 -2.629705)'))) / (select extract(epoch from '2026-07-22 13:56:59'::timestamp) - extract(epoch from '2026-07-22 13:56:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780342 -2.629762)'), GeomFromEWKT('SRID=4674;POINT (-39.780396 -2.629705)'))) / (select extract(epoch from '2026-07-22 13:56:59'::timestamp) - extract(epoch from '2026-07-22 13:56:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.780453 -2.629651)', '2026-07-22 13:57:11', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780396 -2.629705)'), GeomFromEWKT('SRID=4674;POINT (-39.780453 -2.629651)'))) / (select extract(epoch from '2026-07-22 13:57:11'::timestamp) - extract(epoch from '2026-07-22 13:56:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780396 -2.629705)'), GeomFromEWKT('SRID=4674;POINT (-39.780453 -2.629651)'))) / (select extract(epoch from '2026-07-22 13:57:11'::timestamp) - extract(epoch from '2026-07-22 13: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.78046 -2.629612)', '2026-07-22 13:57:18', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780453 -2.629651)'), GeomFromEWKT('SRID=4674;POINT (-39.78046 -2.629612)'))) / (select extract(epoch from '2026-07-22 13:57:18'::timestamp) - extract(epoch from '2026-07-22 13:57:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780453 -2.629651)'), GeomFromEWKT('SRID=4674;POINT (-39.78046 -2.629612)'))) / (select extract(epoch from '2026-07-22 13:57:18'::timestamp) - extract(epoch from '2026-07-22 13:57:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.780453 -2.629606)', '2026-07-22 13:57:19', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78046 -2.629612)'), GeomFromEWKT('SRID=4674;POINT (-39.780453 -2.629606)'))) / (select extract(epoch from '2026-07-22 13:57:19'::timestamp) - extract(epoch from '2026-07-22 13:57:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78046 -2.629612)'), GeomFromEWKT('SRID=4674;POINT (-39.780453 -2.629606)'))) / (select extract(epoch from '2026-07-22 13:57:19'::timestamp) - extract(epoch from '2026-07-22 13:57:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.78044 -2.629589)', '2026-07-22 13:57:23', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780453 -2.629606)'), GeomFromEWKT('SRID=4674;POINT (-39.78044 -2.629589)'))) / (select extract(epoch from '2026-07-22 13:57:23'::timestamp) - extract(epoch from '2026-07-22 13:57:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780453 -2.629606)'), GeomFromEWKT('SRID=4674;POINT (-39.78044 -2.629589)'))) / (select extract(epoch from '2026-07-22 13:57:23'::timestamp) - extract(epoch from '2026-07-22 13:57: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.780422 -2.629571)', '2026-07-22 13:57:29', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78044 -2.629589)'), GeomFromEWKT('SRID=4674;POINT (-39.780422 -2.629571)'))) / (select extract(epoch from '2026-07-22 13:57:29'::timestamp) - extract(epoch from '2026-07-22 13:57:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78044 -2.629589)'), GeomFromEWKT('SRID=4674;POINT (-39.780422 -2.629571)'))) / (select extract(epoch from '2026-07-22 13:57:29'::timestamp) - extract(epoch from '2026-07-22 13:57: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.78042 -2.629571)', '2026-07-22 13:57:30', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780422 -2.629571)'), GeomFromEWKT('SRID=4674;POINT (-39.78042 -2.629571)'))) / (select extract(epoch from '2026-07-22 13:57:30'::timestamp) - extract(epoch from '2026-07-22 13:57:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780422 -2.629571)'), GeomFromEWKT('SRID=4674;POINT (-39.78042 -2.629571)'))) / (select extract(epoch from '2026-07-22 13:57:30'::timestamp) - extract(epoch from '2026-07-22 13:57: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.780425 -2.629553)', '2026-07-22 13:57:40', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78042 -2.629571)'), GeomFromEWKT('SRID=4674;POINT (-39.780425 -2.629553)'))) / (select extract(epoch from '2026-07-22 13:57:40'::timestamp) - extract(epoch from '2026-07-22 13:57:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78042 -2.629571)'), GeomFromEWKT('SRID=4674;POINT (-39.780425 -2.629553)'))) / (select extract(epoch from '2026-07-22 13:57:40'::timestamp) - extract(epoch from '2026-07-22 13:57: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.780431 -2.629548)', '2026-07-22 13:57:42', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780425 -2.629553)'), GeomFromEWKT('SRID=4674;POINT (-39.780431 -2.629548)'))) / (select extract(epoch from '2026-07-22 13:57:42'::timestamp) - extract(epoch from '2026-07-22 13:57:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780425 -2.629553)'), GeomFromEWKT('SRID=4674;POINT (-39.780431 -2.629548)'))) / (select extract(epoch from '2026-07-22 13:57:42'::timestamp) - extract(epoch from '2026-07-22 13:57: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.780431 -2.629547)', '2026-07-22 13:57:46', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780431 -2.629548)'), GeomFromEWKT('SRID=4674;POINT (-39.780431 -2.629547)'))) / (select extract(epoch from '2026-07-22 13:57:46'::timestamp) - extract(epoch from '2026-07-22 13:57:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780431 -2.629548)'), GeomFromEWKT('SRID=4674;POINT (-39.780431 -2.629547)'))) / (select extract(epoch from '2026-07-22 13:57:46'::timestamp) - extract(epoch from '2026-07-22 13:57:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.780377 -2.629593)', '2026-07-22 13:57:54', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780431 -2.629547)'), GeomFromEWKT('SRID=4674;POINT (-39.780377 -2.629593)'))) / (select extract(epoch from '2026-07-22 13:57:54'::timestamp) - extract(epoch from '2026-07-22 13:57:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780431 -2.629547)'), GeomFromEWKT('SRID=4674;POINT (-39.780377 -2.629593)'))) / (select extract(epoch from '2026-07-22 13:57:54'::timestamp) - extract(epoch from '2026-07-22 13:57: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.780286 -2.629672)', '2026-07-22 13:58:02', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780377 -2.629593)'), GeomFromEWKT('SRID=4674;POINT (-39.780286 -2.629672)'))) / (select extract(epoch from '2026-07-22 13:58:02'::timestamp) - extract(epoch from '2026-07-22 13:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780377 -2.629593)'), GeomFromEWKT('SRID=4674;POINT (-39.780286 -2.629672)'))) / (select extract(epoch from '2026-07-22 13:58:02'::timestamp) - extract(epoch from '2026-07-22 13:57:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.780214 -2.629754)', '2026-07-22 13:58:08', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780286 -2.629672)'), GeomFromEWKT('SRID=4674;POINT (-39.780214 -2.629754)'))) / (select extract(epoch from '2026-07-22 13:58:08'::timestamp) - extract(epoch from '2026-07-22 13:58:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780286 -2.629672)'), GeomFromEWKT('SRID=4674;POINT (-39.780214 -2.629754)'))) / (select extract(epoch from '2026-07-22 13:58:08'::timestamp) - extract(epoch from '2026-07-22 13:58: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.780153 -2.629818)', '2026-07-22 13:58:13', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780214 -2.629754)'), GeomFromEWKT('SRID=4674;POINT (-39.780153 -2.629818)'))) / (select extract(epoch from '2026-07-22 13:58:13'::timestamp) - extract(epoch from '2026-07-22 13:58:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780214 -2.629754)'), GeomFromEWKT('SRID=4674;POINT (-39.780153 -2.629818)'))) / (select extract(epoch from '2026-07-22 13:58:13'::timestamp) - extract(epoch from '2026-07-22 13:58:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.78006 -2.62988)', '2026-07-22 13:58:19', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780153 -2.629818)'), GeomFromEWKT('SRID=4674;POINT (-39.78006 -2.62988)'))) / (select extract(epoch from '2026-07-22 13:58:19'::timestamp) - extract(epoch from '2026-07-22 13:58:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780153 -2.629818)'), GeomFromEWKT('SRID=4674;POINT (-39.78006 -2.62988)'))) / (select extract(epoch from '2026-07-22 13:58:19'::timestamp) - extract(epoch from '2026-07-22 13:58:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.780043 -2.629889)', '2026-07-22 13:58:20', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78006 -2.62988)'), GeomFromEWKT('SRID=4674;POINT (-39.780043 -2.629889)'))) / (select extract(epoch from '2026-07-22 13:58:20'::timestamp) - extract(epoch from '2026-07-22 13:58:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78006 -2.62988)'), GeomFromEWKT('SRID=4674;POINT (-39.780043 -2.629889)'))) / (select extract(epoch from '2026-07-22 13:58:20'::timestamp) - extract(epoch from '2026-07-22 13:58: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.780007 -2.629919)', '2026-07-22 13:58:23', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780043 -2.629889)'), GeomFromEWKT('SRID=4674;POINT (-39.780007 -2.629919)'))) / (select extract(epoch from '2026-07-22 13:58:23'::timestamp) - extract(epoch from '2026-07-22 13:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780043 -2.629889)'), GeomFromEWKT('SRID=4674;POINT (-39.780007 -2.629919)'))) / (select extract(epoch from '2026-07-22 13:58:23'::timestamp) - extract(epoch from '2026-07-22 13:58:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.779924 -2.629968)', '2026-07-22 13:58:28', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780007 -2.629919)'), GeomFromEWKT('SRID=4674;POINT (-39.779924 -2.629968)'))) / (select extract(epoch from '2026-07-22 13:58:28'::timestamp) - extract(epoch from '2026-07-22 13:58:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780007 -2.629919)'), GeomFromEWKT('SRID=4674;POINT (-39.779924 -2.629968)'))) / (select extract(epoch from '2026-07-22 13:58:28'::timestamp) - extract(epoch from '2026-07-22 13:58: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.779827 -2.630047)', '2026-07-22 13:58:35', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779924 -2.629968)'), GeomFromEWKT('SRID=4674;POINT (-39.779827 -2.630047)'))) / (select extract(epoch from '2026-07-22 13:58:35'::timestamp) - extract(epoch from '2026-07-22 13:58:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779924 -2.629968)'), GeomFromEWKT('SRID=4674;POINT (-39.779827 -2.630047)'))) / (select extract(epoch from '2026-07-22 13:58:35'::timestamp) - extract(epoch from '2026-07-22 13:58: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.779749 -2.630134)', '2026-07-22 13:58:41', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779827 -2.630047)'), GeomFromEWKT('SRID=4674;POINT (-39.779749 -2.630134)'))) / (select extract(epoch from '2026-07-22 13:58:41'::timestamp) - extract(epoch from '2026-07-22 13:58:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779827 -2.630047)'), GeomFromEWKT('SRID=4674;POINT (-39.779749 -2.630134)'))) / (select extract(epoch from '2026-07-22 13:58:41'::timestamp) - extract(epoch from '2026-07-22 13:58: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.779683 -2.630198)', '2026-07-22 13:58:46', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779749 -2.630134)'), GeomFromEWKT('SRID=4674;POINT (-39.779683 -2.630198)'))) / (select extract(epoch from '2026-07-22 13:58:46'::timestamp) - extract(epoch from '2026-07-22 13:58:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779749 -2.630134)'), GeomFromEWKT('SRID=4674;POINT (-39.779683 -2.630198)'))) / (select extract(epoch from '2026-07-22 13:58:46'::timestamp) - extract(epoch from '2026-07-22 13:58: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.779615 -2.630278)', '2026-07-22 13:58:52', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779683 -2.630198)'), GeomFromEWKT('SRID=4674;POINT (-39.779615 -2.630278)'))) / (select extract(epoch from '2026-07-22 13:58:52'::timestamp) - extract(epoch from '2026-07-22 13:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779683 -2.630198)'), GeomFromEWKT('SRID=4674;POINT (-39.779615 -2.630278)'))) / (select extract(epoch from '2026-07-22 13:58:52'::timestamp) - extract(epoch from '2026-07-22 13:58: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.779531 -2.630343)', '2026-07-22 13:58:58', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779615 -2.630278)'), GeomFromEWKT('SRID=4674;POINT (-39.779531 -2.630343)'))) / (select extract(epoch from '2026-07-22 13:58:58'::timestamp) - extract(epoch from '2026-07-22 13:58:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779615 -2.630278)'), GeomFromEWKT('SRID=4674;POINT (-39.779531 -2.630343)'))) / (select extract(epoch from '2026-07-22 13:58:58'::timestamp) - extract(epoch from '2026-07-22 13: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.779433 -2.63037)', '2026-07-22 13:59:04', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779531 -2.630343)'), GeomFromEWKT('SRID=4674;POINT (-39.779433 -2.63037)'))) / (select extract(epoch from '2026-07-22 13:59:04'::timestamp) - extract(epoch from '2026-07-22 13:58:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779531 -2.630343)'), GeomFromEWKT('SRID=4674;POINT (-39.779433 -2.63037)'))) / (select extract(epoch from '2026-07-22 13:59:04'::timestamp) - extract(epoch from '2026-07-22 13:58:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.77933 -2.630372)', '2026-07-22 13:59:10', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779433 -2.63037)'), GeomFromEWKT('SRID=4674;POINT (-39.77933 -2.630372)'))) / (select extract(epoch from '2026-07-22 13:59:10'::timestamp) - extract(epoch from '2026-07-22 13:59:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779433 -2.63037)'), GeomFromEWKT('SRID=4674;POINT (-39.77933 -2.630372)'))) / (select extract(epoch from '2026-07-22 13:59:10'::timestamp) - extract(epoch from '2026-07-22 13:59:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.779179 -2.630352)', '2026-07-22 13:59:18', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77933 -2.630372)'), GeomFromEWKT('SRID=4674;POINT (-39.779179 -2.630352)'))) / (select extract(epoch from '2026-07-22 13:59:18'::timestamp) - extract(epoch from '2026-07-22 13:59:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77933 -2.630372)'), GeomFromEWKT('SRID=4674;POINT (-39.779179 -2.630352)'))) / (select extract(epoch from '2026-07-22 13:59:18'::timestamp) - extract(epoch from '2026-07-22 13:59: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.779061 -2.630306)', '2026-07-22 13:59:25', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779179 -2.630352)'), GeomFromEWKT('SRID=4674;POINT (-39.779061 -2.630306)'))) / (select extract(epoch from '2026-07-22 13:59:25'::timestamp) - extract(epoch from '2026-07-22 13:59:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779179 -2.630352)'), GeomFromEWKT('SRID=4674;POINT (-39.779061 -2.630306)'))) / (select extract(epoch from '2026-07-22 13:59:25'::timestamp) - extract(epoch from '2026-07-22 13:59: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.778979 -2.630256)', '2026-07-22 13:59:31', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779061 -2.630306)'), GeomFromEWKT('SRID=4674;POINT (-39.778979 -2.630256)'))) / (select extract(epoch from '2026-07-22 13:59:31'::timestamp) - extract(epoch from '2026-07-22 13:59:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779061 -2.630306)'), GeomFromEWKT('SRID=4674;POINT (-39.778979 -2.630256)'))) / (select extract(epoch from '2026-07-22 13:59:31'::timestamp) - extract(epoch from '2026-07-22 13:59: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.778962 -2.63024)', '2026-07-22 13:59:33', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778979 -2.630256)'), GeomFromEWKT('SRID=4674;POINT (-39.778962 -2.63024)'))) / (select extract(epoch from '2026-07-22 13:59:33'::timestamp) - extract(epoch from '2026-07-22 13:59:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778979 -2.630256)'), GeomFromEWKT('SRID=4674;POINT (-39.778962 -2.63024)'))) / (select extract(epoch from '2026-07-22 13:59:33'::timestamp) - extract(epoch from '2026-07-22 13:59: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.778938 -2.630203)', '2026-07-22 13:59:37', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778962 -2.63024)'), GeomFromEWKT('SRID=4674;POINT (-39.778938 -2.630203)'))) / (select extract(epoch from '2026-07-22 13:59:37'::timestamp) - extract(epoch from '2026-07-22 13:59:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778962 -2.63024)'), GeomFromEWKT('SRID=4674;POINT (-39.778938 -2.630203)'))) / (select extract(epoch from '2026-07-22 13:59:37'::timestamp) - extract(epoch from '2026-07-22 13:59: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.778913 -2.63016)', '2026-07-22 13:59:43', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778938 -2.630203)'), GeomFromEWKT('SRID=4674;POINT (-39.778913 -2.63016)'))) / (select extract(epoch from '2026-07-22 13:59:43'::timestamp) - extract(epoch from '2026-07-22 13:59:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778938 -2.630203)'), GeomFromEWKT('SRID=4674;POINT (-39.778913 -2.63016)'))) / (select extract(epoch from '2026-07-22 13:59:43'::timestamp) - extract(epoch from '2026-07-22 13:59:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.778903 -2.630101)', '2026-07-22 13:59:52', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778913 -2.63016)'), GeomFromEWKT('SRID=4674;POINT (-39.778903 -2.630101)'))) / (select extract(epoch from '2026-07-22 13:59:52'::timestamp) - extract(epoch from '2026-07-22 13:59:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778913 -2.63016)'), GeomFromEWKT('SRID=4674;POINT (-39.778903 -2.630101)'))) / (select extract(epoch from '2026-07-22 13:59:52'::timestamp) - extract(epoch from '2026-07-22 13:59: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.778923 -2.630057)', '2026-07-22 14:00:02', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778903 -2.630101)'), GeomFromEWKT('SRID=4674;POINT (-39.778923 -2.630057)'))) / (select extract(epoch from '2026-07-22 14:00:02'::timestamp) - extract(epoch from '2026-07-22 13:59:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778903 -2.630101)'), GeomFromEWKT('SRID=4674;POINT (-39.778923 -2.630057)'))) / (select extract(epoch from '2026-07-22 14:00:02'::timestamp) - extract(epoch from '2026-07-22 13:59:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.778955 -2.630005)', '2026-07-22 14:00:12', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778923 -2.630057)'), GeomFromEWKT('SRID=4674;POINT (-39.778955 -2.630005)'))) / (select extract(epoch from '2026-07-22 14:00:12'::timestamp) - extract(epoch from '2026-07-22 14:00:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778923 -2.630057)'), GeomFromEWKT('SRID=4674;POINT (-39.778955 -2.630005)'))) / (select extract(epoch from '2026-07-22 14:00:12'::timestamp) - extract(epoch from '2026-07-22 14: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.778983 -2.629966)', '2026-07-22 14:00:20', 22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778955 -2.630005)'), GeomFromEWKT('SRID=4674;POINT (-39.778983 -2.629966)'))) / (select extract(epoch from '2026-07-22 14:00:20'::timestamp) - extract(epoch from '2026-07-22 14:00:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778955 -2.630005)'), GeomFromEWKT('SRID=4674;POINT (-39.778983 -2.629966)'))) / (select extract(epoch from '2026-07-22 14:00:20'::timestamp) - extract(epoch from '2026-07-22 14:00: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.779012 -2.629912)', '2026-07-22 14:00:31', 23.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778983 -2.629966)'), GeomFromEWKT('SRID=4674;POINT (-39.779012 -2.629912)'))) / (select extract(epoch from '2026-07-22 14:00:31'::timestamp) - extract(epoch from '2026-07-22 14:00:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778983 -2.629966)'), GeomFromEWKT('SRID=4674;POINT (-39.779012 -2.629912)'))) / (select extract(epoch from '2026-07-22 14:00:31'::timestamp) - extract(epoch from '2026-07-22 14:00: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.779038 -2.629895)', '2026-07-22 14:00:37', 23.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779012 -2.629912)'), GeomFromEWKT('SRID=4674;POINT (-39.779038 -2.629895)'))) / (select extract(epoch from '2026-07-22 14:00:37'::timestamp) - extract(epoch from '2026-07-22 14:00:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779012 -2.629912)'), GeomFromEWKT('SRID=4674;POINT (-39.779038 -2.629895)'))) / (select extract(epoch from '2026-07-22 14:00:37'::timestamp) - extract(epoch from '2026-07-22 14:00: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.779035 -2.629888)', '2026-07-22 14:00:38', 23.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779038 -2.629895)'), GeomFromEWKT('SRID=4674;POINT (-39.779035 -2.629888)'))) / (select extract(epoch from '2026-07-22 14:00:38'::timestamp) - extract(epoch from '2026-07-22 14:00:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779038 -2.629895)'), GeomFromEWKT('SRID=4674;POINT (-39.779035 -2.629888)'))) / (select extract(epoch from '2026-07-22 14:00:38'::timestamp) - extract(epoch from '2026-07-22 14:00: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.779042 -2.629865)', '2026-07-22 14:00:45', 23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779035 -2.629888)'), GeomFromEWKT('SRID=4674;POINT (-39.779042 -2.629865)'))) / (select extract(epoch from '2026-07-22 14:00:45'::timestamp) - extract(epoch from '2026-07-22 14:00:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779035 -2.629888)'), GeomFromEWKT('SRID=4674;POINT (-39.779042 -2.629865)'))) / (select extract(epoch from '2026-07-22 14:00:45'::timestamp) - extract(epoch from '2026-07-22 14:00: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.779058 -2.629842)', '2026-07-22 14:01:13', 23.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779042 -2.629865)'), GeomFromEWKT('SRID=4674;POINT (-39.779058 -2.629842)'))) / (select extract(epoch from '2026-07-22 14:01:13'::timestamp) - extract(epoch from '2026-07-22 14:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779042 -2.629865)'), GeomFromEWKT('SRID=4674;POINT (-39.779058 -2.629842)'))) / (select extract(epoch from '2026-07-22 14:01:13'::timestamp) - extract(epoch from '2026-07-22 14:00: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.779076 -2.629817)', '2026-07-22 14:01:19', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779058 -2.629842)'), GeomFromEWKT('SRID=4674;POINT (-39.779076 -2.629817)'))) / (select extract(epoch from '2026-07-22 14:01:19'::timestamp) - extract(epoch from '2026-07-22 14:01:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779058 -2.629842)'), GeomFromEWKT('SRID=4674;POINT (-39.779076 -2.629817)'))) / (select extract(epoch from '2026-07-22 14:01:19'::timestamp) - extract(epoch from '2026-07-22 14:01: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.779121 -2.629793)', '2026-07-22 14:01:28', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779076 -2.629817)'), GeomFromEWKT('SRID=4674;POINT (-39.779121 -2.629793)'))) / (select extract(epoch from '2026-07-22 14:01:28'::timestamp) - extract(epoch from '2026-07-22 14:01:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779076 -2.629817)'), GeomFromEWKT('SRID=4674;POINT (-39.779121 -2.629793)'))) / (select extract(epoch from '2026-07-22 14:01:28'::timestamp) - extract(epoch from '2026-07-22 14:01: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.779177 -2.629779)', '2026-07-22 14:01:36', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779121 -2.629793)'), GeomFromEWKT('SRID=4674;POINT (-39.779177 -2.629779)'))) / (select extract(epoch from '2026-07-22 14:01:36'::timestamp) - extract(epoch from '2026-07-22 14:01:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779121 -2.629793)'), GeomFromEWKT('SRID=4674;POINT (-39.779177 -2.629779)'))) / (select extract(epoch from '2026-07-22 14:01:36'::timestamp) - extract(epoch from '2026-07-22 14:01:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.779188 -2.629774)', '2026-07-22 14:01:37', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779177 -2.629779)'), GeomFromEWKT('SRID=4674;POINT (-39.779188 -2.629774)'))) / (select extract(epoch from '2026-07-22 14:01:37'::timestamp) - extract(epoch from '2026-07-22 14:01:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779177 -2.629779)'), GeomFromEWKT('SRID=4674;POINT (-39.779188 -2.629774)'))) / (select extract(epoch from '2026-07-22 14:01:37'::timestamp) - extract(epoch from '2026-07-22 14: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.779197 -2.629761)', '2026-07-22 14:01:40', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779188 -2.629774)'), GeomFromEWKT('SRID=4674;POINT (-39.779197 -2.629761)'))) / (select extract(epoch from '2026-07-22 14:01:40'::timestamp) - extract(epoch from '2026-07-22 14:01:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779188 -2.629774)'), GeomFromEWKT('SRID=4674;POINT (-39.779197 -2.629761)'))) / (select extract(epoch from '2026-07-22 14:01:40'::timestamp) - extract(epoch from '2026-07-22 14:01:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.779205 -2.629742)', '2026-07-22 14:01:47', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779197 -2.629761)'), GeomFromEWKT('SRID=4674;POINT (-39.779205 -2.629742)'))) / (select extract(epoch from '2026-07-22 14:01:47'::timestamp) - extract(epoch from '2026-07-22 14:01:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779197 -2.629761)'), GeomFromEWKT('SRID=4674;POINT (-39.779205 -2.629742)'))) / (select extract(epoch from '2026-07-22 14:01:47'::timestamp) - extract(epoch from '2026-07-22 14:01:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.779175 -2.629726)', '2026-07-22 14:01:55', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779205 -2.629742)'), GeomFromEWKT('SRID=4674;POINT (-39.779175 -2.629726)'))) / (select extract(epoch from '2026-07-22 14:01:55'::timestamp) - extract(epoch from '2026-07-22 14:01:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779205 -2.629742)'), GeomFromEWKT('SRID=4674;POINT (-39.779175 -2.629726)'))) / (select extract(epoch from '2026-07-22 14:01:55'::timestamp) - extract(epoch from '2026-07-22 14:01:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.779153 -2.629716)', '2026-07-22 14:02:04', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779175 -2.629726)'), GeomFromEWKT('SRID=4674;POINT (-39.779153 -2.629716)'))) / (select extract(epoch from '2026-07-22 14:02:04'::timestamp) - extract(epoch from '2026-07-22 14:01:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779175 -2.629726)'), GeomFromEWKT('SRID=4674;POINT (-39.779153 -2.629716)'))) / (select extract(epoch from '2026-07-22 14:02:04'::timestamp) - extract(epoch from '2026-07-22 14:01: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.779162 -2.629695)', '2026-07-22 14:02:15', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779153 -2.629716)'), GeomFromEWKT('SRID=4674;POINT (-39.779162 -2.629695)'))) / (select extract(epoch from '2026-07-22 14:02:15'::timestamp) - extract(epoch from '2026-07-22 14:02:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779153 -2.629716)'), GeomFromEWKT('SRID=4674;POINT (-39.779162 -2.629695)'))) / (select extract(epoch from '2026-07-22 14:02:15'::timestamp) - extract(epoch from '2026-07-22 14:02: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.779159 -2.629689)', '2026-07-22 14:02:22', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779162 -2.629695)'), GeomFromEWKT('SRID=4674;POINT (-39.779159 -2.629689)'))) / (select extract(epoch from '2026-07-22 14:02:22'::timestamp) - extract(epoch from '2026-07-22 14:02:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779162 -2.629695)'), GeomFromEWKT('SRID=4674;POINT (-39.779159 -2.629689)'))) / (select extract(epoch from '2026-07-22 14:02:22'::timestamp) - extract(epoch from '2026-07-22 14:02: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.779152 -2.629675)', '2026-07-22 14:02:26', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779159 -2.629689)'), GeomFromEWKT('SRID=4674;POINT (-39.779152 -2.629675)'))) / (select extract(epoch from '2026-07-22 14:02:26'::timestamp) - extract(epoch from '2026-07-22 14:02:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779159 -2.629689)'), GeomFromEWKT('SRID=4674;POINT (-39.779152 -2.629675)'))) / (select extract(epoch from '2026-07-22 14:02:26'::timestamp) - extract(epoch from '2026-07-22 14:02:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.77917 -2.629667)', '2026-07-22 14:02:32', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779152 -2.629675)'), GeomFromEWKT('SRID=4674;POINT (-39.77917 -2.629667)'))) / (select extract(epoch from '2026-07-22 14:02:32'::timestamp) - extract(epoch from '2026-07-22 14:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779152 -2.629675)'), GeomFromEWKT('SRID=4674;POINT (-39.77917 -2.629667)'))) / (select extract(epoch from '2026-07-22 14:02:32'::timestamp) - extract(epoch from '2026-07-22 14:02:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.779187 -2.629644)', '2026-07-22 14:02:37', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77917 -2.629667)'), GeomFromEWKT('SRID=4674;POINT (-39.779187 -2.629644)'))) / (select extract(epoch from '2026-07-22 14:02:37'::timestamp) - extract(epoch from '2026-07-22 14:02:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77917 -2.629667)'), GeomFromEWKT('SRID=4674;POINT (-39.779187 -2.629644)'))) / (select extract(epoch from '2026-07-22 14:02:37'::timestamp) - extract(epoch from '2026-07-22 14:02:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.779193 -2.629621)', '2026-07-22 14:02:41', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779187 -2.629644)'), GeomFromEWKT('SRID=4674;POINT (-39.779193 -2.629621)'))) / (select extract(epoch from '2026-07-22 14:02:41'::timestamp) - extract(epoch from '2026-07-22 14:02:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779187 -2.629644)'), GeomFromEWKT('SRID=4674;POINT (-39.779193 -2.629621)'))) / (select extract(epoch from '2026-07-22 14:02:41'::timestamp) - extract(epoch from '2026-07-22 14:02: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.779212 -2.629607)', '2026-07-22 14:02:46', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779193 -2.629621)'), GeomFromEWKT('SRID=4674;POINT (-39.779212 -2.629607)'))) / (select extract(epoch from '2026-07-22 14:02:46'::timestamp) - extract(epoch from '2026-07-22 14:02:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779193 -2.629621)'), GeomFromEWKT('SRID=4674;POINT (-39.779212 -2.629607)'))) / (select extract(epoch from '2026-07-22 14:02:46'::timestamp) - extract(epoch from '2026-07-22 14:02:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.779212 -2.629643)', '2026-07-22 14:03:01', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779212 -2.629607)'), GeomFromEWKT('SRID=4674;POINT (-39.779212 -2.629643)'))) / (select extract(epoch from '2026-07-22 14:03:01'::timestamp) - extract(epoch from '2026-07-22 14:02:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779212 -2.629607)'), GeomFromEWKT('SRID=4674;POINT (-39.779212 -2.629643)'))) / (select extract(epoch from '2026-07-22 14:03:01'::timestamp) - extract(epoch from '2026-07-22 14:02:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.77922 -2.629696)', '2026-07-22 14:03:10', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779212 -2.629643)'), GeomFromEWKT('SRID=4674;POINT (-39.77922 -2.629696)'))) / (select extract(epoch from '2026-07-22 14:03:10'::timestamp) - extract(epoch from '2026-07-22 14:03:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779212 -2.629643)'), GeomFromEWKT('SRID=4674;POINT (-39.77922 -2.629696)'))) / (select extract(epoch from '2026-07-22 14:03:10'::timestamp) - extract(epoch from '2026-07-22 14:03: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.779262 -2.629716)', '2026-07-22 14:03:20', 22.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77922 -2.629696)'), GeomFromEWKT('SRID=4674;POINT (-39.779262 -2.629716)'))) / (select extract(epoch from '2026-07-22 14:03:20'::timestamp) - extract(epoch from '2026-07-22 14:03:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77922 -2.629696)'), GeomFromEWKT('SRID=4674;POINT (-39.779262 -2.629716)'))) / (select extract(epoch from '2026-07-22 14:03:20'::timestamp) - extract(epoch from '2026-07-22 14:03: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.779293 -2.629716)', '2026-07-22 14:03:48', 22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779262 -2.629716)'), GeomFromEWKT('SRID=4674;POINT (-39.779293 -2.629716)'))) / (select extract(epoch from '2026-07-22 14:03:48'::timestamp) - extract(epoch from '2026-07-22 14:03:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779262 -2.629716)'), GeomFromEWKT('SRID=4674;POINT (-39.779293 -2.629716)'))) / (select extract(epoch from '2026-07-22 14:03:48'::timestamp) - extract(epoch from '2026-07-22 14:03:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.779307 -2.629721)', '2026-07-22 14:03:52', 22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779293 -2.629716)'), GeomFromEWKT('SRID=4674;POINT (-39.779307 -2.629721)'))) / (select extract(epoch from '2026-07-22 14:03:52'::timestamp) - extract(epoch from '2026-07-22 14:03:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779293 -2.629716)'), GeomFromEWKT('SRID=4674;POINT (-39.779307 -2.629721)'))) / (select extract(epoch from '2026-07-22 14:03:52'::timestamp) - extract(epoch from '2026-07-22 14:03: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.779261 -2.629759)', '2026-07-22 14:04:01', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779307 -2.629721)'), GeomFromEWKT('SRID=4674;POINT (-39.779261 -2.629759)'))) / (select extract(epoch from '2026-07-22 14:04:01'::timestamp) - extract(epoch from '2026-07-22 14:03:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779307 -2.629721)'), GeomFromEWKT('SRID=4674;POINT (-39.779261 -2.629759)'))) / (select extract(epoch from '2026-07-22 14:04:01'::timestamp) - extract(epoch from '2026-07-22 14:03: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.779203 -2.629804)', '2026-07-22 14:04:07', 22.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779261 -2.629759)'), GeomFromEWKT('SRID=4674;POINT (-39.779203 -2.629804)'))) / (select extract(epoch from '2026-07-22 14:04:07'::timestamp) - extract(epoch from '2026-07-22 14:04:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779261 -2.629759)'), GeomFromEWKT('SRID=4674;POINT (-39.779203 -2.629804)'))) / (select extract(epoch from '2026-07-22 14:04:07'::timestamp) - extract(epoch from '2026-07-22 14:04: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.779144 -2.629846)', '2026-07-22 14:04:12', 21.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779203 -2.629804)'), GeomFromEWKT('SRID=4674;POINT (-39.779144 -2.629846)'))) / (select extract(epoch from '2026-07-22 14:04:12'::timestamp) - extract(epoch from '2026-07-22 14:04:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779203 -2.629804)'), GeomFromEWKT('SRID=4674;POINT (-39.779144 -2.629846)'))) / (select extract(epoch from '2026-07-22 14:04:12'::timestamp) - extract(epoch from '2026-07-22 14:04: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.779048 -2.629931)', '2026-07-22 14:04:19', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779144 -2.629846)'), GeomFromEWKT('SRID=4674;POINT (-39.779048 -2.629931)'))) / (select extract(epoch from '2026-07-22 14:04:19'::timestamp) - extract(epoch from '2026-07-22 14:04:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779144 -2.629846)'), GeomFromEWKT('SRID=4674;POINT (-39.779048 -2.629931)'))) / (select extract(epoch from '2026-07-22 14:04:19'::timestamp) - extract(epoch from '2026-07-22 14:04:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.779014 -2.62999)', '2026-07-22 14:04:23', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779048 -2.629931)'), GeomFromEWKT('SRID=4674;POINT (-39.779014 -2.62999)'))) / (select extract(epoch from '2026-07-22 14:04:23'::timestamp) - extract(epoch from '2026-07-22 14:04:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779048 -2.629931)'), GeomFromEWKT('SRID=4674;POINT (-39.779014 -2.62999)'))) / (select extract(epoch from '2026-07-22 14:04:23'::timestamp) - extract(epoch from '2026-07-22 14:04:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.779009 -2.630008)', '2026-07-22 14:04:24', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779014 -2.62999)'), GeomFromEWKT('SRID=4674;POINT (-39.779009 -2.630008)'))) / (select extract(epoch from '2026-07-22 14:04:24'::timestamp) - extract(epoch from '2026-07-22 14:04:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779014 -2.62999)'), GeomFromEWKT('SRID=4674;POINT (-39.779009 -2.630008)'))) / (select extract(epoch from '2026-07-22 14:04:24'::timestamp) - extract(epoch from '2026-07-22 14:04: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.778999 -2.630021)', '2026-07-22 14:04:25', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779009 -2.630008)'), GeomFromEWKT('SRID=4674;POINT (-39.778999 -2.630021)'))) / (select extract(epoch from '2026-07-22 14:04:25'::timestamp) - extract(epoch from '2026-07-22 14:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779009 -2.630008)'), GeomFromEWKT('SRID=4674;POINT (-39.778999 -2.630021)'))) / (select extract(epoch from '2026-07-22 14:04:25'::timestamp) - extract(epoch from '2026-07-22 14:04: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.77895 -2.630063)', '2026-07-22 14:04:29', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778999 -2.630021)'), GeomFromEWKT('SRID=4674;POINT (-39.77895 -2.630063)'))) / (select extract(epoch from '2026-07-22 14:04:29'::timestamp) - extract(epoch from '2026-07-22 14:04:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778999 -2.630021)'), GeomFromEWKT('SRID=4674;POINT (-39.77895 -2.630063)'))) / (select extract(epoch from '2026-07-22 14:04:29'::timestamp) - extract(epoch from '2026-07-22 14:04:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.778853 -2.630123)', '2026-07-22 14:04:36', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77895 -2.630063)'), GeomFromEWKT('SRID=4674;POINT (-39.778853 -2.630123)'))) / (select extract(epoch from '2026-07-22 14:04:36'::timestamp) - extract(epoch from '2026-07-22 14:04:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77895 -2.630063)'), GeomFromEWKT('SRID=4674;POINT (-39.778853 -2.630123)'))) / (select extract(epoch from '2026-07-22 14:04:36'::timestamp) - extract(epoch from '2026-07-22 14:04: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.778766 -2.630175)', '2026-07-22 14:04:42', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778853 -2.630123)'), GeomFromEWKT('SRID=4674;POINT (-39.778766 -2.630175)'))) / (select extract(epoch from '2026-07-22 14:04:42'::timestamp) - extract(epoch from '2026-07-22 14:04:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778853 -2.630123)'), GeomFromEWKT('SRID=4674;POINT (-39.778766 -2.630175)'))) / (select extract(epoch from '2026-07-22 14:04:42'::timestamp) - extract(epoch from '2026-07-22 14:04: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.778664 -2.63025)', '2026-07-22 14:04:49', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778766 -2.630175)'), GeomFromEWKT('SRID=4674;POINT (-39.778664 -2.63025)'))) / (select extract(epoch from '2026-07-22 14:04:49'::timestamp) - extract(epoch from '2026-07-22 14:04:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778766 -2.630175)'), GeomFromEWKT('SRID=4674;POINT (-39.778664 -2.63025)'))) / (select extract(epoch from '2026-07-22 14:04:49'::timestamp) - extract(epoch from '2026-07-22 14:04: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.778592 -2.630272)', '2026-07-22 14:04:54', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778664 -2.63025)'), GeomFromEWKT('SRID=4674;POINT (-39.778592 -2.630272)'))) / (select extract(epoch from '2026-07-22 14:04:54'::timestamp) - extract(epoch from '2026-07-22 14:04:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778664 -2.63025)'), GeomFromEWKT('SRID=4674;POINT (-39.778592 -2.630272)'))) / (select extract(epoch from '2026-07-22 14:04:54'::timestamp) - extract(epoch from '2026-07-22 14:04: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.77856 -2.630277)', '2026-07-22 14:04:56', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778592 -2.630272)'), GeomFromEWKT('SRID=4674;POINT (-39.77856 -2.630277)'))) / (select extract(epoch from '2026-07-22 14:04:56'::timestamp) - extract(epoch from '2026-07-22 14:04:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778592 -2.630272)'), GeomFromEWKT('SRID=4674;POINT (-39.77856 -2.630277)'))) / (select extract(epoch from '2026-07-22 14:04:56'::timestamp) - extract(epoch from '2026-07-22 14:04:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.778535 -2.63028)', '2026-07-22 14:04:58', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77856 -2.630277)'), GeomFromEWKT('SRID=4674;POINT (-39.778535 -2.63028)'))) / (select extract(epoch from '2026-07-22 14:04:58'::timestamp) - extract(epoch from '2026-07-22 14:04:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77856 -2.630277)'), GeomFromEWKT('SRID=4674;POINT (-39.778535 -2.63028)'))) / (select extract(epoch from '2026-07-22 14:04:58'::timestamp) - extract(epoch from '2026-07-22 14:04: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.778456 -2.6303)', '2026-07-22 14:05:03', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778535 -2.63028)'), GeomFromEWKT('SRID=4674;POINT (-39.778456 -2.6303)'))) / (select extract(epoch from '2026-07-22 14:05:03'::timestamp) - extract(epoch from '2026-07-22 14:04:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778535 -2.63028)'), GeomFromEWKT('SRID=4674;POINT (-39.778456 -2.6303)'))) / (select extract(epoch from '2026-07-22 14:05:03'::timestamp) - extract(epoch from '2026-07-22 14:04: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.77836 -2.63032)', '2026-07-22 14:05:08', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778456 -2.6303)'), GeomFromEWKT('SRID=4674;POINT (-39.77836 -2.63032)'))) / (select extract(epoch from '2026-07-22 14:05:08'::timestamp) - extract(epoch from '2026-07-22 14:05:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778456 -2.6303)'), GeomFromEWKT('SRID=4674;POINT (-39.77836 -2.63032)'))) / (select extract(epoch from '2026-07-22 14:05:08'::timestamp) - extract(epoch from '2026-07-22 14:05: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.778268 -2.630354)', '2026-07-22 14:05:13', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77836 -2.63032)'), GeomFromEWKT('SRID=4674;POINT (-39.778268 -2.630354)'))) / (select extract(epoch from '2026-07-22 14:05:13'::timestamp) - extract(epoch from '2026-07-22 14:05:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77836 -2.63032)'), GeomFromEWKT('SRID=4674;POINT (-39.778268 -2.630354)'))) / (select extract(epoch from '2026-07-22 14:05:13'::timestamp) - extract(epoch from '2026-07-22 14:05: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.778176 -2.630363)', '2026-07-22 14:05:18', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778268 -2.630354)'), GeomFromEWKT('SRID=4674;POINT (-39.778176 -2.630363)'))) / (select extract(epoch from '2026-07-22 14:05:18'::timestamp) - extract(epoch from '2026-07-22 14:05:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778268 -2.630354)'), GeomFromEWKT('SRID=4674;POINT (-39.778176 -2.630363)'))) / (select extract(epoch from '2026-07-22 14:05:18'::timestamp) - extract(epoch from '2026-07-22 14:05: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.778066 -2.63034)', '2026-07-22 14:05:24', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778176 -2.630363)'), GeomFromEWKT('SRID=4674;POINT (-39.778066 -2.63034)'))) / (select extract(epoch from '2026-07-22 14:05:24'::timestamp) - extract(epoch from '2026-07-22 14:05:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778176 -2.630363)'), GeomFromEWKT('SRID=4674;POINT (-39.778066 -2.63034)'))) / (select extract(epoch from '2026-07-22 14:05:24'::timestamp) - extract(epoch from '2026-07-22 14:05: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.77794 -2.630309)', '2026-07-22 14:05:31', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778066 -2.63034)'), GeomFromEWKT('SRID=4674;POINT (-39.77794 -2.630309)'))) / (select extract(epoch from '2026-07-22 14:05:31'::timestamp) - extract(epoch from '2026-07-22 14:05:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778066 -2.63034)'), GeomFromEWKT('SRID=4674;POINT (-39.77794 -2.630309)'))) / (select extract(epoch from '2026-07-22 14:05:31'::timestamp) - extract(epoch from '2026-07-22 14:05: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.777905 -2.630296)', '2026-07-22 14:05:34', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77794 -2.630309)'), GeomFromEWKT('SRID=4674;POINT (-39.777905 -2.630296)'))) / (select extract(epoch from '2026-07-22 14:05:34'::timestamp) - extract(epoch from '2026-07-22 14:05:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77794 -2.630309)'), GeomFromEWKT('SRID=4674;POINT (-39.777905 -2.630296)'))) / (select extract(epoch from '2026-07-22 14:05:34'::timestamp) - extract(epoch from '2026-07-22 14:05:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.777881 -2.630283)', '2026-07-22 14:05:37', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777905 -2.630296)'), GeomFromEWKT('SRID=4674;POINT (-39.777881 -2.630283)'))) / (select extract(epoch from '2026-07-22 14:05:37'::timestamp) - extract(epoch from '2026-07-22 14:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777905 -2.630296)'), GeomFromEWKT('SRID=4674;POINT (-39.777881 -2.630283)'))) / (select extract(epoch from '2026-07-22 14:05:37'::timestamp) - extract(epoch from '2026-07-22 14:05:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.77787 -2.630277)', '2026-07-22 14:05:38', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777881 -2.630283)'), GeomFromEWKT('SRID=4674;POINT (-39.77787 -2.630277)'))) / (select extract(epoch from '2026-07-22 14:05:38'::timestamp) - extract(epoch from '2026-07-22 14:05:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777881 -2.630283)'), GeomFromEWKT('SRID=4674;POINT (-39.77787 -2.630277)'))) / (select extract(epoch from '2026-07-22 14:05:38'::timestamp) - extract(epoch from '2026-07-22 14:05: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.777853 -2.630254)', '2026-07-22 14:05:41', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77787 -2.630277)'), GeomFromEWKT('SRID=4674;POINT (-39.777853 -2.630254)'))) / (select extract(epoch from '2026-07-22 14:05:41'::timestamp) - extract(epoch from '2026-07-22 14:05:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77787 -2.630277)'), GeomFromEWKT('SRID=4674;POINT (-39.777853 -2.630254)'))) / (select extract(epoch from '2026-07-22 14:05:41'::timestamp) - extract(epoch from '2026-07-22 14:05:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.77784 -2.630209)', '2026-07-22 14:05:50', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777853 -2.630254)'), GeomFromEWKT('SRID=4674;POINT (-39.77784 -2.630209)'))) / (select extract(epoch from '2026-07-22 14:05:50'::timestamp) - extract(epoch from '2026-07-22 14:05:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777853 -2.630254)'), GeomFromEWKT('SRID=4674;POINT (-39.77784 -2.630209)'))) / (select extract(epoch from '2026-07-22 14:05:50'::timestamp) - extract(epoch from '2026-07-22 14:05: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.777856 -2.630178)', '2026-07-22 14:05:57', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77784 -2.630209)'), GeomFromEWKT('SRID=4674;POINT (-39.777856 -2.630178)'))) / (select extract(epoch from '2026-07-22 14:05:57'::timestamp) - extract(epoch from '2026-07-22 14:05:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77784 -2.630209)'), GeomFromEWKT('SRID=4674;POINT (-39.777856 -2.630178)'))) / (select extract(epoch from '2026-07-22 14:05:57'::timestamp) - extract(epoch from '2026-07-22 14:05:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.777877 -2.630145)', '2026-07-22 14:06:04', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777856 -2.630178)'), GeomFromEWKT('SRID=4674;POINT (-39.777877 -2.630145)'))) / (select extract(epoch from '2026-07-22 14:06:04'::timestamp) - extract(epoch from '2026-07-22 14:05:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777856 -2.630178)'), GeomFromEWKT('SRID=4674;POINT (-39.777877 -2.630145)'))) / (select extract(epoch from '2026-07-22 14:06:04'::timestamp) - extract(epoch from '2026-07-22 14:05: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.777917 -2.630112)', '2026-07-22 14:06:12', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777877 -2.630145)'), GeomFromEWKT('SRID=4674;POINT (-39.777917 -2.630112)'))) / (select extract(epoch from '2026-07-22 14:06:12'::timestamp) - extract(epoch from '2026-07-22 14:06:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777877 -2.630145)'), GeomFromEWKT('SRID=4674;POINT (-39.777917 -2.630112)'))) / (select extract(epoch from '2026-07-22 14:06:12'::timestamp) - extract(epoch from '2026-07-22 14:06: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.777938 -2.630091)', '2026-07-22 14:06:18', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777917 -2.630112)'), GeomFromEWKT('SRID=4674;POINT (-39.777938 -2.630091)'))) / (select extract(epoch from '2026-07-22 14:06:18'::timestamp) - extract(epoch from '2026-07-22 14:06:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777917 -2.630112)'), GeomFromEWKT('SRID=4674;POINT (-39.777938 -2.630091)'))) / (select extract(epoch from '2026-07-22 14:06:18'::timestamp) - extract(epoch from '2026-07-22 14:06: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.777954 -2.630069)', '2026-07-22 14:06:25', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777938 -2.630091)'), GeomFromEWKT('SRID=4674;POINT (-39.777954 -2.630069)'))) / (select extract(epoch from '2026-07-22 14:06:25'::timestamp) - extract(epoch from '2026-07-22 14:06:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777938 -2.630091)'), GeomFromEWKT('SRID=4674;POINT (-39.777954 -2.630069)'))) / (select extract(epoch from '2026-07-22 14:06:25'::timestamp) - extract(epoch from '2026-07-22 14:06: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.777991 -2.63004)', '2026-07-22 14:06:33', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777954 -2.630069)'), GeomFromEWKT('SRID=4674;POINT (-39.777991 -2.63004)'))) / (select extract(epoch from '2026-07-22 14:06:33'::timestamp) - extract(epoch from '2026-07-22 14:06:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777954 -2.630069)'), GeomFromEWKT('SRID=4674;POINT (-39.777991 -2.63004)'))) / (select extract(epoch from '2026-07-22 14:06:33'::timestamp) - extract(epoch from '2026-07-22 14:06: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.778003 -2.630032)', '2026-07-22 14:06:35', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777991 -2.63004)'), GeomFromEWKT('SRID=4674;POINT (-39.778003 -2.630032)'))) / (select extract(epoch from '2026-07-22 14:06:35'::timestamp) - extract(epoch from '2026-07-22 14:06:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777991 -2.63004)'), GeomFromEWKT('SRID=4674;POINT (-39.778003 -2.630032)'))) / (select extract(epoch from '2026-07-22 14:06:35'::timestamp) - extract(epoch from '2026-07-22 14:06:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.778022 -2.630021)', '2026-07-22 14:06:38', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778003 -2.630032)'), GeomFromEWKT('SRID=4674;POINT (-39.778022 -2.630021)'))) / (select extract(epoch from '2026-07-22 14:06:38'::timestamp) - extract(epoch from '2026-07-22 14:06:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778003 -2.630032)'), GeomFromEWKT('SRID=4674;POINT (-39.778022 -2.630021)'))) / (select extract(epoch from '2026-07-22 14:06:38'::timestamp) - extract(epoch from '2026-07-22 14:06: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.778043 -2.630003)', '2026-07-22 14:06:45', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778022 -2.630021)'), GeomFromEWKT('SRID=4674;POINT (-39.778043 -2.630003)'))) / (select extract(epoch from '2026-07-22 14:06:45'::timestamp) - extract(epoch from '2026-07-22 14:06:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778022 -2.630021)'), GeomFromEWKT('SRID=4674;POINT (-39.778043 -2.630003)'))) / (select extract(epoch from '2026-07-22 14:06:45'::timestamp) - extract(epoch from '2026-07-22 14:06:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.778055 -2.629949)', '2026-07-22 14:07:01', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778043 -2.630003)'), GeomFromEWKT('SRID=4674;POINT (-39.778055 -2.629949)'))) / (select extract(epoch from '2026-07-22 14:07:01'::timestamp) - extract(epoch from '2026-07-22 14:06:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778043 -2.630003)'), GeomFromEWKT('SRID=4674;POINT (-39.778055 -2.629949)'))) / (select extract(epoch from '2026-07-22 14:07:01'::timestamp) - extract(epoch from '2026-07-22 14:06: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.778075 -2.629879)', '2026-07-22 14:07:12', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778055 -2.629949)'), GeomFromEWKT('SRID=4674;POINT (-39.778075 -2.629879)'))) / (select extract(epoch from '2026-07-22 14:07:12'::timestamp) - extract(epoch from '2026-07-22 14:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778055 -2.629949)'), GeomFromEWKT('SRID=4674;POINT (-39.778075 -2.629879)'))) / (select extract(epoch from '2026-07-22 14:07:12'::timestamp) - extract(epoch from '2026-07-22 14:07:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.778088 -2.62983)', '2026-07-22 14:07:21', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778075 -2.629879)'), GeomFromEWKT('SRID=4674;POINT (-39.778088 -2.62983)'))) / (select extract(epoch from '2026-07-22 14:07:21'::timestamp) - extract(epoch from '2026-07-22 14:07:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778075 -2.629879)'), GeomFromEWKT('SRID=4674;POINT (-39.778088 -2.62983)'))) / (select extract(epoch from '2026-07-22 14:07:21'::timestamp) - extract(epoch from '2026-07-22 14:07:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.778102 -2.6298)', '2026-07-22 14:07:26', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778088 -2.62983)'), GeomFromEWKT('SRID=4674;POINT (-39.778102 -2.6298)'))) / (select extract(epoch from '2026-07-22 14:07:26'::timestamp) - extract(epoch from '2026-07-22 14:07:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778088 -2.62983)'), GeomFromEWKT('SRID=4674;POINT (-39.778102 -2.6298)'))) / (select extract(epoch from '2026-07-22 14:07:26'::timestamp) - extract(epoch from '2026-07-22 14:07: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.778105 -2.629796)', '2026-07-22 14:07:38', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778102 -2.6298)'), GeomFromEWKT('SRID=4674;POINT (-39.778105 -2.629796)'))) / (select extract(epoch from '2026-07-22 14:07:38'::timestamp) - extract(epoch from '2026-07-22 14:07:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778102 -2.6298)'), GeomFromEWKT('SRID=4674;POINT (-39.778105 -2.629796)'))) / (select extract(epoch from '2026-07-22 14:07:38'::timestamp) - extract(epoch from '2026-07-22 14:07: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.77812 -2.629767)', '2026-07-22 14:07:58', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778105 -2.629796)'), GeomFromEWKT('SRID=4674;POINT (-39.77812 -2.629767)'))) / (select extract(epoch from '2026-07-22 14:07:58'::timestamp) - extract(epoch from '2026-07-22 14:07:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778105 -2.629796)'), GeomFromEWKT('SRID=4674;POINT (-39.77812 -2.629767)'))) / (select extract(epoch from '2026-07-22 14:07:58'::timestamp) - extract(epoch from '2026-07-22 14:07:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.778161 -2.629753)', '2026-07-22 14:08:12', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77812 -2.629767)'), GeomFromEWKT('SRID=4674;POINT (-39.778161 -2.629753)'))) / (select extract(epoch from '2026-07-22 14:08:12'::timestamp) - extract(epoch from '2026-07-22 14:07:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77812 -2.629767)'), GeomFromEWKT('SRID=4674;POINT (-39.778161 -2.629753)'))) / (select extract(epoch from '2026-07-22 14:08:12'::timestamp) - extract(epoch from '2026-07-22 14:07:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.778144 -2.629762)', '2026-07-22 14:08:22', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778161 -2.629753)'), GeomFromEWKT('SRID=4674;POINT (-39.778144 -2.629762)'))) / (select extract(epoch from '2026-07-22 14:08:22'::timestamp) - extract(epoch from '2026-07-22 14:08:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778161 -2.629753)'), GeomFromEWKT('SRID=4674;POINT (-39.778144 -2.629762)'))) / (select extract(epoch from '2026-07-22 14:08:22'::timestamp) - extract(epoch from '2026-07-22 14:08: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.778097 -2.629811)', '2026-07-22 14:08:28', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778144 -2.629762)'), GeomFromEWKT('SRID=4674;POINT (-39.778097 -2.629811)'))) / (select extract(epoch from '2026-07-22 14:08:28'::timestamp) - extract(epoch from '2026-07-22 14:08:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778144 -2.629762)'), GeomFromEWKT('SRID=4674;POINT (-39.778097 -2.629811)'))) / (select extract(epoch from '2026-07-22 14:08:28'::timestamp) - extract(epoch from '2026-07-22 14:08: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.77809 -2.629819)', '2026-07-22 14:08:29', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778097 -2.629811)'), GeomFromEWKT('SRID=4674;POINT (-39.77809 -2.629819)'))) / (select extract(epoch from '2026-07-22 14:08:29'::timestamp) - extract(epoch from '2026-07-22 14:08:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778097 -2.629811)'), GeomFromEWKT('SRID=4674;POINT (-39.77809 -2.629819)'))) / (select extract(epoch from '2026-07-22 14:08:29'::timestamp) - extract(epoch from '2026-07-22 14:08: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.778029 -2.629891)', '2026-07-22 14:08:35', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77809 -2.629819)'), GeomFromEWKT('SRID=4674;POINT (-39.778029 -2.629891)'))) / (select extract(epoch from '2026-07-22 14:08:35'::timestamp) - extract(epoch from '2026-07-22 14:08:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77809 -2.629819)'), GeomFromEWKT('SRID=4674;POINT (-39.778029 -2.629891)'))) / (select extract(epoch from '2026-07-22 14:08:35'::timestamp) - extract(epoch from '2026-07-22 14:08: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.778012 -2.629955)', '2026-07-22 14:08:40', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778029 -2.629891)'), GeomFromEWKT('SRID=4674;POINT (-39.778012 -2.629955)'))) / (select extract(epoch from '2026-07-22 14:08:40'::timestamp) - extract(epoch from '2026-07-22 14:08:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778029 -2.629891)'), GeomFromEWKT('SRID=4674;POINT (-39.778012 -2.629955)'))) / (select extract(epoch from '2026-07-22 14:08:40'::timestamp) - extract(epoch from '2026-07-22 14:08: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.778005 -2.629967)', '2026-07-22 14:08:41', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778012 -2.629955)'), GeomFromEWKT('SRID=4674;POINT (-39.778005 -2.629967)'))) / (select extract(epoch from '2026-07-22 14:08:41'::timestamp) - extract(epoch from '2026-07-22 14:08:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778012 -2.629955)'), GeomFromEWKT('SRID=4674;POINT (-39.778005 -2.629967)'))) / (select extract(epoch from '2026-07-22 14:08:41'::timestamp) - extract(epoch from '2026-07-22 14:08: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.77797 -2.630021)', '2026-07-22 14:08:45', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778005 -2.629967)'), GeomFromEWKT('SRID=4674;POINT (-39.77797 -2.630021)'))) / (select extract(epoch from '2026-07-22 14:08:45'::timestamp) - extract(epoch from '2026-07-22 14:08:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778005 -2.629967)'), GeomFromEWKT('SRID=4674;POINT (-39.77797 -2.630021)'))) / (select extract(epoch from '2026-07-22 14:08:45'::timestamp) - extract(epoch from '2026-07-22 14:08: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.777916 -2.630085)', '2026-07-22 14:08:50', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77797 -2.630021)'), GeomFromEWKT('SRID=4674;POINT (-39.777916 -2.630085)'))) / (select extract(epoch from '2026-07-22 14:08:50'::timestamp) - extract(epoch from '2026-07-22 14:08:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77797 -2.630021)'), GeomFromEWKT('SRID=4674;POINT (-39.777916 -2.630085)'))) / (select extract(epoch from '2026-07-22 14:08:50'::timestamp) - extract(epoch from '2026-07-22 14:08: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.777855 -2.630153)', '2026-07-22 14:08:56', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777916 -2.630085)'), GeomFromEWKT('SRID=4674;POINT (-39.777855 -2.630153)'))) / (select extract(epoch from '2026-07-22 14:08:56'::timestamp) - extract(epoch from '2026-07-22 14:08:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777916 -2.630085)'), GeomFromEWKT('SRID=4674;POINT (-39.777855 -2.630153)'))) / (select extract(epoch from '2026-07-22 14:08:56'::timestamp) - extract(epoch from '2026-07-22 14:08: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.777828 -2.630171)', '2026-07-22 14:08:58', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777855 -2.630153)'), GeomFromEWKT('SRID=4674;POINT (-39.777828 -2.630171)'))) / (select extract(epoch from '2026-07-22 14:08:58'::timestamp) - extract(epoch from '2026-07-22 14:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777855 -2.630153)'), GeomFromEWKT('SRID=4674;POINT (-39.777828 -2.630171)'))) / (select extract(epoch from '2026-07-22 14:08:58'::timestamp) - extract(epoch from '2026-07-22 14:08: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.777799 -2.630197)', '2026-07-22 14:09:01', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777828 -2.630171)'), GeomFromEWKT('SRID=4674;POINT (-39.777799 -2.630197)'))) / (select extract(epoch from '2026-07-22 14:09:01'::timestamp) - extract(epoch from '2026-07-22 14:08:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777828 -2.630171)'), GeomFromEWKT('SRID=4674;POINT (-39.777799 -2.630197)'))) / (select extract(epoch from '2026-07-22 14:09:01'::timestamp) - extract(epoch from '2026-07-22 14:08: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.777697 -2.630265)', '2026-07-22 14:09:08', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777799 -2.630197)'), GeomFromEWKT('SRID=4674;POINT (-39.777697 -2.630265)'))) / (select extract(epoch from '2026-07-22 14:09:08'::timestamp) - extract(epoch from '2026-07-22 14:09:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777799 -2.630197)'), GeomFromEWKT('SRID=4674;POINT (-39.777697 -2.630265)'))) / (select extract(epoch from '2026-07-22 14:09:08'::timestamp) - extract(epoch from '2026-07-22 14:09:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.777609 -2.630327)', '2026-07-22 14:09:14', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777697 -2.630265)'), GeomFromEWKT('SRID=4674;POINT (-39.777609 -2.630327)'))) / (select extract(epoch from '2026-07-22 14:09:14'::timestamp) - extract(epoch from '2026-07-22 14:09:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777697 -2.630265)'), GeomFromEWKT('SRID=4674;POINT (-39.777609 -2.630327)'))) / (select extract(epoch from '2026-07-22 14:09:14'::timestamp) - extract(epoch from '2026-07-22 14:09: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.777585 -2.630349)', '2026-07-22 14:09:16', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777609 -2.630327)'), GeomFromEWKT('SRID=4674;POINT (-39.777585 -2.630349)'))) / (select extract(epoch from '2026-07-22 14:09:16'::timestamp) - extract(epoch from '2026-07-22 14:09:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777609 -2.630327)'), GeomFromEWKT('SRID=4674;POINT (-39.777585 -2.630349)'))) / (select extract(epoch from '2026-07-22 14:09:16'::timestamp) - extract(epoch from '2026-07-22 14:09: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.777528 -2.630368)', '2026-07-22 14:09:19', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777585 -2.630349)'), GeomFromEWKT('SRID=4674;POINT (-39.777528 -2.630368)'))) / (select extract(epoch from '2026-07-22 14:09:19'::timestamp) - extract(epoch from '2026-07-22 14:09:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777585 -2.630349)'), GeomFromEWKT('SRID=4674;POINT (-39.777528 -2.630368)'))) / (select extract(epoch from '2026-07-22 14:09:19'::timestamp) - extract(epoch from '2026-07-22 14:09: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.777508 -2.630367)', '2026-07-22 14:09:20', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777528 -2.630368)'), GeomFromEWKT('SRID=4674;POINT (-39.777508 -2.630367)'))) / (select extract(epoch from '2026-07-22 14:09:20'::timestamp) - extract(epoch from '2026-07-22 14:09:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777528 -2.630368)'), GeomFromEWKT('SRID=4674;POINT (-39.777508 -2.630367)'))) / (select extract(epoch from '2026-07-22 14:09:20'::timestamp) - extract(epoch from '2026-07-22 14:09: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.777426 -2.63036)', '2026-07-22 14:09:24', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777508 -2.630367)'), GeomFromEWKT('SRID=4674;POINT (-39.777426 -2.63036)'))) / (select extract(epoch from '2026-07-22 14:09:24'::timestamp) - extract(epoch from '2026-07-22 14:09:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777508 -2.630367)'), GeomFromEWKT('SRID=4674;POINT (-39.777426 -2.63036)'))) / (select extract(epoch from '2026-07-22 14:09:24'::timestamp) - extract(epoch from '2026-07-22 14:09: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.777333 -2.63035)', '2026-07-22 14:09:29', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777426 -2.63036)'), GeomFromEWKT('SRID=4674;POINT (-39.777333 -2.63035)'))) / (select extract(epoch from '2026-07-22 14:09:29'::timestamp) - extract(epoch from '2026-07-22 14:09:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777426 -2.63036)'), GeomFromEWKT('SRID=4674;POINT (-39.777333 -2.63035)'))) / (select extract(epoch from '2026-07-22 14:09:29'::timestamp) - extract(epoch from '2026-07-22 14:09: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.777249 -2.630351)', '2026-07-22 14:09:35', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777333 -2.63035)'), GeomFromEWKT('SRID=4674;POINT (-39.777249 -2.630351)'))) / (select extract(epoch from '2026-07-22 14:09:35'::timestamp) - extract(epoch from '2026-07-22 14:09:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777333 -2.63035)'), GeomFromEWKT('SRID=4674;POINT (-39.777249 -2.630351)'))) / (select extract(epoch from '2026-07-22 14:09:35'::timestamp) - extract(epoch from '2026-07-22 14:09: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.77715 -2.630383)', '2026-07-22 14:09:42', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777249 -2.630351)'), GeomFromEWKT('SRID=4674;POINT (-39.77715 -2.630383)'))) / (select extract(epoch from '2026-07-22 14:09:42'::timestamp) - extract(epoch from '2026-07-22 14:09:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777249 -2.630351)'), GeomFromEWKT('SRID=4674;POINT (-39.77715 -2.630383)'))) / (select extract(epoch from '2026-07-22 14:09:42'::timestamp) - extract(epoch from '2026-07-22 14:09: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.777063 -2.630429)', '2026-07-22 14:09:49', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77715 -2.630383)'), GeomFromEWKT('SRID=4674;POINT (-39.777063 -2.630429)'))) / (select extract(epoch from '2026-07-22 14:09:49'::timestamp) - extract(epoch from '2026-07-22 14:09:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77715 -2.630383)'), GeomFromEWKT('SRID=4674;POINT (-39.777063 -2.630429)'))) / (select extract(epoch from '2026-07-22 14:09:49'::timestamp) - extract(epoch from '2026-07-22 14:09: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.776957 -2.630476)', '2026-07-22 14:09:56', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777063 -2.630429)'), GeomFromEWKT('SRID=4674;POINT (-39.776957 -2.630476)'))) / (select extract(epoch from '2026-07-22 14:09:56'::timestamp) - extract(epoch from '2026-07-22 14:09:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777063 -2.630429)'), GeomFromEWKT('SRID=4674;POINT (-39.776957 -2.630476)'))) / (select extract(epoch from '2026-07-22 14:09:56'::timestamp) - extract(epoch from '2026-07-22 14:09: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.776857 -2.630493)', '2026-07-22 14:10:02', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776957 -2.630476)'), GeomFromEWKT('SRID=4674;POINT (-39.776857 -2.630493)'))) / (select extract(epoch from '2026-07-22 14:10:02'::timestamp) - extract(epoch from '2026-07-22 14:09:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776957 -2.630476)'), GeomFromEWKT('SRID=4674;POINT (-39.776857 -2.630493)'))) / (select extract(epoch from '2026-07-22 14:10:02'::timestamp) - extract(epoch from '2026-07-22 14:09:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.776844 -2.630493)', '2026-07-22 14:10:03', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776857 -2.630493)'), GeomFromEWKT('SRID=4674;POINT (-39.776844 -2.630493)'))) / (select extract(epoch from '2026-07-22 14:10:03'::timestamp) - extract(epoch from '2026-07-22 14:10:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776857 -2.630493)'), GeomFromEWKT('SRID=4674;POINT (-39.776844 -2.630493)'))) / (select extract(epoch from '2026-07-22 14:10:03'::timestamp) - extract(epoch from '2026-07-22 14:10:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.776821 -2.630489)', '2026-07-22 14:10:05', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776844 -2.630493)'), GeomFromEWKT('SRID=4674;POINT (-39.776821 -2.630489)'))) / (select extract(epoch from '2026-07-22 14:10:05'::timestamp) - extract(epoch from '2026-07-22 14:10:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776844 -2.630493)'), GeomFromEWKT('SRID=4674;POINT (-39.776821 -2.630489)'))) / (select extract(epoch from '2026-07-22 14:10:05'::timestamp) - extract(epoch from '2026-07-22 14:10: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.776805 -2.630487)', '2026-07-22 14:10:07', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776821 -2.630489)'), GeomFromEWKT('SRID=4674;POINT (-39.776805 -2.630487)'))) / (select extract(epoch from '2026-07-22 14:10:07'::timestamp) - extract(epoch from '2026-07-22 14:10:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776821 -2.630489)'), GeomFromEWKT('SRID=4674;POINT (-39.776805 -2.630487)'))) / (select extract(epoch from '2026-07-22 14:10:07'::timestamp) - extract(epoch from '2026-07-22 14:10:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.776724 -2.630477)', '2026-07-22 14:10:13', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776805 -2.630487)'), GeomFromEWKT('SRID=4674;POINT (-39.776724 -2.630477)'))) / (select extract(epoch from '2026-07-22 14:10:13'::timestamp) - extract(epoch from '2026-07-22 14:10:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776805 -2.630487)'), GeomFromEWKT('SRID=4674;POINT (-39.776724 -2.630477)'))) / (select extract(epoch from '2026-07-22 14:10:13'::timestamp) - extract(epoch from '2026-07-22 14:10: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.776641 -2.630456)', '2026-07-22 14:10:19', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776724 -2.630477)'), GeomFromEWKT('SRID=4674;POINT (-39.776641 -2.630456)'))) / (select extract(epoch from '2026-07-22 14:10:19'::timestamp) - extract(epoch from '2026-07-22 14:10:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776724 -2.630477)'), GeomFromEWKT('SRID=4674;POINT (-39.776641 -2.630456)'))) / (select extract(epoch from '2026-07-22 14:10:19'::timestamp) - extract(epoch from '2026-07-22 14:10: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.776625 -2.630447)', '2026-07-22 14:10:21', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776641 -2.630456)'), GeomFromEWKT('SRID=4674;POINT (-39.776625 -2.630447)'))) / (select extract(epoch from '2026-07-22 14:10:21'::timestamp) - extract(epoch from '2026-07-22 14:10:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776641 -2.630456)'), GeomFromEWKT('SRID=4674;POINT (-39.776625 -2.630447)'))) / (select extract(epoch from '2026-07-22 14:10:21'::timestamp) - extract(epoch from '2026-07-22 14:10: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.776611 -2.63043)', '2026-07-22 14:10:23', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776625 -2.630447)'), GeomFromEWKT('SRID=4674;POINT (-39.776611 -2.63043)'))) / (select extract(epoch from '2026-07-22 14:10:23'::timestamp) - extract(epoch from '2026-07-22 14:10:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776625 -2.630447)'), GeomFromEWKT('SRID=4674;POINT (-39.776611 -2.63043)'))) / (select extract(epoch from '2026-07-22 14:10:23'::timestamp) - extract(epoch from '2026-07-22 14:10: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.776602 -2.630428)', '2026-07-22 14:10:24', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776611 -2.63043)'), GeomFromEWKT('SRID=4674;POINT (-39.776602 -2.630428)'))) / (select extract(epoch from '2026-07-22 14:10:24'::timestamp) - extract(epoch from '2026-07-22 14:10:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776611 -2.63043)'), GeomFromEWKT('SRID=4674;POINT (-39.776602 -2.630428)'))) / (select extract(epoch from '2026-07-22 14:10:24'::timestamp) - extract(epoch from '2026-07-22 14:10:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.776598 -2.630418)', '2026-07-22 14:10:25', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776602 -2.630428)'), GeomFromEWKT('SRID=4674;POINT (-39.776598 -2.630418)'))) / (select extract(epoch from '2026-07-22 14:10:25'::timestamp) - extract(epoch from '2026-07-22 14:10:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776602 -2.630428)'), GeomFromEWKT('SRID=4674;POINT (-39.776598 -2.630418)'))) / (select extract(epoch from '2026-07-22 14:10:25'::timestamp) - extract(epoch from '2026-07-22 14:10: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.776581 -2.630401)', '2026-07-22 14:10:29', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776598 -2.630418)'), GeomFromEWKT('SRID=4674;POINT (-39.776581 -2.630401)'))) / (select extract(epoch from '2026-07-22 14:10:29'::timestamp) - extract(epoch from '2026-07-22 14:10:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776598 -2.630418)'), GeomFromEWKT('SRID=4674;POINT (-39.776581 -2.630401)'))) / (select extract(epoch from '2026-07-22 14:10:29'::timestamp) - extract(epoch from '2026-07-22 14:10:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.776564 -2.630355)', '2026-07-22 14:10:40', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776581 -2.630401)'), GeomFromEWKT('SRID=4674;POINT (-39.776564 -2.630355)'))) / (select extract(epoch from '2026-07-22 14:10:40'::timestamp) - extract(epoch from '2026-07-22 14:10:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776581 -2.630401)'), GeomFromEWKT('SRID=4674;POINT (-39.776564 -2.630355)'))) / (select extract(epoch from '2026-07-22 14:10:40'::timestamp) - extract(epoch from '2026-07-22 14:10: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.776596 -2.630314)', '2026-07-22 14:10:49', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776564 -2.630355)'), GeomFromEWKT('SRID=4674;POINT (-39.776596 -2.630314)'))) / (select extract(epoch from '2026-07-22 14:10:49'::timestamp) - extract(epoch from '2026-07-22 14:10:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776564 -2.630355)'), GeomFromEWKT('SRID=4674;POINT (-39.776596 -2.630314)'))) / (select extract(epoch from '2026-07-22 14:10:49'::timestamp) - extract(epoch from '2026-07-22 14:10:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.776625 -2.630292)', '2026-07-22 14:10:56', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776596 -2.630314)'), GeomFromEWKT('SRID=4674;POINT (-39.776625 -2.630292)'))) / (select extract(epoch from '2026-07-22 14:10:56'::timestamp) - extract(epoch from '2026-07-22 14:10:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776596 -2.630314)'), GeomFromEWKT('SRID=4674;POINT (-39.776625 -2.630292)'))) / (select extract(epoch from '2026-07-22 14:10:56'::timestamp) - extract(epoch from '2026-07-22 14:10: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.77667 -2.630235)', '2026-07-22 14:11:06', 21.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776625 -2.630292)'), GeomFromEWKT('SRID=4674;POINT (-39.77667 -2.630235)'))) / (select extract(epoch from '2026-07-22 14:11:06'::timestamp) - extract(epoch from '2026-07-22 14:10:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776625 -2.630292)'), GeomFromEWKT('SRID=4674;POINT (-39.77667 -2.630235)'))) / (select extract(epoch from '2026-07-22 14:11:06'::timestamp) - extract(epoch from '2026-07-22 14:10:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.776681 -2.630215)', '2026-07-22 14:11:09', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77667 -2.630235)'), GeomFromEWKT('SRID=4674;POINT (-39.776681 -2.630215)'))) / (select extract(epoch from '2026-07-22 14:11:09'::timestamp) - extract(epoch from '2026-07-22 14:11:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77667 -2.630235)'), GeomFromEWKT('SRID=4674;POINT (-39.776681 -2.630215)'))) / (select extract(epoch from '2026-07-22 14:11:09'::timestamp) - extract(epoch from '2026-07-22 14:11: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.776697 -2.630194)', '2026-07-22 14:11:11', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776681 -2.630215)'), GeomFromEWKT('SRID=4674;POINT (-39.776697 -2.630194)'))) / (select extract(epoch from '2026-07-22 14:11:11'::timestamp) - extract(epoch from '2026-07-22 14:11:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776681 -2.630215)'), GeomFromEWKT('SRID=4674;POINT (-39.776697 -2.630194)'))) / (select extract(epoch from '2026-07-22 14:11:11'::timestamp) - extract(epoch from '2026-07-22 14:11: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.776709 -2.630184)', '2026-07-22 14:11:13', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776697 -2.630194)'), GeomFromEWKT('SRID=4674;POINT (-39.776709 -2.630184)'))) / (select extract(epoch from '2026-07-22 14:11:13'::timestamp) - extract(epoch from '2026-07-22 14:11:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776697 -2.630194)'), GeomFromEWKT('SRID=4674;POINT (-39.776709 -2.630184)'))) / (select extract(epoch from '2026-07-22 14:11:13'::timestamp) - extract(epoch from '2026-07-22 14:11: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.77672 -2.630169)', '2026-07-22 14:11:15', 22.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776709 -2.630184)'), GeomFromEWKT('SRID=4674;POINT (-39.77672 -2.630169)'))) / (select extract(epoch from '2026-07-22 14:11:15'::timestamp) - extract(epoch from '2026-07-22 14:11:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776709 -2.630184)'), GeomFromEWKT('SRID=4674;POINT (-39.77672 -2.630169)'))) / (select extract(epoch from '2026-07-22 14:11:15'::timestamp) - extract(epoch from '2026-07-22 14:11: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.776745 -2.630135)', '2026-07-22 14:11:21', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77672 -2.630169)'), GeomFromEWKT('SRID=4674;POINT (-39.776745 -2.630135)'))) / (select extract(epoch from '2026-07-22 14:11:21'::timestamp) - extract(epoch from '2026-07-22 14:11:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77672 -2.630169)'), GeomFromEWKT('SRID=4674;POINT (-39.776745 -2.630135)'))) / (select extract(epoch from '2026-07-22 14:11:21'::timestamp) - extract(epoch from '2026-07-22 14:11: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.77677 -2.630104)', '2026-07-22 14:11:27', 22.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776745 -2.630135)'), GeomFromEWKT('SRID=4674;POINT (-39.77677 -2.630104)'))) / (select extract(epoch from '2026-07-22 14:11:27'::timestamp) - extract(epoch from '2026-07-22 14:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776745 -2.630135)'), GeomFromEWKT('SRID=4674;POINT (-39.77677 -2.630104)'))) / (select extract(epoch from '2026-07-22 14:11:27'::timestamp) - extract(epoch from '2026-07-22 14:11:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.776794 -2.630067)', '2026-07-22 14:11:35', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77677 -2.630104)'), GeomFromEWKT('SRID=4674;POINT (-39.776794 -2.630067)'))) / (select extract(epoch from '2026-07-22 14:11:35'::timestamp) - extract(epoch from '2026-07-22 14:11:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77677 -2.630104)'), GeomFromEWKT('SRID=4674;POINT (-39.776794 -2.630067)'))) / (select extract(epoch from '2026-07-22 14:11:35'::timestamp) - extract(epoch from '2026-07-22 14:11: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.776797 -2.630042)', '2026-07-22 14:11:45', 21.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776794 -2.630067)'), GeomFromEWKT('SRID=4674;POINT (-39.776797 -2.630042)'))) / (select extract(epoch from '2026-07-22 14:11:45'::timestamp) - extract(epoch from '2026-07-22 14:11:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776794 -2.630067)'), GeomFromEWKT('SRID=4674;POINT (-39.776797 -2.630042)'))) / (select extract(epoch from '2026-07-22 14:11:45'::timestamp) - extract(epoch from '2026-07-22 14:11: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.776829 -2.630008)', '2026-07-22 14:11:58', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776797 -2.630042)'), GeomFromEWKT('SRID=4674;POINT (-39.776829 -2.630008)'))) / (select extract(epoch from '2026-07-22 14:11:58'::timestamp) - extract(epoch from '2026-07-22 14:11:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776797 -2.630042)'), GeomFromEWKT('SRID=4674;POINT (-39.776829 -2.630008)'))) / (select extract(epoch from '2026-07-22 14:11:58'::timestamp) - extract(epoch from '2026-07-22 14:11: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.776859 -2.629963)', '2026-07-22 14:12:08', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776829 -2.630008)'), GeomFromEWKT('SRID=4674;POINT (-39.776859 -2.629963)'))) / (select extract(epoch from '2026-07-22 14:12:08'::timestamp) - extract(epoch from '2026-07-22 14:11:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776829 -2.630008)'), GeomFromEWKT('SRID=4674;POINT (-39.776859 -2.629963)'))) / (select extract(epoch from '2026-07-22 14:12:08'::timestamp) - extract(epoch from '2026-07-22 14:11:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.776889 -2.62994)', '2026-07-22 14:12:17', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776859 -2.629963)'), GeomFromEWKT('SRID=4674;POINT (-39.776889 -2.62994)'))) / (select extract(epoch from '2026-07-22 14:12:17'::timestamp) - extract(epoch from '2026-07-22 14:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776859 -2.629963)'), GeomFromEWKT('SRID=4674;POINT (-39.776889 -2.62994)'))) / (select extract(epoch from '2026-07-22 14:12:17'::timestamp) - extract(epoch from '2026-07-22 14:12: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.776905 -2.629934)', '2026-07-22 14:12:27', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776889 -2.62994)'), GeomFromEWKT('SRID=4674;POINT (-39.776905 -2.629934)'))) / (select extract(epoch from '2026-07-22 14:12:27'::timestamp) - extract(epoch from '2026-07-22 14:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776889 -2.62994)'), GeomFromEWKT('SRID=4674;POINT (-39.776905 -2.629934)'))) / (select extract(epoch from '2026-07-22 14:12:27'::timestamp) - extract(epoch from '2026-07-22 14:12: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.776937 -2.629915)', '2026-07-22 14:12:40', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776905 -2.629934)'), GeomFromEWKT('SRID=4674;POINT (-39.776937 -2.629915)'))) / (select extract(epoch from '2026-07-22 14:12:40'::timestamp) - extract(epoch from '2026-07-22 14:12:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776905 -2.629934)'), GeomFromEWKT('SRID=4674;POINT (-39.776937 -2.629915)'))) / (select extract(epoch from '2026-07-22 14:12:40'::timestamp) - extract(epoch from '2026-07-22 14:12:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.776977 -2.629897)', '2026-07-22 14:12:48', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776937 -2.629915)'), GeomFromEWKT('SRID=4674;POINT (-39.776977 -2.629897)'))) / (select extract(epoch from '2026-07-22 14:12:48'::timestamp) - extract(epoch from '2026-07-22 14:12:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776937 -2.629915)'), GeomFromEWKT('SRID=4674;POINT (-39.776977 -2.629897)'))) / (select extract(epoch from '2026-07-22 14:12:48'::timestamp) - extract(epoch from '2026-07-22 14:12: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.776982 -2.629892)', '2026-07-22 14:12:49', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776977 -2.629897)'), GeomFromEWKT('SRID=4674;POINT (-39.776982 -2.629892)'))) / (select extract(epoch from '2026-07-22 14:12:49'::timestamp) - extract(epoch from '2026-07-22 14:12:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776977 -2.629897)'), GeomFromEWKT('SRID=4674;POINT (-39.776982 -2.629892)'))) / (select extract(epoch from '2026-07-22 14:12:49'::timestamp) - extract(epoch from '2026-07-22 14:12: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.777013 -2.629875)', '2026-07-22 14:12:55', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776982 -2.629892)'), GeomFromEWKT('SRID=4674;POINT (-39.777013 -2.629875)'))) / (select extract(epoch from '2026-07-22 14:12:55'::timestamp) - extract(epoch from '2026-07-22 14:12:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776982 -2.629892)'), GeomFromEWKT('SRID=4674;POINT (-39.777013 -2.629875)'))) / (select extract(epoch from '2026-07-22 14:12:55'::timestamp) - extract(epoch from '2026-07-22 14:12: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.777047 -2.629854)', '2026-07-22 14:13:02', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777013 -2.629875)'), GeomFromEWKT('SRID=4674;POINT (-39.777047 -2.629854)'))) / (select extract(epoch from '2026-07-22 14:13:02'::timestamp) - extract(epoch from '2026-07-22 14:12:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777013 -2.629875)'), GeomFromEWKT('SRID=4674;POINT (-39.777047 -2.629854)'))) / (select extract(epoch from '2026-07-22 14:13:02'::timestamp) - extract(epoch from '2026-07-22 14:12:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.777033 -2.629876)', '2026-07-22 14:13:11', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777047 -2.629854)'), GeomFromEWKT('SRID=4674;POINT (-39.777033 -2.629876)'))) / (select extract(epoch from '2026-07-22 14:13:11'::timestamp) - extract(epoch from '2026-07-22 14:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777047 -2.629854)'), GeomFromEWKT('SRID=4674;POINT (-39.777033 -2.629876)'))) / (select extract(epoch from '2026-07-22 14:13:11'::timestamp) - extract(epoch from '2026-07-22 14:13:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.776986 -2.629903)', '2026-07-22 14:13:17', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777033 -2.629876)'), GeomFromEWKT('SRID=4674;POINT (-39.776986 -2.629903)'))) / (select extract(epoch from '2026-07-22 14:13:17'::timestamp) - extract(epoch from '2026-07-22 14:13:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777033 -2.629876)'), GeomFromEWKT('SRID=4674;POINT (-39.776986 -2.629903)'))) / (select extract(epoch from '2026-07-22 14:13:17'::timestamp) - extract(epoch from '2026-07-22 14:13: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.776962 -2.62991)', '2026-07-22 14:13:19', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776986 -2.629903)'), GeomFromEWKT('SRID=4674;POINT (-39.776962 -2.62991)'))) / (select extract(epoch from '2026-07-22 14:13:19'::timestamp) - extract(epoch from '2026-07-22 14:13:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776986 -2.629903)'), GeomFromEWKT('SRID=4674;POINT (-39.776962 -2.62991)'))) / (select extract(epoch from '2026-07-22 14:13:19'::timestamp) - extract(epoch from '2026-07-22 14:13:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.776924 -2.629929)', '2026-07-22 14:13:22', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776962 -2.62991)'), GeomFromEWKT('SRID=4674;POINT (-39.776924 -2.629929)'))) / (select extract(epoch from '2026-07-22 14:13:22'::timestamp) - extract(epoch from '2026-07-22 14:13:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776962 -2.62991)'), GeomFromEWKT('SRID=4674;POINT (-39.776924 -2.629929)'))) / (select extract(epoch from '2026-07-22 14:13:22'::timestamp) - extract(epoch from '2026-07-22 14:13: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.776839 -2.629977)', '2026-07-22 14:13:28', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776924 -2.629929)'), GeomFromEWKT('SRID=4674;POINT (-39.776839 -2.629977)'))) / (select extract(epoch from '2026-07-22 14:13:28'::timestamp) - extract(epoch from '2026-07-22 14:13:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776924 -2.629929)'), GeomFromEWKT('SRID=4674;POINT (-39.776839 -2.629977)'))) / (select extract(epoch from '2026-07-22 14:13:28'::timestamp) - extract(epoch from '2026-07-22 14:13:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.776725 -2.630035)', '2026-07-22 14:13:36', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776839 -2.629977)'), GeomFromEWKT('SRID=4674;POINT (-39.776725 -2.630035)'))) / (select extract(epoch from '2026-07-22 14:13:36'::timestamp) - extract(epoch from '2026-07-22 14:13:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776839 -2.629977)'), GeomFromEWKT('SRID=4674;POINT (-39.776725 -2.630035)'))) / (select extract(epoch from '2026-07-22 14:13:36'::timestamp) - extract(epoch from '2026-07-22 14: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.77665 -2.630093)', '2026-07-22 14:13:43', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776725 -2.630035)'), GeomFromEWKT('SRID=4674;POINT (-39.77665 -2.630093)'))) / (select extract(epoch from '2026-07-22 14:13:43'::timestamp) - extract(epoch from '2026-07-22 14:13:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776725 -2.630035)'), GeomFromEWKT('SRID=4674;POINT (-39.77665 -2.630093)'))) / (select extract(epoch from '2026-07-22 14:13:43'::timestamp) - extract(epoch from '2026-07-22 14:13: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.77653 -2.630148)', '2026-07-22 14:13:51', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77665 -2.630093)'), GeomFromEWKT('SRID=4674;POINT (-39.77653 -2.630148)'))) / (select extract(epoch from '2026-07-22 14:13:51'::timestamp) - extract(epoch from '2026-07-22 14:13:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77665 -2.630093)'), GeomFromEWKT('SRID=4674;POINT (-39.77653 -2.630148)'))) / (select extract(epoch from '2026-07-22 14:13:51'::timestamp) - extract(epoch from '2026-07-22 14:13: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.776457 -2.630199)', '2026-07-22 14:13:57', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77653 -2.630148)'), GeomFromEWKT('SRID=4674;POINT (-39.776457 -2.630199)'))) / (select extract(epoch from '2026-07-22 14:13:57'::timestamp) - extract(epoch from '2026-07-22 14:13:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77653 -2.630148)'), GeomFromEWKT('SRID=4674;POINT (-39.776457 -2.630199)'))) / (select extract(epoch from '2026-07-22 14:13:57'::timestamp) - extract(epoch from '2026-07-22 14:13:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.776371 -2.630256)', '2026-07-22 14:14:04', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776457 -2.630199)'), GeomFromEWKT('SRID=4674;POINT (-39.776371 -2.630256)'))) / (select extract(epoch from '2026-07-22 14:14:04'::timestamp) - extract(epoch from '2026-07-22 14:13:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776457 -2.630199)'), GeomFromEWKT('SRID=4674;POINT (-39.776371 -2.630256)'))) / (select extract(epoch from '2026-07-22 14:14:04'::timestamp) - extract(epoch from '2026-07-22 14:13: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.776318 -2.630299)', '2026-07-22 14:14:09', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776371 -2.630256)'), GeomFromEWKT('SRID=4674;POINT (-39.776318 -2.630299)'))) / (select extract(epoch from '2026-07-22 14:14:09'::timestamp) - extract(epoch from '2026-07-22 14:14:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776371 -2.630256)'), GeomFromEWKT('SRID=4674;POINT (-39.776318 -2.630299)'))) / (select extract(epoch from '2026-07-22 14:14:09'::timestamp) - extract(epoch from '2026-07-22 14:14: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.776253 -2.630353)', '2026-07-22 14:14:15', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776318 -2.630299)'), GeomFromEWKT('SRID=4674;POINT (-39.776253 -2.630353)'))) / (select extract(epoch from '2026-07-22 14:14:15'::timestamp) - extract(epoch from '2026-07-22 14:14:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776318 -2.630299)'), GeomFromEWKT('SRID=4674;POINT (-39.776253 -2.630353)'))) / (select extract(epoch from '2026-07-22 14:14:15'::timestamp) - extract(epoch from '2026-07-22 14:14: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.77617 -2.630414)', '2026-07-22 14:14:21', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776253 -2.630353)'), GeomFromEWKT('SRID=4674;POINT (-39.77617 -2.630414)'))) / (select extract(epoch from '2026-07-22 14:14:21'::timestamp) - extract(epoch from '2026-07-22 14:14:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776253 -2.630353)'), GeomFromEWKT('SRID=4674;POINT (-39.77617 -2.630414)'))) / (select extract(epoch from '2026-07-22 14:14:21'::timestamp) - extract(epoch from '2026-07-22 14:14: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.776098 -2.630444)', '2026-07-22 14:14:26', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77617 -2.630414)'), GeomFromEWKT('SRID=4674;POINT (-39.776098 -2.630444)'))) / (select extract(epoch from '2026-07-22 14:14:26'::timestamp) - extract(epoch from '2026-07-22 14:14:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77617 -2.630414)'), GeomFromEWKT('SRID=4674;POINT (-39.776098 -2.630444)'))) / (select extract(epoch from '2026-07-22 14:14:26'::timestamp) - extract(epoch from '2026-07-22 14:14:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.776002 -2.630468)', '2026-07-22 14:14:33', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776098 -2.630444)'), GeomFromEWKT('SRID=4674;POINT (-39.776002 -2.630468)'))) / (select extract(epoch from '2026-07-22 14:14:33'::timestamp) - extract(epoch from '2026-07-22 14:14:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776098 -2.630444)'), GeomFromEWKT('SRID=4674;POINT (-39.776002 -2.630468)'))) / (select extract(epoch from '2026-07-22 14:14:33'::timestamp) - extract(epoch from '2026-07-22 14:14: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.775898 -2.630497)', '2026-07-22 14:14:40', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776002 -2.630468)'), GeomFromEWKT('SRID=4674;POINT (-39.775898 -2.630497)'))) / (select extract(epoch from '2026-07-22 14:14:40'::timestamp) - extract(epoch from '2026-07-22 14:14:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776002 -2.630468)'), GeomFromEWKT('SRID=4674;POINT (-39.775898 -2.630497)'))) / (select extract(epoch from '2026-07-22 14:14:40'::timestamp) - extract(epoch from '2026-07-22 14:14: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.775813 -2.630501)', '2026-07-22 14:14:45', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775898 -2.630497)'), GeomFromEWKT('SRID=4674;POINT (-39.775813 -2.630501)'))) / (select extract(epoch from '2026-07-22 14:14:45'::timestamp) - extract(epoch from '2026-07-22 14:14:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775898 -2.630497)'), GeomFromEWKT('SRID=4674;POINT (-39.775813 -2.630501)'))) / (select extract(epoch from '2026-07-22 14:14:45'::timestamp) - extract(epoch from '2026-07-22 14:14: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.775716 -2.630502)', '2026-07-22 14:14:50', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775813 -2.630501)'), GeomFromEWKT('SRID=4674;POINT (-39.775716 -2.630502)'))) / (select extract(epoch from '2026-07-22 14:14:50'::timestamp) - extract(epoch from '2026-07-22 14:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775813 -2.630501)'), GeomFromEWKT('SRID=4674;POINT (-39.775716 -2.630502)'))) / (select extract(epoch from '2026-07-22 14:14:50'::timestamp) - extract(epoch from '2026-07-22 14:14: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.77563 -2.63047)', '2026-07-22 14:14:56', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775716 -2.630502)'), GeomFromEWKT('SRID=4674;POINT (-39.77563 -2.63047)'))) / (select extract(epoch from '2026-07-22 14:14:56'::timestamp) - extract(epoch from '2026-07-22 14:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775716 -2.630502)'), GeomFromEWKT('SRID=4674;POINT (-39.77563 -2.63047)'))) / (select extract(epoch from '2026-07-22 14:14:56'::timestamp) - extract(epoch from '2026-07-22 14:14: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.775601 -2.630449)', '2026-07-22 14:14:59', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77563 -2.63047)'), GeomFromEWKT('SRID=4674;POINT (-39.775601 -2.630449)'))) / (select extract(epoch from '2026-07-22 14:14:59'::timestamp) - extract(epoch from '2026-07-22 14:14:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77563 -2.63047)'), GeomFromEWKT('SRID=4674;POINT (-39.775601 -2.630449)'))) / (select extract(epoch from '2026-07-22 14:14:59'::timestamp) - extract(epoch from '2026-07-22 14:14: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.775569 -2.630431)', '2026-07-22 14:15:02', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775601 -2.630449)'), GeomFromEWKT('SRID=4674;POINT (-39.775569 -2.630431)'))) / (select extract(epoch from '2026-07-22 14:15:02'::timestamp) - extract(epoch from '2026-07-22 14:14:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775601 -2.630449)'), GeomFromEWKT('SRID=4674;POINT (-39.775569 -2.630431)'))) / (select extract(epoch from '2026-07-22 14:15:02'::timestamp) - extract(epoch from '2026-07-22 14:14: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.775508 -2.630404)', '2026-07-22 14:15:08', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775569 -2.630431)'), GeomFromEWKT('SRID=4674;POINT (-39.775508 -2.630404)'))) / (select extract(epoch from '2026-07-22 14:15:08'::timestamp) - extract(epoch from '2026-07-22 14:15:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775569 -2.630431)'), GeomFromEWKT('SRID=4674;POINT (-39.775508 -2.630404)'))) / (select extract(epoch from '2026-07-22 14:15:08'::timestamp) - extract(epoch from '2026-07-22 14: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.775496 -2.630392)', '2026-07-22 14:15:10', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775508 -2.630404)'), GeomFromEWKT('SRID=4674;POINT (-39.775496 -2.630392)'))) / (select extract(epoch from '2026-07-22 14:15:10'::timestamp) - extract(epoch from '2026-07-22 14:15:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775508 -2.630404)'), GeomFromEWKT('SRID=4674;POINT (-39.775496 -2.630392)'))) / (select extract(epoch from '2026-07-22 14:15:10'::timestamp) - extract(epoch from '2026-07-22 14:15: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.775474 -2.63038)', '2026-07-22 14:15:13', 22.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775496 -2.630392)'), GeomFromEWKT('SRID=4674;POINT (-39.775474 -2.63038)'))) / (select extract(epoch from '2026-07-22 14:15:13'::timestamp) - extract(epoch from '2026-07-22 14:15:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775496 -2.630392)'), GeomFromEWKT('SRID=4674;POINT (-39.775474 -2.63038)'))) / (select extract(epoch from '2026-07-22 14:15:13'::timestamp) - extract(epoch from '2026-07-22 14:15: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.775482 -2.630356)', '2026-07-22 14:15:18', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775474 -2.63038)'), GeomFromEWKT('SRID=4674;POINT (-39.775482 -2.630356)'))) / (select extract(epoch from '2026-07-22 14:15:18'::timestamp) - extract(epoch from '2026-07-22 14:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775474 -2.63038)'), GeomFromEWKT('SRID=4674;POINT (-39.775482 -2.630356)'))) / (select extract(epoch from '2026-07-22 14:15:18'::timestamp) - extract(epoch from '2026-07-22 14:15:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.775478 -2.630337)', '2026-07-22 14:15:21', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775482 -2.630356)'), GeomFromEWKT('SRID=4674;POINT (-39.775478 -2.630337)'))) / (select extract(epoch from '2026-07-22 14:15:21'::timestamp) - extract(epoch from '2026-07-22 14:15:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775482 -2.630356)'), GeomFromEWKT('SRID=4674;POINT (-39.775478 -2.630337)'))) / (select extract(epoch from '2026-07-22 14:15:21'::timestamp) - extract(epoch from '2026-07-22 14: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.775485 -2.630332)', '2026-07-22 14:15:22', 21.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775478 -2.630337)'), GeomFromEWKT('SRID=4674;POINT (-39.775485 -2.630332)'))) / (select extract(epoch from '2026-07-22 14:15:22'::timestamp) - extract(epoch from '2026-07-22 14:15:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775478 -2.630337)'), GeomFromEWKT('SRID=4674;POINT (-39.775485 -2.630332)'))) / (select extract(epoch from '2026-07-22 14:15:22'::timestamp) - extract(epoch from '2026-07-22 14:15: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.775491 -2.630306)', '2026-07-22 14:15:28', 21.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775485 -2.630332)'), GeomFromEWKT('SRID=4674;POINT (-39.775491 -2.630306)'))) / (select extract(epoch from '2026-07-22 14:15:28'::timestamp) - extract(epoch from '2026-07-22 14:15:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775485 -2.630332)'), GeomFromEWKT('SRID=4674;POINT (-39.775491 -2.630306)'))) / (select extract(epoch from '2026-07-22 14:15:28'::timestamp) - extract(epoch from '2026-07-22 14:15: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.775513 -2.630251)', '2026-07-22 14:15:39', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775491 -2.630306)'), GeomFromEWKT('SRID=4674;POINT (-39.775513 -2.630251)'))) / (select extract(epoch from '2026-07-22 14:15:39'::timestamp) - extract(epoch from '2026-07-22 14:15:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775491 -2.630306)'), GeomFromEWKT('SRID=4674;POINT (-39.775513 -2.630251)'))) / (select extract(epoch from '2026-07-22 14:15:39'::timestamp) - extract(epoch from '2026-07-22 14:15: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.775525 -2.630185)', '2026-07-22 14:15:50', 22.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775513 -2.630251)'), GeomFromEWKT('SRID=4674;POINT (-39.775525 -2.630185)'))) / (select extract(epoch from '2026-07-22 14:15:50'::timestamp) - extract(epoch from '2026-07-22 14:15:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775513 -2.630251)'), GeomFromEWKT('SRID=4674;POINT (-39.775525 -2.630185)'))) / (select extract(epoch from '2026-07-22 14:15:50'::timestamp) - extract(epoch from '2026-07-22 14:15: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.775548 -2.630159)', '2026-07-22 14:15:57', 21.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775525 -2.630185)'), GeomFromEWKT('SRID=4674;POINT (-39.775548 -2.630159)'))) / (select extract(epoch from '2026-07-22 14:15:57'::timestamp) - extract(epoch from '2026-07-22 14:15:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775525 -2.630185)'), GeomFromEWKT('SRID=4674;POINT (-39.775548 -2.630159)'))) / (select extract(epoch from '2026-07-22 14:15:57'::timestamp) - extract(epoch from '2026-07-22 14: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.775597 -2.630127)', '2026-07-22 14:16:06', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775548 -2.630159)'), GeomFromEWKT('SRID=4674;POINT (-39.775597 -2.630127)'))) / (select extract(epoch from '2026-07-22 14:16:06'::timestamp) - extract(epoch from '2026-07-22 14:15:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775548 -2.630159)'), GeomFromEWKT('SRID=4674;POINT (-39.775597 -2.630127)'))) / (select extract(epoch from '2026-07-22 14:16:06'::timestamp) - extract(epoch from '2026-07-22 14:15: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.775655 -2.630061)', '2026-07-22 14:16:19', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775597 -2.630127)'), GeomFromEWKT('SRID=4674;POINT (-39.775655 -2.630061)'))) / (select extract(epoch from '2026-07-22 14:16:19'::timestamp) - extract(epoch from '2026-07-22 14:16:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775597 -2.630127)'), GeomFromEWKT('SRID=4674;POINT (-39.775655 -2.630061)'))) / (select extract(epoch from '2026-07-22 14:16:19'::timestamp) - extract(epoch from '2026-07-22 14:16:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.775692 -2.630016)', '2026-07-22 14:16:29', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775655 -2.630061)'), GeomFromEWKT('SRID=4674;POINT (-39.775692 -2.630016)'))) / (select extract(epoch from '2026-07-22 14:16:29'::timestamp) - extract(epoch from '2026-07-22 14:16:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775655 -2.630061)'), GeomFromEWKT('SRID=4674;POINT (-39.775692 -2.630016)'))) / (select extract(epoch from '2026-07-22 14:16:29'::timestamp) - extract(epoch from '2026-07-22 14:16: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.775712 -2.629971)', '2026-07-22 14:16:38', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775692 -2.630016)'), GeomFromEWKT('SRID=4674;POINT (-39.775712 -2.629971)'))) / (select extract(epoch from '2026-07-22 14:16:38'::timestamp) - extract(epoch from '2026-07-22 14:16:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775692 -2.630016)'), GeomFromEWKT('SRID=4674;POINT (-39.775712 -2.629971)'))) / (select extract(epoch from '2026-07-22 14:16:38'::timestamp) - extract(epoch from '2026-07-22 14:16:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.775717 -2.629964)', '2026-07-22 14:16:44', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775712 -2.629971)'), GeomFromEWKT('SRID=4674;POINT (-39.775717 -2.629964)'))) / (select extract(epoch from '2026-07-22 14:16:44'::timestamp) - extract(epoch from '2026-07-22 14:16:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775712 -2.629971)'), GeomFromEWKT('SRID=4674;POINT (-39.775717 -2.629964)'))) / (select extract(epoch from '2026-07-22 14:16:44'::timestamp) - extract(epoch from '2026-07-22 14:16: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.775735 -2.629948)', '2026-07-22 14:16:51', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775717 -2.629964)'), GeomFromEWKT('SRID=4674;POINT (-39.775735 -2.629948)'))) / (select extract(epoch from '2026-07-22 14:16:51'::timestamp) - extract(epoch from '2026-07-22 14:16:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775717 -2.629964)'), GeomFromEWKT('SRID=4674;POINT (-39.775735 -2.629948)'))) / (select extract(epoch from '2026-07-22 14:16:51'::timestamp) - extract(epoch from '2026-07-22 14: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.77574 -2.629955)', '2026-07-22 14:17:09', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775735 -2.629948)'), GeomFromEWKT('SRID=4674;POINT (-39.77574 -2.629955)'))) / (select extract(epoch from '2026-07-22 14:17:09'::timestamp) - extract(epoch from '2026-07-22 14:16:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775735 -2.629948)'), GeomFromEWKT('SRID=4674;POINT (-39.77574 -2.629955)'))) / (select extract(epoch from '2026-07-22 14:17:09'::timestamp) - extract(epoch from '2026-07-22 14:16: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.775757 -2.62995)', '2026-07-22 14:17:13', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77574 -2.629955)'), GeomFromEWKT('SRID=4674;POINT (-39.775757 -2.62995)'))) / (select extract(epoch from '2026-07-22 14:17:13'::timestamp) - extract(epoch from '2026-07-22 14:17:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77574 -2.629955)'), GeomFromEWKT('SRID=4674;POINT (-39.775757 -2.62995)'))) / (select extract(epoch from '2026-07-22 14:17:13'::timestamp) - extract(epoch from '2026-07-22 14:17:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.775756 -2.629939)', '2026-07-22 14:17:15', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775757 -2.62995)'), GeomFromEWKT('SRID=4674;POINT (-39.775756 -2.629939)'))) / (select extract(epoch from '2026-07-22 14:17:15'::timestamp) - extract(epoch from '2026-07-22 14:17:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775757 -2.62995)'), GeomFromEWKT('SRID=4674;POINT (-39.775756 -2.629939)'))) / (select extract(epoch from '2026-07-22 14:17:15'::timestamp) - extract(epoch from '2026-07-22 14:17:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.775768 -2.629936)', '2026-07-22 14:17:18', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775756 -2.629939)'), GeomFromEWKT('SRID=4674;POINT (-39.775768 -2.629936)'))) / (select extract(epoch from '2026-07-22 14:17:18'::timestamp) - extract(epoch from '2026-07-22 14:17:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775756 -2.629939)'), GeomFromEWKT('SRID=4674;POINT (-39.775768 -2.629936)'))) / (select extract(epoch from '2026-07-22 14:17:18'::timestamp) - extract(epoch from '2026-07-22 14:17:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.775777 -2.629935)', '2026-07-22 14:17:20', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775768 -2.629936)'), GeomFromEWKT('SRID=4674;POINT (-39.775777 -2.629935)'))) / (select extract(epoch from '2026-07-22 14:17:20'::timestamp) - extract(epoch from '2026-07-22 14:17:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775768 -2.629936)'), GeomFromEWKT('SRID=4674;POINT (-39.775777 -2.629935)'))) / (select extract(epoch from '2026-07-22 14:17:20'::timestamp) - extract(epoch from '2026-07-22 14:17:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.775813 -2.629966)', '2026-07-22 14:17:33', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775777 -2.629935)'), GeomFromEWKT('SRID=4674;POINT (-39.775813 -2.629966)'))) / (select extract(epoch from '2026-07-22 14:17:33'::timestamp) - extract(epoch from '2026-07-22 14:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775777 -2.629935)'), GeomFromEWKT('SRID=4674;POINT (-39.775813 -2.629966)'))) / (select extract(epoch from '2026-07-22 14:17:33'::timestamp) - extract(epoch from '2026-07-22 14:17: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.775837 -2.62996)', '2026-07-22 14:17:40', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775813 -2.629966)'), GeomFromEWKT('SRID=4674;POINT (-39.775837 -2.62996)'))) / (select extract(epoch from '2026-07-22 14:17:40'::timestamp) - extract(epoch from '2026-07-22 14:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775813 -2.629966)'), GeomFromEWKT('SRID=4674;POINT (-39.775837 -2.62996)'))) / (select extract(epoch from '2026-07-22 14:17:40'::timestamp) - extract(epoch from '2026-07-22 14:17:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.775856 -2.629992)', '2026-07-22 14:17:59', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775837 -2.62996)'), GeomFromEWKT('SRID=4674;POINT (-39.775856 -2.629992)'))) / (select extract(epoch from '2026-07-22 14:17:59'::timestamp) - extract(epoch from '2026-07-22 14:17:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775837 -2.62996)'), GeomFromEWKT('SRID=4674;POINT (-39.775856 -2.629992)'))) / (select extract(epoch from '2026-07-22 14:17:59'::timestamp) - extract(epoch from '2026-07-22 14:17:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.775871 -2.62999)', '2026-07-22 14:18:15', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775856 -2.629992)'), GeomFromEWKT('SRID=4674;POINT (-39.775871 -2.62999)'))) / (select extract(epoch from '2026-07-22 14:18:15'::timestamp) - extract(epoch from '2026-07-22 14:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775856 -2.629992)'), GeomFromEWKT('SRID=4674;POINT (-39.775871 -2.62999)'))) / (select extract(epoch from '2026-07-22 14:18:15'::timestamp) - extract(epoch from '2026-07-22 14: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.775903 -2.629972)', '2026-07-22 14:18:21', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775871 -2.62999)'), GeomFromEWKT('SRID=4674;POINT (-39.775903 -2.629972)'))) / (select extract(epoch from '2026-07-22 14:18:21'::timestamp) - extract(epoch from '2026-07-22 14:18:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775871 -2.62999)'), GeomFromEWKT('SRID=4674;POINT (-39.775903 -2.629972)'))) / (select extract(epoch from '2026-07-22 14:18:21'::timestamp) - extract(epoch from '2026-07-22 14: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.775942 -2.629952)', '2026-07-22 14:18:28', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775903 -2.629972)'), GeomFromEWKT('SRID=4674;POINT (-39.775942 -2.629952)'))) / (select extract(epoch from '2026-07-22 14:18:28'::timestamp) - extract(epoch from '2026-07-22 14:18:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775903 -2.629972)'), GeomFromEWKT('SRID=4674;POINT (-39.775942 -2.629952)'))) / (select extract(epoch from '2026-07-22 14:18:28'::timestamp) - extract(epoch from '2026-07-22 14:18: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.775961 -2.629942)', '2026-07-22 14:18:36', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775942 -2.629952)'), GeomFromEWKT('SRID=4674;POINT (-39.775961 -2.629942)'))) / (select extract(epoch from '2026-07-22 14:18:36'::timestamp) - extract(epoch from '2026-07-22 14:18:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775942 -2.629952)'), GeomFromEWKT('SRID=4674;POINT (-39.775961 -2.629942)'))) / (select extract(epoch from '2026-07-22 14:18:36'::timestamp) - extract(epoch from '2026-07-22 14:18:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.775969 -2.629936)', '2026-07-22 14:18:42', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775961 -2.629942)'), GeomFromEWKT('SRID=4674;POINT (-39.775969 -2.629936)'))) / (select extract(epoch from '2026-07-22 14:18:42'::timestamp) - extract(epoch from '2026-07-22 14:18:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775961 -2.629942)'), GeomFromEWKT('SRID=4674;POINT (-39.775969 -2.629936)'))) / (select extract(epoch from '2026-07-22 14:18:42'::timestamp) - extract(epoch from '2026-07-22 14:18: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.776004 -2.629917)', '2026-07-22 14:18:50', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775969 -2.629936)'), GeomFromEWKT('SRID=4674;POINT (-39.776004 -2.629917)'))) / (select extract(epoch from '2026-07-22 14:18:50'::timestamp) - extract(epoch from '2026-07-22 14:18:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775969 -2.629936)'), GeomFromEWKT('SRID=4674;POINT (-39.776004 -2.629917)'))) / (select extract(epoch from '2026-07-22 14:18:50'::timestamp) - extract(epoch from '2026-07-22 14:18: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.775972 -2.629933)', '2026-07-22 14:18:58', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776004 -2.629917)'), GeomFromEWKT('SRID=4674;POINT (-39.775972 -2.629933)'))) / (select extract(epoch from '2026-07-22 14:18:58'::timestamp) - extract(epoch from '2026-07-22 14:18:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776004 -2.629917)'), GeomFromEWKT('SRID=4674;POINT (-39.775972 -2.629933)'))) / (select extract(epoch from '2026-07-22 14:18:58'::timestamp) - extract(epoch from '2026-07-22 14:18: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.775881 -2.629986)', '2026-07-22 14:19:06', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775972 -2.629933)'), GeomFromEWKT('SRID=4674;POINT (-39.775881 -2.629986)'))) / (select extract(epoch from '2026-07-22 14:19:06'::timestamp) - extract(epoch from '2026-07-22 14:18:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775972 -2.629933)'), GeomFromEWKT('SRID=4674;POINT (-39.775881 -2.629986)'))) / (select extract(epoch from '2026-07-22 14:19:06'::timestamp) - extract(epoch from '2026-07-22 14:18: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.775786 -2.630022)', '2026-07-22 14:19:11', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775881 -2.629986)'), GeomFromEWKT('SRID=4674;POINT (-39.775786 -2.630022)'))) / (select extract(epoch from '2026-07-22 14:19:11'::timestamp) - extract(epoch from '2026-07-22 14:19:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775881 -2.629986)'), GeomFromEWKT('SRID=4674;POINT (-39.775786 -2.630022)'))) / (select extract(epoch from '2026-07-22 14:19:11'::timestamp) - extract(epoch from '2026-07-22 14:19: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.775711 -2.63008)', '2026-07-22 14:19:17', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775786 -2.630022)'), GeomFromEWKT('SRID=4674;POINT (-39.775711 -2.63008)'))) / (select extract(epoch from '2026-07-22 14:19:17'::timestamp) - extract(epoch from '2026-07-22 14:19:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775786 -2.630022)'), GeomFromEWKT('SRID=4674;POINT (-39.775711 -2.63008)'))) / (select extract(epoch from '2026-07-22 14:19:17'::timestamp) - extract(epoch from '2026-07-22 14:19:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.775641 -2.630145)', '2026-07-22 14:19:23', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775711 -2.63008)'), GeomFromEWKT('SRID=4674;POINT (-39.775641 -2.630145)'))) / (select extract(epoch from '2026-07-22 14:19:23'::timestamp) - extract(epoch from '2026-07-22 14:19:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775711 -2.63008)'), GeomFromEWKT('SRID=4674;POINT (-39.775641 -2.630145)'))) / (select extract(epoch from '2026-07-22 14:19:23'::timestamp) - extract(epoch from '2026-07-22 14:19: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.775563 -2.630203)', '2026-07-22 14:19:28', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775641 -2.630145)'), GeomFromEWKT('SRID=4674;POINT (-39.775563 -2.630203)'))) / (select extract(epoch from '2026-07-22 14:19:28'::timestamp) - extract(epoch from '2026-07-22 14:19:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775641 -2.630145)'), GeomFromEWKT('SRID=4674;POINT (-39.775563 -2.630203)'))) / (select extract(epoch from '2026-07-22 14:19:28'::timestamp) - extract(epoch from '2026-07-22 14:19: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.775445 -2.63026)', '2026-07-22 14:19:34', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775563 -2.630203)'), GeomFromEWKT('SRID=4674;POINT (-39.775445 -2.63026)'))) / (select extract(epoch from '2026-07-22 14:19:34'::timestamp) - extract(epoch from '2026-07-22 14:19:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775563 -2.630203)'), GeomFromEWKT('SRID=4674;POINT (-39.775445 -2.63026)'))) / (select extract(epoch from '2026-07-22 14:19:34'::timestamp) - extract(epoch from '2026-07-22 14:19: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.775349 -2.630277)', '2026-07-22 14:19:39', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775445 -2.63026)'), GeomFromEWKT('SRID=4674;POINT (-39.775349 -2.630277)'))) / (select extract(epoch from '2026-07-22 14:19:39'::timestamp) - extract(epoch from '2026-07-22 14:19:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775445 -2.63026)'), GeomFromEWKT('SRID=4674;POINT (-39.775349 -2.630277)'))) / (select extract(epoch from '2026-07-22 14:19:39'::timestamp) - extract(epoch from '2026-07-22 14:19: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.77525 -2.630267)', '2026-07-22 14:19:44', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775349 -2.630277)'), GeomFromEWKT('SRID=4674;POINT (-39.77525 -2.630267)'))) / (select extract(epoch from '2026-07-22 14:19:44'::timestamp) - extract(epoch from '2026-07-22 14:19:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775349 -2.630277)'), GeomFromEWKT('SRID=4674;POINT (-39.77525 -2.630267)'))) / (select extract(epoch from '2026-07-22 14:19:44'::timestamp) - extract(epoch from '2026-07-22 14:19: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.775073 -2.63023)', '2026-07-22 14:19:52', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77525 -2.630267)'), GeomFromEWKT('SRID=4674;POINT (-39.775073 -2.63023)'))) / (select extract(epoch from '2026-07-22 14:19:52'::timestamp) - extract(epoch from '2026-07-22 14:19:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77525 -2.630267)'), GeomFromEWKT('SRID=4674;POINT (-39.775073 -2.63023)'))) / (select extract(epoch from '2026-07-22 14:19:52'::timestamp) - extract(epoch from '2026-07-22 14: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.774987 -2.630203)', '2026-07-22 14:19:57', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775073 -2.63023)'), GeomFromEWKT('SRID=4674;POINT (-39.774987 -2.630203)'))) / (select extract(epoch from '2026-07-22 14:19:57'::timestamp) - extract(epoch from '2026-07-22 14:19:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775073 -2.63023)'), GeomFromEWKT('SRID=4674;POINT (-39.774987 -2.630203)'))) / (select extract(epoch from '2026-07-22 14:19:57'::timestamp) - extract(epoch from '2026-07-22 14:19: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.774872 -2.630189)', '2026-07-22 14:20:03', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774987 -2.630203)'), GeomFromEWKT('SRID=4674;POINT (-39.774872 -2.630189)'))) / (select extract(epoch from '2026-07-22 14:20:03'::timestamp) - extract(epoch from '2026-07-22 14:19:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774987 -2.630203)'), GeomFromEWKT('SRID=4674;POINT (-39.774872 -2.630189)'))) / (select extract(epoch from '2026-07-22 14:20:03'::timestamp) - extract(epoch from '2026-07-22 14:19:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.774768 -2.630162)', '2026-07-22 14:20:09', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774872 -2.630189)'), GeomFromEWKT('SRID=4674;POINT (-39.774768 -2.630162)'))) / (select extract(epoch from '2026-07-22 14:20:09'::timestamp) - extract(epoch from '2026-07-22 14:20:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774872 -2.630189)'), GeomFromEWKT('SRID=4674;POINT (-39.774768 -2.630162)'))) / (select extract(epoch from '2026-07-22 14:20:09'::timestamp) - extract(epoch from '2026-07-22 14: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.774676 -2.630141)', '2026-07-22 14:20:14', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774768 -2.630162)'), GeomFromEWKT('SRID=4674;POINT (-39.774676 -2.630141)'))) / (select extract(epoch from '2026-07-22 14:20:14'::timestamp) - extract(epoch from '2026-07-22 14:20:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774768 -2.630162)'), GeomFromEWKT('SRID=4674;POINT (-39.774676 -2.630141)'))) / (select extract(epoch from '2026-07-22 14:20:14'::timestamp) - extract(epoch from '2026-07-22 14:20:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.774558 -2.630135)', '2026-07-22 14:20:20', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774676 -2.630141)'), GeomFromEWKT('SRID=4674;POINT (-39.774558 -2.630135)'))) / (select extract(epoch from '2026-07-22 14:20:20'::timestamp) - extract(epoch from '2026-07-22 14:20:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774676 -2.630141)'), GeomFromEWKT('SRID=4674;POINT (-39.774558 -2.630135)'))) / (select extract(epoch from '2026-07-22 14:20:20'::timestamp) - extract(epoch from '2026-07-22 14: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.774467 -2.630122)', '2026-07-22 14:20:26', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774558 -2.630135)'), GeomFromEWKT('SRID=4674;POINT (-39.774467 -2.630122)'))) / (select extract(epoch from '2026-07-22 14:20:26'::timestamp) - extract(epoch from '2026-07-22 14:20:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774558 -2.630135)'), GeomFromEWKT('SRID=4674;POINT (-39.774467 -2.630122)'))) / (select extract(epoch from '2026-07-22 14:20:26'::timestamp) - extract(epoch from '2026-07-22 14:20: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.774387 -2.630085)', '2026-07-22 14:20:32', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774467 -2.630122)'), GeomFromEWKT('SRID=4674;POINT (-39.774387 -2.630085)'))) / (select extract(epoch from '2026-07-22 14:20:32'::timestamp) - extract(epoch from '2026-07-22 14:20:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774467 -2.630122)'), GeomFromEWKT('SRID=4674;POINT (-39.774387 -2.630085)'))) / (select extract(epoch from '2026-07-22 14:20:32'::timestamp) - extract(epoch from '2026-07-22 14:20:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.774366 -2.630054)', '2026-07-22 14:20:36', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774387 -2.630085)'), GeomFromEWKT('SRID=4674;POINT (-39.774366 -2.630054)'))) / (select extract(epoch from '2026-07-22 14:20:36'::timestamp) - extract(epoch from '2026-07-22 14:20:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774387 -2.630085)'), GeomFromEWKT('SRID=4674;POINT (-39.774366 -2.630054)'))) / (select extract(epoch from '2026-07-22 14:20:36'::timestamp) - extract(epoch from '2026-07-22 14:20: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.774364 -2.630043)', '2026-07-22 14:20:38', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774366 -2.630054)'), GeomFromEWKT('SRID=4674;POINT (-39.774364 -2.630043)'))) / (select extract(epoch from '2026-07-22 14:20:38'::timestamp) - extract(epoch from '2026-07-22 14:20:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774366 -2.630054)'), GeomFromEWKT('SRID=4674;POINT (-39.774364 -2.630043)'))) / (select extract(epoch from '2026-07-22 14:20:38'::timestamp) - extract(epoch from '2026-07-22 14:20: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.774344 -2.629974)', '2026-07-22 14:20:49', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774364 -2.630043)'), GeomFromEWKT('SRID=4674;POINT (-39.774344 -2.629974)'))) / (select extract(epoch from '2026-07-22 14:20:49'::timestamp) - extract(epoch from '2026-07-22 14:20:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774364 -2.630043)'), GeomFromEWKT('SRID=4674;POINT (-39.774344 -2.629974)'))) / (select extract(epoch from '2026-07-22 14:20:49'::timestamp) - extract(epoch from '2026-07-22 14:20: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.774373 -2.629943)', '2026-07-22 14:20:57', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774344 -2.629974)'), GeomFromEWKT('SRID=4674;POINT (-39.774373 -2.629943)'))) / (select extract(epoch from '2026-07-22 14:20:57'::timestamp) - extract(epoch from '2026-07-22 14:20:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774344 -2.629974)'), GeomFromEWKT('SRID=4674;POINT (-39.774373 -2.629943)'))) / (select extract(epoch from '2026-07-22 14:20:57'::timestamp) - extract(epoch from '2026-07-22 14:20: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.7744 -2.629908)', '2026-07-22 14:21:04', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774373 -2.629943)'), GeomFromEWKT('SRID=4674;POINT (-39.7744 -2.629908)'))) / (select extract(epoch from '2026-07-22 14:21:04'::timestamp) - extract(epoch from '2026-07-22 14:20:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774373 -2.629943)'), GeomFromEWKT('SRID=4674;POINT (-39.7744 -2.629908)'))) / (select extract(epoch from '2026-07-22 14:21:04'::timestamp) - extract(epoch from '2026-07-22 14:20:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.774432 -2.629869)', '2026-07-22 14:21:11', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7744 -2.629908)'), GeomFromEWKT('SRID=4674;POINT (-39.774432 -2.629869)'))) / (select extract(epoch from '2026-07-22 14:21:11'::timestamp) - extract(epoch from '2026-07-22 14:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7744 -2.629908)'), GeomFromEWKT('SRID=4674;POINT (-39.774432 -2.629869)'))) / (select extract(epoch from '2026-07-22 14:21:11'::timestamp) - extract(epoch from '2026-07-22 14:21:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.774448 -2.62986)', '2026-07-22 14:21:15', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774432 -2.629869)'), GeomFromEWKT('SRID=4674;POINT (-39.774448 -2.62986)'))) / (select extract(epoch from '2026-07-22 14:21:15'::timestamp) - extract(epoch from '2026-07-22 14:21:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774432 -2.629869)'), GeomFromEWKT('SRID=4674;POINT (-39.774448 -2.62986)'))) / (select extract(epoch from '2026-07-22 14:21:15'::timestamp) - extract(epoch from '2026-07-22 14:21:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.774463 -2.629858)', '2026-07-22 14:21:17', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774448 -2.62986)'), GeomFromEWKT('SRID=4674;POINT (-39.774463 -2.629858)'))) / (select extract(epoch from '2026-07-22 14:21:17'::timestamp) - extract(epoch from '2026-07-22 14:21:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774448 -2.62986)'), GeomFromEWKT('SRID=4674;POINT (-39.774463 -2.629858)'))) / (select extract(epoch from '2026-07-22 14:21:17'::timestamp) - extract(epoch from '2026-07-22 14:21:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.774493 -2.62984)', '2026-07-22 14:21:24', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774463 -2.629858)'), GeomFromEWKT('SRID=4674;POINT (-39.774493 -2.62984)'))) / (select extract(epoch from '2026-07-22 14:21:24'::timestamp) - extract(epoch from '2026-07-22 14:21:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774463 -2.629858)'), GeomFromEWKT('SRID=4674;POINT (-39.774493 -2.62984)'))) / (select extract(epoch from '2026-07-22 14:21:24'::timestamp) - extract(epoch from '2026-07-22 14:21: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.774521 -2.629825)', '2026-07-22 14:21:31', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774493 -2.62984)'), GeomFromEWKT('SRID=4674;POINT (-39.774521 -2.629825)'))) / (select extract(epoch from '2026-07-22 14:21:31'::timestamp) - extract(epoch from '2026-07-22 14:21:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774493 -2.62984)'), GeomFromEWKT('SRID=4674;POINT (-39.774521 -2.629825)'))) / (select extract(epoch from '2026-07-22 14:21:31'::timestamp) - extract(epoch from '2026-07-22 14:21:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.774559 -2.629807)', '2026-07-22 14:21:41', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774521 -2.629825)'), GeomFromEWKT('SRID=4674;POINT (-39.774559 -2.629807)'))) / (select extract(epoch from '2026-07-22 14:21:41'::timestamp) - extract(epoch from '2026-07-22 14:21:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774521 -2.629825)'), GeomFromEWKT('SRID=4674;POINT (-39.774559 -2.629807)'))) / (select extract(epoch from '2026-07-22 14:21:41'::timestamp) - extract(epoch from '2026-07-22 14:21: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.77457 -2.629794)', '2026-07-22 14:21:48', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774559 -2.629807)'), GeomFromEWKT('SRID=4674;POINT (-39.77457 -2.629794)'))) / (select extract(epoch from '2026-07-22 14:21:48'::timestamp) - extract(epoch from '2026-07-22 14:21:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774559 -2.629807)'), GeomFromEWKT('SRID=4674;POINT (-39.77457 -2.629794)'))) / (select extract(epoch from '2026-07-22 14:21:48'::timestamp) - extract(epoch from '2026-07-22 14:21:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.774614 -2.629751)', '2026-07-22 14:22:03', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77457 -2.629794)'), GeomFromEWKT('SRID=4674;POINT (-39.774614 -2.629751)'))) / (select extract(epoch from '2026-07-22 14:22:03'::timestamp) - extract(epoch from '2026-07-22 14:21:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77457 -2.629794)'), GeomFromEWKT('SRID=4674;POINT (-39.774614 -2.629751)'))) / (select extract(epoch from '2026-07-22 14:22:03'::timestamp) - extract(epoch from '2026-07-22 14:21: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.77462 -2.629713)', '2026-07-22 14:22:11', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774614 -2.629751)'), GeomFromEWKT('SRID=4674;POINT (-39.77462 -2.629713)'))) / (select extract(epoch from '2026-07-22 14:22:11'::timestamp) - extract(epoch from '2026-07-22 14:22:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774614 -2.629751)'), GeomFromEWKT('SRID=4674;POINT (-39.77462 -2.629713)'))) / (select extract(epoch from '2026-07-22 14:22:11'::timestamp) - extract(epoch from '2026-07-22 14:22:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.774561 -2.629699)', '2026-07-22 14:22:18', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77462 -2.629713)'), GeomFromEWKT('SRID=4674;POINT (-39.774561 -2.629699)'))) / (select extract(epoch from '2026-07-22 14:22:18'::timestamp) - extract(epoch from '2026-07-22 14:22:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77462 -2.629713)'), GeomFromEWKT('SRID=4674;POINT (-39.774561 -2.629699)'))) / (select extract(epoch from '2026-07-22 14:22:18'::timestamp) - extract(epoch from '2026-07-22 14:22:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.774542 -2.6297)', '2026-07-22 14:22:20', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774561 -2.629699)'), GeomFromEWKT('SRID=4674;POINT (-39.774542 -2.6297)'))) / (select extract(epoch from '2026-07-22 14:22:20'::timestamp) - extract(epoch from '2026-07-22 14:22:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774561 -2.629699)'), GeomFromEWKT('SRID=4674;POINT (-39.774542 -2.6297)'))) / (select extract(epoch from '2026-07-22 14:22:20'::timestamp) - extract(epoch from '2026-07-22 14:22:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.774498 -2.629705)', '2026-07-22 14:22:23', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774542 -2.6297)'), GeomFromEWKT('SRID=4674;POINT (-39.774498 -2.629705)'))) / (select extract(epoch from '2026-07-22 14:22:23'::timestamp) - extract(epoch from '2026-07-22 14:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774542 -2.6297)'), GeomFromEWKT('SRID=4674;POINT (-39.774498 -2.629705)'))) / (select extract(epoch from '2026-07-22 14:22:23'::timestamp) - extract(epoch from '2026-07-22 14:22:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.774418 -2.629731)', '2026-07-22 14:22:28', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774498 -2.629705)'), GeomFromEWKT('SRID=4674;POINT (-39.774418 -2.629731)'))) / (select extract(epoch from '2026-07-22 14:22:28'::timestamp) - extract(epoch from '2026-07-22 14:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774498 -2.629705)'), GeomFromEWKT('SRID=4674;POINT (-39.774418 -2.629731)'))) / (select extract(epoch from '2026-07-22 14:22:28'::timestamp) - extract(epoch from '2026-07-22 14: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.774336 -2.629752)', '2026-07-22 14:22:33', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774418 -2.629731)'), GeomFromEWKT('SRID=4674;POINT (-39.774336 -2.629752)'))) / (select extract(epoch from '2026-07-22 14:22:33'::timestamp) - extract(epoch from '2026-07-22 14:22:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774418 -2.629731)'), GeomFromEWKT('SRID=4674;POINT (-39.774336 -2.629752)'))) / (select extract(epoch from '2026-07-22 14:22:33'::timestamp) - extract(epoch from '2026-07-22 14:22: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.774284 -2.629744)', '2026-07-22 14:22:37', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774336 -2.629752)'), GeomFromEWKT('SRID=4674;POINT (-39.774284 -2.629744)'))) / (select extract(epoch from '2026-07-22 14:22:37'::timestamp) - extract(epoch from '2026-07-22 14:22:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774336 -2.629752)'), GeomFromEWKT('SRID=4674;POINT (-39.774284 -2.629744)'))) / (select extract(epoch from '2026-07-22 14:22:37'::timestamp) - extract(epoch from '2026-07-22 14:22: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.774196 -2.629715)', '2026-07-22 14:22:42', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774284 -2.629744)'), GeomFromEWKT('SRID=4674;POINT (-39.774196 -2.629715)'))) / (select extract(epoch from '2026-07-22 14:22:42'::timestamp) - extract(epoch from '2026-07-22 14:22:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774284 -2.629744)'), GeomFromEWKT('SRID=4674;POINT (-39.774196 -2.629715)'))) / (select extract(epoch from '2026-07-22 14:22:42'::timestamp) - extract(epoch from '2026-07-22 14:22:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.774099 -2.62968)', '2026-07-22 14:22:47', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774196 -2.629715)'), GeomFromEWKT('SRID=4674;POINT (-39.774099 -2.62968)'))) / (select extract(epoch from '2026-07-22 14:22:47'::timestamp) - extract(epoch from '2026-07-22 14:22:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774196 -2.629715)'), GeomFromEWKT('SRID=4674;POINT (-39.774099 -2.62968)'))) / (select extract(epoch from '2026-07-22 14:22:47'::timestamp) - extract(epoch from '2026-07-22 14:22:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.77399 -2.629647)', '2026-07-22 14:22:54', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774099 -2.62968)'), GeomFromEWKT('SRID=4674;POINT (-39.77399 -2.629647)'))) / (select extract(epoch from '2026-07-22 14:22:54'::timestamp) - extract(epoch from '2026-07-22 14:22:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774099 -2.62968)'), GeomFromEWKT('SRID=4674;POINT (-39.77399 -2.629647)'))) / (select extract(epoch from '2026-07-22 14:22:54'::timestamp) - extract(epoch from '2026-07-22 14:22: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.773892 -2.62962)', '2026-07-22 14:22:59', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77399 -2.629647)'), GeomFromEWKT('SRID=4674;POINT (-39.773892 -2.62962)'))) / (select extract(epoch from '2026-07-22 14:22:59'::timestamp) - extract(epoch from '2026-07-22 14:22:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77399 -2.629647)'), GeomFromEWKT('SRID=4674;POINT (-39.773892 -2.62962)'))) / (select extract(epoch from '2026-07-22 14:22:59'::timestamp) - extract(epoch from '2026-07-22 14: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.773797 -2.629591)', '2026-07-22 14:23:04', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773892 -2.62962)'), GeomFromEWKT('SRID=4674;POINT (-39.773797 -2.629591)'))) / (select extract(epoch from '2026-07-22 14:23:04'::timestamp) - extract(epoch from '2026-07-22 14:22:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773892 -2.62962)'), GeomFromEWKT('SRID=4674;POINT (-39.773797 -2.629591)'))) / (select extract(epoch from '2026-07-22 14:23:04'::timestamp) - extract(epoch from '2026-07-22 14: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.773654 -2.629528)', '2026-07-22 14:23:12', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773797 -2.629591)'), GeomFromEWKT('SRID=4674;POINT (-39.773654 -2.629528)'))) / (select extract(epoch from '2026-07-22 14:23:12'::timestamp) - extract(epoch from '2026-07-22 14:23:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773797 -2.629591)'), GeomFromEWKT('SRID=4674;POINT (-39.773654 -2.629528)'))) / (select extract(epoch from '2026-07-22 14:23:12'::timestamp) - extract(epoch from '2026-07-22 14: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.773557 -2.629452)', '2026-07-22 14:23:18', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773654 -2.629528)'), GeomFromEWKT('SRID=4674;POINT (-39.773557 -2.629452)'))) / (select extract(epoch from '2026-07-22 14:23:18'::timestamp) - extract(epoch from '2026-07-22 14:23:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773654 -2.629528)'), GeomFromEWKT('SRID=4674;POINT (-39.773557 -2.629452)'))) / (select extract(epoch from '2026-07-22 14:23:18'::timestamp) - extract(epoch from '2026-07-22 14:23: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.773541 -2.629443)', '2026-07-22 14:23:19', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773557 -2.629452)'), GeomFromEWKT('SRID=4674;POINT (-39.773541 -2.629443)'))) / (select extract(epoch from '2026-07-22 14:23:19'::timestamp) - extract(epoch from '2026-07-22 14:23:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773557 -2.629452)'), GeomFromEWKT('SRID=4674;POINT (-39.773541 -2.629443)'))) / (select extract(epoch from '2026-07-22 14:23:19'::timestamp) - extract(epoch from '2026-07-22 14:23: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.773482 -2.629413)', '2026-07-22 14:23:23', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773541 -2.629443)'), GeomFromEWKT('SRID=4674;POINT (-39.773482 -2.629413)'))) / (select extract(epoch from '2026-07-22 14:23:23'::timestamp) - extract(epoch from '2026-07-22 14:23:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773541 -2.629443)'), GeomFromEWKT('SRID=4674;POINT (-39.773482 -2.629413)'))) / (select extract(epoch from '2026-07-22 14:23:23'::timestamp) - extract(epoch from '2026-07-22 14:23: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.773432 -2.629391)', '2026-07-22 14:23:28', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773482 -2.629413)'), GeomFromEWKT('SRID=4674;POINT (-39.773432 -2.629391)'))) / (select extract(epoch from '2026-07-22 14:23:28'::timestamp) - extract(epoch from '2026-07-22 14:23:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773482 -2.629413)'), GeomFromEWKT('SRID=4674;POINT (-39.773432 -2.629391)'))) / (select extract(epoch from '2026-07-22 14:23:28'::timestamp) - extract(epoch from '2026-07-22 14:23: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.773388 -2.629349)', '2026-07-22 14:23:36', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773432 -2.629391)'), GeomFromEWKT('SRID=4674;POINT (-39.773388 -2.629349)'))) / (select extract(epoch from '2026-07-22 14:23:36'::timestamp) - extract(epoch from '2026-07-22 14:23:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773432 -2.629391)'), GeomFromEWKT('SRID=4674;POINT (-39.773388 -2.629349)'))) / (select extract(epoch from '2026-07-22 14:23:36'::timestamp) - extract(epoch from '2026-07-22 14: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.773388 -2.62929)', '2026-07-22 14:23:46', 23.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773388 -2.629349)'), GeomFromEWKT('SRID=4674;POINT (-39.773388 -2.62929)'))) / (select extract(epoch from '2026-07-22 14:23:46'::timestamp) - extract(epoch from '2026-07-22 14:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773388 -2.629349)'), GeomFromEWKT('SRID=4674;POINT (-39.773388 -2.62929)'))) / (select extract(epoch from '2026-07-22 14:23:46'::timestamp) - extract(epoch from '2026-07-22 14:23: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.773401 -2.629236)', '2026-07-22 14:23:54', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773388 -2.62929)'), GeomFromEWKT('SRID=4674;POINT (-39.773401 -2.629236)'))) / (select extract(epoch from '2026-07-22 14:23:54'::timestamp) - extract(epoch from '2026-07-22 14:23:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773388 -2.62929)'), GeomFromEWKT('SRID=4674;POINT (-39.773401 -2.629236)'))) / (select extract(epoch from '2026-07-22 14:23:54'::timestamp) - extract(epoch from '2026-07-22 14:23:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.773414 -2.629217)', '2026-07-22 14:24:00', 22.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773401 -2.629236)'), GeomFromEWKT('SRID=4674;POINT (-39.773414 -2.629217)'))) / (select extract(epoch from '2026-07-22 14:24:00'::timestamp) - extract(epoch from '2026-07-22 14:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773401 -2.629236)'), GeomFromEWKT('SRID=4674;POINT (-39.773414 -2.629217)'))) / (select extract(epoch from '2026-07-22 14:24:00'::timestamp) - extract(epoch from '2026-07-22 14:23:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.773457 -2.629204)', '2026-07-22 14:24:06', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773414 -2.629217)'), GeomFromEWKT('SRID=4674;POINT (-39.773457 -2.629204)'))) / (select extract(epoch from '2026-07-22 14:24:06'::timestamp) - extract(epoch from '2026-07-22 14:24:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773414 -2.629217)'), GeomFromEWKT('SRID=4674;POINT (-39.773457 -2.629204)'))) / (select extract(epoch from '2026-07-22 14:24:06'::timestamp) - extract(epoch from '2026-07-22 14:24:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.773483 -2.629184)', '2026-07-22 14:24:12', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773457 -2.629204)'), GeomFromEWKT('SRID=4674;POINT (-39.773483 -2.629184)'))) / (select extract(epoch from '2026-07-22 14:24:12'::timestamp) - extract(epoch from '2026-07-22 14:24:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773457 -2.629204)'), GeomFromEWKT('SRID=4674;POINT (-39.773483 -2.629184)'))) / (select extract(epoch from '2026-07-22 14:24:12'::timestamp) - extract(epoch from '2026-07-22 14:24:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.773491 -2.629174)', '2026-07-22 14:24:17', 22.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773483 -2.629184)'), GeomFromEWKT('SRID=4674;POINT (-39.773491 -2.629174)'))) / (select extract(epoch from '2026-07-22 14:24:17'::timestamp) - extract(epoch from '2026-07-22 14:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773483 -2.629184)'), GeomFromEWKT('SRID=4674;POINT (-39.773491 -2.629174)'))) / (select extract(epoch from '2026-07-22 14:24:17'::timestamp) - extract(epoch from '2026-07-22 14:24:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.773518 -2.62916)', '2026-07-22 14:24:24', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773491 -2.629174)'), GeomFromEWKT('SRID=4674;POINT (-39.773518 -2.62916)'))) / (select extract(epoch from '2026-07-22 14:24:24'::timestamp) - extract(epoch from '2026-07-22 14:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773491 -2.629174)'), GeomFromEWKT('SRID=4674;POINT (-39.773518 -2.62916)'))) / (select extract(epoch from '2026-07-22 14:24:24'::timestamp) - extract(epoch from '2026-07-22 14:24: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.773577 -2.629139)', '2026-07-22 14:24:33', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773518 -2.62916)'), GeomFromEWKT('SRID=4674;POINT (-39.773577 -2.629139)'))) / (select extract(epoch from '2026-07-22 14:24:33'::timestamp) - extract(epoch from '2026-07-22 14:24:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773518 -2.62916)'), GeomFromEWKT('SRID=4674;POINT (-39.773577 -2.629139)'))) / (select extract(epoch from '2026-07-22 14:24:33'::timestamp) - extract(epoch from '2026-07-22 14:24: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.773601 -2.629121)', '2026-07-22 14:24:39', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773577 -2.629139)'), GeomFromEWKT('SRID=4674;POINT (-39.773601 -2.629121)'))) / (select extract(epoch from '2026-07-22 14:24:39'::timestamp) - extract(epoch from '2026-07-22 14:24:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773577 -2.629139)'), GeomFromEWKT('SRID=4674;POINT (-39.773601 -2.629121)'))) / (select extract(epoch from '2026-07-22 14:24:39'::timestamp) - extract(epoch from '2026-07-22 14:24:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.773615 -2.629115)', '2026-07-22 14:24:57', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773601 -2.629121)'), GeomFromEWKT('SRID=4674;POINT (-39.773615 -2.629115)'))) / (select extract(epoch from '2026-07-22 14:24:57'::timestamp) - extract(epoch from '2026-07-22 14:24:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773601 -2.629121)'), GeomFromEWKT('SRID=4674;POINT (-39.773615 -2.629115)'))) / (select extract(epoch from '2026-07-22 14:24:57'::timestamp) - extract(epoch from '2026-07-22 14:24:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.77362 -2.629088)', '2026-07-22 14:25:03', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773615 -2.629115)'), GeomFromEWKT('SRID=4674;POINT (-39.77362 -2.629088)'))) / (select extract(epoch from '2026-07-22 14:25:03'::timestamp) - extract(epoch from '2026-07-22 14:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773615 -2.629115)'), GeomFromEWKT('SRID=4674;POINT (-39.77362 -2.629088)'))) / (select extract(epoch from '2026-07-22 14:25:03'::timestamp) - extract(epoch from '2026-07-22 14: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.773619 -2.629056)', '2026-07-22 14:25:16', 21.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77362 -2.629088)'), GeomFromEWKT('SRID=4674;POINT (-39.773619 -2.629056)'))) / (select extract(epoch from '2026-07-22 14:25:16'::timestamp) - extract(epoch from '2026-07-22 14:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77362 -2.629088)'), GeomFromEWKT('SRID=4674;POINT (-39.773619 -2.629056)'))) / (select extract(epoch from '2026-07-22 14:25:16'::timestamp) - extract(epoch from '2026-07-22 14: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.773627 -2.62903)', '2026-07-22 14:25:23', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773619 -2.629056)'), GeomFromEWKT('SRID=4674;POINT (-39.773627 -2.62903)'))) / (select extract(epoch from '2026-07-22 14:25:23'::timestamp) - extract(epoch from '2026-07-22 14:25:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773619 -2.629056)'), GeomFromEWKT('SRID=4674;POINT (-39.773627 -2.62903)'))) / (select extract(epoch from '2026-07-22 14:25:23'::timestamp) - extract(epoch from '2026-07-22 14:25:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.773626 -2.629018)', '2026-07-22 14:25:26', 22.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773627 -2.62903)'), GeomFromEWKT('SRID=4674;POINT (-39.773626 -2.629018)'))) / (select extract(epoch from '2026-07-22 14:25:26'::timestamp) - extract(epoch from '2026-07-22 14:25:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773627 -2.62903)'), GeomFromEWKT('SRID=4674;POINT (-39.773626 -2.629018)'))) / (select extract(epoch from '2026-07-22 14:25:26'::timestamp) - extract(epoch from '2026-07-22 14:25: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.773657 -2.628979)', '2026-07-22 14:25:33', 22.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773626 -2.629018)'), GeomFromEWKT('SRID=4674;POINT (-39.773657 -2.628979)'))) / (select extract(epoch from '2026-07-22 14:25:33'::timestamp) - extract(epoch from '2026-07-22 14:25:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773626 -2.629018)'), GeomFromEWKT('SRID=4674;POINT (-39.773657 -2.628979)'))) / (select extract(epoch from '2026-07-22 14:25:33'::timestamp) - extract(epoch from '2026-07-22 14:25:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.7737 -2.628946)', '2026-07-22 14:25:40', 22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773657 -2.628979)'), GeomFromEWKT('SRID=4674;POINT (-39.7737 -2.628946)'))) / (select extract(epoch from '2026-07-22 14:25:40'::timestamp) - extract(epoch from '2026-07-22 14:25:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773657 -2.628979)'), GeomFromEWKT('SRID=4674;POINT (-39.7737 -2.628946)'))) / (select extract(epoch from '2026-07-22 14:25:40'::timestamp) - extract(epoch from '2026-07-22 14:25:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.773712 -2.628929)', '2026-07-22 14:25:48', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7737 -2.628946)'), GeomFromEWKT('SRID=4674;POINT (-39.773712 -2.628929)'))) / (select extract(epoch from '2026-07-22 14:25:48'::timestamp) - extract(epoch from '2026-07-22 14:25:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7737 -2.628946)'), GeomFromEWKT('SRID=4674;POINT (-39.773712 -2.628929)'))) / (select extract(epoch from '2026-07-22 14:25:48'::timestamp) - extract(epoch from '2026-07-22 14:25:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.773722 -2.628922)', '2026-07-22 14:25:55', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773712 -2.628929)'), GeomFromEWKT('SRID=4674;POINT (-39.773722 -2.628922)'))) / (select extract(epoch from '2026-07-22 14:25:55'::timestamp) - extract(epoch from '2026-07-22 14:25:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773712 -2.628929)'), GeomFromEWKT('SRID=4674;POINT (-39.773722 -2.628922)'))) / (select extract(epoch from '2026-07-22 14:25:55'::timestamp) - extract(epoch from '2026-07-22 14:25:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.773761 -2.628887)', '2026-07-22 14:26:05', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773722 -2.628922)'), GeomFromEWKT('SRID=4674;POINT (-39.773761 -2.628887)'))) / (select extract(epoch from '2026-07-22 14:26:05'::timestamp) - extract(epoch from '2026-07-22 14:25:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773722 -2.628922)'), GeomFromEWKT('SRID=4674;POINT (-39.773761 -2.628887)'))) / (select extract(epoch from '2026-07-22 14:26:05'::timestamp) - extract(epoch from '2026-07-22 14:25: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.773764 -2.62888)', '2026-07-22 14:26:12', 22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773761 -2.628887)'), GeomFromEWKT('SRID=4674;POINT (-39.773764 -2.62888)'))) / (select extract(epoch from '2026-07-22 14:26:12'::timestamp) - extract(epoch from '2026-07-22 14:26:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773761 -2.628887)'), GeomFromEWKT('SRID=4674;POINT (-39.773764 -2.62888)'))) / (select extract(epoch from '2026-07-22 14:26:12'::timestamp) - extract(epoch from '2026-07-22 14:26:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.773713 -2.628864)', '2026-07-22 14:26:18', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773764 -2.62888)'), GeomFromEWKT('SRID=4674;POINT (-39.773713 -2.628864)'))) / (select extract(epoch from '2026-07-22 14:26:18'::timestamp) - extract(epoch from '2026-07-22 14:26:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773764 -2.62888)'), GeomFromEWKT('SRID=4674;POINT (-39.773713 -2.628864)'))) / (select extract(epoch from '2026-07-22 14:26:18'::timestamp) - extract(epoch from '2026-07-22 14: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.7737 -2.628867)', '2026-07-22 14:26:19', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773713 -2.628864)'), GeomFromEWKT('SRID=4674;POINT (-39.7737 -2.628867)'))) / (select extract(epoch from '2026-07-22 14:26:19'::timestamp) - extract(epoch from '2026-07-22 14:26:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773713 -2.628864)'), GeomFromEWKT('SRID=4674;POINT (-39.7737 -2.628867)'))) / (select extract(epoch from '2026-07-22 14:26:19'::timestamp) - extract(epoch from '2026-07-22 14: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.773686 -2.62887)', '2026-07-22 14:26:20', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7737 -2.628867)'), GeomFromEWKT('SRID=4674;POINT (-39.773686 -2.62887)'))) / (select extract(epoch from '2026-07-22 14:26:20'::timestamp) - extract(epoch from '2026-07-22 14:26:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7737 -2.628867)'), GeomFromEWKT('SRID=4674;POINT (-39.773686 -2.62887)'))) / (select extract(epoch from '2026-07-22 14:26:20'::timestamp) - extract(epoch from '2026-07-22 14:26: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.773626 -2.628877)', '2026-07-22 14:26:24', 22.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773686 -2.62887)'), GeomFromEWKT('SRID=4674;POINT (-39.773626 -2.628877)'))) / (select extract(epoch from '2026-07-22 14:26:24'::timestamp) - extract(epoch from '2026-07-22 14:26:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773686 -2.62887)'), GeomFromEWKT('SRID=4674;POINT (-39.773626 -2.628877)'))) / (select extract(epoch from '2026-07-22 14:26:24'::timestamp) - extract(epoch from '2026-07-22 14:26: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.773554 -2.628879)', '2026-07-22 14:26:29', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773626 -2.628877)'), GeomFromEWKT('SRID=4674;POINT (-39.773554 -2.628879)'))) / (select extract(epoch from '2026-07-22 14:26:29'::timestamp) - extract(epoch from '2026-07-22 14:26:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773626 -2.628877)'), GeomFromEWKT('SRID=4674;POINT (-39.773554 -2.628879)'))) / (select extract(epoch from '2026-07-22 14:26:29'::timestamp) - extract(epoch from '2026-07-22 14:26:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.773467 -2.628902)', '2026-07-22 14:26:35', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773554 -2.628879)'), GeomFromEWKT('SRID=4674;POINT (-39.773467 -2.628902)'))) / (select extract(epoch from '2026-07-22 14:26:35'::timestamp) - extract(epoch from '2026-07-22 14:26:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773554 -2.628879)'), GeomFromEWKT('SRID=4674;POINT (-39.773467 -2.628902)'))) / (select extract(epoch from '2026-07-22 14:26:35'::timestamp) - extract(epoch from '2026-07-22 14:26: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.773364 -2.628899)', '2026-07-22 14:26:40', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773467 -2.628902)'), GeomFromEWKT('SRID=4674;POINT (-39.773364 -2.628899)'))) / (select extract(epoch from '2026-07-22 14:26:40'::timestamp) - extract(epoch from '2026-07-22 14:26:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773467 -2.628902)'), GeomFromEWKT('SRID=4674;POINT (-39.773364 -2.628899)'))) / (select extract(epoch from '2026-07-22 14:26:40'::timestamp) - extract(epoch from '2026-07-22 14:26:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.773243 -2.628902)', '2026-07-22 14:26:46', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773364 -2.628899)'), GeomFromEWKT('SRID=4674;POINT (-39.773243 -2.628902)'))) / (select extract(epoch from '2026-07-22 14:26:46'::timestamp) - extract(epoch from '2026-07-22 14:26:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773364 -2.628899)'), GeomFromEWKT('SRID=4674;POINT (-39.773243 -2.628902)'))) / (select extract(epoch from '2026-07-22 14:26:46'::timestamp) - extract(epoch from '2026-07-22 14:26: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.773148 -2.628903)', '2026-07-22 14:26:52', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773243 -2.628902)'), GeomFromEWKT('SRID=4674;POINT (-39.773148 -2.628903)'))) / (select extract(epoch from '2026-07-22 14:26:52'::timestamp) - extract(epoch from '2026-07-22 14:26:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773243 -2.628902)'), GeomFromEWKT('SRID=4674;POINT (-39.773148 -2.628903)'))) / (select extract(epoch from '2026-07-22 14:26:52'::timestamp) - extract(epoch from '2026-07-22 14:26:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.77304 -2.628907)', '2026-07-22 14:26:58', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773148 -2.628903)'), GeomFromEWKT('SRID=4674;POINT (-39.77304 -2.628907)'))) / (select extract(epoch from '2026-07-22 14:26:58'::timestamp) - extract(epoch from '2026-07-22 14:26:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773148 -2.628903)'), GeomFromEWKT('SRID=4674;POINT (-39.77304 -2.628907)'))) / (select extract(epoch from '2026-07-22 14:26:58'::timestamp) - extract(epoch from '2026-07-22 14:26: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.772975 -2.628901)', '2026-07-22 14:27:02', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77304 -2.628907)'), GeomFromEWKT('SRID=4674;POINT (-39.772975 -2.628901)'))) / (select extract(epoch from '2026-07-22 14:27:02'::timestamp) - extract(epoch from '2026-07-22 14:26:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77304 -2.628907)'), GeomFromEWKT('SRID=4674;POINT (-39.772975 -2.628901)'))) / (select extract(epoch from '2026-07-22 14:27:02'::timestamp) - extract(epoch from '2026-07-22 14:26: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.772865 -2.62889)', '2026-07-22 14:27:08', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772975 -2.628901)'), GeomFromEWKT('SRID=4674;POINT (-39.772865 -2.62889)'))) / (select extract(epoch from '2026-07-22 14:27:08'::timestamp) - extract(epoch from '2026-07-22 14:27:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772975 -2.628901)'), GeomFromEWKT('SRID=4674;POINT (-39.772865 -2.62889)'))) / (select extract(epoch from '2026-07-22 14:27:08'::timestamp) - extract(epoch from '2026-07-22 14:27:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.77275 -2.628897)', '2026-07-22 14:27:14', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772865 -2.62889)'), GeomFromEWKT('SRID=4674;POINT (-39.77275 -2.628897)'))) / (select extract(epoch from '2026-07-22 14:27:14'::timestamp) - extract(epoch from '2026-07-22 14:27:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772865 -2.62889)'), GeomFromEWKT('SRID=4674;POINT (-39.77275 -2.628897)'))) / (select extract(epoch from '2026-07-22 14:27:14'::timestamp) - extract(epoch from '2026-07-22 14:27:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.772664 -2.628903)', '2026-07-22 14:27:19', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77275 -2.628897)'), GeomFromEWKT('SRID=4674;POINT (-39.772664 -2.628903)'))) / (select extract(epoch from '2026-07-22 14:27:19'::timestamp) - extract(epoch from '2026-07-22 14:27:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77275 -2.628897)'), GeomFromEWKT('SRID=4674;POINT (-39.772664 -2.628903)'))) / (select extract(epoch from '2026-07-22 14:27:19'::timestamp) - extract(epoch from '2026-07-22 14:27:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.772546 -2.628905)', '2026-07-22 14:27:25', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772664 -2.628903)'), GeomFromEWKT('SRID=4674;POINT (-39.772546 -2.628905)'))) / (select extract(epoch from '2026-07-22 14:27:25'::timestamp) - extract(epoch from '2026-07-22 14:27:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772664 -2.628903)'), GeomFromEWKT('SRID=4674;POINT (-39.772546 -2.628905)'))) / (select extract(epoch from '2026-07-22 14:27:25'::timestamp) - extract(epoch from '2026-07-22 14:27: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.772493 -2.628881)', '2026-07-22 14:27:30', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772546 -2.628905)'), GeomFromEWKT('SRID=4674;POINT (-39.772493 -2.628881)'))) / (select extract(epoch from '2026-07-22 14:27:30'::timestamp) - extract(epoch from '2026-07-22 14:27:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772546 -2.628905)'), GeomFromEWKT('SRID=4674;POINT (-39.772493 -2.628881)'))) / (select extract(epoch from '2026-07-22 14:27:30'::timestamp) - extract(epoch from '2026-07-22 14:27: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.772447 -2.628835)', '2026-07-22 14:27:36', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772493 -2.628881)'), GeomFromEWKT('SRID=4674;POINT (-39.772447 -2.628835)'))) / (select extract(epoch from '2026-07-22 14:27:36'::timestamp) - extract(epoch from '2026-07-22 14:27:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772493 -2.628881)'), GeomFromEWKT('SRID=4674;POINT (-39.772447 -2.628835)'))) / (select extract(epoch from '2026-07-22 14:27:36'::timestamp) - extract(epoch from '2026-07-22 14:27:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.772415 -2.628795)', '2026-07-22 14:27:43', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772447 -2.628835)'), GeomFromEWKT('SRID=4674;POINT (-39.772415 -2.628795)'))) / (select extract(epoch from '2026-07-22 14:27:43'::timestamp) - extract(epoch from '2026-07-22 14:27:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772447 -2.628835)'), GeomFromEWKT('SRID=4674;POINT (-39.772415 -2.628795)'))) / (select extract(epoch from '2026-07-22 14:27:43'::timestamp) - extract(epoch from '2026-07-22 14:27: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.772427 -2.62877)', '2026-07-22 14:27:48', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772415 -2.628795)'), GeomFromEWKT('SRID=4674;POINT (-39.772427 -2.62877)'))) / (select extract(epoch from '2026-07-22 14:27:48'::timestamp) - extract(epoch from '2026-07-22 14:27:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772415 -2.628795)'), GeomFromEWKT('SRID=4674;POINT (-39.772427 -2.62877)'))) / (select extract(epoch from '2026-07-22 14:27:48'::timestamp) - extract(epoch from '2026-07-22 14:27: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.77243 -2.628759)', '2026-07-22 14:27:50', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772427 -2.62877)'), GeomFromEWKT('SRID=4674;POINT (-39.77243 -2.628759)'))) / (select extract(epoch from '2026-07-22 14:27:50'::timestamp) - extract(epoch from '2026-07-22 14:27:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772427 -2.62877)'), GeomFromEWKT('SRID=4674;POINT (-39.77243 -2.628759)'))) / (select extract(epoch from '2026-07-22 14:27:50'::timestamp) - extract(epoch from '2026-07-22 14:27:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.772448 -2.628732)', '2026-07-22 14:27:54', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77243 -2.628759)'), GeomFromEWKT('SRID=4674;POINT (-39.772448 -2.628732)'))) / (select extract(epoch from '2026-07-22 14:27:54'::timestamp) - extract(epoch from '2026-07-22 14:27:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77243 -2.628759)'), GeomFromEWKT('SRID=4674;POINT (-39.772448 -2.628732)'))) / (select extract(epoch from '2026-07-22 14:27:54'::timestamp) - extract(epoch from '2026-07-22 14:27: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.772467 -2.628715)', '2026-07-22 14:27:56', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772448 -2.628732)'), GeomFromEWKT('SRID=4674;POINT (-39.772467 -2.628715)'))) / (select extract(epoch from '2026-07-22 14:27:56'::timestamp) - extract(epoch from '2026-07-22 14:27:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772448 -2.628732)'), GeomFromEWKT('SRID=4674;POINT (-39.772467 -2.628715)'))) / (select extract(epoch from '2026-07-22 14:27:56'::timestamp) - extract(epoch from '2026-07-22 14:27:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.772493 -2.628686)', '2026-07-22 14:28:02', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772467 -2.628715)'), GeomFromEWKT('SRID=4674;POINT (-39.772493 -2.628686)'))) / (select extract(epoch from '2026-07-22 14:28:02'::timestamp) - extract(epoch from '2026-07-22 14:27:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772467 -2.628715)'), GeomFromEWKT('SRID=4674;POINT (-39.772493 -2.628686)'))) / (select extract(epoch from '2026-07-22 14:28:02'::timestamp) - extract(epoch from '2026-07-22 14:27: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.772525 -2.628672)', '2026-07-22 14:28:08', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772493 -2.628686)'), GeomFromEWKT('SRID=4674;POINT (-39.772525 -2.628672)'))) / (select extract(epoch from '2026-07-22 14:28:08'::timestamp) - extract(epoch from '2026-07-22 14:28:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772493 -2.628686)'), GeomFromEWKT('SRID=4674;POINT (-39.772525 -2.628672)'))) / (select extract(epoch from '2026-07-22 14:28:08'::timestamp) - extract(epoch from '2026-07-22 14:28:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.772535 -2.628662)', '2026-07-22 14:28:15', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772525 -2.628672)'), GeomFromEWKT('SRID=4674;POINT (-39.772535 -2.628662)'))) / (select extract(epoch from '2026-07-22 14:28:15'::timestamp) - extract(epoch from '2026-07-22 14:28:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772525 -2.628672)'), GeomFromEWKT('SRID=4674;POINT (-39.772535 -2.628662)'))) / (select extract(epoch from '2026-07-22 14:28:15'::timestamp) - extract(epoch from '2026-07-22 14:28: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.772576 -2.628618)', '2026-07-22 14:28:25', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772535 -2.628662)'), GeomFromEWKT('SRID=4674;POINT (-39.772576 -2.628618)'))) / (select extract(epoch from '2026-07-22 14:28:25'::timestamp) - extract(epoch from '2026-07-22 14:28:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772535 -2.628662)'), GeomFromEWKT('SRID=4674;POINT (-39.772576 -2.628618)'))) / (select extract(epoch from '2026-07-22 14:28:25'::timestamp) - extract(epoch from '2026-07-22 14:28: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.772614 -2.628591)', '2026-07-22 14:28:32', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772576 -2.628618)'), GeomFromEWKT('SRID=4674;POINT (-39.772614 -2.628591)'))) / (select extract(epoch from '2026-07-22 14:28:32'::timestamp) - extract(epoch from '2026-07-22 14:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772576 -2.628618)'), GeomFromEWKT('SRID=4674;POINT (-39.772614 -2.628591)'))) / (select extract(epoch from '2026-07-22 14:28:32'::timestamp) - extract(epoch from '2026-07-22 14:28:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.772641 -2.628563)', '2026-07-22 14:28:43', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772614 -2.628591)'), GeomFromEWKT('SRID=4674;POINT (-39.772641 -2.628563)'))) / (select extract(epoch from '2026-07-22 14:28:43'::timestamp) - extract(epoch from '2026-07-22 14:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772614 -2.628591)'), GeomFromEWKT('SRID=4674;POINT (-39.772641 -2.628563)'))) / (select extract(epoch from '2026-07-22 14:28:43'::timestamp) - extract(epoch from '2026-07-22 14:28:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.772648 -2.62855)', '2026-07-22 14:28:50', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772641 -2.628563)'), GeomFromEWKT('SRID=4674;POINT (-39.772648 -2.62855)'))) / (select extract(epoch from '2026-07-22 14:28:50'::timestamp) - extract(epoch from '2026-07-22 14:28:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772641 -2.628563)'), GeomFromEWKT('SRID=4674;POINT (-39.772648 -2.62855)'))) / (select extract(epoch from '2026-07-22 14:28:50'::timestamp) - extract(epoch from '2026-07-22 14:28: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.772648 -2.628515)', '2026-07-22 14:28:58', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772648 -2.62855)'), GeomFromEWKT('SRID=4674;POINT (-39.772648 -2.628515)'))) / (select extract(epoch from '2026-07-22 14:28:58'::timestamp) - extract(epoch from '2026-07-22 14:28:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772648 -2.62855)'), GeomFromEWKT('SRID=4674;POINT (-39.772648 -2.628515)'))) / (select extract(epoch from '2026-07-22 14:28:58'::timestamp) - extract(epoch from '2026-07-22 14:28: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.772668 -2.628492)', '2026-07-22 14:29:07', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772648 -2.628515)'), GeomFromEWKT('SRID=4674;POINT (-39.772668 -2.628492)'))) / (select extract(epoch from '2026-07-22 14:29:07'::timestamp) - extract(epoch from '2026-07-22 14:28:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772648 -2.628515)'), GeomFromEWKT('SRID=4674;POINT (-39.772668 -2.628492)'))) / (select extract(epoch from '2026-07-22 14:29:07'::timestamp) - extract(epoch from '2026-07-22 14:28:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.772745 -2.628431)', '2026-07-22 14:29:18', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772668 -2.628492)'), GeomFromEWKT('SRID=4674;POINT (-39.772745 -2.628431)'))) / (select extract(epoch from '2026-07-22 14:29:18'::timestamp) - extract(epoch from '2026-07-22 14:29:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772668 -2.628492)'), GeomFromEWKT('SRID=4674;POINT (-39.772745 -2.628431)'))) / (select extract(epoch from '2026-07-22 14:29:18'::timestamp) - extract(epoch from '2026-07-22 14:29:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.772775 -2.628392)', '2026-07-22 14:29:27', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772745 -2.628431)'), GeomFromEWKT('SRID=4674;POINT (-39.772775 -2.628392)'))) / (select extract(epoch from '2026-07-22 14:29:27'::timestamp) - extract(epoch from '2026-07-22 14:29:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772745 -2.628431)'), GeomFromEWKT('SRID=4674;POINT (-39.772775 -2.628392)'))) / (select extract(epoch from '2026-07-22 14:29:27'::timestamp) - extract(epoch from '2026-07-22 14:29: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.772794 -2.62837)', '2026-07-22 14:29:36', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772775 -2.628392)'), GeomFromEWKT('SRID=4674;POINT (-39.772794 -2.62837)'))) / (select extract(epoch from '2026-07-22 14:29:36'::timestamp) - extract(epoch from '2026-07-22 14:29:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772775 -2.628392)'), GeomFromEWKT('SRID=4674;POINT (-39.772794 -2.62837)'))) / (select extract(epoch from '2026-07-22 14:29:36'::timestamp) - extract(epoch from '2026-07-22 14: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.772758 -2.628409)', '2026-07-22 14:29:44', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772794 -2.62837)'), GeomFromEWKT('SRID=4674;POINT (-39.772758 -2.628409)'))) / (select extract(epoch from '2026-07-22 14:29:44'::timestamp) - extract(epoch from '2026-07-22 14:29:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772794 -2.62837)'), GeomFromEWKT('SRID=4674;POINT (-39.772758 -2.628409)'))) / (select extract(epoch from '2026-07-22 14:29:44'::timestamp) - extract(epoch from '2026-07-22 14: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.772725 -2.628432)', '2026-07-22 14:29:47', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772758 -2.628409)'), GeomFromEWKT('SRID=4674;POINT (-39.772725 -2.628432)'))) / (select extract(epoch from '2026-07-22 14:29:47'::timestamp) - extract(epoch from '2026-07-22 14:29:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772758 -2.628409)'), GeomFromEWKT('SRID=4674;POINT (-39.772725 -2.628432)'))) / (select extract(epoch from '2026-07-22 14:29:47'::timestamp) - extract(epoch from '2026-07-22 14:29:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.772691 -2.628457)', '2026-07-22 14:29:50', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772725 -2.628432)'), GeomFromEWKT('SRID=4674;POINT (-39.772691 -2.628457)'))) / (select extract(epoch from '2026-07-22 14:29:50'::timestamp) - extract(epoch from '2026-07-22 14:29:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772725 -2.628432)'), GeomFromEWKT('SRID=4674;POINT (-39.772691 -2.628457)'))) / (select extract(epoch from '2026-07-22 14:29:50'::timestamp) - extract(epoch from '2026-07-22 14:29: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.77261 -2.628496)', '2026-07-22 14:29:56', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772691 -2.628457)'), GeomFromEWKT('SRID=4674;POINT (-39.77261 -2.628496)'))) / (select extract(epoch from '2026-07-22 14:29:56'::timestamp) - extract(epoch from '2026-07-22 14:29:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772691 -2.628457)'), GeomFromEWKT('SRID=4674;POINT (-39.77261 -2.628496)'))) / (select extract(epoch from '2026-07-22 14:29:56'::timestamp) - extract(epoch from '2026-07-22 14:29: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.772525 -2.628543)', '2026-07-22 14:30:03', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77261 -2.628496)'), GeomFromEWKT('SRID=4674;POINT (-39.772525 -2.628543)'))) / (select extract(epoch from '2026-07-22 14:30:03'::timestamp) - extract(epoch from '2026-07-22 14:29:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77261 -2.628496)'), GeomFromEWKT('SRID=4674;POINT (-39.772525 -2.628543)'))) / (select extract(epoch from '2026-07-22 14:30:03'::timestamp) - extract(epoch from '2026-07-22 14:29:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.772426 -2.62857)', '2026-07-22 14:30:09', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772525 -2.628543)'), GeomFromEWKT('SRID=4674;POINT (-39.772426 -2.62857)'))) / (select extract(epoch from '2026-07-22 14:30:09'::timestamp) - extract(epoch from '2026-07-22 14:30:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772525 -2.628543)'), GeomFromEWKT('SRID=4674;POINT (-39.772426 -2.62857)'))) / (select extract(epoch from '2026-07-22 14:30:09'::timestamp) - extract(epoch from '2026-07-22 14:30: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.772327 -2.628576)', '2026-07-22 14:30:15', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772426 -2.62857)'), GeomFromEWKT('SRID=4674;POINT (-39.772327 -2.628576)'))) / (select extract(epoch from '2026-07-22 14:30:15'::timestamp) - extract(epoch from '2026-07-22 14:30:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772426 -2.62857)'), GeomFromEWKT('SRID=4674;POINT (-39.772327 -2.628576)'))) / (select extract(epoch from '2026-07-22 14:30:15'::timestamp) - extract(epoch from '2026-07-22 14:30: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.772207 -2.628574)', '2026-07-22 14:30:21', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772327 -2.628576)'), GeomFromEWKT('SRID=4674;POINT (-39.772207 -2.628574)'))) / (select extract(epoch from '2026-07-22 14:30:21'::timestamp) - extract(epoch from '2026-07-22 14:30:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772327 -2.628576)'), GeomFromEWKT('SRID=4674;POINT (-39.772207 -2.628574)'))) / (select extract(epoch from '2026-07-22 14:30:21'::timestamp) - extract(epoch from '2026-07-22 14:30:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.772169 -2.628575)', '2026-07-22 14:30:23', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772207 -2.628574)'), GeomFromEWKT('SRID=4674;POINT (-39.772169 -2.628575)'))) / (select extract(epoch from '2026-07-22 14:30:23'::timestamp) - extract(epoch from '2026-07-22 14:30:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772207 -2.628574)'), GeomFromEWKT('SRID=4674;POINT (-39.772169 -2.628575)'))) / (select extract(epoch from '2026-07-22 14:30:23'::timestamp) - extract(epoch from '2026-07-22 14: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.772113 -2.628566)', '2026-07-22 14:30:26', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772169 -2.628575)'), GeomFromEWKT('SRID=4674;POINT (-39.772113 -2.628566)'))) / (select extract(epoch from '2026-07-22 14:30:26'::timestamp) - extract(epoch from '2026-07-22 14:30:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772169 -2.628575)'), GeomFromEWKT('SRID=4674;POINT (-39.772113 -2.628566)'))) / (select extract(epoch from '2026-07-22 14:30:26'::timestamp) - extract(epoch from '2026-07-22 14:30:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771987 -2.628582)', '2026-07-22 14:30:33', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772113 -2.628566)'), GeomFromEWKT('SRID=4674;POINT (-39.771987 -2.628582)'))) / (select extract(epoch from '2026-07-22 14:30:33'::timestamp) - extract(epoch from '2026-07-22 14:30:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772113 -2.628566)'), GeomFromEWKT('SRID=4674;POINT (-39.771987 -2.628582)'))) / (select extract(epoch from '2026-07-22 14:30:33'::timestamp) - extract(epoch from '2026-07-22 14:30: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.771895 -2.628598)', '2026-07-22 14:30:38', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771987 -2.628582)'), GeomFromEWKT('SRID=4674;POINT (-39.771895 -2.628598)'))) / (select extract(epoch from '2026-07-22 14:30:38'::timestamp) - extract(epoch from '2026-07-22 14:30:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771987 -2.628582)'), GeomFromEWKT('SRID=4674;POINT (-39.771895 -2.628598)'))) / (select extract(epoch from '2026-07-22 14:30:38'::timestamp) - extract(epoch from '2026-07-22 14:30: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.771784 -2.628605)', '2026-07-22 14:30:45', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771895 -2.628598)'), GeomFromEWKT('SRID=4674;POINT (-39.771784 -2.628605)'))) / (select extract(epoch from '2026-07-22 14:30:45'::timestamp) - extract(epoch from '2026-07-22 14:30:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771895 -2.628598)'), GeomFromEWKT('SRID=4674;POINT (-39.771784 -2.628605)'))) / (select extract(epoch from '2026-07-22 14:30:45'::timestamp) - extract(epoch from '2026-07-22 14:30:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771696 -2.628587)', '2026-07-22 14:30:51', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771784 -2.628605)'), GeomFromEWKT('SRID=4674;POINT (-39.771696 -2.628587)'))) / (select extract(epoch from '2026-07-22 14:30:51'::timestamp) - extract(epoch from '2026-07-22 14:30:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771784 -2.628605)'), GeomFromEWKT('SRID=4674;POINT (-39.771696 -2.628587)'))) / (select extract(epoch from '2026-07-22 14:30:51'::timestamp) - extract(epoch from '2026-07-22 14:30: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.771563 -2.628554)', '2026-07-22 14:30:58', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771696 -2.628587)'), GeomFromEWKT('SRID=4674;POINT (-39.771563 -2.628554)'))) / (select extract(epoch from '2026-07-22 14:30:58'::timestamp) - extract(epoch from '2026-07-22 14:30:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771696 -2.628587)'), GeomFromEWKT('SRID=4674;POINT (-39.771563 -2.628554)'))) / (select extract(epoch from '2026-07-22 14:30:58'::timestamp) - extract(epoch from '2026-07-22 14:30:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771498 -2.628519)', '2026-07-22 14:31:03', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771563 -2.628554)'), GeomFromEWKT('SRID=4674;POINT (-39.771498 -2.628519)'))) / (select extract(epoch from '2026-07-22 14:31:03'::timestamp) - extract(epoch from '2026-07-22 14:30:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771563 -2.628554)'), GeomFromEWKT('SRID=4674;POINT (-39.771498 -2.628519)'))) / (select extract(epoch from '2026-07-22 14:31:03'::timestamp) - extract(epoch from '2026-07-22 14:30:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771438 -2.628479)', '2026-07-22 14:31:08', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771498 -2.628519)'), GeomFromEWKT('SRID=4674;POINT (-39.771438 -2.628479)'))) / (select extract(epoch from '2026-07-22 14:31:08'::timestamp) - extract(epoch from '2026-07-22 14:31:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771498 -2.628519)'), GeomFromEWKT('SRID=4674;POINT (-39.771438 -2.628479)'))) / (select extract(epoch from '2026-07-22 14:31:08'::timestamp) - extract(epoch from '2026-07-22 14:31:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771342 -2.628457)', '2026-07-22 14:31:14', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771438 -2.628479)'), GeomFromEWKT('SRID=4674;POINT (-39.771342 -2.628457)'))) / (select extract(epoch from '2026-07-22 14:31:14'::timestamp) - extract(epoch from '2026-07-22 14:31:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771438 -2.628479)'), GeomFromEWKT('SRID=4674;POINT (-39.771342 -2.628457)'))) / (select extract(epoch from '2026-07-22 14:31:14'::timestamp) - extract(epoch from '2026-07-22 14: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.771261 -2.628412)', '2026-07-22 14:31:20', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771342 -2.628457)'), GeomFromEWKT('SRID=4674;POINT (-39.771261 -2.628412)'))) / (select extract(epoch from '2026-07-22 14:31:20'::timestamp) - extract(epoch from '2026-07-22 14:31:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771342 -2.628457)'), GeomFromEWKT('SRID=4674;POINT (-39.771261 -2.628412)'))) / (select extract(epoch from '2026-07-22 14:31:20'::timestamp) - extract(epoch from '2026-07-22 14:31: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.771218 -2.628353)', '2026-07-22 14:31:25', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771261 -2.628412)'), GeomFromEWKT('SRID=4674;POINT (-39.771218 -2.628353)'))) / (select extract(epoch from '2026-07-22 14:31:25'::timestamp) - extract(epoch from '2026-07-22 14:31:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771261 -2.628412)'), GeomFromEWKT('SRID=4674;POINT (-39.771218 -2.628353)'))) / (select extract(epoch from '2026-07-22 14:31:25'::timestamp) - extract(epoch from '2026-07-22 14:31: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.771197 -2.62832)', '2026-07-22 14:31:29', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771218 -2.628353)'), GeomFromEWKT('SRID=4674;POINT (-39.771197 -2.62832)'))) / (select extract(epoch from '2026-07-22 14:31:29'::timestamp) - extract(epoch from '2026-07-22 14:31:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771218 -2.628353)'), GeomFromEWKT('SRID=4674;POINT (-39.771197 -2.62832)'))) / (select extract(epoch from '2026-07-22 14:31:29'::timestamp) - extract(epoch from '2026-07-22 14:31:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771183 -2.628306)', '2026-07-22 14:31:31', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771197 -2.62832)'), GeomFromEWKT('SRID=4674;POINT (-39.771183 -2.628306)'))) / (select extract(epoch from '2026-07-22 14:31:31'::timestamp) - extract(epoch from '2026-07-22 14:31:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771197 -2.62832)'), GeomFromEWKT('SRID=4674;POINT (-39.771183 -2.628306)'))) / (select extract(epoch from '2026-07-22 14:31:31'::timestamp) - extract(epoch from '2026-07-22 14:31:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771165 -2.628287)', '2026-07-22 14:31:36', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771183 -2.628306)'), GeomFromEWKT('SRID=4674;POINT (-39.771165 -2.628287)'))) / (select extract(epoch from '2026-07-22 14:31:36'::timestamp) - extract(epoch from '2026-07-22 14:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771183 -2.628306)'), GeomFromEWKT('SRID=4674;POINT (-39.771165 -2.628287)'))) / (select extract(epoch from '2026-07-22 14:31:36'::timestamp) - extract(epoch from '2026-07-22 14:31:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771166 -2.628258)', '2026-07-22 14:31:43', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771165 -2.628287)'), GeomFromEWKT('SRID=4674;POINT (-39.771166 -2.628258)'))) / (select extract(epoch from '2026-07-22 14:31:43'::timestamp) - extract(epoch from '2026-07-22 14:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771165 -2.628287)'), GeomFromEWKT('SRID=4674;POINT (-39.771166 -2.628258)'))) / (select extract(epoch from '2026-07-22 14:31:43'::timestamp) - extract(epoch from '2026-07-22 14:31:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771175 -2.628239)', '2026-07-22 14:31:52', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771166 -2.628258)'), GeomFromEWKT('SRID=4674;POINT (-39.771175 -2.628239)'))) / (select extract(epoch from '2026-07-22 14:31:52'::timestamp) - extract(epoch from '2026-07-22 14:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771166 -2.628258)'), GeomFromEWKT('SRID=4674;POINT (-39.771175 -2.628239)'))) / (select extract(epoch from '2026-07-22 14:31:52'::timestamp) - extract(epoch from '2026-07-22 14:31:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771209 -2.628215)', '2026-07-22 14:32:00', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771175 -2.628239)'), GeomFromEWKT('SRID=4674;POINT (-39.771209 -2.628215)'))) / (select extract(epoch from '2026-07-22 14:32:00'::timestamp) - extract(epoch from '2026-07-22 14:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771175 -2.628239)'), GeomFromEWKT('SRID=4674;POINT (-39.771209 -2.628215)'))) / (select extract(epoch from '2026-07-22 14:32:00'::timestamp) - extract(epoch from '2026-07-22 14: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.771239 -2.628195)', '2026-07-22 14:32:06', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771209 -2.628215)'), GeomFromEWKT('SRID=4674;POINT (-39.771239 -2.628195)'))) / (select extract(epoch from '2026-07-22 14:32:06'::timestamp) - extract(epoch from '2026-07-22 14:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771209 -2.628215)'), GeomFromEWKT('SRID=4674;POINT (-39.771239 -2.628195)'))) / (select extract(epoch from '2026-07-22 14:32:06'::timestamp) - extract(epoch from '2026-07-22 14:32:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771248 -2.628188)', '2026-07-22 14:32:07', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771239 -2.628195)'), GeomFromEWKT('SRID=4674;POINT (-39.771248 -2.628188)'))) / (select extract(epoch from '2026-07-22 14:32:07'::timestamp) - extract(epoch from '2026-07-22 14:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771239 -2.628195)'), GeomFromEWKT('SRID=4674;POINT (-39.771248 -2.628188)'))) / (select extract(epoch from '2026-07-22 14:32:07'::timestamp) - extract(epoch from '2026-07-22 14:32:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771271 -2.628175)', '2026-07-22 14:32:12', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771248 -2.628188)'), GeomFromEWKT('SRID=4674;POINT (-39.771271 -2.628175)'))) / (select extract(epoch from '2026-07-22 14:32:12'::timestamp) - extract(epoch from '2026-07-22 14:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771248 -2.628188)'), GeomFromEWKT('SRID=4674;POINT (-39.771271 -2.628175)'))) / (select extract(epoch from '2026-07-22 14:32:12'::timestamp) - extract(epoch from '2026-07-22 14: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.771289 -2.628165)', '2026-07-22 14:32:14', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771271 -2.628175)'), GeomFromEWKT('SRID=4674;POINT (-39.771289 -2.628165)'))) / (select extract(epoch from '2026-07-22 14:32:14'::timestamp) - extract(epoch from '2026-07-22 14:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771271 -2.628175)'), GeomFromEWKT('SRID=4674;POINT (-39.771289 -2.628165)'))) / (select extract(epoch from '2026-07-22 14:32:14'::timestamp) - extract(epoch from '2026-07-22 14:32:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771298 -2.628151)', '2026-07-22 14:32:17', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771289 -2.628165)'), GeomFromEWKT('SRID=4674;POINT (-39.771298 -2.628151)'))) / (select extract(epoch from '2026-07-22 14:32:17'::timestamp) - extract(epoch from '2026-07-22 14:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771289 -2.628165)'), GeomFromEWKT('SRID=4674;POINT (-39.771298 -2.628151)'))) / (select extract(epoch from '2026-07-22 14:32:17'::timestamp) - extract(epoch from '2026-07-22 14:32:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771352 -2.628127)', '2026-07-22 14:32:25', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771298 -2.628151)'), GeomFromEWKT('SRID=4674;POINT (-39.771352 -2.628127)'))) / (select extract(epoch from '2026-07-22 14:32:25'::timestamp) - extract(epoch from '2026-07-22 14:32:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771298 -2.628151)'), GeomFromEWKT('SRID=4674;POINT (-39.771352 -2.628127)'))) / (select extract(epoch from '2026-07-22 14:32:25'::timestamp) - extract(epoch from '2026-07-22 14: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.771378 -2.628114)', '2026-07-22 14:32:33', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771352 -2.628127)'), GeomFromEWKT('SRID=4674;POINT (-39.771378 -2.628114)'))) / (select extract(epoch from '2026-07-22 14:32:33'::timestamp) - extract(epoch from '2026-07-22 14:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771352 -2.628127)'), GeomFromEWKT('SRID=4674;POINT (-39.771378 -2.628114)'))) / (select extract(epoch from '2026-07-22 14:32:33'::timestamp) - extract(epoch from '2026-07-22 14: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.771401 -2.62809)', '2026-07-22 14:32:39', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771378 -2.628114)'), GeomFromEWKT('SRID=4674;POINT (-39.771401 -2.62809)'))) / (select extract(epoch from '2026-07-22 14:32:39'::timestamp) - extract(epoch from '2026-07-22 14:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771378 -2.628114)'), GeomFromEWKT('SRID=4674;POINT (-39.771401 -2.62809)'))) / (select extract(epoch from '2026-07-22 14:32:39'::timestamp) - extract(epoch from '2026-07-22 14:32: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.771428 -2.628056)', '2026-07-22 14:32:51', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771401 -2.62809)'), GeomFromEWKT('SRID=4674;POINT (-39.771428 -2.628056)'))) / (select extract(epoch from '2026-07-22 14:32:51'::timestamp) - extract(epoch from '2026-07-22 14:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771401 -2.62809)'), GeomFromEWKT('SRID=4674;POINT (-39.771428 -2.628056)'))) / (select extract(epoch from '2026-07-22 14:32:51'::timestamp) - extract(epoch from '2026-07-22 14:32: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.771447 -2.628024)', '2026-07-22 14:32:58', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771428 -2.628056)'), GeomFromEWKT('SRID=4674;POINT (-39.771447 -2.628024)'))) / (select extract(epoch from '2026-07-22 14:32:58'::timestamp) - extract(epoch from '2026-07-22 14:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771428 -2.628056)'), GeomFromEWKT('SRID=4674;POINT (-39.771447 -2.628024)'))) / (select extract(epoch from '2026-07-22 14:32:58'::timestamp) - extract(epoch from '2026-07-22 14:32: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.771451 -2.628018)', '2026-07-22 14:32:59', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771447 -2.628024)'), GeomFromEWKT('SRID=4674;POINT (-39.771451 -2.628018)'))) / (select extract(epoch from '2026-07-22 14:32:59'::timestamp) - extract(epoch from '2026-07-22 14:32:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771447 -2.628024)'), GeomFromEWKT('SRID=4674;POINT (-39.771451 -2.628018)'))) / (select extract(epoch from '2026-07-22 14:32:59'::timestamp) - extract(epoch from '2026-07-22 14: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.771483 -2.628001)', '2026-07-22 14:33:04', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771451 -2.628018)'), GeomFromEWKT('SRID=4674;POINT (-39.771483 -2.628001)'))) / (select extract(epoch from '2026-07-22 14:33:04'::timestamp) - extract(epoch from '2026-07-22 14:32:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771451 -2.628018)'), GeomFromEWKT('SRID=4674;POINT (-39.771483 -2.628001)'))) / (select extract(epoch from '2026-07-22 14:33:04'::timestamp) - extract(epoch from '2026-07-22 14:32:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771506 -2.627955)', '2026-07-22 14:33:14', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771483 -2.628001)'), GeomFromEWKT('SRID=4674;POINT (-39.771506 -2.627955)'))) / (select extract(epoch from '2026-07-22 14:33:14'::timestamp) - extract(epoch from '2026-07-22 14:33:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771483 -2.628001)'), GeomFromEWKT('SRID=4674;POINT (-39.771506 -2.627955)'))) / (select extract(epoch from '2026-07-22 14:33:14'::timestamp) - extract(epoch from '2026-07-22 14:33:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771483 -2.62793)', '2026-07-22 14:33:21', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771506 -2.627955)'), GeomFromEWKT('SRID=4674;POINT (-39.771483 -2.62793)'))) / (select extract(epoch from '2026-07-22 14:33:21'::timestamp) - extract(epoch from '2026-07-22 14:33:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771506 -2.627955)'), GeomFromEWKT('SRID=4674;POINT (-39.771483 -2.62793)'))) / (select extract(epoch from '2026-07-22 14:33:21'::timestamp) - extract(epoch from '2026-07-22 14:33: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.771471 -2.627886)', '2026-07-22 14:33:34', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771483 -2.62793)'), GeomFromEWKT('SRID=4674;POINT (-39.771471 -2.627886)'))) / (select extract(epoch from '2026-07-22 14:33:34'::timestamp) - extract(epoch from '2026-07-22 14:33:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771483 -2.62793)'), GeomFromEWKT('SRID=4674;POINT (-39.771471 -2.627886)'))) / (select extract(epoch from '2026-07-22 14:33:34'::timestamp) - extract(epoch from '2026-07-22 14:33: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.771481 -2.627855)', '2026-07-22 14:33:42', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771471 -2.627886)'), GeomFromEWKT('SRID=4674;POINT (-39.771481 -2.627855)'))) / (select extract(epoch from '2026-07-22 14:33:42'::timestamp) - extract(epoch from '2026-07-22 14:33:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771471 -2.627886)'), GeomFromEWKT('SRID=4674;POINT (-39.771481 -2.627855)'))) / (select extract(epoch from '2026-07-22 14:33:42'::timestamp) - extract(epoch from '2026-07-22 14:33: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.7715 -2.627814)', '2026-07-22 14:33:51', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771481 -2.627855)'), GeomFromEWKT('SRID=4674;POINT (-39.7715 -2.627814)'))) / (select extract(epoch from '2026-07-22 14:33:51'::timestamp) - extract(epoch from '2026-07-22 14:33:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771481 -2.627855)'), GeomFromEWKT('SRID=4674;POINT (-39.7715 -2.627814)'))) / (select extract(epoch from '2026-07-22 14:33:51'::timestamp) - extract(epoch from '2026-07-22 14: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.771494 -2.627792)', '2026-07-22 14:33:57', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7715 -2.627814)'), GeomFromEWKT('SRID=4674;POINT (-39.771494 -2.627792)'))) / (select extract(epoch from '2026-07-22 14:33:57'::timestamp) - extract(epoch from '2026-07-22 14:33:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7715 -2.627814)'), GeomFromEWKT('SRID=4674;POINT (-39.771494 -2.627792)'))) / (select extract(epoch from '2026-07-22 14:33:57'::timestamp) - extract(epoch from '2026-07-22 14: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.771499 -2.627792)', '2026-07-22 14:34:03', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771494 -2.627792)'), GeomFromEWKT('SRID=4674;POINT (-39.771499 -2.627792)'))) / (select extract(epoch from '2026-07-22 14:34:03'::timestamp) - extract(epoch from '2026-07-22 14:33:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771494 -2.627792)'), GeomFromEWKT('SRID=4674;POINT (-39.771499 -2.627792)'))) / (select extract(epoch from '2026-07-22 14:34:03'::timestamp) - extract(epoch from '2026-07-22 14:33: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.771528 -2.627751)', '2026-07-22 14:34:23', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771499 -2.627792)'), GeomFromEWKT('SRID=4674;POINT (-39.771528 -2.627751)'))) / (select extract(epoch from '2026-07-22 14:34:23'::timestamp) - extract(epoch from '2026-07-22 14:34:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771499 -2.627792)'), GeomFromEWKT('SRID=4674;POINT (-39.771528 -2.627751)'))) / (select extract(epoch from '2026-07-22 14:34:23'::timestamp) - extract(epoch from '2026-07-22 14:34: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.77149 -2.627738)', '2026-07-22 14:34:31', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771528 -2.627751)'), GeomFromEWKT('SRID=4674;POINT (-39.77149 -2.627738)'))) / (select extract(epoch from '2026-07-22 14:34:31'::timestamp) - extract(epoch from '2026-07-22 14:34:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771528 -2.627751)'), GeomFromEWKT('SRID=4674;POINT (-39.77149 -2.627738)'))) / (select extract(epoch from '2026-07-22 14:34:31'::timestamp) - extract(epoch from '2026-07-22 14:34:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771471 -2.627788)', '2026-07-22 14:34:38', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77149 -2.627738)'), GeomFromEWKT('SRID=4674;POINT (-39.771471 -2.627788)'))) / (select extract(epoch from '2026-07-22 14:34:38'::timestamp) - extract(epoch from '2026-07-22 14:34:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77149 -2.627738)'), GeomFromEWKT('SRID=4674;POINT (-39.771471 -2.627788)'))) / (select extract(epoch from '2026-07-22 14:34:38'::timestamp) - extract(epoch from '2026-07-22 14:34: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.771492 -2.627881)', '2026-07-22 14:34:45', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771471 -2.627788)'), GeomFromEWKT('SRID=4674;POINT (-39.771492 -2.627881)'))) / (select extract(epoch from '2026-07-22 14:34:45'::timestamp) - extract(epoch from '2026-07-22 14:34:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771471 -2.627788)'), GeomFromEWKT('SRID=4674;POINT (-39.771492 -2.627881)'))) / (select extract(epoch from '2026-07-22 14:34:45'::timestamp) - extract(epoch from '2026-07-22 14:34: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.771516 -2.627988)', '2026-07-22 14:34:51', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771492 -2.627881)'), GeomFromEWKT('SRID=4674;POINT (-39.771516 -2.627988)'))) / (select extract(epoch from '2026-07-22 14:34:51'::timestamp) - extract(epoch from '2026-07-22 14:34:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771492 -2.627881)'), GeomFromEWKT('SRID=4674;POINT (-39.771516 -2.627988)'))) / (select extract(epoch from '2026-07-22 14:34:51'::timestamp) - extract(epoch from '2026-07-22 14:34:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771524 -2.628085)', '2026-07-22 14:34:56', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771516 -2.627988)'), GeomFromEWKT('SRID=4674;POINT (-39.771524 -2.628085)'))) / (select extract(epoch from '2026-07-22 14:34:56'::timestamp) - extract(epoch from '2026-07-22 14:34:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771516 -2.627988)'), GeomFromEWKT('SRID=4674;POINT (-39.771524 -2.628085)'))) / (select extract(epoch from '2026-07-22 14:34:56'::timestamp) - extract(epoch from '2026-07-22 14: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.771516 -2.628185)', '2026-07-22 14:35:01', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771524 -2.628085)'), GeomFromEWKT('SRID=4674;POINT (-39.771516 -2.628185)'))) / (select extract(epoch from '2026-07-22 14:35:01'::timestamp) - extract(epoch from '2026-07-22 14:34:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771524 -2.628085)'), GeomFromEWKT('SRID=4674;POINT (-39.771516 -2.628185)'))) / (select extract(epoch from '2026-07-22 14:35:01'::timestamp) - extract(epoch from '2026-07-22 14:34:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771507 -2.628278)', '2026-07-22 14:35:06', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771516 -2.628185)'), GeomFromEWKT('SRID=4674;POINT (-39.771507 -2.628278)'))) / (select extract(epoch from '2026-07-22 14:35:06'::timestamp) - extract(epoch from '2026-07-22 14:35:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771516 -2.628185)'), GeomFromEWKT('SRID=4674;POINT (-39.771507 -2.628278)'))) / (select extract(epoch from '2026-07-22 14:35:06'::timestamp) - extract(epoch from '2026-07-22 14:35: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.771486 -2.628384)', '2026-07-22 14:35:12', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771507 -2.628278)'), GeomFromEWKT('SRID=4674;POINT (-39.771486 -2.628384)'))) / (select extract(epoch from '2026-07-22 14:35:12'::timestamp) - extract(epoch from '2026-07-22 14:35:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771507 -2.628278)'), GeomFromEWKT('SRID=4674;POINT (-39.771486 -2.628384)'))) / (select extract(epoch from '2026-07-22 14:35:12'::timestamp) - extract(epoch from '2026-07-22 14:35: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.771453 -2.628514)', '2026-07-22 14:35:20', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771486 -2.628384)'), GeomFromEWKT('SRID=4674;POINT (-39.771453 -2.628514)'))) / (select extract(epoch from '2026-07-22 14:35:20'::timestamp) - extract(epoch from '2026-07-22 14:35:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771486 -2.628384)'), GeomFromEWKT('SRID=4674;POINT (-39.771453 -2.628514)'))) / (select extract(epoch from '2026-07-22 14:35:20'::timestamp) - extract(epoch from '2026-07-22 14:35: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.771435 -2.628612)', '2026-07-22 14:35:25', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771453 -2.628514)'), GeomFromEWKT('SRID=4674;POINT (-39.771435 -2.628612)'))) / (select extract(epoch from '2026-07-22 14:35:25'::timestamp) - extract(epoch from '2026-07-22 14:35:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771453 -2.628514)'), GeomFromEWKT('SRID=4674;POINT (-39.771435 -2.628612)'))) / (select extract(epoch from '2026-07-22 14:35:25'::timestamp) - extract(epoch from '2026-07-22 14: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.771401 -2.628749)', '2026-07-22 14:35:32', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771435 -2.628612)'), GeomFromEWKT('SRID=4674;POINT (-39.771401 -2.628749)'))) / (select extract(epoch from '2026-07-22 14:35:32'::timestamp) - extract(epoch from '2026-07-22 14:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771435 -2.628612)'), GeomFromEWKT('SRID=4674;POINT (-39.771401 -2.628749)'))) / (select extract(epoch from '2026-07-22 14:35:32'::timestamp) - extract(epoch from '2026-07-22 14:35: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.771357 -2.628882)', '2026-07-22 14:35:38', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771401 -2.628749)'), GeomFromEWKT('SRID=4674;POINT (-39.771357 -2.628882)'))) / (select extract(epoch from '2026-07-22 14:35:38'::timestamp) - extract(epoch from '2026-07-22 14:35:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771401 -2.628749)'), GeomFromEWKT('SRID=4674;POINT (-39.771357 -2.628882)'))) / (select extract(epoch from '2026-07-22 14:35:38'::timestamp) - extract(epoch from '2026-07-22 14:35:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771324 -2.628971)', '2026-07-22 14:35:43', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771357 -2.628882)'), GeomFromEWKT('SRID=4674;POINT (-39.771324 -2.628971)'))) / (select extract(epoch from '2026-07-22 14:35:43'::timestamp) - extract(epoch from '2026-07-22 14:35:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771357 -2.628882)'), GeomFromEWKT('SRID=4674;POINT (-39.771324 -2.628971)'))) / (select extract(epoch from '2026-07-22 14:35:43'::timestamp) - extract(epoch from '2026-07-22 14:35: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.771299 -2.629064)', '2026-07-22 14:35:48', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771324 -2.628971)'), GeomFromEWKT('SRID=4674;POINT (-39.771299 -2.629064)'))) / (select extract(epoch from '2026-07-22 14:35:48'::timestamp) - extract(epoch from '2026-07-22 14:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771324 -2.628971)'), GeomFromEWKT('SRID=4674;POINT (-39.771299 -2.629064)'))) / (select extract(epoch from '2026-07-22 14:35:48'::timestamp) - extract(epoch from '2026-07-22 14: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.771266 -2.629175)', '2026-07-22 14:35:55', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771299 -2.629064)'), GeomFromEWKT('SRID=4674;POINT (-39.771266 -2.629175)'))) / (select extract(epoch from '2026-07-22 14:35:55'::timestamp) - extract(epoch from '2026-07-22 14:35:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771299 -2.629064)'), GeomFromEWKT('SRID=4674;POINT (-39.771266 -2.629175)'))) / (select extract(epoch from '2026-07-22 14:35:55'::timestamp) - extract(epoch from '2026-07-22 14:35:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771238 -2.629277)', '2026-07-22 14:36:01', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771266 -2.629175)'), GeomFromEWKT('SRID=4674;POINT (-39.771238 -2.629277)'))) / (select extract(epoch from '2026-07-22 14:36:01'::timestamp) - extract(epoch from '2026-07-22 14:35:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771266 -2.629175)'), GeomFromEWKT('SRID=4674;POINT (-39.771238 -2.629277)'))) / (select extract(epoch from '2026-07-22 14:36:01'::timestamp) - extract(epoch from '2026-07-22 14: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.771195 -2.629384)', '2026-07-22 14:36:08', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771238 -2.629277)'), GeomFromEWKT('SRID=4674;POINT (-39.771195 -2.629384)'))) / (select extract(epoch from '2026-07-22 14:36:08'::timestamp) - extract(epoch from '2026-07-22 14:36:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771238 -2.629277)'), GeomFromEWKT('SRID=4674;POINT (-39.771195 -2.629384)'))) / (select extract(epoch from '2026-07-22 14:36:08'::timestamp) - extract(epoch from '2026-07-22 14:36:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
