 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.507576 -3.518017)', '2026-07-18 16:15:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507546 -3.517931)'), GeomFromEWKT('SRID=4674;POINT (-38.507576 -3.518017)'))) / (select extract(epoch from '2026-07-18 16:15:15'::timestamp) - extract(epoch from '2026-07-18 16:15:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507546 -3.517931)'), GeomFromEWKT('SRID=4674;POINT (-38.507576 -3.518017)'))) / (select extract(epoch from '2026-07-18 16:15:15'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.507605 -3.518097)', '2026-07-18 16:15:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507576 -3.518017)'), GeomFromEWKT('SRID=4674;POINT (-38.507605 -3.518097)'))) / (select extract(epoch from '2026-07-18 16:15:20'::timestamp) - extract(epoch from '2026-07-18 16:15:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507576 -3.518017)'), GeomFromEWKT('SRID=4674;POINT (-38.507605 -3.518097)'))) / (select extract(epoch from '2026-07-18 16:15:20'::timestamp) - extract(epoch from '2026-07-18 16:15: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'), 47391, 'SRID=4674;POINT (-38.507643 -3.51821)', '2026-07-18 16:15:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507605 -3.518097)'), GeomFromEWKT('SRID=4674;POINT (-38.507643 -3.51821)'))) / (select extract(epoch from '2026-07-18 16:15:27'::timestamp) - extract(epoch from '2026-07-18 16:15:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507605 -3.518097)'), GeomFromEWKT('SRID=4674;POINT (-38.507643 -3.51821)'))) / (select extract(epoch from '2026-07-18 16:15:27'::timestamp) - extract(epoch from '2026-07-18 16:15:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.507667 -3.518262)', '2026-07-18 16:15:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507643 -3.51821)'), GeomFromEWKT('SRID=4674;POINT (-38.507667 -3.518262)'))) / (select extract(epoch from '2026-07-18 16:15:30'::timestamp) - extract(epoch from '2026-07-18 16:15:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507643 -3.51821)'), GeomFromEWKT('SRID=4674;POINT (-38.507667 -3.518262)'))) / (select extract(epoch from '2026-07-18 16:15:30'::timestamp) - extract(epoch from '2026-07-18 16:15:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.507671 -3.518281)', '2026-07-18 16:15:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507667 -3.518262)'), GeomFromEWKT('SRID=4674;POINT (-38.507671 -3.518281)'))) / (select extract(epoch from '2026-07-18 16:15:31'::timestamp) - extract(epoch from '2026-07-18 16:15:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507667 -3.518262)'), GeomFromEWKT('SRID=4674;POINT (-38.507671 -3.518281)'))) / (select extract(epoch from '2026-07-18 16:15:31'::timestamp) - extract(epoch from '2026-07-18 16:15: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'), 47391, 'SRID=4674;POINT (-38.507705 -3.518377)', '2026-07-18 16:15:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507671 -3.518281)'), GeomFromEWKT('SRID=4674;POINT (-38.507705 -3.518377)'))) / (select extract(epoch from '2026-07-18 16:15:36'::timestamp) - extract(epoch from '2026-07-18 16:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507671 -3.518281)'), GeomFromEWKT('SRID=4674;POINT (-38.507705 -3.518377)'))) / (select extract(epoch from '2026-07-18 16:15:36'::timestamp) - extract(epoch from '2026-07-18 16:15:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.507759 -3.518513)', '2026-07-18 16:15:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507705 -3.518377)'), GeomFromEWKT('SRID=4674;POINT (-38.507759 -3.518513)'))) / (select extract(epoch from '2026-07-18 16:15:43'::timestamp) - extract(epoch from '2026-07-18 16:15:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507705 -3.518377)'), GeomFromEWKT('SRID=4674;POINT (-38.507759 -3.518513)'))) / (select extract(epoch from '2026-07-18 16:15:43'::timestamp) - extract(epoch from '2026-07-18 16:15:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.507799 -3.518609)', '2026-07-18 16:15:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507759 -3.518513)'), GeomFromEWKT('SRID=4674;POINT (-38.507799 -3.518609)'))) / (select extract(epoch from '2026-07-18 16:15:48'::timestamp) - extract(epoch from '2026-07-18 16:15:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507759 -3.518513)'), GeomFromEWKT('SRID=4674;POINT (-38.507799 -3.518609)'))) / (select extract(epoch from '2026-07-18 16:15:48'::timestamp) - extract(epoch from '2026-07-18 16:15:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.50782 -3.518702)', '2026-07-18 16:15:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507799 -3.518609)'), GeomFromEWKT('SRID=4674;POINT (-38.50782 -3.518702)'))) / (select extract(epoch from '2026-07-18 16:15:53'::timestamp) - extract(epoch from '2026-07-18 16:15:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507799 -3.518609)'), GeomFromEWKT('SRID=4674;POINT (-38.50782 -3.518702)'))) / (select extract(epoch from '2026-07-18 16:15:53'::timestamp) - extract(epoch from '2026-07-18 16:15:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.507842 -3.518783)', '2026-07-18 16:15:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50782 -3.518702)'), GeomFromEWKT('SRID=4674;POINT (-38.507842 -3.518783)'))) / (select extract(epoch from '2026-07-18 16:15:58'::timestamp) - extract(epoch from '2026-07-18 16:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50782 -3.518702)'), GeomFromEWKT('SRID=4674;POINT (-38.507842 -3.518783)'))) / (select extract(epoch from '2026-07-18 16:15:58'::timestamp) - extract(epoch from '2026-07-18 16:15: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'), 47391, 'SRID=4674;POINT (-38.50785 -3.518809)', '2026-07-18 16:16:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507842 -3.518783)'), GeomFromEWKT('SRID=4674;POINT (-38.50785 -3.518809)'))) / (select extract(epoch from '2026-07-18 16:16:00'::timestamp) - extract(epoch from '2026-07-18 16:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507842 -3.518783)'), GeomFromEWKT('SRID=4674;POINT (-38.50785 -3.518809)'))) / (select extract(epoch from '2026-07-18 16:16:00'::timestamp) - extract(epoch from '2026-07-18 16:15: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'), 47391, 'SRID=4674;POINT (-38.507875 -3.518844)', '2026-07-18 16:16:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50785 -3.518809)'), GeomFromEWKT('SRID=4674;POINT (-38.507875 -3.518844)'))) / (select extract(epoch from '2026-07-18 16:16:03'::timestamp) - extract(epoch from '2026-07-18 16:16:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50785 -3.518809)'), GeomFromEWKT('SRID=4674;POINT (-38.507875 -3.518844)'))) / (select extract(epoch from '2026-07-18 16:16:03'::timestamp) - extract(epoch from '2026-07-18 16:16: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'), 47391, 'SRID=4674;POINT (-38.507919 -3.518934)', '2026-07-18 16:16:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507875 -3.518844)'), GeomFromEWKT('SRID=4674;POINT (-38.507919 -3.518934)'))) / (select extract(epoch from '2026-07-18 16:16:08'::timestamp) - extract(epoch from '2026-07-18 16:16:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507875 -3.518844)'), GeomFromEWKT('SRID=4674;POINT (-38.507919 -3.518934)'))) / (select extract(epoch from '2026-07-18 16:16:08'::timestamp) - extract(epoch from '2026-07-18 16:16: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'), 47391, 'SRID=4674;POINT (-38.507959 -3.519044)', '2026-07-18 16:16:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507919 -3.518934)'), GeomFromEWKT('SRID=4674;POINT (-38.507959 -3.519044)'))) / (select extract(epoch from '2026-07-18 16:16:14'::timestamp) - extract(epoch from '2026-07-18 16:16:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507919 -3.518934)'), GeomFromEWKT('SRID=4674;POINT (-38.507959 -3.519044)'))) / (select extract(epoch from '2026-07-18 16:16:14'::timestamp) - extract(epoch from '2026-07-18 16:16: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'), 47391, 'SRID=4674;POINT (-38.507959 -3.519087)', '2026-07-18 16:16:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507959 -3.519044)'), GeomFromEWKT('SRID=4674;POINT (-38.507959 -3.519087)'))) / (select extract(epoch from '2026-07-18 16:16:17'::timestamp) - extract(epoch from '2026-07-18 16:16:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507959 -3.519044)'), GeomFromEWKT('SRID=4674;POINT (-38.507959 -3.519087)'))) / (select extract(epoch from '2026-07-18 16:16:17'::timestamp) - extract(epoch from '2026-07-18 16:16: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'), 47391, 'SRID=4674;POINT (-38.507974 -3.519119)', '2026-07-18 16:16:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507959 -3.519087)'), GeomFromEWKT('SRID=4674;POINT (-38.507974 -3.519119)'))) / (select extract(epoch from '2026-07-18 16:16:19'::timestamp) - extract(epoch from '2026-07-18 16:16:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507959 -3.519087)'), GeomFromEWKT('SRID=4674;POINT (-38.507974 -3.519119)'))) / (select extract(epoch from '2026-07-18 16:16:19'::timestamp) - extract(epoch from '2026-07-18 16:16: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'), 47391, 'SRID=4674;POINT (-38.507982 -3.519167)', '2026-07-18 16:16:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507974 -3.519119)'), GeomFromEWKT('SRID=4674;POINT (-38.507982 -3.519167)'))) / (select extract(epoch from '2026-07-18 16:16:22'::timestamp) - extract(epoch from '2026-07-18 16:16:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507974 -3.519119)'), GeomFromEWKT('SRID=4674;POINT (-38.507982 -3.519167)'))) / (select extract(epoch from '2026-07-18 16:16:22'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.507993 -3.519194)', '2026-07-18 16:16:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507982 -3.519167)'), GeomFromEWKT('SRID=4674;POINT (-38.507993 -3.519194)'))) / (select extract(epoch from '2026-07-18 16:16:24'::timestamp) - extract(epoch from '2026-07-18 16:16:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507982 -3.519167)'), GeomFromEWKT('SRID=4674;POINT (-38.507993 -3.519194)'))) / (select extract(epoch from '2026-07-18 16:16:24'::timestamp) - extract(epoch from '2026-07-18 16:16:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.508026 -3.519307)', '2026-07-18 16:16:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507993 -3.519194)'), GeomFromEWKT('SRID=4674;POINT (-38.508026 -3.519307)'))) / (select extract(epoch from '2026-07-18 16:16:31'::timestamp) - extract(epoch from '2026-07-18 16:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507993 -3.519194)'), GeomFromEWKT('SRID=4674;POINT (-38.508026 -3.519307)'))) / (select extract(epoch from '2026-07-18 16:16:31'::timestamp) - extract(epoch from '2026-07-18 16:16:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.50807 -3.51944)', '2026-07-18 16:16:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508026 -3.519307)'), GeomFromEWKT('SRID=4674;POINT (-38.50807 -3.51944)'))) / (select extract(epoch from '2026-07-18 16:16:38'::timestamp) - extract(epoch from '2026-07-18 16:16:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508026 -3.519307)'), GeomFromEWKT('SRID=4674;POINT (-38.50807 -3.51944)'))) / (select extract(epoch from '2026-07-18 16:16:38'::timestamp) - extract(epoch from '2026-07-18 16:16:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.508108 -3.519553)', '2026-07-18 16:16:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50807 -3.51944)'), GeomFromEWKT('SRID=4674;POINT (-38.508108 -3.519553)'))) / (select extract(epoch from '2026-07-18 16:16:44'::timestamp) - extract(epoch from '2026-07-18 16:16:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50807 -3.51944)'), GeomFromEWKT('SRID=4674;POINT (-38.508108 -3.519553)'))) / (select extract(epoch from '2026-07-18 16:16:44'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.50815 -3.519664)', '2026-07-18 16:16:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508108 -3.519553)'), GeomFromEWKT('SRID=4674;POINT (-38.50815 -3.519664)'))) / (select extract(epoch from '2026-07-18 16:16:50'::timestamp) - extract(epoch from '2026-07-18 16:16:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508108 -3.519553)'), GeomFromEWKT('SRID=4674;POINT (-38.50815 -3.519664)'))) / (select extract(epoch from '2026-07-18 16:16:50'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.508175 -3.519752)', '2026-07-18 16:16:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50815 -3.519664)'), GeomFromEWKT('SRID=4674;POINT (-38.508175 -3.519752)'))) / (select extract(epoch from '2026-07-18 16:16:55'::timestamp) - extract(epoch from '2026-07-18 16:16:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50815 -3.519664)'), GeomFromEWKT('SRID=4674;POINT (-38.508175 -3.519752)'))) / (select extract(epoch from '2026-07-18 16:16:55'::timestamp) - extract(epoch from '2026-07-18 16:16: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'), 47391, 'SRID=4674;POINT (-38.508193 -3.519832)', '2026-07-18 16:16:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508175 -3.519752)'), GeomFromEWKT('SRID=4674;POINT (-38.508193 -3.519832)'))) / (select extract(epoch from '2026-07-18 16:16:59'::timestamp) - extract(epoch from '2026-07-18 16:16:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508175 -3.519752)'), GeomFromEWKT('SRID=4674;POINT (-38.508193 -3.519832)'))) / (select extract(epoch from '2026-07-18 16:16:59'::timestamp) - extract(epoch from '2026-07-18 16:16:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.508197 -3.51985)', '2026-07-18 16:17:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508193 -3.519832)'), GeomFromEWKT('SRID=4674;POINT (-38.508197 -3.51985)'))) / (select extract(epoch from '2026-07-18 16:17:00'::timestamp) - extract(epoch from '2026-07-18 16:16:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508193 -3.519832)'), GeomFromEWKT('SRID=4674;POINT (-38.508197 -3.51985)'))) / (select extract(epoch from '2026-07-18 16:17:00'::timestamp) - extract(epoch from '2026-07-18 16:16: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'), 47391, 'SRID=4674;POINT (-38.508219 -3.519908)', '2026-07-18 16:17:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508197 -3.51985)'), GeomFromEWKT('SRID=4674;POINT (-38.508219 -3.519908)'))) / (select extract(epoch from '2026-07-18 16:17:03'::timestamp) - extract(epoch from '2026-07-18 16:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508197 -3.51985)'), GeomFromEWKT('SRID=4674;POINT (-38.508219 -3.519908)'))) / (select extract(epoch from '2026-07-18 16:17:03'::timestamp) - extract(epoch from '2026-07-18 16:17: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'), 47391, 'SRID=4674;POINT (-38.508224 -3.519936)', '2026-07-18 16:17:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508219 -3.519908)'), GeomFromEWKT('SRID=4674;POINT (-38.508224 -3.519936)'))) / (select extract(epoch from '2026-07-18 16:17:05'::timestamp) - extract(epoch from '2026-07-18 16:17:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508219 -3.519908)'), GeomFromEWKT('SRID=4674;POINT (-38.508224 -3.519936)'))) / (select extract(epoch from '2026-07-18 16:17:05'::timestamp) - extract(epoch from '2026-07-18 16:17: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'), 47391, 'SRID=4674;POINT (-38.508245 -3.519989)', '2026-07-18 16:17:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508224 -3.519936)'), GeomFromEWKT('SRID=4674;POINT (-38.508245 -3.519989)'))) / (select extract(epoch from '2026-07-18 16:17:08'::timestamp) - extract(epoch from '2026-07-18 16:17:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508224 -3.519936)'), GeomFromEWKT('SRID=4674;POINT (-38.508245 -3.519989)'))) / (select extract(epoch from '2026-07-18 16:17:08'::timestamp) - extract(epoch from '2026-07-18 16:17:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.50827 -3.520039)', '2026-07-18 16:17:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508245 -3.519989)'), GeomFromEWKT('SRID=4674;POINT (-38.50827 -3.520039)'))) / (select extract(epoch from '2026-07-18 16:17:11'::timestamp) - extract(epoch from '2026-07-18 16:17:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508245 -3.519989)'), GeomFromEWKT('SRID=4674;POINT (-38.50827 -3.520039)'))) / (select extract(epoch from '2026-07-18 16:17:11'::timestamp) - extract(epoch from '2026-07-18 16:17: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'), 47391, 'SRID=4674;POINT (-38.508273 -3.520072)', '2026-07-18 16:17:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50827 -3.520039)'), GeomFromEWKT('SRID=4674;POINT (-38.508273 -3.520072)'))) / (select extract(epoch from '2026-07-18 16:17:13'::timestamp) - extract(epoch from '2026-07-18 16:17:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50827 -3.520039)'), GeomFromEWKT('SRID=4674;POINT (-38.508273 -3.520072)'))) / (select extract(epoch from '2026-07-18 16:17:13'::timestamp) - extract(epoch from '2026-07-18 16:17:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.508281 -3.520087)', '2026-07-18 16:17:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508273 -3.520072)'), GeomFromEWKT('SRID=4674;POINT (-38.508281 -3.520087)'))) / (select extract(epoch from '2026-07-18 16:17:14'::timestamp) - extract(epoch from '2026-07-18 16:17:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508273 -3.520072)'), GeomFromEWKT('SRID=4674;POINT (-38.508281 -3.520087)'))) / (select extract(epoch from '2026-07-18 16:17:14'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.508308 -3.520144)', '2026-07-18 16:17:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508281 -3.520087)'), GeomFromEWKT('SRID=4674;POINT (-38.508308 -3.520144)'))) / (select extract(epoch from '2026-07-18 16:17:17'::timestamp) - extract(epoch from '2026-07-18 16:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508281 -3.520087)'), GeomFromEWKT('SRID=4674;POINT (-38.508308 -3.520144)'))) / (select extract(epoch from '2026-07-18 16:17:17'::timestamp) - extract(epoch from '2026-07-18 16:17:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.508334 -3.520226)', '2026-07-18 16:17:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508308 -3.520144)'), GeomFromEWKT('SRID=4674;POINT (-38.508334 -3.520226)'))) / (select extract(epoch from '2026-07-18 16:17:22'::timestamp) - extract(epoch from '2026-07-18 16:17:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508308 -3.520144)'), GeomFromEWKT('SRID=4674;POINT (-38.508334 -3.520226)'))) / (select extract(epoch from '2026-07-18 16:17:22'::timestamp) - extract(epoch from '2026-07-18 16:17:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.508378 -3.520347)', '2026-07-18 16:17:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508334 -3.520226)'), GeomFromEWKT('SRID=4674;POINT (-38.508378 -3.520347)'))) / (select extract(epoch from '2026-07-18 16:17:28'::timestamp) - extract(epoch from '2026-07-18 16:17:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508334 -3.520226)'), GeomFromEWKT('SRID=4674;POINT (-38.508378 -3.520347)'))) / (select extract(epoch from '2026-07-18 16:17:28'::timestamp) - extract(epoch from '2026-07-18 16:17: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'), 47391, 'SRID=4674;POINT (-38.50838 -3.520419)', '2026-07-18 16:17:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508378 -3.520347)'), GeomFromEWKT('SRID=4674;POINT (-38.50838 -3.520419)'))) / (select extract(epoch from '2026-07-18 16:17:31'::timestamp) - extract(epoch from '2026-07-18 16:17:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508378 -3.520347)'), GeomFromEWKT('SRID=4674;POINT (-38.50838 -3.520419)'))) / (select extract(epoch from '2026-07-18 16:17:31'::timestamp) - extract(epoch from '2026-07-18 16:17: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'), 47391, 'SRID=4674;POINT (-38.508393 -3.52044)', '2026-07-18 16:17:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50838 -3.520419)'), GeomFromEWKT('SRID=4674;POINT (-38.508393 -3.52044)'))) / (select extract(epoch from '2026-07-18 16:17:32'::timestamp) - extract(epoch from '2026-07-18 16:17:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50838 -3.520419)'), GeomFromEWKT('SRID=4674;POINT (-38.508393 -3.52044)'))) / (select extract(epoch from '2026-07-18 16:17:32'::timestamp) - extract(epoch from '2026-07-18 16:17: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'), 47391, 'SRID=4674;POINT (-38.508417 -3.520487)', '2026-07-18 16:17:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508393 -3.52044)'), GeomFromEWKT('SRID=4674;POINT (-38.508417 -3.520487)'))) / (select extract(epoch from '2026-07-18 16:17:34'::timestamp) - extract(epoch from '2026-07-18 16:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508393 -3.52044)'), GeomFromEWKT('SRID=4674;POINT (-38.508417 -3.520487)'))) / (select extract(epoch from '2026-07-18 16:17:34'::timestamp) - extract(epoch from '2026-07-18 16:17: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'), 47391, 'SRID=4674;POINT (-38.508409 -3.520529)', '2026-07-18 16:17:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508417 -3.520487)'), GeomFromEWKT('SRID=4674;POINT (-38.508409 -3.520529)'))) / (select extract(epoch from '2026-07-18 16:17:36'::timestamp) - extract(epoch from '2026-07-18 16:17:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508417 -3.520487)'), GeomFromEWKT('SRID=4674;POINT (-38.508409 -3.520529)'))) / (select extract(epoch from '2026-07-18 16:17:36'::timestamp) - extract(epoch from '2026-07-18 16:17: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'), 47391, 'SRID=4674;POINT (-38.508409 -3.520543)', '2026-07-18 16:17:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508409 -3.520529)'), GeomFromEWKT('SRID=4674;POINT (-38.508409 -3.520543)'))) / (select extract(epoch from '2026-07-18 16:17:37'::timestamp) - extract(epoch from '2026-07-18 16:17:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508409 -3.520529)'), GeomFromEWKT('SRID=4674;POINT (-38.508409 -3.520543)'))) / (select extract(epoch from '2026-07-18 16:17:37'::timestamp) - extract(epoch from '2026-07-18 16:17: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'), 47391, 'SRID=4674;POINT (-38.508433 -3.520593)', '2026-07-18 16:17:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508409 -3.520543)'), GeomFromEWKT('SRID=4674;POINT (-38.508433 -3.520593)'))) / (select extract(epoch from '2026-07-18 16:17:40'::timestamp) - extract(epoch from '2026-07-18 16:17:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508409 -3.520543)'), GeomFromEWKT('SRID=4674;POINT (-38.508433 -3.520593)'))) / (select extract(epoch from '2026-07-18 16:17:40'::timestamp) - extract(epoch from '2026-07-18 16:17:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.508434 -3.520649)', '2026-07-18 16:17:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508433 -3.520593)'), GeomFromEWKT('SRID=4674;POINT (-38.508434 -3.520649)'))) / (select extract(epoch from '2026-07-18 16:17:43'::timestamp) - extract(epoch from '2026-07-18 16:17:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508433 -3.520593)'), GeomFromEWKT('SRID=4674;POINT (-38.508434 -3.520649)'))) / (select extract(epoch from '2026-07-18 16:17:43'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.508456 -3.520683)', '2026-07-18 16:17:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508434 -3.520649)'), GeomFromEWKT('SRID=4674;POINT (-38.508456 -3.520683)'))) / (select extract(epoch from '2026-07-18 16:17:45'::timestamp) - extract(epoch from '2026-07-18 16:17:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508434 -3.520649)'), GeomFromEWKT('SRID=4674;POINT (-38.508456 -3.520683)'))) / (select extract(epoch from '2026-07-18 16:17:45'::timestamp) - extract(epoch from '2026-07-18 16:17: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'), 47391, 'SRID=4674;POINT (-38.508461 -3.520701)', '2026-07-18 16:17:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508456 -3.520683)'), GeomFromEWKT('SRID=4674;POINT (-38.508461 -3.520701)'))) / (select extract(epoch from '2026-07-18 16:17:46'::timestamp) - extract(epoch from '2026-07-18 16:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508456 -3.520683)'), GeomFromEWKT('SRID=4674;POINT (-38.508461 -3.520701)'))) / (select extract(epoch from '2026-07-18 16:17:46'::timestamp) - extract(epoch from '2026-07-18 16:17:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.508462 -3.520731)', '2026-07-18 16:17:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508461 -3.520701)'), GeomFromEWKT('SRID=4674;POINT (-38.508462 -3.520731)'))) / (select extract(epoch from '2026-07-18 16:17:48'::timestamp) - extract(epoch from '2026-07-18 16:17:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508461 -3.520701)'), GeomFromEWKT('SRID=4674;POINT (-38.508462 -3.520731)'))) / (select extract(epoch from '2026-07-18 16:17:48'::timestamp) - extract(epoch from '2026-07-18 16:17: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'), 47391, 'SRID=4674;POINT (-38.508472 -3.520748)', '2026-07-18 16:17:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508462 -3.520731)'), GeomFromEWKT('SRID=4674;POINT (-38.508472 -3.520748)'))) / (select extract(epoch from '2026-07-18 16:17:49'::timestamp) - extract(epoch from '2026-07-18 16:17:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508462 -3.520731)'), GeomFromEWKT('SRID=4674;POINT (-38.508472 -3.520748)'))) / (select extract(epoch from '2026-07-18 16:17:49'::timestamp) - extract(epoch from '2026-07-18 16:17: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'), 47391, 'SRID=4674;POINT (-38.508492 -3.520777)', '2026-07-18 16:17:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508472 -3.520748)'), GeomFromEWKT('SRID=4674;POINT (-38.508492 -3.520777)'))) / (select extract(epoch from '2026-07-18 16:17:51'::timestamp) - extract(epoch from '2026-07-18 16:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508472 -3.520748)'), GeomFromEWKT('SRID=4674;POINT (-38.508492 -3.520777)'))) / (select extract(epoch from '2026-07-18 16:17:51'::timestamp) - extract(epoch from '2026-07-18 16:17:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.5085 -3.520812)', '2026-07-18 16:17:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508492 -3.520777)'), GeomFromEWKT('SRID=4674;POINT (-38.5085 -3.520812)'))) / (select extract(epoch from '2026-07-18 16:17:53'::timestamp) - extract(epoch from '2026-07-18 16:17:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508492 -3.520777)'), GeomFromEWKT('SRID=4674;POINT (-38.5085 -3.520812)'))) / (select extract(epoch from '2026-07-18 16:17:53'::timestamp) - extract(epoch from '2026-07-18 16:17:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.508549 -3.520912)', '2026-07-18 16:17:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5085 -3.520812)'), GeomFromEWKT('SRID=4674;POINT (-38.508549 -3.520912)'))) / (select extract(epoch from '2026-07-18 16:17:59'::timestamp) - extract(epoch from '2026-07-18 16:17:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5085 -3.520812)'), GeomFromEWKT('SRID=4674;POINT (-38.508549 -3.520912)'))) / (select extract(epoch from '2026-07-18 16:17:59'::timestamp) - extract(epoch from '2026-07-18 16:17:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.508561 -3.52098)', '2026-07-18 16:18:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508549 -3.520912)'), GeomFromEWKT('SRID=4674;POINT (-38.508561 -3.52098)'))) / (select extract(epoch from '2026-07-18 16:18:03'::timestamp) - extract(epoch from '2026-07-18 16:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508549 -3.520912)'), GeomFromEWKT('SRID=4674;POINT (-38.508561 -3.52098)'))) / (select extract(epoch from '2026-07-18 16:18:03'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.508573 -3.520996)', '2026-07-18 16:18:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508561 -3.52098)'), GeomFromEWKT('SRID=4674;POINT (-38.508573 -3.520996)'))) / (select extract(epoch from '2026-07-18 16:18:04'::timestamp) - extract(epoch from '2026-07-18 16:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508561 -3.52098)'), GeomFromEWKT('SRID=4674;POINT (-38.508573 -3.520996)'))) / (select extract(epoch from '2026-07-18 16:18:04'::timestamp) - extract(epoch from '2026-07-18 16:18: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'), 47391, 'SRID=4674;POINT (-38.508601 -3.521075)', '2026-07-18 16:18:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508573 -3.520996)'), GeomFromEWKT('SRID=4674;POINT (-38.508601 -3.521075)'))) / (select extract(epoch from '2026-07-18 16:18:09'::timestamp) - extract(epoch from '2026-07-18 16:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508573 -3.520996)'), GeomFromEWKT('SRID=4674;POINT (-38.508601 -3.521075)'))) / (select extract(epoch from '2026-07-18 16:18:09'::timestamp) - extract(epoch from '2026-07-18 16:18:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.508638 -3.521126)', '2026-07-18 16:18:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508601 -3.521075)'), GeomFromEWKT('SRID=4674;POINT (-38.508638 -3.521126)'))) / (select extract(epoch from '2026-07-18 16:18:12'::timestamp) - extract(epoch from '2026-07-18 16:18:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508601 -3.521075)'), GeomFromEWKT('SRID=4674;POINT (-38.508638 -3.521126)'))) / (select extract(epoch from '2026-07-18 16:18:12'::timestamp) - extract(epoch from '2026-07-18 16:18: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'), 47391, 'SRID=4674;POINT (-38.508644 -3.521146)', '2026-07-18 16:18:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508638 -3.521126)'), GeomFromEWKT('SRID=4674;POINT (-38.508644 -3.521146)'))) / (select extract(epoch from '2026-07-18 16:18:13'::timestamp) - extract(epoch from '2026-07-18 16:18:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508638 -3.521126)'), GeomFromEWKT('SRID=4674;POINT (-38.508644 -3.521146)'))) / (select extract(epoch from '2026-07-18 16:18:13'::timestamp) - extract(epoch from '2026-07-18 16:18:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.508683 -3.521244)', '2026-07-18 16:18:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508644 -3.521146)'), GeomFromEWKT('SRID=4674;POINT (-38.508683 -3.521244)'))) / (select extract(epoch from '2026-07-18 16:18:19'::timestamp) - extract(epoch from '2026-07-18 16:18:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508644 -3.521146)'), GeomFromEWKT('SRID=4674;POINT (-38.508683 -3.521244)'))) / (select extract(epoch from '2026-07-18 16:18:19'::timestamp) - extract(epoch from '2026-07-18 16:18: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'), 47391, 'SRID=4674;POINT (-38.508702 -3.521275)', '2026-07-18 16:18:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508683 -3.521244)'), GeomFromEWKT('SRID=4674;POINT (-38.508702 -3.521275)'))) / (select extract(epoch from '2026-07-18 16:18:21'::timestamp) - extract(epoch from '2026-07-18 16:18:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508683 -3.521244)'), GeomFromEWKT('SRID=4674;POINT (-38.508702 -3.521275)'))) / (select extract(epoch from '2026-07-18 16:18:21'::timestamp) - extract(epoch from '2026-07-18 16:18: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'), 47391, 'SRID=4674;POINT (-38.508702 -3.521306)', '2026-07-18 16:18:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508702 -3.521275)'), GeomFromEWKT('SRID=4674;POINT (-38.508702 -3.521306)'))) / (select extract(epoch from '2026-07-18 16:18:23'::timestamp) - extract(epoch from '2026-07-18 16:18:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508702 -3.521275)'), GeomFromEWKT('SRID=4674;POINT (-38.508702 -3.521306)'))) / (select extract(epoch from '2026-07-18 16:18:23'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.508708 -3.521319)', '2026-07-18 16:18:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508702 -3.521306)'), GeomFromEWKT('SRID=4674;POINT (-38.508708 -3.521319)'))) / (select extract(epoch from '2026-07-18 16:18:24'::timestamp) - extract(epoch from '2026-07-18 16:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508702 -3.521306)'), GeomFromEWKT('SRID=4674;POINT (-38.508708 -3.521319)'))) / (select extract(epoch from '2026-07-18 16:18:24'::timestamp) - extract(epoch from '2026-07-18 16:18: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'), 47391, 'SRID=4674;POINT (-38.508732 -3.521392)', '2026-07-18 16:18:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508708 -3.521319)'), GeomFromEWKT('SRID=4674;POINT (-38.508732 -3.521392)'))) / (select extract(epoch from '2026-07-18 16:18:29'::timestamp) - extract(epoch from '2026-07-18 16:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508708 -3.521319)'), GeomFromEWKT('SRID=4674;POINT (-38.508732 -3.521392)'))) / (select extract(epoch from '2026-07-18 16:18:29'::timestamp) - extract(epoch from '2026-07-18 16:18: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'), 47391, 'SRID=4674;POINT (-38.508733 -3.521413)', '2026-07-18 16:18:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508732 -3.521392)'), GeomFromEWKT('SRID=4674;POINT (-38.508733 -3.521413)'))) / (select extract(epoch from '2026-07-18 16:18:30'::timestamp) - extract(epoch from '2026-07-18 16:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508732 -3.521392)'), GeomFromEWKT('SRID=4674;POINT (-38.508733 -3.521413)'))) / (select extract(epoch from '2026-07-18 16:18:30'::timestamp) - extract(epoch from '2026-07-18 16:18:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.50874 -3.521431)', '2026-07-18 16:18:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508733 -3.521413)'), GeomFromEWKT('SRID=4674;POINT (-38.50874 -3.521431)'))) / (select extract(epoch from '2026-07-18 16:18:31'::timestamp) - extract(epoch from '2026-07-18 16:18:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508733 -3.521413)'), GeomFromEWKT('SRID=4674;POINT (-38.50874 -3.521431)'))) / (select extract(epoch from '2026-07-18 16:18:31'::timestamp) - extract(epoch from '2026-07-18 16:18:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.508786 -3.521493)', '2026-07-18 16:18:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50874 -3.521431)'), GeomFromEWKT('SRID=4674;POINT (-38.508786 -3.521493)'))) / (select extract(epoch from '2026-07-18 16:18:34'::timestamp) - extract(epoch from '2026-07-18 16:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50874 -3.521431)'), GeomFromEWKT('SRID=4674;POINT (-38.508786 -3.521493)'))) / (select extract(epoch from '2026-07-18 16:18:34'::timestamp) - extract(epoch from '2026-07-18 16:18: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'), 47391, 'SRID=4674;POINT (-38.5088 -3.521568)', '2026-07-18 16:18:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508786 -3.521493)'), GeomFromEWKT('SRID=4674;POINT (-38.5088 -3.521568)'))) / (select extract(epoch from '2026-07-18 16:18:38'::timestamp) - extract(epoch from '2026-07-18 16:18:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508786 -3.521493)'), GeomFromEWKT('SRID=4674;POINT (-38.5088 -3.521568)'))) / (select extract(epoch from '2026-07-18 16:18:38'::timestamp) - extract(epoch from '2026-07-18 16:18: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'), 47391, 'SRID=4674;POINT (-38.508815 -3.521585)', '2026-07-18 16:18:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5088 -3.521568)'), GeomFromEWKT('SRID=4674;POINT (-38.508815 -3.521585)'))) / (select extract(epoch from '2026-07-18 16:18:39'::timestamp) - extract(epoch from '2026-07-18 16:18:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5088 -3.521568)'), GeomFromEWKT('SRID=4674;POINT (-38.508815 -3.521585)'))) / (select extract(epoch from '2026-07-18 16:18:39'::timestamp) - extract(epoch from '2026-07-18 16:18: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'), 47391, 'SRID=4674;POINT (-38.508843 -3.521629)', '2026-07-18 16:18:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508815 -3.521585)'), GeomFromEWKT('SRID=4674;POINT (-38.508843 -3.521629)'))) / (select extract(epoch from '2026-07-18 16:18:41'::timestamp) - extract(epoch from '2026-07-18 16:18:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508815 -3.521585)'), GeomFromEWKT('SRID=4674;POINT (-38.508843 -3.521629)'))) / (select extract(epoch from '2026-07-18 16:18:41'::timestamp) - extract(epoch from '2026-07-18 16:18:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.508845 -3.521668)', '2026-07-18 16:18:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508843 -3.521629)'), GeomFromEWKT('SRID=4674;POINT (-38.508845 -3.521668)'))) / (select extract(epoch from '2026-07-18 16:18:43'::timestamp) - extract(epoch from '2026-07-18 16:18:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508843 -3.521629)'), GeomFromEWKT('SRID=4674;POINT (-38.508845 -3.521668)'))) / (select extract(epoch from '2026-07-18 16:18:43'::timestamp) - extract(epoch from '2026-07-18 16:18: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'), 47391, 'SRID=4674;POINT (-38.508848 -3.521683)', '2026-07-18 16:18:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508845 -3.521668)'), GeomFromEWKT('SRID=4674;POINT (-38.508848 -3.521683)'))) / (select extract(epoch from '2026-07-18 16:18:44'::timestamp) - extract(epoch from '2026-07-18 16:18:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508845 -3.521668)'), GeomFromEWKT('SRID=4674;POINT (-38.508848 -3.521683)'))) / (select extract(epoch from '2026-07-18 16:18:44'::timestamp) - extract(epoch from '2026-07-18 16:18:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.508875 -3.521753)', '2026-07-18 16:18:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508848 -3.521683)'), GeomFromEWKT('SRID=4674;POINT (-38.508875 -3.521753)'))) / (select extract(epoch from '2026-07-18 16:18:48'::timestamp) - extract(epoch from '2026-07-18 16:18:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508848 -3.521683)'), GeomFromEWKT('SRID=4674;POINT (-38.508875 -3.521753)'))) / (select extract(epoch from '2026-07-18 16:18:48'::timestamp) - extract(epoch from '2026-07-18 16:18: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'), 47391, 'SRID=4674;POINT (-38.508898 -3.521844)', '2026-07-18 16:18:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508875 -3.521753)'), GeomFromEWKT('SRID=4674;POINT (-38.508898 -3.521844)'))) / (select extract(epoch from '2026-07-18 16:18:54'::timestamp) - extract(epoch from '2026-07-18 16:18:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508875 -3.521753)'), GeomFromEWKT('SRID=4674;POINT (-38.508898 -3.521844)'))) / (select extract(epoch from '2026-07-18 16:18:54'::timestamp) - extract(epoch from '2026-07-18 16:18: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'), 47391, 'SRID=4674;POINT (-38.508925 -3.521944)', '2026-07-18 16:19:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508898 -3.521844)'), GeomFromEWKT('SRID=4674;POINT (-38.508925 -3.521944)'))) / (select extract(epoch from '2026-07-18 16:19:00'::timestamp) - extract(epoch from '2026-07-18 16:18:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508898 -3.521844)'), GeomFromEWKT('SRID=4674;POINT (-38.508925 -3.521944)'))) / (select extract(epoch from '2026-07-18 16:19:00'::timestamp) - extract(epoch from '2026-07-18 16:18:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.50896 -3.522068)', '2026-07-18 16:19:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508925 -3.521944)'), GeomFromEWKT('SRID=4674;POINT (-38.50896 -3.522068)'))) / (select extract(epoch from '2026-07-18 16:19:06'::timestamp) - extract(epoch from '2026-07-18 16:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508925 -3.521944)'), GeomFromEWKT('SRID=4674;POINT (-38.50896 -3.522068)'))) / (select extract(epoch from '2026-07-18 16:19:06'::timestamp) - extract(epoch from '2026-07-18 16:19:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.508985 -3.522179)', '2026-07-18 16:19:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50896 -3.522068)'), GeomFromEWKT('SRID=4674;POINT (-38.508985 -3.522179)'))) / (select extract(epoch from '2026-07-18 16:19:12'::timestamp) - extract(epoch from '2026-07-18 16:19:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50896 -3.522068)'), GeomFromEWKT('SRID=4674;POINT (-38.508985 -3.522179)'))) / (select extract(epoch from '2026-07-18 16:19:12'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.508988 -3.522213)', '2026-07-18 16:19:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508985 -3.522179)'), GeomFromEWKT('SRID=4674;POINT (-38.508988 -3.522213)'))) / (select extract(epoch from '2026-07-18 16:19:14'::timestamp) - extract(epoch from '2026-07-18 16:19:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508985 -3.522179)'), GeomFromEWKT('SRID=4674;POINT (-38.508988 -3.522213)'))) / (select extract(epoch from '2026-07-18 16:19:14'::timestamp) - extract(epoch from '2026-07-18 16:19: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'), 47391, 'SRID=4674;POINT (-38.508998 -3.522236)', '2026-07-18 16:19:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508988 -3.522213)'), GeomFromEWKT('SRID=4674;POINT (-38.508998 -3.522236)'))) / (select extract(epoch from '2026-07-18 16:19:16'::timestamp) - extract(epoch from '2026-07-18 16:19:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508988 -3.522213)'), GeomFromEWKT('SRID=4674;POINT (-38.508998 -3.522236)'))) / (select extract(epoch from '2026-07-18 16:19:16'::timestamp) - extract(epoch from '2026-07-18 16:19:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.509005 -3.522272)', '2026-07-18 16:19:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508998 -3.522236)'), GeomFromEWKT('SRID=4674;POINT (-38.509005 -3.522272)'))) / (select extract(epoch from '2026-07-18 16:19:18'::timestamp) - extract(epoch from '2026-07-18 16:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508998 -3.522236)'), GeomFromEWKT('SRID=4674;POINT (-38.509005 -3.522272)'))) / (select extract(epoch from '2026-07-18 16:19:18'::timestamp) - extract(epoch from '2026-07-18 16:19:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.509035 -3.522322)', '2026-07-18 16:19:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509005 -3.522272)'), GeomFromEWKT('SRID=4674;POINT (-38.509035 -3.522322)'))) / (select extract(epoch from '2026-07-18 16:19:21'::timestamp) - extract(epoch from '2026-07-18 16:19:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509005 -3.522272)'), GeomFromEWKT('SRID=4674;POINT (-38.509035 -3.522322)'))) / (select extract(epoch from '2026-07-18 16:19:21'::timestamp) - extract(epoch from '2026-07-18 16:19: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'), 47391, 'SRID=4674;POINT (-38.509081 -3.522451)', '2026-07-18 16:19:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509035 -3.522322)'), GeomFromEWKT('SRID=4674;POINT (-38.509081 -3.522451)'))) / (select extract(epoch from '2026-07-18 16:19:28'::timestamp) - extract(epoch from '2026-07-18 16:19:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509035 -3.522322)'), GeomFromEWKT('SRID=4674;POINT (-38.509081 -3.522451)'))) / (select extract(epoch from '2026-07-18 16:19:28'::timestamp) - extract(epoch from '2026-07-18 16:19:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.509086 -3.522507)', '2026-07-18 16:19:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509081 -3.522451)'), GeomFromEWKT('SRID=4674;POINT (-38.509086 -3.522507)'))) / (select extract(epoch from '2026-07-18 16:19:31'::timestamp) - extract(epoch from '2026-07-18 16:19:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509081 -3.522451)'), GeomFromEWKT('SRID=4674;POINT (-38.509086 -3.522507)'))) / (select extract(epoch from '2026-07-18 16:19:31'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.509106 -3.522553)', '2026-07-18 16:19:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509086 -3.522507)'), GeomFromEWKT('SRID=4674;POINT (-38.509106 -3.522553)'))) / (select extract(epoch from '2026-07-18 16:19:33'::timestamp) - extract(epoch from '2026-07-18 16:19:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509086 -3.522507)'), GeomFromEWKT('SRID=4674;POINT (-38.509106 -3.522553)'))) / (select extract(epoch from '2026-07-18 16:19:33'::timestamp) - extract(epoch from '2026-07-18 16:19: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'), 47391, 'SRID=4674;POINT (-38.509127 -3.522648)', '2026-07-18 16:19:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509106 -3.522553)'), GeomFromEWKT('SRID=4674;POINT (-38.509127 -3.522648)'))) / (select extract(epoch from '2026-07-18 16:19:38'::timestamp) - extract(epoch from '2026-07-18 16:19:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509106 -3.522553)'), GeomFromEWKT('SRID=4674;POINT (-38.509127 -3.522648)'))) / (select extract(epoch from '2026-07-18 16:19:38'::timestamp) - extract(epoch from '2026-07-18 16:19:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.50915 -3.522796)', '2026-07-18 16:19:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509127 -3.522648)'), GeomFromEWKT('SRID=4674;POINT (-38.50915 -3.522796)'))) / (select extract(epoch from '2026-07-18 16:19:45'::timestamp) - extract(epoch from '2026-07-18 16:19:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509127 -3.522648)'), GeomFromEWKT('SRID=4674;POINT (-38.50915 -3.522796)'))) / (select extract(epoch from '2026-07-18 16:19:45'::timestamp) - extract(epoch from '2026-07-18 16:19:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.509165 -3.522888)', '2026-07-18 16:19:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50915 -3.522796)'), GeomFromEWKT('SRID=4674;POINT (-38.509165 -3.522888)'))) / (select extract(epoch from '2026-07-18 16:19:50'::timestamp) - extract(epoch from '2026-07-18 16:19:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50915 -3.522796)'), GeomFromEWKT('SRID=4674;POINT (-38.509165 -3.522888)'))) / (select extract(epoch from '2026-07-18 16:19:50'::timestamp) - extract(epoch from '2026-07-18 16:19: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'), 47391, 'SRID=4674;POINT (-38.509184 -3.522979)', '2026-07-18 16:19:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509165 -3.522888)'), GeomFromEWKT('SRID=4674;POINT (-38.509184 -3.522979)'))) / (select extract(epoch from '2026-07-18 16:19:55'::timestamp) - extract(epoch from '2026-07-18 16:19:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509165 -3.522888)'), GeomFromEWKT('SRID=4674;POINT (-38.509184 -3.522979)'))) / (select extract(epoch from '2026-07-18 16:19:55'::timestamp) - extract(epoch from '2026-07-18 16:19:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.509184 -3.523027)', '2026-07-18 16:19:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509184 -3.522979)'), GeomFromEWKT('SRID=4674;POINT (-38.509184 -3.523027)'))) / (select extract(epoch from '2026-07-18 16:19:58'::timestamp) - extract(epoch from '2026-07-18 16:19:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509184 -3.522979)'), GeomFromEWKT('SRID=4674;POINT (-38.509184 -3.523027)'))) / (select extract(epoch from '2026-07-18 16:19:58'::timestamp) - extract(epoch from '2026-07-18 16:19:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.5092 -3.523072)', '2026-07-18 16:20:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509184 -3.523027)'), GeomFromEWKT('SRID=4674;POINT (-38.5092 -3.523072)'))) / (select extract(epoch from '2026-07-18 16:20:01'::timestamp) - extract(epoch from '2026-07-18 16:19:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509184 -3.523027)'), GeomFromEWKT('SRID=4674;POINT (-38.5092 -3.523072)'))) / (select extract(epoch from '2026-07-18 16:20:01'::timestamp) - extract(epoch from '2026-07-18 16:19: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'), 47391, 'SRID=4674;POINT (-38.509226 -3.523157)', '2026-07-18 16:20:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5092 -3.523072)'), GeomFromEWKT('SRID=4674;POINT (-38.509226 -3.523157)'))) / (select extract(epoch from '2026-07-18 16:20:06'::timestamp) - extract(epoch from '2026-07-18 16:20:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5092 -3.523072)'), GeomFromEWKT('SRID=4674;POINT (-38.509226 -3.523157)'))) / (select extract(epoch from '2026-07-18 16:20:06'::timestamp) - extract(epoch from '2026-07-18 16:20:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.509239 -3.523193)', '2026-07-18 16:20:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509226 -3.523157)'), GeomFromEWKT('SRID=4674;POINT (-38.509239 -3.523193)'))) / (select extract(epoch from '2026-07-18 16:20:08'::timestamp) - extract(epoch from '2026-07-18 16:20:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509226 -3.523157)'), GeomFromEWKT('SRID=4674;POINT (-38.509239 -3.523193)'))) / (select extract(epoch from '2026-07-18 16:20:08'::timestamp) - extract(epoch from '2026-07-18 16:20: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'), 47391, 'SRID=4674;POINT (-38.509238 -3.523229)', '2026-07-18 16:20:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509239 -3.523193)'), GeomFromEWKT('SRID=4674;POINT (-38.509238 -3.523229)'))) / (select extract(epoch from '2026-07-18 16:20:10'::timestamp) - extract(epoch from '2026-07-18 16:20:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509239 -3.523193)'), GeomFromEWKT('SRID=4674;POINT (-38.509238 -3.523229)'))) / (select extract(epoch from '2026-07-18 16:20:10'::timestamp) - extract(epoch from '2026-07-18 16:20: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'), 47391, 'SRID=4674;POINT (-38.509249 -3.523259)', '2026-07-18 16:20:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509238 -3.523229)'), GeomFromEWKT('SRID=4674;POINT (-38.509249 -3.523259)'))) / (select extract(epoch from '2026-07-18 16:20:12'::timestamp) - extract(epoch from '2026-07-18 16:20:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509238 -3.523229)'), GeomFromEWKT('SRID=4674;POINT (-38.509249 -3.523259)'))) / (select extract(epoch from '2026-07-18 16:20:12'::timestamp) - extract(epoch from '2026-07-18 16:20:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.509271 -3.523293)', '2026-07-18 16:20:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509249 -3.523259)'), GeomFromEWKT('SRID=4674;POINT (-38.509271 -3.523293)'))) / (select extract(epoch from '2026-07-18 16:20:14'::timestamp) - extract(epoch from '2026-07-18 16:20:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509249 -3.523259)'), GeomFromEWKT('SRID=4674;POINT (-38.509271 -3.523293)'))) / (select extract(epoch from '2026-07-18 16:20:14'::timestamp) - extract(epoch from '2026-07-18 16:20:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.50927 -3.523313)', '2026-07-18 16:20:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509271 -3.523293)'), GeomFromEWKT('SRID=4674;POINT (-38.50927 -3.523313)'))) / (select extract(epoch from '2026-07-18 16:20:15'::timestamp) - extract(epoch from '2026-07-18 16:20:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509271 -3.523293)'), GeomFromEWKT('SRID=4674;POINT (-38.50927 -3.523313)'))) / (select extract(epoch from '2026-07-18 16:20:15'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.509272 -3.523343)', '2026-07-18 16:20:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50927 -3.523313)'), GeomFromEWKT('SRID=4674;POINT (-38.509272 -3.523343)'))) / (select extract(epoch from '2026-07-18 16:20:17'::timestamp) - extract(epoch from '2026-07-18 16:20:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50927 -3.523313)'), GeomFromEWKT('SRID=4674;POINT (-38.509272 -3.523343)'))) / (select extract(epoch from '2026-07-18 16:20:17'::timestamp) - extract(epoch from '2026-07-18 16:20: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'), 47391, 'SRID=4674;POINT (-38.509285 -3.523381)', '2026-07-18 16:20:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509272 -3.523343)'), GeomFromEWKT('SRID=4674;POINT (-38.509285 -3.523381)'))) / (select extract(epoch from '2026-07-18 16:20:19'::timestamp) - extract(epoch from '2026-07-18 16:20:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509272 -3.523343)'), GeomFromEWKT('SRID=4674;POINT (-38.509285 -3.523381)'))) / (select extract(epoch from '2026-07-18 16:20:19'::timestamp) - extract(epoch from '2026-07-18 16:20:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.509315 -3.523503)', '2026-07-18 16:20:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509285 -3.523381)'), GeomFromEWKT('SRID=4674;POINT (-38.509315 -3.523503)'))) / (select extract(epoch from '2026-07-18 16:20:26'::timestamp) - extract(epoch from '2026-07-18 16:20:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509285 -3.523381)'), GeomFromEWKT('SRID=4674;POINT (-38.509315 -3.523503)'))) / (select extract(epoch from '2026-07-18 16:20:26'::timestamp) - extract(epoch from '2026-07-18 16:20: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'), 47391, 'SRID=4674;POINT (-38.509334 -3.523568)', '2026-07-18 16:20:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509315 -3.523503)'), GeomFromEWKT('SRID=4674;POINT (-38.509334 -3.523568)'))) / (select extract(epoch from '2026-07-18 16:20:30'::timestamp) - extract(epoch from '2026-07-18 16:20:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509315 -3.523503)'), GeomFromEWKT('SRID=4674;POINT (-38.509334 -3.523568)'))) / (select extract(epoch from '2026-07-18 16:20:30'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.509352 -3.523604)', '2026-07-18 16:20:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509334 -3.523568)'), GeomFromEWKT('SRID=4674;POINT (-38.509352 -3.523604)'))) / (select extract(epoch from '2026-07-18 16:20:32'::timestamp) - extract(epoch from '2026-07-18 16:20:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509334 -3.523568)'), GeomFromEWKT('SRID=4674;POINT (-38.509352 -3.523604)'))) / (select extract(epoch from '2026-07-18 16:20:32'::timestamp) - extract(epoch from '2026-07-18 16:20: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'), 47391, 'SRID=4674;POINT (-38.509353 -3.523621)', '2026-07-18 16:20:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509352 -3.523604)'), GeomFromEWKT('SRID=4674;POINT (-38.509353 -3.523621)'))) / (select extract(epoch from '2026-07-18 16:20:33'::timestamp) - extract(epoch from '2026-07-18 16:20:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509352 -3.523604)'), GeomFromEWKT('SRID=4674;POINT (-38.509353 -3.523621)'))) / (select extract(epoch from '2026-07-18 16:20:33'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.509356 -3.523685)', '2026-07-18 16:20:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509353 -3.523621)'), GeomFromEWKT('SRID=4674;POINT (-38.509356 -3.523685)'))) / (select extract(epoch from '2026-07-18 16:20:37'::timestamp) - extract(epoch from '2026-07-18 16:20:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509353 -3.523621)'), GeomFromEWKT('SRID=4674;POINT (-38.509356 -3.523685)'))) / (select extract(epoch from '2026-07-18 16:20:37'::timestamp) - extract(epoch from '2026-07-18 16:20:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.509394 -3.523788)', '2026-07-18 16:20:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509356 -3.523685)'), GeomFromEWKT('SRID=4674;POINT (-38.509394 -3.523788)'))) / (select extract(epoch from '2026-07-18 16:20:43'::timestamp) - extract(epoch from '2026-07-18 16:20:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509356 -3.523685)'), GeomFromEWKT('SRID=4674;POINT (-38.509394 -3.523788)'))) / (select extract(epoch from '2026-07-18 16:20:43'::timestamp) - extract(epoch from '2026-07-18 16:20:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.509452 -3.523913)', '2026-07-18 16:20:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509394 -3.523788)'), GeomFromEWKT('SRID=4674;POINT (-38.509452 -3.523913)'))) / (select extract(epoch from '2026-07-18 16:20:52'::timestamp) - extract(epoch from '2026-07-18 16:20:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509394 -3.523788)'), GeomFromEWKT('SRID=4674;POINT (-38.509452 -3.523913)'))) / (select extract(epoch from '2026-07-18 16:20:52'::timestamp) - extract(epoch from '2026-07-18 16:20:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.509488 -3.523998)', '2026-07-18 16:20:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509452 -3.523913)'), GeomFromEWKT('SRID=4674;POINT (-38.509488 -3.523998)'))) / (select extract(epoch from '2026-07-18 16:20:57'::timestamp) - extract(epoch from '2026-07-18 16:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509452 -3.523913)'), GeomFromEWKT('SRID=4674;POINT (-38.509488 -3.523998)'))) / (select extract(epoch from '2026-07-18 16:20:57'::timestamp) - extract(epoch from '2026-07-18 16:20:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.509492 -3.524033)', '2026-07-18 16:20:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509488 -3.523998)'), GeomFromEWKT('SRID=4674;POINT (-38.509492 -3.524033)'))) / (select extract(epoch from '2026-07-18 16:20:59'::timestamp) - extract(epoch from '2026-07-18 16:20:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509488 -3.523998)'), GeomFromEWKT('SRID=4674;POINT (-38.509492 -3.524033)'))) / (select extract(epoch from '2026-07-18 16:20:59'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.509509 -3.524071)', '2026-07-18 16:21:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509492 -3.524033)'), GeomFromEWKT('SRID=4674;POINT (-38.509509 -3.524071)'))) / (select extract(epoch from '2026-07-18 16:21:01'::timestamp) - extract(epoch from '2026-07-18 16:20:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509492 -3.524033)'), GeomFromEWKT('SRID=4674;POINT (-38.509509 -3.524071)'))) / (select extract(epoch from '2026-07-18 16:21:01'::timestamp) - extract(epoch from '2026-07-18 16:20: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'), 47391, 'SRID=4674;POINT (-38.509518 -3.524119)', '2026-07-18 16:21:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509509 -3.524071)'), GeomFromEWKT('SRID=4674;POINT (-38.509518 -3.524119)'))) / (select extract(epoch from '2026-07-18 16:21:04'::timestamp) - extract(epoch from '2026-07-18 16:21:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509509 -3.524071)'), GeomFromEWKT('SRID=4674;POINT (-38.509518 -3.524119)'))) / (select extract(epoch from '2026-07-18 16:21:04'::timestamp) - extract(epoch from '2026-07-18 16:21:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.509536 -3.524155)', '2026-07-18 16:21:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509518 -3.524119)'), GeomFromEWKT('SRID=4674;POINT (-38.509536 -3.524155)'))) / (select extract(epoch from '2026-07-18 16:21:06'::timestamp) - extract(epoch from '2026-07-18 16:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509518 -3.524119)'), GeomFromEWKT('SRID=4674;POINT (-38.509536 -3.524155)'))) / (select extract(epoch from '2026-07-18 16:21:06'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.509549 -3.52423)', '2026-07-18 16:21:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509536 -3.524155)'), GeomFromEWKT('SRID=4674;POINT (-38.509549 -3.52423)'))) / (select extract(epoch from '2026-07-18 16:21:11'::timestamp) - extract(epoch from '2026-07-18 16:21:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509536 -3.524155)'), GeomFromEWKT('SRID=4674;POINT (-38.509549 -3.52423)'))) / (select extract(epoch from '2026-07-18 16:21:11'::timestamp) - extract(epoch from '2026-07-18 16:21: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'), 47391, 'SRID=4674;POINT (-38.509562 -3.524265)', '2026-07-18 16:21:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509549 -3.52423)'), GeomFromEWKT('SRID=4674;POINT (-38.509562 -3.524265)'))) / (select extract(epoch from '2026-07-18 16:21:13'::timestamp) - extract(epoch from '2026-07-18 16:21:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509549 -3.52423)'), GeomFromEWKT('SRID=4674;POINT (-38.509562 -3.524265)'))) / (select extract(epoch from '2026-07-18 16:21:13'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.50956 -3.524306)', '2026-07-18 16:21:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509562 -3.524265)'), GeomFromEWKT('SRID=4674;POINT (-38.50956 -3.524306)'))) / (select extract(epoch from '2026-07-18 16:21:16'::timestamp) - extract(epoch from '2026-07-18 16:21:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509562 -3.524265)'), GeomFromEWKT('SRID=4674;POINT (-38.50956 -3.524306)'))) / (select extract(epoch from '2026-07-18 16:21:16'::timestamp) - extract(epoch from '2026-07-18 16:21: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'), 47391, 'SRID=4674;POINT (-38.509566 -3.524324)', '2026-07-18 16:21:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50956 -3.524306)'), GeomFromEWKT('SRID=4674;POINT (-38.509566 -3.524324)'))) / (select extract(epoch from '2026-07-18 16:21:17'::timestamp) - extract(epoch from '2026-07-18 16:21:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50956 -3.524306)'), GeomFromEWKT('SRID=4674;POINT (-38.509566 -3.524324)'))) / (select extract(epoch from '2026-07-18 16:21:17'::timestamp) - extract(epoch from '2026-07-18 16:21:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.509593 -3.524395)', '2026-07-18 16:21:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509566 -3.524324)'), GeomFromEWKT('SRID=4674;POINT (-38.509593 -3.524395)'))) / (select extract(epoch from '2026-07-18 16:21:21'::timestamp) - extract(epoch from '2026-07-18 16:21:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509566 -3.524324)'), GeomFromEWKT('SRID=4674;POINT (-38.509593 -3.524395)'))) / (select extract(epoch from '2026-07-18 16:21:21'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.509635 -3.524545)', '2026-07-18 16:21:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509593 -3.524395)'), GeomFromEWKT('SRID=4674;POINT (-38.509635 -3.524545)'))) / (select extract(epoch from '2026-07-18 16:21:29'::timestamp) - extract(epoch from '2026-07-18 16:21:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509593 -3.524395)'), GeomFromEWKT('SRID=4674;POINT (-38.509635 -3.524545)'))) / (select extract(epoch from '2026-07-18 16:21:29'::timestamp) - extract(epoch from '2026-07-18 16:21:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.509686 -3.524698)', '2026-07-18 16:21:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509635 -3.524545)'), GeomFromEWKT('SRID=4674;POINT (-38.509686 -3.524698)'))) / (select extract(epoch from '2026-07-18 16:21:38'::timestamp) - extract(epoch from '2026-07-18 16:21:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509635 -3.524545)'), GeomFromEWKT('SRID=4674;POINT (-38.509686 -3.524698)'))) / (select extract(epoch from '2026-07-18 16:21:38'::timestamp) - extract(epoch from '2026-07-18 16:21:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.509717 -3.524776)', '2026-07-18 16:21:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509686 -3.524698)'), GeomFromEWKT('SRID=4674;POINT (-38.509717 -3.524776)'))) / (select extract(epoch from '2026-07-18 16:21:43'::timestamp) - extract(epoch from '2026-07-18 16:21:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509686 -3.524698)'), GeomFromEWKT('SRID=4674;POINT (-38.509717 -3.524776)'))) / (select extract(epoch from '2026-07-18 16:21:43'::timestamp) - extract(epoch from '2026-07-18 16:21: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'), 47391, 'SRID=4674;POINT (-38.50975 -3.524878)', '2026-07-18 16:21:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509717 -3.524776)'), GeomFromEWKT('SRID=4674;POINT (-38.50975 -3.524878)'))) / (select extract(epoch from '2026-07-18 16:21:49'::timestamp) - extract(epoch from '2026-07-18 16:21:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509717 -3.524776)'), GeomFromEWKT('SRID=4674;POINT (-38.50975 -3.524878)'))) / (select extract(epoch from '2026-07-18 16:21:49'::timestamp) - extract(epoch from '2026-07-18 16:21:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.509764 -3.524984)', '2026-07-18 16:21:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50975 -3.524878)'), GeomFromEWKT('SRID=4674;POINT (-38.509764 -3.524984)'))) / (select extract(epoch from '2026-07-18 16:21:55'::timestamp) - extract(epoch from '2026-07-18 16:21:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50975 -3.524878)'), GeomFromEWKT('SRID=4674;POINT (-38.509764 -3.524984)'))) / (select extract(epoch from '2026-07-18 16:21:55'::timestamp) - extract(epoch from '2026-07-18 16:21: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'), 47391, 'SRID=4674;POINT (-38.509763 -3.525054)', '2026-07-18 16:22:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509764 -3.524984)'), GeomFromEWKT('SRID=4674;POINT (-38.509763 -3.525054)'))) / (select extract(epoch from '2026-07-18 16:22:00'::timestamp) - extract(epoch from '2026-07-18 16:21:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509764 -3.524984)'), GeomFromEWKT('SRID=4674;POINT (-38.509763 -3.525054)'))) / (select extract(epoch from '2026-07-18 16:22:00'::timestamp) - extract(epoch from '2026-07-18 16:21: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'), 47391, 'SRID=4674;POINT (-38.509773 -3.525158)', '2026-07-18 16:22:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509763 -3.525054)'), GeomFromEWKT('SRID=4674;POINT (-38.509773 -3.525158)'))) / (select extract(epoch from '2026-07-18 16:22:06'::timestamp) - extract(epoch from '2026-07-18 16:22:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509763 -3.525054)'), GeomFromEWKT('SRID=4674;POINT (-38.509773 -3.525158)'))) / (select extract(epoch from '2026-07-18 16:22:06'::timestamp) - extract(epoch from '2026-07-18 16:22: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'), 47391, 'SRID=4674;POINT (-38.509801 -3.525279)', '2026-07-18 16:22:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509773 -3.525158)'), GeomFromEWKT('SRID=4674;POINT (-38.509801 -3.525279)'))) / (select extract(epoch from '2026-07-18 16:22:13'::timestamp) - extract(epoch from '2026-07-18 16:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509773 -3.525158)'), GeomFromEWKT('SRID=4674;POINT (-38.509801 -3.525279)'))) / (select extract(epoch from '2026-07-18 16:22:13'::timestamp) - extract(epoch from '2026-07-18 16:22: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'), 47391, 'SRID=4674;POINT (-38.50981 -3.525315)', '2026-07-18 16:22:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509801 -3.525279)'), GeomFromEWKT('SRID=4674;POINT (-38.50981 -3.525315)'))) / (select extract(epoch from '2026-07-18 16:22:15'::timestamp) - extract(epoch from '2026-07-18 16:22:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509801 -3.525279)'), GeomFromEWKT('SRID=4674;POINT (-38.50981 -3.525315)'))) / (select extract(epoch from '2026-07-18 16:22:15'::timestamp) - extract(epoch from '2026-07-18 16:22:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.509831 -3.525369)', '2026-07-18 16:22:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50981 -3.525315)'), GeomFromEWKT('SRID=4674;POINT (-38.509831 -3.525369)'))) / (select extract(epoch from '2026-07-18 16:22:18'::timestamp) - extract(epoch from '2026-07-18 16:22:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50981 -3.525315)'), GeomFromEWKT('SRID=4674;POINT (-38.509831 -3.525369)'))) / (select extract(epoch from '2026-07-18 16:22:18'::timestamp) - extract(epoch from '2026-07-18 16:22:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.509847 -3.525488)', '2026-07-18 16:22:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509831 -3.525369)'), GeomFromEWKT('SRID=4674;POINT (-38.509847 -3.525488)'))) / (select extract(epoch from '2026-07-18 16:22:24'::timestamp) - extract(epoch from '2026-07-18 16:22:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509831 -3.525369)'), GeomFromEWKT('SRID=4674;POINT (-38.509847 -3.525488)'))) / (select extract(epoch from '2026-07-18 16:22:24'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.509858 -3.525586)', '2026-07-18 16:22:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509847 -3.525488)'), GeomFromEWKT('SRID=4674;POINT (-38.509858 -3.525586)'))) / (select extract(epoch from '2026-07-18 16:22:30'::timestamp) - extract(epoch from '2026-07-18 16:22:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509847 -3.525488)'), GeomFromEWKT('SRID=4674;POINT (-38.509858 -3.525586)'))) / (select extract(epoch from '2026-07-18 16:22:30'::timestamp) - extract(epoch from '2026-07-18 16:22: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'), 47391, 'SRID=4674;POINT (-38.509871 -3.525651)', '2026-07-18 16:22:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509858 -3.525586)'), GeomFromEWKT('SRID=4674;POINT (-38.509871 -3.525651)'))) / (select extract(epoch from '2026-07-18 16:22:35'::timestamp) - extract(epoch from '2026-07-18 16:22:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509858 -3.525586)'), GeomFromEWKT('SRID=4674;POINT (-38.509871 -3.525651)'))) / (select extract(epoch from '2026-07-18 16:22:35'::timestamp) - extract(epoch from '2026-07-18 16:22: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'), 47391, 'SRID=4674;POINT (-38.509881 -3.525666)', '2026-07-18 16:22:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509871 -3.525651)'), GeomFromEWKT('SRID=4674;POINT (-38.509881 -3.525666)'))) / (select extract(epoch from '2026-07-18 16:22:36'::timestamp) - extract(epoch from '2026-07-18 16:22:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509871 -3.525651)'), GeomFromEWKT('SRID=4674;POINT (-38.509881 -3.525666)'))) / (select extract(epoch from '2026-07-18 16:22:36'::timestamp) - extract(epoch from '2026-07-18 16:22: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'), 47391, 'SRID=4674;POINT (-38.50991 -3.525786)', '2026-07-18 16:22:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509881 -3.525666)'), GeomFromEWKT('SRID=4674;POINT (-38.50991 -3.525786)'))) / (select extract(epoch from '2026-07-18 16:22:42'::timestamp) - extract(epoch from '2026-07-18 16:22:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509881 -3.525666)'), GeomFromEWKT('SRID=4674;POINT (-38.50991 -3.525786)'))) / (select extract(epoch from '2026-07-18 16:22:42'::timestamp) - extract(epoch from '2026-07-18 16:22:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.509928 -3.525868)', '2026-07-18 16:22:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50991 -3.525786)'), GeomFromEWKT('SRID=4674;POINT (-38.509928 -3.525868)'))) / (select extract(epoch from '2026-07-18 16:22:47'::timestamp) - extract(epoch from '2026-07-18 16:22:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50991 -3.525786)'), GeomFromEWKT('SRID=4674;POINT (-38.509928 -3.525868)'))) / (select extract(epoch from '2026-07-18 16:22:47'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.509928 -3.525884)', '2026-07-18 16:22:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509928 -3.525868)'), GeomFromEWKT('SRID=4674;POINT (-38.509928 -3.525884)'))) / (select extract(epoch from '2026-07-18 16:22:48'::timestamp) - extract(epoch from '2026-07-18 16:22:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509928 -3.525868)'), GeomFromEWKT('SRID=4674;POINT (-38.509928 -3.525884)'))) / (select extract(epoch from '2026-07-18 16:22:48'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.509931 -3.525914)', '2026-07-18 16:22:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509928 -3.525884)'), GeomFromEWKT('SRID=4674;POINT (-38.509931 -3.525914)'))) / (select extract(epoch from '2026-07-18 16:22:50'::timestamp) - extract(epoch from '2026-07-18 16:22:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509928 -3.525884)'), GeomFromEWKT('SRID=4674;POINT (-38.509931 -3.525914)'))) / (select extract(epoch from '2026-07-18 16:22:50'::timestamp) - extract(epoch from '2026-07-18 16:22:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.509941 -3.525929)', '2026-07-18 16:22:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509931 -3.525914)'), GeomFromEWKT('SRID=4674;POINT (-38.509941 -3.525929)'))) / (select extract(epoch from '2026-07-18 16:22:51'::timestamp) - extract(epoch from '2026-07-18 16:22:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509931 -3.525914)'), GeomFromEWKT('SRID=4674;POINT (-38.509941 -3.525929)'))) / (select extract(epoch from '2026-07-18 16:22:51'::timestamp) - extract(epoch from '2026-07-18 16:22: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'), 47391, 'SRID=4674;POINT (-38.509946 -3.525949)', '2026-07-18 16:22:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509941 -3.525929)'), GeomFromEWKT('SRID=4674;POINT (-38.509946 -3.525949)'))) / (select extract(epoch from '2026-07-18 16:22:52'::timestamp) - extract(epoch from '2026-07-18 16:22:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509941 -3.525929)'), GeomFromEWKT('SRID=4674;POINT (-38.509946 -3.525949)'))) / (select extract(epoch from '2026-07-18 16:22:52'::timestamp) - extract(epoch from '2026-07-18 16:22: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'), 47391, 'SRID=4674;POINT (-38.509944 -3.525984)', '2026-07-18 16:22:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509946 -3.525949)'), GeomFromEWKT('SRID=4674;POINT (-38.509944 -3.525984)'))) / (select extract(epoch from '2026-07-18 16:22:54'::timestamp) - extract(epoch from '2026-07-18 16:22:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509946 -3.525949)'), GeomFromEWKT('SRID=4674;POINT (-38.509944 -3.525984)'))) / (select extract(epoch from '2026-07-18 16:22:54'::timestamp) - extract(epoch from '2026-07-18 16:22: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'), 47391, 'SRID=4674;POINT (-38.509949 -3.525997)', '2026-07-18 16:22:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509944 -3.525984)'), GeomFromEWKT('SRID=4674;POINT (-38.509949 -3.525997)'))) / (select extract(epoch from '2026-07-18 16:22:55'::timestamp) - extract(epoch from '2026-07-18 16:22:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509944 -3.525984)'), GeomFromEWKT('SRID=4674;POINT (-38.509949 -3.525997)'))) / (select extract(epoch from '2026-07-18 16:22:55'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.509973 -3.526116)', '2026-07-18 16:23:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509949 -3.525997)'), GeomFromEWKT('SRID=4674;POINT (-38.509973 -3.526116)'))) / (select extract(epoch from '2026-07-18 16:23:02'::timestamp) - extract(epoch from '2026-07-18 16:22:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509949 -3.525997)'), GeomFromEWKT('SRID=4674;POINT (-38.509973 -3.526116)'))) / (select extract(epoch from '2026-07-18 16:23:02'::timestamp) - extract(epoch from '2026-07-18 16:22:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.509976 -3.526151)', '2026-07-18 16:23:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509973 -3.526116)'), GeomFromEWKT('SRID=4674;POINT (-38.509976 -3.526151)'))) / (select extract(epoch from '2026-07-18 16:23:04'::timestamp) - extract(epoch from '2026-07-18 16:23:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509973 -3.526116)'), GeomFromEWKT('SRID=4674;POINT (-38.509976 -3.526151)'))) / (select extract(epoch from '2026-07-18 16:23:04'::timestamp) - extract(epoch from '2026-07-18 16:23:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.509993 -3.526195)', '2026-07-18 16:23:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509976 -3.526151)'), GeomFromEWKT('SRID=4674;POINT (-38.509993 -3.526195)'))) / (select extract(epoch from '2026-07-18 16:23:07'::timestamp) - extract(epoch from '2026-07-18 16:23:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509976 -3.526151)'), GeomFromEWKT('SRID=4674;POINT (-38.509993 -3.526195)'))) / (select extract(epoch from '2026-07-18 16:23:07'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.509996 -3.526261)', '2026-07-18 16:23:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509993 -3.526195)'), GeomFromEWKT('SRID=4674;POINT (-38.509996 -3.526261)'))) / (select extract(epoch from '2026-07-18 16:23:11'::timestamp) - extract(epoch from '2026-07-18 16:23:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509993 -3.526195)'), GeomFromEWKT('SRID=4674;POINT (-38.509996 -3.526261)'))) / (select extract(epoch from '2026-07-18 16:23:11'::timestamp) - extract(epoch from '2026-07-18 16:23:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.510002 -3.526278)', '2026-07-18 16:23:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509996 -3.526261)'), GeomFromEWKT('SRID=4674;POINT (-38.510002 -3.526278)'))) / (select extract(epoch from '2026-07-18 16:23:12'::timestamp) - extract(epoch from '2026-07-18 16:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509996 -3.526261)'), GeomFromEWKT('SRID=4674;POINT (-38.510002 -3.526278)'))) / (select extract(epoch from '2026-07-18 16:23:12'::timestamp) - extract(epoch from '2026-07-18 16:23: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'), 47391, 'SRID=4674;POINT (-38.510022 -3.526339)', '2026-07-18 16:23:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510002 -3.526278)'), GeomFromEWKT('SRID=4674;POINT (-38.510022 -3.526339)'))) / (select extract(epoch from '2026-07-18 16:23:16'::timestamp) - extract(epoch from '2026-07-18 16:23:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510002 -3.526278)'), GeomFromEWKT('SRID=4674;POINT (-38.510022 -3.526339)'))) / (select extract(epoch from '2026-07-18 16:23:16'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.510028 -3.526346)', '2026-07-18 16:23:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510022 -3.526339)'), GeomFromEWKT('SRID=4674;POINT (-38.510028 -3.526346)'))) / (select extract(epoch from '2026-07-18 16:23:17'::timestamp) - extract(epoch from '2026-07-18 16:23:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510022 -3.526339)'), GeomFromEWKT('SRID=4674;POINT (-38.510028 -3.526346)'))) / (select extract(epoch from '2026-07-18 16:23:17'::timestamp) - extract(epoch from '2026-07-18 16:23: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'), 47391, 'SRID=4674;POINT (-38.510072 -3.526435)', '2026-07-18 16:23:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510028 -3.526346)'), GeomFromEWKT('SRID=4674;POINT (-38.510072 -3.526435)'))) / (select extract(epoch from '2026-07-18 16:23:22'::timestamp) - extract(epoch from '2026-07-18 16:23:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510028 -3.526346)'), GeomFromEWKT('SRID=4674;POINT (-38.510072 -3.526435)'))) / (select extract(epoch from '2026-07-18 16:23:22'::timestamp) - extract(epoch from '2026-07-18 16:23: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'), 47391, 'SRID=4674;POINT (-38.510111 -3.526562)', '2026-07-18 16:23:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510072 -3.526435)'), GeomFromEWKT('SRID=4674;POINT (-38.510111 -3.526562)'))) / (select extract(epoch from '2026-07-18 16:23:30'::timestamp) - extract(epoch from '2026-07-18 16:23:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510072 -3.526435)'), GeomFromEWKT('SRID=4674;POINT (-38.510111 -3.526562)'))) / (select extract(epoch from '2026-07-18 16:23:30'::timestamp) - extract(epoch from '2026-07-18 16:23:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.510111 -3.526574)', '2026-07-18 16:23:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510111 -3.526562)'), GeomFromEWKT('SRID=4674;POINT (-38.510111 -3.526574)'))) / (select extract(epoch from '2026-07-18 16:23:31'::timestamp) - extract(epoch from '2026-07-18 16:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510111 -3.526562)'), GeomFromEWKT('SRID=4674;POINT (-38.510111 -3.526574)'))) / (select extract(epoch from '2026-07-18 16:23:31'::timestamp) - extract(epoch from '2026-07-18 16:23: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'), 47391, 'SRID=4674;POINT (-38.510125 -3.526622)', '2026-07-18 16:23:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510111 -3.526574)'), GeomFromEWKT('SRID=4674;POINT (-38.510125 -3.526622)'))) / (select extract(epoch from '2026-07-18 16:23:34'::timestamp) - extract(epoch from '2026-07-18 16:23:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510111 -3.526574)'), GeomFromEWKT('SRID=4674;POINT (-38.510125 -3.526622)'))) / (select extract(epoch from '2026-07-18 16:23:34'::timestamp) - extract(epoch from '2026-07-18 16:23:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.510135 -3.526723)', '2026-07-18 16:23:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510125 -3.526622)'), GeomFromEWKT('SRID=4674;POINT (-38.510135 -3.526723)'))) / (select extract(epoch from '2026-07-18 16:23:39'::timestamp) - extract(epoch from '2026-07-18 16:23:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510125 -3.526622)'), GeomFromEWKT('SRID=4674;POINT (-38.510135 -3.526723)'))) / (select extract(epoch from '2026-07-18 16:23:39'::timestamp) - extract(epoch from '2026-07-18 16:23:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.510136 -3.526808)', '2026-07-18 16:23:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510135 -3.526723)'), GeomFromEWKT('SRID=4674;POINT (-38.510136 -3.526808)'))) / (select extract(epoch from '2026-07-18 16:23:44'::timestamp) - extract(epoch from '2026-07-18 16:23:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510135 -3.526723)'), GeomFromEWKT('SRID=4674;POINT (-38.510136 -3.526808)'))) / (select extract(epoch from '2026-07-18 16:23:44'::timestamp) - extract(epoch from '2026-07-18 16:23:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.510141 -3.526825)', '2026-07-18 16:23:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510136 -3.526808)'), GeomFromEWKT('SRID=4674;POINT (-38.510141 -3.526825)'))) / (select extract(epoch from '2026-07-18 16:23:45'::timestamp) - extract(epoch from '2026-07-18 16:23:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510136 -3.526808)'), GeomFromEWKT('SRID=4674;POINT (-38.510141 -3.526825)'))) / (select extract(epoch from '2026-07-18 16:23:45'::timestamp) - extract(epoch from '2026-07-18 16:23:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.510152 -3.526869)', '2026-07-18 16:23:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510141 -3.526825)'), GeomFromEWKT('SRID=4674;POINT (-38.510152 -3.526869)'))) / (select extract(epoch from '2026-07-18 16:23:48'::timestamp) - extract(epoch from '2026-07-18 16:23:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510141 -3.526825)'), GeomFromEWKT('SRID=4674;POINT (-38.510152 -3.526869)'))) / (select extract(epoch from '2026-07-18 16:23:48'::timestamp) - extract(epoch from '2026-07-18 16:23:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.510168 -3.526884)', '2026-07-18 16:23:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510152 -3.526869)'), GeomFromEWKT('SRID=4674;POINT (-38.510168 -3.526884)'))) / (select extract(epoch from '2026-07-18 16:23:50'::timestamp) - extract(epoch from '2026-07-18 16:23:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510152 -3.526869)'), GeomFromEWKT('SRID=4674;POINT (-38.510168 -3.526884)'))) / (select extract(epoch from '2026-07-18 16:23:50'::timestamp) - extract(epoch from '2026-07-18 16:23:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.510174 -3.526917)', '2026-07-18 16:23:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510168 -3.526884)'), GeomFromEWKT('SRID=4674;POINT (-38.510174 -3.526917)'))) / (select extract(epoch from '2026-07-18 16:23:52'::timestamp) - extract(epoch from '2026-07-18 16:23:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510168 -3.526884)'), GeomFromEWKT('SRID=4674;POINT (-38.510174 -3.526917)'))) / (select extract(epoch from '2026-07-18 16:23:52'::timestamp) - extract(epoch from '2026-07-18 16:23: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'), 47391, 'SRID=4674;POINT (-38.510189 -3.526934)', '2026-07-18 16:23:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510174 -3.526917)'), GeomFromEWKT('SRID=4674;POINT (-38.510189 -3.526934)'))) / (select extract(epoch from '2026-07-18 16:23:53'::timestamp) - extract(epoch from '2026-07-18 16:23:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510174 -3.526917)'), GeomFromEWKT('SRID=4674;POINT (-38.510189 -3.526934)'))) / (select extract(epoch from '2026-07-18 16:23:53'::timestamp) - extract(epoch from '2026-07-18 16:23:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.510204 -3.526967)', '2026-07-18 16:23:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510189 -3.526934)'), GeomFromEWKT('SRID=4674;POINT (-38.510204 -3.526967)'))) / (select extract(epoch from '2026-07-18 16:23:55'::timestamp) - extract(epoch from '2026-07-18 16:23:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510189 -3.526934)'), GeomFromEWKT('SRID=4674;POINT (-38.510204 -3.526967)'))) / (select extract(epoch from '2026-07-18 16:23:55'::timestamp) - extract(epoch from '2026-07-18 16:23:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.510202 -3.526994)', '2026-07-18 16:23:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510204 -3.526967)'), GeomFromEWKT('SRID=4674;POINT (-38.510202 -3.526994)'))) / (select extract(epoch from '2026-07-18 16:23:57'::timestamp) - extract(epoch from '2026-07-18 16:23:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510204 -3.526967)'), GeomFromEWKT('SRID=4674;POINT (-38.510202 -3.526994)'))) / (select extract(epoch from '2026-07-18 16:23:57'::timestamp) - extract(epoch from '2026-07-18 16:23: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'), 47391, 'SRID=4674;POINT (-38.510242 -3.527078)', '2026-07-18 16:24:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510202 -3.526994)'), GeomFromEWKT('SRID=4674;POINT (-38.510242 -3.527078)'))) / (select extract(epoch from '2026-07-18 16:24:03'::timestamp) - extract(epoch from '2026-07-18 16:23:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510202 -3.526994)'), GeomFromEWKT('SRID=4674;POINT (-38.510242 -3.527078)'))) / (select extract(epoch from '2026-07-18 16:24:03'::timestamp) - extract(epoch from '2026-07-18 16:23:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.510271 -3.527159)', '2026-07-18 16:24:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510242 -3.527078)'), GeomFromEWKT('SRID=4674;POINT (-38.510271 -3.527159)'))) / (select extract(epoch from '2026-07-18 16:24:08'::timestamp) - extract(epoch from '2026-07-18 16:24:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510242 -3.527078)'), GeomFromEWKT('SRID=4674;POINT (-38.510271 -3.527159)'))) / (select extract(epoch from '2026-07-18 16:24:08'::timestamp) - extract(epoch from '2026-07-18 16:24: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'), 47391, 'SRID=4674;POINT (-38.510305 -3.527252)', '2026-07-18 16:24:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510271 -3.527159)'), GeomFromEWKT('SRID=4674;POINT (-38.510305 -3.527252)'))) / (select extract(epoch from '2026-07-18 16:24:13'::timestamp) - extract(epoch from '2026-07-18 16:24:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510271 -3.527159)'), GeomFromEWKT('SRID=4674;POINT (-38.510305 -3.527252)'))) / (select extract(epoch from '2026-07-18 16:24:13'::timestamp) - extract(epoch from '2026-07-18 16:24: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'), 47391, 'SRID=4674;POINT (-38.510326 -3.527328)', '2026-07-18 16:24:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510305 -3.527252)'), GeomFromEWKT('SRID=4674;POINT (-38.510326 -3.527328)'))) / (select extract(epoch from '2026-07-18 16:24:18'::timestamp) - extract(epoch from '2026-07-18 16:24:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510305 -3.527252)'), GeomFromEWKT('SRID=4674;POINT (-38.510326 -3.527328)'))) / (select extract(epoch from '2026-07-18 16:24:18'::timestamp) - extract(epoch from '2026-07-18 16:24:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.510345 -3.5274)', '2026-07-18 16:24:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510326 -3.527328)'), GeomFromEWKT('SRID=4674;POINT (-38.510345 -3.5274)'))) / (select extract(epoch from '2026-07-18 16:24:24'::timestamp) - extract(epoch from '2026-07-18 16:24:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510326 -3.527328)'), GeomFromEWKT('SRID=4674;POINT (-38.510345 -3.5274)'))) / (select extract(epoch from '2026-07-18 16:24:24'::timestamp) - extract(epoch from '2026-07-18 16:24: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'), 47391, 'SRID=4674;POINT (-38.510354 -3.527414)', '2026-07-18 16:24:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510345 -3.5274)'), GeomFromEWKT('SRID=4674;POINT (-38.510354 -3.527414)'))) / (select extract(epoch from '2026-07-18 16:24:25'::timestamp) - extract(epoch from '2026-07-18 16:24:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510345 -3.5274)'), GeomFromEWKT('SRID=4674;POINT (-38.510354 -3.527414)'))) / (select extract(epoch from '2026-07-18 16:24:25'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.510359 -3.52743)', '2026-07-18 16:24:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510354 -3.527414)'), GeomFromEWKT('SRID=4674;POINT (-38.510359 -3.52743)'))) / (select extract(epoch from '2026-07-18 16:24:26'::timestamp) - extract(epoch from '2026-07-18 16:24:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510354 -3.527414)'), GeomFromEWKT('SRID=4674;POINT (-38.510359 -3.52743)'))) / (select extract(epoch from '2026-07-18 16:24:26'::timestamp) - extract(epoch from '2026-07-18 16:24: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'), 47391, 'SRID=4674;POINT (-38.51037 -3.527454)', '2026-07-18 16:24:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510359 -3.52743)'), GeomFromEWKT('SRID=4674;POINT (-38.51037 -3.527454)'))) / (select extract(epoch from '2026-07-18 16:24:28'::timestamp) - extract(epoch from '2026-07-18 16:24:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510359 -3.52743)'), GeomFromEWKT('SRID=4674;POINT (-38.51037 -3.527454)'))) / (select extract(epoch from '2026-07-18 16:24:28'::timestamp) - extract(epoch from '2026-07-18 16:24: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'), 47391, 'SRID=4674;POINT (-38.51038 -3.527463)', '2026-07-18 16:24:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51037 -3.527454)'), GeomFromEWKT('SRID=4674;POINT (-38.51038 -3.527463)'))) / (select extract(epoch from '2026-07-18 16:24:29'::timestamp) - extract(epoch from '2026-07-18 16:24:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51037 -3.527454)'), GeomFromEWKT('SRID=4674;POINT (-38.51038 -3.527463)'))) / (select extract(epoch from '2026-07-18 16:24:29'::timestamp) - extract(epoch from '2026-07-18 16:24:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.510386 -3.527477)', '2026-07-18 16:24:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51038 -3.527463)'), GeomFromEWKT('SRID=4674;POINT (-38.510386 -3.527477)'))) / (select extract(epoch from '2026-07-18 16:24:30'::timestamp) - extract(epoch from '2026-07-18 16:24:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51038 -3.527463)'), GeomFromEWKT('SRID=4674;POINT (-38.510386 -3.527477)'))) / (select extract(epoch from '2026-07-18 16:24:30'::timestamp) - extract(epoch from '2026-07-18 16:24:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.510416 -3.527535)', '2026-07-18 16:24:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510386 -3.527477)'), GeomFromEWKT('SRID=4674;POINT (-38.510416 -3.527535)'))) / (select extract(epoch from '2026-07-18 16:24:34'::timestamp) - extract(epoch from '2026-07-18 16:24:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510386 -3.527477)'), GeomFromEWKT('SRID=4674;POINT (-38.510416 -3.527535)'))) / (select extract(epoch from '2026-07-18 16:24:34'::timestamp) - extract(epoch from '2026-07-18 16:24: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'), 47391, 'SRID=4674;POINT (-38.510457 -3.527631)', '2026-07-18 16:24:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510416 -3.527535)'), GeomFromEWKT('SRID=4674;POINT (-38.510457 -3.527631)'))) / (select extract(epoch from '2026-07-18 16:24:40'::timestamp) - extract(epoch from '2026-07-18 16:24:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510416 -3.527535)'), GeomFromEWKT('SRID=4674;POINT (-38.510457 -3.527631)'))) / (select extract(epoch from '2026-07-18 16:24:40'::timestamp) - extract(epoch from '2026-07-18 16:24:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.510494 -3.527696)', '2026-07-18 16:24:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510457 -3.527631)'), GeomFromEWKT('SRID=4674;POINT (-38.510494 -3.527696)'))) / (select extract(epoch from '2026-07-18 16:24:45'::timestamp) - extract(epoch from '2026-07-18 16:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510457 -3.527631)'), GeomFromEWKT('SRID=4674;POINT (-38.510494 -3.527696)'))) / (select extract(epoch from '2026-07-18 16:24:45'::timestamp) - extract(epoch from '2026-07-18 16:24:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.510502 -3.52771)', '2026-07-18 16:24:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510494 -3.527696)'), GeomFromEWKT('SRID=4674;POINT (-38.510502 -3.52771)'))) / (select extract(epoch from '2026-07-18 16:24:46'::timestamp) - extract(epoch from '2026-07-18 16:24:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510494 -3.527696)'), GeomFromEWKT('SRID=4674;POINT (-38.510502 -3.52771)'))) / (select extract(epoch from '2026-07-18 16:24:46'::timestamp) - extract(epoch from '2026-07-18 16:24:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.510527 -3.527766)', '2026-07-18 16:24:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510502 -3.52771)'), GeomFromEWKT('SRID=4674;POINT (-38.510527 -3.527766)'))) / (select extract(epoch from '2026-07-18 16:24:50'::timestamp) - extract(epoch from '2026-07-18 16:24:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510502 -3.52771)'), GeomFromEWKT('SRID=4674;POINT (-38.510527 -3.527766)'))) / (select extract(epoch from '2026-07-18 16:24:50'::timestamp) - extract(epoch from '2026-07-18 16:24:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.51058 -3.527875)', '2026-07-18 16:24:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510527 -3.527766)'), GeomFromEWKT('SRID=4674;POINT (-38.51058 -3.527875)'))) / (select extract(epoch from '2026-07-18 16:24:57'::timestamp) - extract(epoch from '2026-07-18 16:24:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510527 -3.527766)'), GeomFromEWKT('SRID=4674;POINT (-38.51058 -3.527875)'))) / (select extract(epoch from '2026-07-18 16:24:57'::timestamp) - extract(epoch from '2026-07-18 16:24:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.510603 -3.527944)', '2026-07-18 16:25:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51058 -3.527875)'), GeomFromEWKT('SRID=4674;POINT (-38.510603 -3.527944)'))) / (select extract(epoch from '2026-07-18 16:25:01'::timestamp) - extract(epoch from '2026-07-18 16:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51058 -3.527875)'), GeomFromEWKT('SRID=4674;POINT (-38.510603 -3.527944)'))) / (select extract(epoch from '2026-07-18 16:25:01'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.510628 -3.527979)', '2026-07-18 16:25:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510603 -3.527944)'), GeomFromEWKT('SRID=4674;POINT (-38.510628 -3.527979)'))) / (select extract(epoch from '2026-07-18 16:25:03'::timestamp) - extract(epoch from '2026-07-18 16:25:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510603 -3.527944)'), GeomFromEWKT('SRID=4674;POINT (-38.510628 -3.527979)'))) / (select extract(epoch from '2026-07-18 16:25:03'::timestamp) - extract(epoch from '2026-07-18 16:25: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'), 47391, 'SRID=4674;POINT (-38.510647 -3.528058)', '2026-07-18 16:25:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510628 -3.527979)'), GeomFromEWKT('SRID=4674;POINT (-38.510647 -3.528058)'))) / (select extract(epoch from '2026-07-18 16:25:08'::timestamp) - extract(epoch from '2026-07-18 16:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510628 -3.527979)'), GeomFromEWKT('SRID=4674;POINT (-38.510647 -3.528058)'))) / (select extract(epoch from '2026-07-18 16:25:08'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.510678 -3.528159)', '2026-07-18 16:25:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510647 -3.528058)'), GeomFromEWKT('SRID=4674;POINT (-38.510678 -3.528159)'))) / (select extract(epoch from '2026-07-18 16:25:14'::timestamp) - extract(epoch from '2026-07-18 16:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510647 -3.528058)'), GeomFromEWKT('SRID=4674;POINT (-38.510678 -3.528159)'))) / (select extract(epoch from '2026-07-18 16:25:14'::timestamp) - extract(epoch from '2026-07-18 16:25:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.510713 -3.528247)', '2026-07-18 16:25:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510678 -3.528159)'), GeomFromEWKT('SRID=4674;POINT (-38.510713 -3.528247)'))) / (select extract(epoch from '2026-07-18 16:25:19'::timestamp) - extract(epoch from '2026-07-18 16:25:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510678 -3.528159)'), GeomFromEWKT('SRID=4674;POINT (-38.510713 -3.528247)'))) / (select extract(epoch from '2026-07-18 16:25:19'::timestamp) - extract(epoch from '2026-07-18 16:25:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.510718 -3.528264)', '2026-07-18 16:25:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510713 -3.528247)'), GeomFromEWKT('SRID=4674;POINT (-38.510718 -3.528264)'))) / (select extract(epoch from '2026-07-18 16:25:20'::timestamp) - extract(epoch from '2026-07-18 16:25:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510713 -3.528247)'), GeomFromEWKT('SRID=4674;POINT (-38.510718 -3.528264)'))) / (select extract(epoch from '2026-07-18 16:25:20'::timestamp) - extract(epoch from '2026-07-18 16:25: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'), 47391, 'SRID=4674;POINT (-38.510751 -3.528336)', '2026-07-18 16:25:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510718 -3.528264)'), GeomFromEWKT('SRID=4674;POINT (-38.510751 -3.528336)'))) / (select extract(epoch from '2026-07-18 16:25:24'::timestamp) - extract(epoch from '2026-07-18 16:25:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510718 -3.528264)'), GeomFromEWKT('SRID=4674;POINT (-38.510751 -3.528336)'))) / (select extract(epoch from '2026-07-18 16:25:24'::timestamp) - extract(epoch from '2026-07-18 16:25: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'), 47391, 'SRID=4674;POINT (-38.510761 -3.5284)', '2026-07-18 16:25:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510751 -3.528336)'), GeomFromEWKT('SRID=4674;POINT (-38.510761 -3.5284)'))) / (select extract(epoch from '2026-07-18 16:25:28'::timestamp) - extract(epoch from '2026-07-18 16:25:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510751 -3.528336)'), GeomFromEWKT('SRID=4674;POINT (-38.510761 -3.5284)'))) / (select extract(epoch from '2026-07-18 16:25:28'::timestamp) - extract(epoch from '2026-07-18 16:25: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'), 47391, 'SRID=4674;POINT (-38.510777 -3.528415)', '2026-07-18 16:25:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510761 -3.5284)'), GeomFromEWKT('SRID=4674;POINT (-38.510777 -3.528415)'))) / (select extract(epoch from '2026-07-18 16:25:29'::timestamp) - extract(epoch from '2026-07-18 16:25:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510761 -3.5284)'), GeomFromEWKT('SRID=4674;POINT (-38.510777 -3.528415)'))) / (select extract(epoch from '2026-07-18 16:25:29'::timestamp) - extract(epoch from '2026-07-18 16:25: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'), 47391, 'SRID=4674;POINT (-38.510798 -3.528448)', '2026-07-18 16:25:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510777 -3.528415)'), GeomFromEWKT('SRID=4674;POINT (-38.510798 -3.528448)'))) / (select extract(epoch from '2026-07-18 16:25:31'::timestamp) - extract(epoch from '2026-07-18 16:25:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510777 -3.528415)'), GeomFromEWKT('SRID=4674;POINT (-38.510798 -3.528448)'))) / (select extract(epoch from '2026-07-18 16:25:31'::timestamp) - extract(epoch from '2026-07-18 16:25:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.510801 -3.528475)', '2026-07-18 16:25:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510798 -3.528448)'), GeomFromEWKT('SRID=4674;POINT (-38.510801 -3.528475)'))) / (select extract(epoch from '2026-07-18 16:25:33'::timestamp) - extract(epoch from '2026-07-18 16:25:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510798 -3.528448)'), GeomFromEWKT('SRID=4674;POINT (-38.510801 -3.528475)'))) / (select extract(epoch from '2026-07-18 16:25:33'::timestamp) - extract(epoch from '2026-07-18 16:25:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.51084 -3.528558)', '2026-07-18 16:25:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510801 -3.528475)'), GeomFromEWKT('SRID=4674;POINT (-38.51084 -3.528558)'))) / (select extract(epoch from '2026-07-18 16:25:38'::timestamp) - extract(epoch from '2026-07-18 16:25:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510801 -3.528475)'), GeomFromEWKT('SRID=4674;POINT (-38.51084 -3.528558)'))) / (select extract(epoch from '2026-07-18 16:25:38'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.510845 -3.528587)', '2026-07-18 16:25:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51084 -3.528558)'), GeomFromEWKT('SRID=4674;POINT (-38.510845 -3.528587)'))) / (select extract(epoch from '2026-07-18 16:25:40'::timestamp) - extract(epoch from '2026-07-18 16:25:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51084 -3.528558)'), GeomFromEWKT('SRID=4674;POINT (-38.510845 -3.528587)'))) / (select extract(epoch from '2026-07-18 16:25:40'::timestamp) - extract(epoch from '2026-07-18 16:25: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'), 47391, 'SRID=4674;POINT (-38.51087 -3.528636)', '2026-07-18 16:25:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510845 -3.528587)'), GeomFromEWKT('SRID=4674;POINT (-38.51087 -3.528636)'))) / (select extract(epoch from '2026-07-18 16:25:43'::timestamp) - extract(epoch from '2026-07-18 16:25:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510845 -3.528587)'), GeomFromEWKT('SRID=4674;POINT (-38.51087 -3.528636)'))) / (select extract(epoch from '2026-07-18 16:25:43'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.51089 -3.528733)', '2026-07-18 16:25:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51087 -3.528636)'), GeomFromEWKT('SRID=4674;POINT (-38.51089 -3.528733)'))) / (select extract(epoch from '2026-07-18 16:25:49'::timestamp) - extract(epoch from '2026-07-18 16:25:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51087 -3.528636)'), GeomFromEWKT('SRID=4674;POINT (-38.51089 -3.528733)'))) / (select extract(epoch from '2026-07-18 16:25:49'::timestamp) - extract(epoch from '2026-07-18 16:25:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.510917 -3.528836)', '2026-07-18 16:25:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51089 -3.528733)'), GeomFromEWKT('SRID=4674;POINT (-38.510917 -3.528836)'))) / (select extract(epoch from '2026-07-18 16:25:55'::timestamp) - extract(epoch from '2026-07-18 16:25:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51089 -3.528733)'), GeomFromEWKT('SRID=4674;POINT (-38.510917 -3.528836)'))) / (select extract(epoch from '2026-07-18 16:25:55'::timestamp) - extract(epoch from '2026-07-18 16:25:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.510952 -3.528949)', '2026-07-18 16:26:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510917 -3.528836)'), GeomFromEWKT('SRID=4674;POINT (-38.510952 -3.528949)'))) / (select extract(epoch from '2026-07-18 16:26:02'::timestamp) - extract(epoch from '2026-07-18 16:25:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510917 -3.528836)'), GeomFromEWKT('SRID=4674;POINT (-38.510952 -3.528949)'))) / (select extract(epoch from '2026-07-18 16:26:02'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.510959 -3.528998)', '2026-07-18 16:26:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510952 -3.528949)'), GeomFromEWKT('SRID=4674;POINT (-38.510959 -3.528998)'))) / (select extract(epoch from '2026-07-18 16:26:05'::timestamp) - extract(epoch from '2026-07-18 16:26:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510952 -3.528949)'), GeomFromEWKT('SRID=4674;POINT (-38.510959 -3.528998)'))) / (select extract(epoch from '2026-07-18 16:26:05'::timestamp) - extract(epoch from '2026-07-18 16:26: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'), 47391, 'SRID=4674;POINT (-38.510971 -3.529012)', '2026-07-18 16:26:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510959 -3.528998)'), GeomFromEWKT('SRID=4674;POINT (-38.510971 -3.529012)'))) / (select extract(epoch from '2026-07-18 16:26:06'::timestamp) - extract(epoch from '2026-07-18 16:26:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510959 -3.528998)'), GeomFromEWKT('SRID=4674;POINT (-38.510971 -3.529012)'))) / (select extract(epoch from '2026-07-18 16:26:06'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.510998 -3.52904)', '2026-07-18 16:26:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510971 -3.529012)'), GeomFromEWKT('SRID=4674;POINT (-38.510998 -3.52904)'))) / (select extract(epoch from '2026-07-18 16:26:08'::timestamp) - extract(epoch from '2026-07-18 16:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510971 -3.529012)'), GeomFromEWKT('SRID=4674;POINT (-38.510998 -3.52904)'))) / (select extract(epoch from '2026-07-18 16:26:08'::timestamp) - extract(epoch from '2026-07-18 16:26: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'), 47391, 'SRID=4674;POINT (-38.510996 -3.529074)', '2026-07-18 16:26:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510998 -3.52904)'), GeomFromEWKT('SRID=4674;POINT (-38.510996 -3.529074)'))) / (select extract(epoch from '2026-07-18 16:26:10'::timestamp) - extract(epoch from '2026-07-18 16:26:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510998 -3.52904)'), GeomFromEWKT('SRID=4674;POINT (-38.510996 -3.529074)'))) / (select extract(epoch from '2026-07-18 16:26:10'::timestamp) - extract(epoch from '2026-07-18 16:26: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'), 47391, 'SRID=4674;POINT (-38.511024 -3.529163)', '2026-07-18 16:26:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510996 -3.529074)'), GeomFromEWKT('SRID=4674;POINT (-38.511024 -3.529163)'))) / (select extract(epoch from '2026-07-18 16:26:16'::timestamp) - extract(epoch from '2026-07-18 16:26:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510996 -3.529074)'), GeomFromEWKT('SRID=4674;POINT (-38.511024 -3.529163)'))) / (select extract(epoch from '2026-07-18 16:26:16'::timestamp) - extract(epoch from '2026-07-18 16:26:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.511068 -3.529285)', '2026-07-18 16:26:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511024 -3.529163)'), GeomFromEWKT('SRID=4674;POINT (-38.511068 -3.529285)'))) / (select extract(epoch from '2026-07-18 16:26:23'::timestamp) - extract(epoch from '2026-07-18 16:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511024 -3.529163)'), GeomFromEWKT('SRID=4674;POINT (-38.511068 -3.529285)'))) / (select extract(epoch from '2026-07-18 16:26:23'::timestamp) - extract(epoch from '2026-07-18 16:26:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.511102 -3.529408)', '2026-07-18 16:26:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511068 -3.529285)'), GeomFromEWKT('SRID=4674;POINT (-38.511102 -3.529408)'))) / (select extract(epoch from '2026-07-18 16:26:30'::timestamp) - extract(epoch from '2026-07-18 16:26:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511068 -3.529285)'), GeomFromEWKT('SRID=4674;POINT (-38.511102 -3.529408)'))) / (select extract(epoch from '2026-07-18 16:26:30'::timestamp) - extract(epoch from '2026-07-18 16:26: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'), 47391, 'SRID=4674;POINT (-38.511133 -3.529482)', '2026-07-18 16:26:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511102 -3.529408)'), GeomFromEWKT('SRID=4674;POINT (-38.511133 -3.529482)'))) / (select extract(epoch from '2026-07-18 16:26:35'::timestamp) - extract(epoch from '2026-07-18 16:26:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511102 -3.529408)'), GeomFromEWKT('SRID=4674;POINT (-38.511133 -3.529482)'))) / (select extract(epoch from '2026-07-18 16:26:35'::timestamp) - extract(epoch from '2026-07-18 16:26: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'), 47391, 'SRID=4674;POINT (-38.511164 -3.529575)', '2026-07-18 16:26:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511133 -3.529482)'), GeomFromEWKT('SRID=4674;POINT (-38.511164 -3.529575)'))) / (select extract(epoch from '2026-07-18 16:26:41'::timestamp) - extract(epoch from '2026-07-18 16:26:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511133 -3.529482)'), GeomFromEWKT('SRID=4674;POINT (-38.511164 -3.529575)'))) / (select extract(epoch from '2026-07-18 16:26:41'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.511191 -3.529667)', '2026-07-18 16:26:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511164 -3.529575)'), GeomFromEWKT('SRID=4674;POINT (-38.511191 -3.529667)'))) / (select extract(epoch from '2026-07-18 16:26:47'::timestamp) - extract(epoch from '2026-07-18 16:26:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511164 -3.529575)'), GeomFromEWKT('SRID=4674;POINT (-38.511191 -3.529667)'))) / (select extract(epoch from '2026-07-18 16:26:47'::timestamp) - extract(epoch from '2026-07-18 16:26:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.511217 -3.529709)', '2026-07-18 16:26:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511191 -3.529667)'), GeomFromEWKT('SRID=4674;POINT (-38.511217 -3.529709)'))) / (select extract(epoch from '2026-07-18 16:26:49'::timestamp) - extract(epoch from '2026-07-18 16:26:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511191 -3.529667)'), GeomFromEWKT('SRID=4674;POINT (-38.511217 -3.529709)'))) / (select extract(epoch from '2026-07-18 16:26:49'::timestamp) - extract(epoch from '2026-07-18 16:26:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.511218 -3.529742)', '2026-07-18 16:26:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511217 -3.529709)'), GeomFromEWKT('SRID=4674;POINT (-38.511218 -3.529742)'))) / (select extract(epoch from '2026-07-18 16:26:51'::timestamp) - extract(epoch from '2026-07-18 16:26:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511217 -3.529709)'), GeomFromEWKT('SRID=4674;POINT (-38.511218 -3.529742)'))) / (select extract(epoch from '2026-07-18 16:26:51'::timestamp) - extract(epoch from '2026-07-18 16:26: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'), 47391, 'SRID=4674;POINT (-38.511223 -3.529756)', '2026-07-18 16:26:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511218 -3.529742)'), GeomFromEWKT('SRID=4674;POINT (-38.511223 -3.529756)'))) / (select extract(epoch from '2026-07-18 16:26:52'::timestamp) - extract(epoch from '2026-07-18 16:26:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511218 -3.529742)'), GeomFromEWKT('SRID=4674;POINT (-38.511223 -3.529756)'))) / (select extract(epoch from '2026-07-18 16:26:52'::timestamp) - extract(epoch from '2026-07-18 16:26:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.511248 -3.529835)', '2026-07-18 16:26:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511223 -3.529756)'), GeomFromEWKT('SRID=4674;POINT (-38.511248 -3.529835)'))) / (select extract(epoch from '2026-07-18 16:26:56'::timestamp) - extract(epoch from '2026-07-18 16:26:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511223 -3.529756)'), GeomFromEWKT('SRID=4674;POINT (-38.511248 -3.529835)'))) / (select extract(epoch from '2026-07-18 16:26:56'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.511294 -3.53)', '2026-07-18 16:27:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511248 -3.529835)'), GeomFromEWKT('SRID=4674;POINT (-38.511294 -3.53)'))) / (select extract(epoch from '2026-07-18 16:27:05'::timestamp) - extract(epoch from '2026-07-18 16:26:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511248 -3.529835)'), GeomFromEWKT('SRID=4674;POINT (-38.511294 -3.53)'))) / (select extract(epoch from '2026-07-18 16:27:05'::timestamp) - extract(epoch from '2026-07-18 16:26:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.511319 -3.530072)', '2026-07-18 16:27:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511294 -3.53)'), GeomFromEWKT('SRID=4674;POINT (-38.511319 -3.530072)'))) / (select extract(epoch from '2026-07-18 16:27:11'::timestamp) - extract(epoch from '2026-07-18 16:27:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511294 -3.53)'), GeomFromEWKT('SRID=4674;POINT (-38.511319 -3.530072)'))) / (select extract(epoch from '2026-07-18 16:27:11'::timestamp) - extract(epoch from '2026-07-18 16:27: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'), 47391, 'SRID=4674;POINT (-38.511328 -3.530085)', '2026-07-18 16:27:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511319 -3.530072)'), GeomFromEWKT('SRID=4674;POINT (-38.511328 -3.530085)'))) / (select extract(epoch from '2026-07-18 16:27:12'::timestamp) - extract(epoch from '2026-07-18 16:27:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511319 -3.530072)'), GeomFromEWKT('SRID=4674;POINT (-38.511328 -3.530085)'))) / (select extract(epoch from '2026-07-18 16:27:12'::timestamp) - extract(epoch from '2026-07-18 16:27:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.511361 -3.530153)', '2026-07-18 16:27:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511328 -3.530085)'), GeomFromEWKT('SRID=4674;POINT (-38.511361 -3.530153)'))) / (select extract(epoch from '2026-07-18 16:27:17'::timestamp) - extract(epoch from '2026-07-18 16:27:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511328 -3.530085)'), GeomFromEWKT('SRID=4674;POINT (-38.511361 -3.530153)'))) / (select extract(epoch from '2026-07-18 16:27:17'::timestamp) - extract(epoch from '2026-07-18 16:27: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'), 47391, 'SRID=4674;POINT (-38.511399 -3.530226)', '2026-07-18 16:27:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511361 -3.530153)'), GeomFromEWKT('SRID=4674;POINT (-38.511399 -3.530226)'))) / (select extract(epoch from '2026-07-18 16:27:22'::timestamp) - extract(epoch from '2026-07-18 16:27:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511361 -3.530153)'), GeomFromEWKT('SRID=4674;POINT (-38.511399 -3.530226)'))) / (select extract(epoch from '2026-07-18 16:27:22'::timestamp) - extract(epoch from '2026-07-18 16:27:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.511447 -3.530336)', '2026-07-18 16:27:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511399 -3.530226)'), GeomFromEWKT('SRID=4674;POINT (-38.511447 -3.530336)'))) / (select extract(epoch from '2026-07-18 16:27:29'::timestamp) - extract(epoch from '2026-07-18 16:27:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511399 -3.530226)'), GeomFromEWKT('SRID=4674;POINT (-38.511447 -3.530336)'))) / (select extract(epoch from '2026-07-18 16:27:29'::timestamp) - extract(epoch from '2026-07-18 16:27: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'), 47391, 'SRID=4674;POINT (-38.511468 -3.530406)', '2026-07-18 16:27:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511447 -3.530336)'), GeomFromEWKT('SRID=4674;POINT (-38.511468 -3.530406)'))) / (select extract(epoch from '2026-07-18 16:27:33'::timestamp) - extract(epoch from '2026-07-18 16:27:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511447 -3.530336)'), GeomFromEWKT('SRID=4674;POINT (-38.511468 -3.530406)'))) / (select extract(epoch from '2026-07-18 16:27:33'::timestamp) - extract(epoch from '2026-07-18 16:27: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'), 47391, 'SRID=4674;POINT (-38.511487 -3.530436)', '2026-07-18 16:27:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511468 -3.530406)'), GeomFromEWKT('SRID=4674;POINT (-38.511487 -3.530436)'))) / (select extract(epoch from '2026-07-18 16:27:35'::timestamp) - extract(epoch from '2026-07-18 16:27:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511468 -3.530406)'), GeomFromEWKT('SRID=4674;POINT (-38.511487 -3.530436)'))) / (select extract(epoch from '2026-07-18 16:27:35'::timestamp) - extract(epoch from '2026-07-18 16:27:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.511512 -3.53052)', '2026-07-18 16:27:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511487 -3.530436)'), GeomFromEWKT('SRID=4674;POINT (-38.511512 -3.53052)'))) / (select extract(epoch from '2026-07-18 16:27:40'::timestamp) - extract(epoch from '2026-07-18 16:27:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511487 -3.530436)'), GeomFromEWKT('SRID=4674;POINT (-38.511512 -3.53052)'))) / (select extract(epoch from '2026-07-18 16:27:40'::timestamp) - extract(epoch from '2026-07-18 16:27:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.511532 -3.530592)', '2026-07-18 16:27:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511512 -3.53052)'), GeomFromEWKT('SRID=4674;POINT (-38.511532 -3.530592)'))) / (select extract(epoch from '2026-07-18 16:27:45'::timestamp) - extract(epoch from '2026-07-18 16:27:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511512 -3.53052)'), GeomFromEWKT('SRID=4674;POINT (-38.511532 -3.530592)'))) / (select extract(epoch from '2026-07-18 16:27:45'::timestamp) - extract(epoch from '2026-07-18 16:27:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.511543 -3.530605)', '2026-07-18 16:27:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511532 -3.530592)'), GeomFromEWKT('SRID=4674;POINT (-38.511543 -3.530605)'))) / (select extract(epoch from '2026-07-18 16:27:46'::timestamp) - extract(epoch from '2026-07-18 16:27:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511532 -3.530592)'), GeomFromEWKT('SRID=4674;POINT (-38.511543 -3.530605)'))) / (select extract(epoch from '2026-07-18 16:27:46'::timestamp) - extract(epoch from '2026-07-18 16:27:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.511565 -3.530673)', '2026-07-18 16:27:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511543 -3.530605)'), GeomFromEWKT('SRID=4674;POINT (-38.511565 -3.530673)'))) / (select extract(epoch from '2026-07-18 16:27:50'::timestamp) - extract(epoch from '2026-07-18 16:27:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511543 -3.530605)'), GeomFromEWKT('SRID=4674;POINT (-38.511565 -3.530673)'))) / (select extract(epoch from '2026-07-18 16:27:50'::timestamp) - extract(epoch from '2026-07-18 16:27:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.5116 -3.530766)', '2026-07-18 16:27:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511565 -3.530673)'), GeomFromEWKT('SRID=4674;POINT (-38.5116 -3.530766)'))) / (select extract(epoch from '2026-07-18 16:27:55'::timestamp) - extract(epoch from '2026-07-18 16:27:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511565 -3.530673)'), GeomFromEWKT('SRID=4674;POINT (-38.5116 -3.530766)'))) / (select extract(epoch from '2026-07-18 16:27:55'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.511627 -3.530888)', '2026-07-18 16:28:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5116 -3.530766)'), GeomFromEWKT('SRID=4674;POINT (-38.511627 -3.530888)'))) / (select extract(epoch from '2026-07-18 16:28:02'::timestamp) - extract(epoch from '2026-07-18 16:27:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5116 -3.530766)'), GeomFromEWKT('SRID=4674;POINT (-38.511627 -3.530888)'))) / (select extract(epoch from '2026-07-18 16:28:02'::timestamp) - extract(epoch from '2026-07-18 16:27:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.511659 -3.531023)', '2026-07-18 16:28:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511627 -3.530888)'), GeomFromEWKT('SRID=4674;POINT (-38.511659 -3.531023)'))) / (select extract(epoch from '2026-07-18 16:28:10'::timestamp) - extract(epoch from '2026-07-18 16:28:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511627 -3.530888)'), GeomFromEWKT('SRID=4674;POINT (-38.511659 -3.531023)'))) / (select extract(epoch from '2026-07-18 16:28:10'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.51169 -3.531104)', '2026-07-18 16:28:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511659 -3.531023)'), GeomFromEWKT('SRID=4674;POINT (-38.51169 -3.531104)'))) / (select extract(epoch from '2026-07-18 16:28:15'::timestamp) - extract(epoch from '2026-07-18 16:28:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511659 -3.531023)'), GeomFromEWKT('SRID=4674;POINT (-38.51169 -3.531104)'))) / (select extract(epoch from '2026-07-18 16:28:15'::timestamp) - extract(epoch from '2026-07-18 16:28: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'), 47391, 'SRID=4674;POINT (-38.511716 -3.531152)', '2026-07-18 16:28:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51169 -3.531104)'), GeomFromEWKT('SRID=4674;POINT (-38.511716 -3.531152)'))) / (select extract(epoch from '2026-07-18 16:28:18'::timestamp) - extract(epoch from '2026-07-18 16:28:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51169 -3.531104)'), GeomFromEWKT('SRID=4674;POINT (-38.511716 -3.531152)'))) / (select extract(epoch from '2026-07-18 16:28:18'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.511717 -3.53117)', '2026-07-18 16:28:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511716 -3.531152)'), GeomFromEWKT('SRID=4674;POINT (-38.511717 -3.53117)'))) / (select extract(epoch from '2026-07-18 16:28:19'::timestamp) - extract(epoch from '2026-07-18 16:28:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511716 -3.531152)'), GeomFromEWKT('SRID=4674;POINT (-38.511717 -3.53117)'))) / (select extract(epoch from '2026-07-18 16:28:19'::timestamp) - extract(epoch from '2026-07-18 16:28: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'), 47391, 'SRID=4674;POINT (-38.511722 -3.531203)', '2026-07-18 16:28:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511717 -3.53117)'), GeomFromEWKT('SRID=4674;POINT (-38.511722 -3.531203)'))) / (select extract(epoch from '2026-07-18 16:28:21'::timestamp) - extract(epoch from '2026-07-18 16:28:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511717 -3.53117)'), GeomFromEWKT('SRID=4674;POINT (-38.511722 -3.531203)'))) / (select extract(epoch from '2026-07-18 16:28:21'::timestamp) - extract(epoch from '2026-07-18 16:28:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.511746 -3.531266)', '2026-07-18 16:28:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511722 -3.531203)'), GeomFromEWKT('SRID=4674;POINT (-38.511746 -3.531266)'))) / (select extract(epoch from '2026-07-18 16:28:25'::timestamp) - extract(epoch from '2026-07-18 16:28:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511722 -3.531203)'), GeomFromEWKT('SRID=4674;POINT (-38.511746 -3.531266)'))) / (select extract(epoch from '2026-07-18 16:28:25'::timestamp) - extract(epoch from '2026-07-18 16:28: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'), 47391, 'SRID=4674;POINT (-38.511744 -3.531295)', '2026-07-18 16:28:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511746 -3.531266)'), GeomFromEWKT('SRID=4674;POINT (-38.511744 -3.531295)'))) / (select extract(epoch from '2026-07-18 16:28:27'::timestamp) - extract(epoch from '2026-07-18 16:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511746 -3.531266)'), GeomFromEWKT('SRID=4674;POINT (-38.511744 -3.531295)'))) / (select extract(epoch from '2026-07-18 16:28:27'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.511769 -3.531345)', '2026-07-18 16:28:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511744 -3.531295)'), GeomFromEWKT('SRID=4674;POINT (-38.511769 -3.531345)'))) / (select extract(epoch from '2026-07-18 16:28:30'::timestamp) - extract(epoch from '2026-07-18 16:28:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511744 -3.531295)'), GeomFromEWKT('SRID=4674;POINT (-38.511769 -3.531345)'))) / (select extract(epoch from '2026-07-18 16:28:30'::timestamp) - extract(epoch from '2026-07-18 16:28:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.511797 -3.531441)', '2026-07-18 16:28:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511769 -3.531345)'), GeomFromEWKT('SRID=4674;POINT (-38.511797 -3.531441)'))) / (select extract(epoch from '2026-07-18 16:28:36'::timestamp) - extract(epoch from '2026-07-18 16:28:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511769 -3.531345)'), GeomFromEWKT('SRID=4674;POINT (-38.511797 -3.531441)'))) / (select extract(epoch from '2026-07-18 16:28:36'::timestamp) - extract(epoch from '2026-07-18 16:28:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.511827 -3.531528)', '2026-07-18 16:28:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511797 -3.531441)'), GeomFromEWKT('SRID=4674;POINT (-38.511827 -3.531528)'))) / (select extract(epoch from '2026-07-18 16:28:41'::timestamp) - extract(epoch from '2026-07-18 16:28:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511797 -3.531441)'), GeomFromEWKT('SRID=4674;POINT (-38.511827 -3.531528)'))) / (select extract(epoch from '2026-07-18 16:28:41'::timestamp) - extract(epoch from '2026-07-18 16:28:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.511843 -3.531622)', '2026-07-18 16:28:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511827 -3.531528)'), GeomFromEWKT('SRID=4674;POINT (-38.511843 -3.531622)'))) / (select extract(epoch from '2026-07-18 16:28:46'::timestamp) - extract(epoch from '2026-07-18 16:28:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511827 -3.531528)'), GeomFromEWKT('SRID=4674;POINT (-38.511843 -3.531622)'))) / (select extract(epoch from '2026-07-18 16:28:46'::timestamp) - extract(epoch from '2026-07-18 16:28:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.511865 -3.531675)', '2026-07-18 16:28:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511843 -3.531622)'), GeomFromEWKT('SRID=4674;POINT (-38.511865 -3.531675)'))) / (select extract(epoch from '2026-07-18 16:28:49'::timestamp) - extract(epoch from '2026-07-18 16:28:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511843 -3.531622)'), GeomFromEWKT('SRID=4674;POINT (-38.511865 -3.531675)'))) / (select extract(epoch from '2026-07-18 16:28:49'::timestamp) - extract(epoch from '2026-07-18 16:28: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'), 47391, 'SRID=4674;POINT (-38.51187 -3.531715)', '2026-07-18 16:28:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511865 -3.531675)'), GeomFromEWKT('SRID=4674;POINT (-38.51187 -3.531715)'))) / (select extract(epoch from '2026-07-18 16:28:51'::timestamp) - extract(epoch from '2026-07-18 16:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511865 -3.531675)'), GeomFromEWKT('SRID=4674;POINT (-38.51187 -3.531715)'))) / (select extract(epoch from '2026-07-18 16:28:51'::timestamp) - extract(epoch from '2026-07-18 16:28: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'), 47391, 'SRID=4674;POINT (-38.51189 -3.531745)', '2026-07-18 16:28:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51187 -3.531715)'), GeomFromEWKT('SRID=4674;POINT (-38.51189 -3.531745)'))) / (select extract(epoch from '2026-07-18 16:28:53'::timestamp) - extract(epoch from '2026-07-18 16:28:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51187 -3.531715)'), GeomFromEWKT('SRID=4674;POINT (-38.51189 -3.531745)'))) / (select extract(epoch from '2026-07-18 16:28:53'::timestamp) - extract(epoch from '2026-07-18 16:28:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.511902 -3.531806)', '2026-07-18 16:28:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51189 -3.531745)'), GeomFromEWKT('SRID=4674;POINT (-38.511902 -3.531806)'))) / (select extract(epoch from '2026-07-18 16:28:56'::timestamp) - extract(epoch from '2026-07-18 16:28:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51189 -3.531745)'), GeomFromEWKT('SRID=4674;POINT (-38.511902 -3.531806)'))) / (select extract(epoch from '2026-07-18 16:28:56'::timestamp) - extract(epoch from '2026-07-18 16:28: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'), 47391, 'SRID=4674;POINT (-38.511924 -3.531886)', '2026-07-18 16:29:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511902 -3.531806)'), GeomFromEWKT('SRID=4674;POINT (-38.511924 -3.531886)'))) / (select extract(epoch from '2026-07-18 16:29:01'::timestamp) - extract(epoch from '2026-07-18 16:28:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511902 -3.531806)'), GeomFromEWKT('SRID=4674;POINT (-38.511924 -3.531886)'))) / (select extract(epoch from '2026-07-18 16:29:01'::timestamp) - extract(epoch from '2026-07-18 16:28: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'), 47391, 'SRID=4674;POINT (-38.511943 -3.531954)', '2026-07-18 16:29:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511924 -3.531886)'), GeomFromEWKT('SRID=4674;POINT (-38.511943 -3.531954)'))) / (select extract(epoch from '2026-07-18 16:29:05'::timestamp) - extract(epoch from '2026-07-18 16:29:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511924 -3.531886)'), GeomFromEWKT('SRID=4674;POINT (-38.511943 -3.531954)'))) / (select extract(epoch from '2026-07-18 16:29:05'::timestamp) - extract(epoch from '2026-07-18 16:29: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'), 47391, 'SRID=4674;POINT (-38.511941 -3.531984)', '2026-07-18 16:29:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511943 -3.531954)'), GeomFromEWKT('SRID=4674;POINT (-38.511941 -3.531984)'))) / (select extract(epoch from '2026-07-18 16:29:07'::timestamp) - extract(epoch from '2026-07-18 16:29:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511943 -3.531954)'), GeomFromEWKT('SRID=4674;POINT (-38.511941 -3.531984)'))) / (select extract(epoch from '2026-07-18 16:29:07'::timestamp) - extract(epoch from '2026-07-18 16:29: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'), 47391, 'SRID=4674;POINT (-38.51196 -3.532031)', '2026-07-18 16:29:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511941 -3.531984)'), GeomFromEWKT('SRID=4674;POINT (-38.51196 -3.532031)'))) / (select extract(epoch from '2026-07-18 16:29:10'::timestamp) - extract(epoch from '2026-07-18 16:29:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511941 -3.531984)'), GeomFromEWKT('SRID=4674;POINT (-38.51196 -3.532031)'))) / (select extract(epoch from '2026-07-18 16:29:10'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.511993 -3.532122)', '2026-07-18 16:29:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51196 -3.532031)'), GeomFromEWKT('SRID=4674;POINT (-38.511993 -3.532122)'))) / (select extract(epoch from '2026-07-18 16:29:16'::timestamp) - extract(epoch from '2026-07-18 16:29:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51196 -3.532031)'), GeomFromEWKT('SRID=4674;POINT (-38.511993 -3.532122)'))) / (select extract(epoch from '2026-07-18 16:29:16'::timestamp) - extract(epoch from '2026-07-18 16:29: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'), 47391, 'SRID=4674;POINT (-38.512048 -3.53227)', '2026-07-18 16:29:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511993 -3.532122)'), GeomFromEWKT('SRID=4674;POINT (-38.512048 -3.53227)'))) / (select extract(epoch from '2026-07-18 16:29:24'::timestamp) - extract(epoch from '2026-07-18 16:29:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511993 -3.532122)'), GeomFromEWKT('SRID=4674;POINT (-38.512048 -3.53227)'))) / (select extract(epoch from '2026-07-18 16:29:24'::timestamp) - extract(epoch from '2026-07-18 16:29: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'), 47391, 'SRID=4674;POINT (-38.512057 -3.532316)', '2026-07-18 16:29:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512048 -3.53227)'), GeomFromEWKT('SRID=4674;POINT (-38.512057 -3.532316)'))) / (select extract(epoch from '2026-07-18 16:29:27'::timestamp) - extract(epoch from '2026-07-18 16:29:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512048 -3.53227)'), GeomFromEWKT('SRID=4674;POINT (-38.512057 -3.532316)'))) / (select extract(epoch from '2026-07-18 16:29:27'::timestamp) - extract(epoch from '2026-07-18 16:29:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.512071 -3.532333)', '2026-07-18 16:29:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512057 -3.532316)'), GeomFromEWKT('SRID=4674;POINT (-38.512071 -3.532333)'))) / (select extract(epoch from '2026-07-18 16:29:28'::timestamp) - extract(epoch from '2026-07-18 16:29:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512057 -3.532316)'), GeomFromEWKT('SRID=4674;POINT (-38.512071 -3.532333)'))) / (select extract(epoch from '2026-07-18 16:29:28'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.512091 -3.532391)', '2026-07-18 16:29:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512071 -3.532333)'), GeomFromEWKT('SRID=4674;POINT (-38.512091 -3.532391)'))) / (select extract(epoch from '2026-07-18 16:29:32'::timestamp) - extract(epoch from '2026-07-18 16:29:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512071 -3.532333)'), GeomFromEWKT('SRID=4674;POINT (-38.512091 -3.532391)'))) / (select extract(epoch from '2026-07-18 16:29:32'::timestamp) - extract(epoch from '2026-07-18 16:29: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'), 47391, 'SRID=4674;POINT (-38.512122 -3.532485)', '2026-07-18 16:29:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512091 -3.532391)'), GeomFromEWKT('SRID=4674;POINT (-38.512122 -3.532485)'))) / (select extract(epoch from '2026-07-18 16:29:38'::timestamp) - extract(epoch from '2026-07-18 16:29:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512091 -3.532391)'), GeomFromEWKT('SRID=4674;POINT (-38.512122 -3.532485)'))) / (select extract(epoch from '2026-07-18 16:29:38'::timestamp) - extract(epoch from '2026-07-18 16:29: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'), 47391, 'SRID=4674;POINT (-38.512158 -3.532589)', '2026-07-18 16:29:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512122 -3.532485)'), GeomFromEWKT('SRID=4674;POINT (-38.512158 -3.532589)'))) / (select extract(epoch from '2026-07-18 16:29:44'::timestamp) - extract(epoch from '2026-07-18 16:29:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512122 -3.532485)'), GeomFromEWKT('SRID=4674;POINT (-38.512158 -3.532589)'))) / (select extract(epoch from '2026-07-18 16:29:44'::timestamp) - extract(epoch from '2026-07-18 16:29: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'), 47391, 'SRID=4674;POINT (-38.512186 -3.532699)', '2026-07-18 16:29:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512158 -3.532589)'), GeomFromEWKT('SRID=4674;POINT (-38.512186 -3.532699)'))) / (select extract(epoch from '2026-07-18 16:29:50'::timestamp) - extract(epoch from '2026-07-18 16:29:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512158 -3.532589)'), GeomFromEWKT('SRID=4674;POINT (-38.512186 -3.532699)'))) / (select extract(epoch from '2026-07-18 16:29:50'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.512216 -3.532816)', '2026-07-18 16:29:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512186 -3.532699)'), GeomFromEWKT('SRID=4674;POINT (-38.512216 -3.532816)'))) / (select extract(epoch from '2026-07-18 16:29:57'::timestamp) - extract(epoch from '2026-07-18 16:29:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512186 -3.532699)'), GeomFromEWKT('SRID=4674;POINT (-38.512216 -3.532816)'))) / (select extract(epoch from '2026-07-18 16:29:57'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.512239 -3.532924)', '2026-07-18 16:30:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512216 -3.532816)'), GeomFromEWKT('SRID=4674;POINT (-38.512239 -3.532924)'))) / (select extract(epoch from '2026-07-18 16:30:03'::timestamp) - extract(epoch from '2026-07-18 16:29:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512216 -3.532816)'), GeomFromEWKT('SRID=4674;POINT (-38.512239 -3.532924)'))) / (select extract(epoch from '2026-07-18 16:30:03'::timestamp) - extract(epoch from '2026-07-18 16:29: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'), 47391, 'SRID=4674;POINT (-38.512271 -3.533027)', '2026-07-18 16:30:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512239 -3.532924)'), GeomFromEWKT('SRID=4674;POINT (-38.512271 -3.533027)'))) / (select extract(epoch from '2026-07-18 16:30:09'::timestamp) - extract(epoch from '2026-07-18 16:30:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512239 -3.532924)'), GeomFromEWKT('SRID=4674;POINT (-38.512271 -3.533027)'))) / (select extract(epoch from '2026-07-18 16:30:09'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.512298 -3.533117)', '2026-07-18 16:30:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512271 -3.533027)'), GeomFromEWKT('SRID=4674;POINT (-38.512298 -3.533117)'))) / (select extract(epoch from '2026-07-18 16:30:15'::timestamp) - extract(epoch from '2026-07-18 16:30:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512271 -3.533027)'), GeomFromEWKT('SRID=4674;POINT (-38.512298 -3.533117)'))) / (select extract(epoch from '2026-07-18 16:30:15'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.512334 -3.533206)', '2026-07-18 16:30:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512298 -3.533117)'), GeomFromEWKT('SRID=4674;POINT (-38.512334 -3.533206)'))) / (select extract(epoch from '2026-07-18 16:30:21'::timestamp) - extract(epoch from '2026-07-18 16:30:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512298 -3.533117)'), GeomFromEWKT('SRID=4674;POINT (-38.512334 -3.533206)'))) / (select extract(epoch from '2026-07-18 16:30:21'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.512335 -3.533232)', '2026-07-18 16:30:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512334 -3.533206)'), GeomFromEWKT('SRID=4674;POINT (-38.512335 -3.533232)'))) / (select extract(epoch from '2026-07-18 16:30:23'::timestamp) - extract(epoch from '2026-07-18 16:30:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512334 -3.533206)'), GeomFromEWKT('SRID=4674;POINT (-38.512335 -3.533232)'))) / (select extract(epoch from '2026-07-18 16:30:23'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.512359 -3.533275)', '2026-07-18 16:30:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512335 -3.533232)'), GeomFromEWKT('SRID=4674;POINT (-38.512359 -3.533275)'))) / (select extract(epoch from '2026-07-18 16:30:26'::timestamp) - extract(epoch from '2026-07-18 16:30:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512335 -3.533232)'), GeomFromEWKT('SRID=4674;POINT (-38.512359 -3.533275)'))) / (select extract(epoch from '2026-07-18 16:30:26'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.512383 -3.533343)', '2026-07-18 16:30:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512359 -3.533275)'), GeomFromEWKT('SRID=4674;POINT (-38.512383 -3.533343)'))) / (select extract(epoch from '2026-07-18 16:30:31'::timestamp) - extract(epoch from '2026-07-18 16:30:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512359 -3.533275)'), GeomFromEWKT('SRID=4674;POINT (-38.512383 -3.533343)'))) / (select extract(epoch from '2026-07-18 16:30:31'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.51241 -3.533384)', '2026-07-18 16:30:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512383 -3.533343)'), GeomFromEWKT('SRID=4674;POINT (-38.51241 -3.533384)'))) / (select extract(epoch from '2026-07-18 16:30:34'::timestamp) - extract(epoch from '2026-07-18 16:30:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512383 -3.533343)'), GeomFromEWKT('SRID=4674;POINT (-38.51241 -3.533384)'))) / (select extract(epoch from '2026-07-18 16:30:34'::timestamp) - extract(epoch from '2026-07-18 16:30:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.512418 -3.533419)', '2026-07-18 16:30:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51241 -3.533384)'), GeomFromEWKT('SRID=4674;POINT (-38.512418 -3.533419)'))) / (select extract(epoch from '2026-07-18 16:30:36'::timestamp) - extract(epoch from '2026-07-18 16:30:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51241 -3.533384)'), GeomFromEWKT('SRID=4674;POINT (-38.512418 -3.533419)'))) / (select extract(epoch from '2026-07-18 16:30:36'::timestamp) - extract(epoch from '2026-07-18 16:30: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'), 47391, 'SRID=4674;POINT (-38.512428 -3.533434)', '2026-07-18 16:30:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512418 -3.533419)'), GeomFromEWKT('SRID=4674;POINT (-38.512428 -3.533434)'))) / (select extract(epoch from '2026-07-18 16:30:37'::timestamp) - extract(epoch from '2026-07-18 16:30:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512418 -3.533419)'), GeomFromEWKT('SRID=4674;POINT (-38.512428 -3.533434)'))) / (select extract(epoch from '2026-07-18 16:30:37'::timestamp) - extract(epoch from '2026-07-18 16:30:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.512469 -3.533538)', '2026-07-18 16:30:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512428 -3.533434)'), GeomFromEWKT('SRID=4674;POINT (-38.512469 -3.533538)'))) / (select extract(epoch from '2026-07-18 16:30:43'::timestamp) - extract(epoch from '2026-07-18 16:30:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512428 -3.533434)'), GeomFromEWKT('SRID=4674;POINT (-38.512469 -3.533538)'))) / (select extract(epoch from '2026-07-18 16:30:43'::timestamp) - extract(epoch from '2026-07-18 16:30:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.512507 -3.533613)', '2026-07-18 16:30:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512469 -3.533538)'), GeomFromEWKT('SRID=4674;POINT (-38.512507 -3.533613)'))) / (select extract(epoch from '2026-07-18 16:30:48'::timestamp) - extract(epoch from '2026-07-18 16:30:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512469 -3.533538)'), GeomFromEWKT('SRID=4674;POINT (-38.512507 -3.533613)'))) / (select extract(epoch from '2026-07-18 16:30:48'::timestamp) - extract(epoch from '2026-07-18 16:30:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.512537 -3.533692)', '2026-07-18 16:30:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512507 -3.533613)'), GeomFromEWKT('SRID=4674;POINT (-38.512537 -3.533692)'))) / (select extract(epoch from '2026-07-18 16:30:54'::timestamp) - extract(epoch from '2026-07-18 16:30:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512507 -3.533613)'), GeomFromEWKT('SRID=4674;POINT (-38.512537 -3.533692)'))) / (select extract(epoch from '2026-07-18 16:30:54'::timestamp) - extract(epoch from '2026-07-18 16:30: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'), 47391, 'SRID=4674;POINT (-38.512559 -3.533733)', '2026-07-18 16:30:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512537 -3.533692)'), GeomFromEWKT('SRID=4674;POINT (-38.512559 -3.533733)'))) / (select extract(epoch from '2026-07-18 16:30:57'::timestamp) - extract(epoch from '2026-07-18 16:30:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512537 -3.533692)'), GeomFromEWKT('SRID=4674;POINT (-38.512559 -3.533733)'))) / (select extract(epoch from '2026-07-18 16:30:57'::timestamp) - extract(epoch from '2026-07-18 16:30:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.512568 -3.533761)', '2026-07-18 16:30:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512559 -3.533733)'), GeomFromEWKT('SRID=4674;POINT (-38.512568 -3.533761)'))) / (select extract(epoch from '2026-07-18 16:30:59'::timestamp) - extract(epoch from '2026-07-18 16:30:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512559 -3.533733)'), GeomFromEWKT('SRID=4674;POINT (-38.512568 -3.533761)'))) / (select extract(epoch from '2026-07-18 16:30:59'::timestamp) - extract(epoch from '2026-07-18 16:30: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'), 47391, 'SRID=4674;POINT (-38.512607 -3.533872)', '2026-07-18 16:31:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512568 -3.533761)'), GeomFromEWKT('SRID=4674;POINT (-38.512607 -3.533872)'))) / (select extract(epoch from '2026-07-18 16:31:05'::timestamp) - extract(epoch from '2026-07-18 16:30:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512568 -3.533761)'), GeomFromEWKT('SRID=4674;POINT (-38.512607 -3.533872)'))) / (select extract(epoch from '2026-07-18 16:31:05'::timestamp) - extract(epoch from '2026-07-18 16:30:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.512642 -3.533973)', '2026-07-18 16:31:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512607 -3.533872)'), GeomFromEWKT('SRID=4674;POINT (-38.512642 -3.533973)'))) / (select extract(epoch from '2026-07-18 16:31:10'::timestamp) - extract(epoch from '2026-07-18 16:31:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512607 -3.533872)'), GeomFromEWKT('SRID=4674;POINT (-38.512642 -3.533973)'))) / (select extract(epoch from '2026-07-18 16:31:10'::timestamp) - extract(epoch from '2026-07-18 16:31: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'), 47391, 'SRID=4674;POINT (-38.512666 -3.534064)', '2026-07-18 16:31:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512642 -3.533973)'), GeomFromEWKT('SRID=4674;POINT (-38.512666 -3.534064)'))) / (select extract(epoch from '2026-07-18 16:31:15'::timestamp) - extract(epoch from '2026-07-18 16:31:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512642 -3.533973)'), GeomFromEWKT('SRID=4674;POINT (-38.512666 -3.534064)'))) / (select extract(epoch from '2026-07-18 16:31:15'::timestamp) - extract(epoch from '2026-07-18 16:31: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'), 47391, 'SRID=4674;POINT (-38.512687 -3.534158)', '2026-07-18 16:31:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512666 -3.534064)'), GeomFromEWKT('SRID=4674;POINT (-38.512687 -3.534158)'))) / (select extract(epoch from '2026-07-18 16:31:21'::timestamp) - extract(epoch from '2026-07-18 16:31:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512666 -3.534064)'), GeomFromEWKT('SRID=4674;POINT (-38.512687 -3.534158)'))) / (select extract(epoch from '2026-07-18 16:31:21'::timestamp) - extract(epoch from '2026-07-18 16:31:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.512715 -3.534258)', '2026-07-18 16:31:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512687 -3.534158)'), GeomFromEWKT('SRID=4674;POINT (-38.512715 -3.534258)'))) / (select extract(epoch from '2026-07-18 16:31:27'::timestamp) - extract(epoch from '2026-07-18 16:31:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512687 -3.534158)'), GeomFromEWKT('SRID=4674;POINT (-38.512715 -3.534258)'))) / (select extract(epoch from '2026-07-18 16:31:27'::timestamp) - extract(epoch from '2026-07-18 16:31:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.512749 -3.53436)', '2026-07-18 16:31:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512715 -3.534258)'), GeomFromEWKT('SRID=4674;POINT (-38.512749 -3.53436)'))) / (select extract(epoch from '2026-07-18 16:31:32'::timestamp) - extract(epoch from '2026-07-18 16:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512715 -3.534258)'), GeomFromEWKT('SRID=4674;POINT (-38.512749 -3.53436)'))) / (select extract(epoch from '2026-07-18 16:31:32'::timestamp) - extract(epoch from '2026-07-18 16:31:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.51279 -3.534475)', '2026-07-18 16:31:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512749 -3.53436)'), GeomFromEWKT('SRID=4674;POINT (-38.51279 -3.534475)'))) / (select extract(epoch from '2026-07-18 16:31:38'::timestamp) - extract(epoch from '2026-07-18 16:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512749 -3.53436)'), GeomFromEWKT('SRID=4674;POINT (-38.51279 -3.534475)'))) / (select extract(epoch from '2026-07-18 16:31:38'::timestamp) - extract(epoch from '2026-07-18 16:31: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'), 47391, 'SRID=4674;POINT (-38.512794 -3.534491)', '2026-07-18 16:31:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51279 -3.534475)'), GeomFromEWKT('SRID=4674;POINT (-38.512794 -3.534491)'))) / (select extract(epoch from '2026-07-18 16:31:39'::timestamp) - extract(epoch from '2026-07-18 16:31:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51279 -3.534475)'), GeomFromEWKT('SRID=4674;POINT (-38.512794 -3.534491)'))) / (select extract(epoch from '2026-07-18 16:31:39'::timestamp) - extract(epoch from '2026-07-18 16:31:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.512808 -3.534568)', '2026-07-18 16:31:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512794 -3.534491)'), GeomFromEWKT('SRID=4674;POINT (-38.512808 -3.534568)'))) / (select extract(epoch from '2026-07-18 16:31:43'::timestamp) - extract(epoch from '2026-07-18 16:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512794 -3.534491)'), GeomFromEWKT('SRID=4674;POINT (-38.512808 -3.534568)'))) / (select extract(epoch from '2026-07-18 16:31:43'::timestamp) - extract(epoch from '2026-07-18 16:31: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'), 47391, 'SRID=4674;POINT (-38.512819 -3.534666)', '2026-07-18 16:31:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512808 -3.534568)'), GeomFromEWKT('SRID=4674;POINT (-38.512819 -3.534666)'))) / (select extract(epoch from '2026-07-18 16:31:48'::timestamp) - extract(epoch from '2026-07-18 16:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512808 -3.534568)'), GeomFromEWKT('SRID=4674;POINT (-38.512819 -3.534666)'))) / (select extract(epoch from '2026-07-18 16:31:48'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.512825 -3.534683)', '2026-07-18 16:31:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512819 -3.534666)'), GeomFromEWKT('SRID=4674;POINT (-38.512825 -3.534683)'))) / (select extract(epoch from '2026-07-18 16:31:49'::timestamp) - extract(epoch from '2026-07-18 16:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512819 -3.534666)'), GeomFromEWKT('SRID=4674;POINT (-38.512825 -3.534683)'))) / (select extract(epoch from '2026-07-18 16:31:49'::timestamp) - extract(epoch from '2026-07-18 16:31:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.512843 -3.534781)', '2026-07-18 16:31:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512825 -3.534683)'), GeomFromEWKT('SRID=4674;POINT (-38.512843 -3.534781)'))) / (select extract(epoch from '2026-07-18 16:31:55'::timestamp) - extract(epoch from '2026-07-18 16:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512825 -3.534683)'), GeomFromEWKT('SRID=4674;POINT (-38.512843 -3.534781)'))) / (select extract(epoch from '2026-07-18 16:31:55'::timestamp) - extract(epoch from '2026-07-18 16:31: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'), 47391, 'SRID=4674;POINT (-38.512851 -3.534792)', '2026-07-18 16:31:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512843 -3.534781)'), GeomFromEWKT('SRID=4674;POINT (-38.512851 -3.534792)'))) / (select extract(epoch from '2026-07-18 16:31:56'::timestamp) - extract(epoch from '2026-07-18 16:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512843 -3.534781)'), GeomFromEWKT('SRID=4674;POINT (-38.512851 -3.534792)'))) / (select extract(epoch from '2026-07-18 16:31:56'::timestamp) - extract(epoch from '2026-07-18 16:31: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'), 47391, 'SRID=4674;POINT (-38.51288 -3.534841)', '2026-07-18 16:32:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512851 -3.534792)'), GeomFromEWKT('SRID=4674;POINT (-38.51288 -3.534841)'))) / (select extract(epoch from '2026-07-18 16:32:00'::timestamp) - extract(epoch from '2026-07-18 16:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512851 -3.534792)'), GeomFromEWKT('SRID=4674;POINT (-38.51288 -3.534841)'))) / (select extract(epoch from '2026-07-18 16:32:00'::timestamp) - extract(epoch from '2026-07-18 16:31: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'), 47391, 'SRID=4674;POINT (-38.512909 -3.534931)', '2026-07-18 16:32:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51288 -3.534841)'), GeomFromEWKT('SRID=4674;POINT (-38.512909 -3.534931)'))) / (select extract(epoch from '2026-07-18 16:32:05'::timestamp) - extract(epoch from '2026-07-18 16:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51288 -3.534841)'), GeomFromEWKT('SRID=4674;POINT (-38.512909 -3.534931)'))) / (select extract(epoch from '2026-07-18 16:32:05'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.512935 -3.535006)', '2026-07-18 16:32:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512909 -3.534931)'), GeomFromEWKT('SRID=4674;POINT (-38.512935 -3.535006)'))) / (select extract(epoch from '2026-07-18 16:32:09'::timestamp) - extract(epoch from '2026-07-18 16:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512909 -3.534931)'), GeomFromEWKT('SRID=4674;POINT (-38.512935 -3.535006)'))) / (select extract(epoch from '2026-07-18 16:32:09'::timestamp) - extract(epoch from '2026-07-18 16:32:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.512965 -3.535117)', '2026-07-18 16:32:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512935 -3.535006)'), GeomFromEWKT('SRID=4674;POINT (-38.512965 -3.535117)'))) / (select extract(epoch from '2026-07-18 16:32:15'::timestamp) - extract(epoch from '2026-07-18 16:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512935 -3.535006)'), GeomFromEWKT('SRID=4674;POINT (-38.512965 -3.535117)'))) / (select extract(epoch from '2026-07-18 16:32:15'::timestamp) - extract(epoch from '2026-07-18 16:32: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'), 47391, 'SRID=4674;POINT (-38.512983 -3.535211)', '2026-07-18 16:32:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512965 -3.535117)'), GeomFromEWKT('SRID=4674;POINT (-38.512983 -3.535211)'))) / (select extract(epoch from '2026-07-18 16:32:20'::timestamp) - extract(epoch from '2026-07-18 16:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512965 -3.535117)'), GeomFromEWKT('SRID=4674;POINT (-38.512983 -3.535211)'))) / (select extract(epoch from '2026-07-18 16:32:20'::timestamp) - extract(epoch from '2026-07-18 16:32: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'), 47391, 'SRID=4674;POINT (-38.513007 -3.5353)', '2026-07-18 16:32:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512983 -3.535211)'), GeomFromEWKT('SRID=4674;POINT (-38.513007 -3.5353)'))) / (select extract(epoch from '2026-07-18 16:32:25'::timestamp) - extract(epoch from '2026-07-18 16:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512983 -3.535211)'), GeomFromEWKT('SRID=4674;POINT (-38.513007 -3.5353)'))) / (select extract(epoch from '2026-07-18 16:32:25'::timestamp) - extract(epoch from '2026-07-18 16:32:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.513029 -3.535385)', '2026-07-18 16:32:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513007 -3.5353)'), GeomFromEWKT('SRID=4674;POINT (-38.513029 -3.535385)'))) / (select extract(epoch from '2026-07-18 16:32:30'::timestamp) - extract(epoch from '2026-07-18 16:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513007 -3.5353)'), GeomFromEWKT('SRID=4674;POINT (-38.513029 -3.535385)'))) / (select extract(epoch from '2026-07-18 16:32:30'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.51305 -3.535502)', '2026-07-18 16:32:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513029 -3.535385)'), GeomFromEWKT('SRID=4674;POINT (-38.51305 -3.535502)'))) / (select extract(epoch from '2026-07-18 16:32:37'::timestamp) - extract(epoch from '2026-07-18 16:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513029 -3.535385)'), GeomFromEWKT('SRID=4674;POINT (-38.51305 -3.535502)'))) / (select extract(epoch from '2026-07-18 16:32:37'::timestamp) - extract(epoch from '2026-07-18 16:32:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.51308 -3.535592)', '2026-07-18 16:32:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51305 -3.535502)'), GeomFromEWKT('SRID=4674;POINT (-38.51308 -3.535592)'))) / (select extract(epoch from '2026-07-18 16:32:43'::timestamp) - extract(epoch from '2026-07-18 16:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51305 -3.535502)'), GeomFromEWKT('SRID=4674;POINT (-38.51308 -3.535592)'))) / (select extract(epoch from '2026-07-18 16:32:43'::timestamp) - extract(epoch from '2026-07-18 16:32:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.513091 -3.535635)', '2026-07-18 16:32:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51308 -3.535592)'), GeomFromEWKT('SRID=4674;POINT (-38.513091 -3.535635)'))) / (select extract(epoch from '2026-07-18 16:32:46'::timestamp) - extract(epoch from '2026-07-18 16:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51308 -3.535592)'), GeomFromEWKT('SRID=4674;POINT (-38.513091 -3.535635)'))) / (select extract(epoch from '2026-07-18 16:32:46'::timestamp) - extract(epoch from '2026-07-18 16:32:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.513099 -3.535651)', '2026-07-18 16:32:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513091 -3.535635)'), GeomFromEWKT('SRID=4674;POINT (-38.513099 -3.535651)'))) / (select extract(epoch from '2026-07-18 16:32:47'::timestamp) - extract(epoch from '2026-07-18 16:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513091 -3.535635)'), GeomFromEWKT('SRID=4674;POINT (-38.513099 -3.535651)'))) / (select extract(epoch from '2026-07-18 16:32:47'::timestamp) - extract(epoch from '2026-07-18 16:32: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'), 47391, 'SRID=4674;POINT (-38.51313 -3.535766)', '2026-07-18 16:32:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513099 -3.535651)'), GeomFromEWKT('SRID=4674;POINT (-38.51313 -3.535766)'))) / (select extract(epoch from '2026-07-18 16:32:53'::timestamp) - extract(epoch from '2026-07-18 16:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513099 -3.535651)'), GeomFromEWKT('SRID=4674;POINT (-38.51313 -3.535766)'))) / (select extract(epoch from '2026-07-18 16:32:53'::timestamp) - extract(epoch from '2026-07-18 16:32: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'), 47391, 'SRID=4674;POINT (-38.513151 -3.53585)', '2026-07-18 16:32:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51313 -3.535766)'), GeomFromEWKT('SRID=4674;POINT (-38.513151 -3.53585)'))) / (select extract(epoch from '2026-07-18 16:32:58'::timestamp) - extract(epoch from '2026-07-18 16:32:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51313 -3.535766)'), GeomFromEWKT('SRID=4674;POINT (-38.513151 -3.53585)'))) / (select extract(epoch from '2026-07-18 16:32:58'::timestamp) - extract(epoch from '2026-07-18 16:32: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'), 47391, 'SRID=4674;POINT (-38.513181 -3.535932)', '2026-07-18 16:33:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513151 -3.53585)'), GeomFromEWKT('SRID=4674;POINT (-38.513181 -3.535932)'))) / (select extract(epoch from '2026-07-18 16:33:03'::timestamp) - extract(epoch from '2026-07-18 16:32:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513151 -3.53585)'), GeomFromEWKT('SRID=4674;POINT (-38.513181 -3.535932)'))) / (select extract(epoch from '2026-07-18 16:33:03'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.513197 -3.535958)', '2026-07-18 16:33:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513181 -3.535932)'), GeomFromEWKT('SRID=4674;POINT (-38.513197 -3.535958)'))) / (select extract(epoch from '2026-07-18 16:33:05'::timestamp) - extract(epoch from '2026-07-18 16:33:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513181 -3.535932)'), GeomFromEWKT('SRID=4674;POINT (-38.513197 -3.535958)'))) / (select extract(epoch from '2026-07-18 16:33:05'::timestamp) - extract(epoch from '2026-07-18 16:33: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'), 47391, 'SRID=4674;POINT (-38.513205 -3.535989)', '2026-07-18 16:33:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513197 -3.535958)'), GeomFromEWKT('SRID=4674;POINT (-38.513205 -3.535989)'))) / (select extract(epoch from '2026-07-18 16:33:07'::timestamp) - extract(epoch from '2026-07-18 16:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513197 -3.535958)'), GeomFromEWKT('SRID=4674;POINT (-38.513205 -3.535989)'))) / (select extract(epoch from '2026-07-18 16:33:07'::timestamp) - extract(epoch from '2026-07-18 16:33:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.51323 -3.536036)', '2026-07-18 16:33:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513205 -3.535989)'), GeomFromEWKT('SRID=4674;POINT (-38.51323 -3.536036)'))) / (select extract(epoch from '2026-07-18 16:33:10'::timestamp) - extract(epoch from '2026-07-18 16:33:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513205 -3.535989)'), GeomFromEWKT('SRID=4674;POINT (-38.51323 -3.536036)'))) / (select extract(epoch from '2026-07-18 16:33:10'::timestamp) - extract(epoch from '2026-07-18 16:33: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'), 47391, 'SRID=4674;POINT (-38.513269 -3.53615)', '2026-07-18 16:33:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51323 -3.536036)'), GeomFromEWKT('SRID=4674;POINT (-38.513269 -3.53615)'))) / (select extract(epoch from '2026-07-18 16:33:17'::timestamp) - extract(epoch from '2026-07-18 16:33:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51323 -3.536036)'), GeomFromEWKT('SRID=4674;POINT (-38.513269 -3.53615)'))) / (select extract(epoch from '2026-07-18 16:33:17'::timestamp) - extract(epoch from '2026-07-18 16:33:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.513299 -3.536278)', '2026-07-18 16:33:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513269 -3.53615)'), GeomFromEWKT('SRID=4674;POINT (-38.513299 -3.536278)'))) / (select extract(epoch from '2026-07-18 16:33:24'::timestamp) - extract(epoch from '2026-07-18 16:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513269 -3.53615)'), GeomFromEWKT('SRID=4674;POINT (-38.513299 -3.536278)'))) / (select extract(epoch from '2026-07-18 16:33:24'::timestamp) - extract(epoch from '2026-07-18 16:33: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'), 47391, 'SRID=4674;POINT (-38.513322 -3.536376)', '2026-07-18 16:33:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513299 -3.536278)'), GeomFromEWKT('SRID=4674;POINT (-38.513322 -3.536376)'))) / (select extract(epoch from '2026-07-18 16:33:29'::timestamp) - extract(epoch from '2026-07-18 16:33:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513299 -3.536278)'), GeomFromEWKT('SRID=4674;POINT (-38.513322 -3.536376)'))) / (select extract(epoch from '2026-07-18 16:33:29'::timestamp) - extract(epoch from '2026-07-18 16:33: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'), 47391, 'SRID=4674;POINT (-38.513343 -3.536479)', '2026-07-18 16:33:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513322 -3.536376)'), GeomFromEWKT('SRID=4674;POINT (-38.513343 -3.536479)'))) / (select extract(epoch from '2026-07-18 16:33:34'::timestamp) - extract(epoch from '2026-07-18 16:33:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513322 -3.536376)'), GeomFromEWKT('SRID=4674;POINT (-38.513343 -3.536479)'))) / (select extract(epoch from '2026-07-18 16:33:34'::timestamp) - extract(epoch from '2026-07-18 16:33: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'), 47391, 'SRID=4674;POINT (-38.513351 -3.536546)', '2026-07-18 16:33:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513343 -3.536479)'), GeomFromEWKT('SRID=4674;POINT (-38.513351 -3.536546)'))) / (select extract(epoch from '2026-07-18 16:33:37'::timestamp) - extract(epoch from '2026-07-18 16:33:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513343 -3.536479)'), GeomFromEWKT('SRID=4674;POINT (-38.513351 -3.536546)'))) / (select extract(epoch from '2026-07-18 16:33:37'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.513369 -3.536592)', '2026-07-18 16:33:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513351 -3.536546)'), GeomFromEWKT('SRID=4674;POINT (-38.513369 -3.536592)'))) / (select extract(epoch from '2026-07-18 16:33:39'::timestamp) - extract(epoch from '2026-07-18 16:33:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513351 -3.536546)'), GeomFromEWKT('SRID=4674;POINT (-38.513369 -3.536592)'))) / (select extract(epoch from '2026-07-18 16:33:39'::timestamp) - extract(epoch from '2026-07-18 16:33: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'), 47391, 'SRID=4674;POINT (-38.513365 -3.53667)', '2026-07-18 16:33:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513369 -3.536592)'), GeomFromEWKT('SRID=4674;POINT (-38.513365 -3.53667)'))) / (select extract(epoch from '2026-07-18 16:33:44'::timestamp) - extract(epoch from '2026-07-18 16:33:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513369 -3.536592)'), GeomFromEWKT('SRID=4674;POINT (-38.513365 -3.53667)'))) / (select extract(epoch from '2026-07-18 16:33:44'::timestamp) - extract(epoch from '2026-07-18 16:33: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'), 47391, 'SRID=4674;POINT (-38.513377 -3.536815)', '2026-07-18 16:33:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513365 -3.53667)'), GeomFromEWKT('SRID=4674;POINT (-38.513377 -3.536815)'))) / (select extract(epoch from '2026-07-18 16:33:52'::timestamp) - extract(epoch from '2026-07-18 16:33:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513365 -3.53667)'), GeomFromEWKT('SRID=4674;POINT (-38.513377 -3.536815)'))) / (select extract(epoch from '2026-07-18 16:33:52'::timestamp) - extract(epoch from '2026-07-18 16:33: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'), 47391, 'SRID=4674;POINT (-38.513372 -3.536913)', '2026-07-18 16:33:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513377 -3.536815)'), GeomFromEWKT('SRID=4674;POINT (-38.513372 -3.536913)'))) / (select extract(epoch from '2026-07-18 16:33:58'::timestamp) - extract(epoch from '2026-07-18 16:33:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513377 -3.536815)'), GeomFromEWKT('SRID=4674;POINT (-38.513372 -3.536913)'))) / (select extract(epoch from '2026-07-18 16:33:58'::timestamp) - extract(epoch from '2026-07-18 16:33: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'), 47391, 'SRID=4674;POINT (-38.513372 -3.536925)', '2026-07-18 16:33:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513372 -3.536913)'), GeomFromEWKT('SRID=4674;POINT (-38.513372 -3.536925)'))) / (select extract(epoch from '2026-07-18 16:33:59'::timestamp) - extract(epoch from '2026-07-18 16:33:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513372 -3.536913)'), GeomFromEWKT('SRID=4674;POINT (-38.513372 -3.536925)'))) / (select extract(epoch from '2026-07-18 16:33:59'::timestamp) - extract(epoch from '2026-07-18 16:33:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.513374 -3.536973)', '2026-07-18 16:34:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513372 -3.536925)'), GeomFromEWKT('SRID=4674;POINT (-38.513374 -3.536973)'))) / (select extract(epoch from '2026-07-18 16:34:02'::timestamp) - extract(epoch from '2026-07-18 16:33:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513372 -3.536925)'), GeomFromEWKT('SRID=4674;POINT (-38.513374 -3.536973)'))) / (select extract(epoch from '2026-07-18 16:34:02'::timestamp) - extract(epoch from '2026-07-18 16:33: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'), 47391, 'SRID=4674;POINT (-38.513376 -3.537001)', '2026-07-18 16:34:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513374 -3.536973)'), GeomFromEWKT('SRID=4674;POINT (-38.513376 -3.537001)'))) / (select extract(epoch from '2026-07-18 16:34:04'::timestamp) - extract(epoch from '2026-07-18 16:34:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513374 -3.536973)'), GeomFromEWKT('SRID=4674;POINT (-38.513376 -3.537001)'))) / (select extract(epoch from '2026-07-18 16:34:04'::timestamp) - extract(epoch from '2026-07-18 16:34: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'), 47391, 'SRID=4674;POINT (-38.513392 -3.537047)', '2026-07-18 16:34:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513376 -3.537001)'), GeomFromEWKT('SRID=4674;POINT (-38.513392 -3.537047)'))) / (select extract(epoch from '2026-07-18 16:34:07'::timestamp) - extract(epoch from '2026-07-18 16:34:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513376 -3.537001)'), GeomFromEWKT('SRID=4674;POINT (-38.513392 -3.537047)'))) / (select extract(epoch from '2026-07-18 16:34:07'::timestamp) - extract(epoch from '2026-07-18 16:34: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'), 47391, 'SRID=4674;POINT (-38.513425 -3.537148)', '2026-07-18 16:34:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513392 -3.537047)'), GeomFromEWKT('SRID=4674;POINT (-38.513425 -3.537148)'))) / (select extract(epoch from '2026-07-18 16:34:13'::timestamp) - extract(epoch from '2026-07-18 16:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513392 -3.537047)'), GeomFromEWKT('SRID=4674;POINT (-38.513425 -3.537148)'))) / (select extract(epoch from '2026-07-18 16:34:13'::timestamp) - extract(epoch from '2026-07-18 16:34:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.513425 -3.537208)', '2026-07-18 16:34:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513425 -3.537148)'), GeomFromEWKT('SRID=4674;POINT (-38.513425 -3.537208)'))) / (select extract(epoch from '2026-07-18 16:34:17'::timestamp) - extract(epoch from '2026-07-18 16:34:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513425 -3.537148)'), GeomFromEWKT('SRID=4674;POINT (-38.513425 -3.537208)'))) / (select extract(epoch from '2026-07-18 16:34:17'::timestamp) - extract(epoch from '2026-07-18 16:34:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.513453 -3.537301)', '2026-07-18 16:34:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513425 -3.537208)'), GeomFromEWKT('SRID=4674;POINT (-38.513453 -3.537301)'))) / (select extract(epoch from '2026-07-18 16:34:23'::timestamp) - extract(epoch from '2026-07-18 16:34:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513425 -3.537208)'), GeomFromEWKT('SRID=4674;POINT (-38.513453 -3.537301)'))) / (select extract(epoch from '2026-07-18 16:34:23'::timestamp) - extract(epoch from '2026-07-18 16:34: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'), 47391, 'SRID=4674;POINT (-38.513488 -3.537361)', '2026-07-18 16:34:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513453 -3.537301)'), GeomFromEWKT('SRID=4674;POINT (-38.513488 -3.537361)'))) / (select extract(epoch from '2026-07-18 16:34:29'::timestamp) - extract(epoch from '2026-07-18 16:34:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513453 -3.537301)'), GeomFromEWKT('SRID=4674;POINT (-38.513488 -3.537361)'))) / (select extract(epoch from '2026-07-18 16:34:29'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.513519 -3.53741)', '2026-07-18 16:34:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513488 -3.537361)'), GeomFromEWKT('SRID=4674;POINT (-38.513519 -3.53741)'))) / (select extract(epoch from '2026-07-18 16:34:33'::timestamp) - extract(epoch from '2026-07-18 16:34:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513488 -3.537361)'), GeomFromEWKT('SRID=4674;POINT (-38.513519 -3.53741)'))) / (select extract(epoch from '2026-07-18 16:34:33'::timestamp) - extract(epoch from '2026-07-18 16:34:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.513538 -3.537422)', '2026-07-18 16:34:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513519 -3.53741)'), GeomFromEWKT('SRID=4674;POINT (-38.513538 -3.537422)'))) / (select extract(epoch from '2026-07-18 16:34:34'::timestamp) - extract(epoch from '2026-07-18 16:34:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513519 -3.53741)'), GeomFromEWKT('SRID=4674;POINT (-38.513538 -3.537422)'))) / (select extract(epoch from '2026-07-18 16:34:34'::timestamp) - extract(epoch from '2026-07-18 16:34: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'), 47391, 'SRID=4674;POINT (-38.513554 -3.53744)', '2026-07-18 16:34:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513538 -3.537422)'), GeomFromEWKT('SRID=4674;POINT (-38.513554 -3.53744)'))) / (select extract(epoch from '2026-07-18 16:34:36'::timestamp) - extract(epoch from '2026-07-18 16:34:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513538 -3.537422)'), GeomFromEWKT('SRID=4674;POINT (-38.513554 -3.53744)'))) / (select extract(epoch from '2026-07-18 16:34:36'::timestamp) - extract(epoch from '2026-07-18 16:34:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.513563 -3.537471)', '2026-07-18 16:34:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513554 -3.53744)'), GeomFromEWKT('SRID=4674;POINT (-38.513563 -3.537471)'))) / (select extract(epoch from '2026-07-18 16:34:38'::timestamp) - extract(epoch from '2026-07-18 16:34:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513554 -3.53744)'), GeomFromEWKT('SRID=4674;POINT (-38.513563 -3.537471)'))) / (select extract(epoch from '2026-07-18 16:34:38'::timestamp) - extract(epoch from '2026-07-18 16:34:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.513592 -3.537557)', '2026-07-18 16:34:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513563 -3.537471)'), GeomFromEWKT('SRID=4674;POINT (-38.513592 -3.537557)'))) / (select extract(epoch from '2026-07-18 16:34:44'::timestamp) - extract(epoch from '2026-07-18 16:34:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513563 -3.537471)'), GeomFromEWKT('SRID=4674;POINT (-38.513592 -3.537557)'))) / (select extract(epoch from '2026-07-18 16:34:44'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.513602 -3.53757)', '2026-07-18 16:34:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513592 -3.537557)'), GeomFromEWKT('SRID=4674;POINT (-38.513602 -3.53757)'))) / (select extract(epoch from '2026-07-18 16:34:45'::timestamp) - extract(epoch from '2026-07-18 16:34:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513592 -3.537557)'), GeomFromEWKT('SRID=4674;POINT (-38.513602 -3.53757)'))) / (select extract(epoch from '2026-07-18 16:34:45'::timestamp) - extract(epoch from '2026-07-18 16:34: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'), 47391, 'SRID=4674;POINT (-38.513616 -3.537603)', '2026-07-18 16:34:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513602 -3.53757)'), GeomFromEWKT('SRID=4674;POINT (-38.513616 -3.537603)'))) / (select extract(epoch from '2026-07-18 16:34:47'::timestamp) - extract(epoch from '2026-07-18 16:34:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513602 -3.53757)'), GeomFromEWKT('SRID=4674;POINT (-38.513616 -3.537603)'))) / (select extract(epoch from '2026-07-18 16:34:47'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.513615 -3.53762)', '2026-07-18 16:34:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513616 -3.537603)'), GeomFromEWKT('SRID=4674;POINT (-38.513615 -3.53762)'))) / (select extract(epoch from '2026-07-18 16:34:48'::timestamp) - extract(epoch from '2026-07-18 16:34:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513616 -3.537603)'), GeomFromEWKT('SRID=4674;POINT (-38.513615 -3.53762)'))) / (select extract(epoch from '2026-07-18 16:34:48'::timestamp) - extract(epoch from '2026-07-18 16:34: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'), 47391, 'SRID=4674;POINT (-38.513627 -3.537713)', '2026-07-18 16:34:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513615 -3.53762)'), GeomFromEWKT('SRID=4674;POINT (-38.513627 -3.537713)'))) / (select extract(epoch from '2026-07-18 16:34:55'::timestamp) - extract(epoch from '2026-07-18 16:34:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513615 -3.53762)'), GeomFromEWKT('SRID=4674;POINT (-38.513627 -3.537713)'))) / (select extract(epoch from '2026-07-18 16:34:55'::timestamp) - extract(epoch from '2026-07-18 16:34: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'), 47391, 'SRID=4674;POINT (-38.51365 -3.537782)', '2026-07-18 16:35:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513627 -3.537713)'), GeomFromEWKT('SRID=4674;POINT (-38.51365 -3.537782)'))) / (select extract(epoch from '2026-07-18 16:35:00'::timestamp) - extract(epoch from '2026-07-18 16:34:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513627 -3.537713)'), GeomFromEWKT('SRID=4674;POINT (-38.51365 -3.537782)'))) / (select extract(epoch from '2026-07-18 16:35:00'::timestamp) - extract(epoch from '2026-07-18 16:34:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.513679 -3.537865)', '2026-07-18 16:35:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51365 -3.537782)'), GeomFromEWKT('SRID=4674;POINT (-38.513679 -3.537865)'))) / (select extract(epoch from '2026-07-18 16:35:05'::timestamp) - extract(epoch from '2026-07-18 16:35:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51365 -3.537782)'), GeomFromEWKT('SRID=4674;POINT (-38.513679 -3.537865)'))) / (select extract(epoch from '2026-07-18 16:35:05'::timestamp) - extract(epoch from '2026-07-18 16:35: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'), 47391, 'SRID=4674;POINT (-38.513707 -3.537948)', '2026-07-18 16:35:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513679 -3.537865)'), GeomFromEWKT('SRID=4674;POINT (-38.513707 -3.537948)'))) / (select extract(epoch from '2026-07-18 16:35:10'::timestamp) - extract(epoch from '2026-07-18 16:35:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513679 -3.537865)'), GeomFromEWKT('SRID=4674;POINT (-38.513707 -3.537948)'))) / (select extract(epoch from '2026-07-18 16:35:10'::timestamp) - extract(epoch from '2026-07-18 16:35: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'), 47391, 'SRID=4674;POINT (-38.513706 -3.537964)', '2026-07-18 16:35:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513707 -3.537948)'), GeomFromEWKT('SRID=4674;POINT (-38.513706 -3.537964)'))) / (select extract(epoch from '2026-07-18 16:35:11'::timestamp) - extract(epoch from '2026-07-18 16:35:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513707 -3.537948)'), GeomFromEWKT('SRID=4674;POINT (-38.513706 -3.537964)'))) / (select extract(epoch from '2026-07-18 16:35:11'::timestamp) - extract(epoch from '2026-07-18 16:35: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'), 47391, 'SRID=4674;POINT (-38.513718 -3.538004)', '2026-07-18 16:35:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513706 -3.537964)'), GeomFromEWKT('SRID=4674;POINT (-38.513718 -3.538004)'))) / (select extract(epoch from '2026-07-18 16:35:14'::timestamp) - extract(epoch from '2026-07-18 16:35:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513706 -3.537964)'), GeomFromEWKT('SRID=4674;POINT (-38.513718 -3.538004)'))) / (select extract(epoch from '2026-07-18 16:35:14'::timestamp) - extract(epoch from '2026-07-18 16:35:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.513734 -3.538073)', '2026-07-18 16:35:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513718 -3.538004)'), GeomFromEWKT('SRID=4674;POINT (-38.513734 -3.538073)'))) / (select extract(epoch from '2026-07-18 16:35:20'::timestamp) - extract(epoch from '2026-07-18 16:35:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513718 -3.538004)'), GeomFromEWKT('SRID=4674;POINT (-38.513734 -3.538073)'))) / (select extract(epoch from '2026-07-18 16:35:20'::timestamp) - extract(epoch from '2026-07-18 16:35: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'), 47391, 'SRID=4674;POINT (-38.513766 -3.538164)', '2026-07-18 16:35:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513734 -3.538073)'), GeomFromEWKT('SRID=4674;POINT (-38.513766 -3.538164)'))) / (select extract(epoch from '2026-07-18 16:35:26'::timestamp) - extract(epoch from '2026-07-18 16:35:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513734 -3.538073)'), GeomFromEWKT('SRID=4674;POINT (-38.513766 -3.538164)'))) / (select extract(epoch from '2026-07-18 16:35:26'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.513807 -3.538264)', '2026-07-18 16:35:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513766 -3.538164)'), GeomFromEWKT('SRID=4674;POINT (-38.513807 -3.538264)'))) / (select extract(epoch from '2026-07-18 16:35:32'::timestamp) - extract(epoch from '2026-07-18 16:35:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513766 -3.538164)'), GeomFromEWKT('SRID=4674;POINT (-38.513807 -3.538264)'))) / (select extract(epoch from '2026-07-18 16:35:32'::timestamp) - extract(epoch from '2026-07-18 16:35:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.513838 -3.538369)', '2026-07-18 16:35:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513807 -3.538264)'), GeomFromEWKT('SRID=4674;POINT (-38.513838 -3.538369)'))) / (select extract(epoch from '2026-07-18 16:35:38'::timestamp) - extract(epoch from '2026-07-18 16:35:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513807 -3.538264)'), GeomFromEWKT('SRID=4674;POINT (-38.513838 -3.538369)'))) / (select extract(epoch from '2026-07-18 16:35:38'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.513873 -3.538431)', '2026-07-18 16:35:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513838 -3.538369)'), GeomFromEWKT('SRID=4674;POINT (-38.513873 -3.538431)'))) / (select extract(epoch from '2026-07-18 16:35:42'::timestamp) - extract(epoch from '2026-07-18 16:35:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513838 -3.538369)'), GeomFromEWKT('SRID=4674;POINT (-38.513873 -3.538431)'))) / (select extract(epoch from '2026-07-18 16:35:42'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.51391 -3.53854)', '2026-07-18 16:35:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513873 -3.538431)'), GeomFromEWKT('SRID=4674;POINT (-38.51391 -3.53854)'))) / (select extract(epoch from '2026-07-18 16:35:48'::timestamp) - extract(epoch from '2026-07-18 16:35:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513873 -3.538431)'), GeomFromEWKT('SRID=4674;POINT (-38.51391 -3.53854)'))) / (select extract(epoch from '2026-07-18 16:35:48'::timestamp) - extract(epoch from '2026-07-18 16:35: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'), 47391, 'SRID=4674;POINT (-38.513906 -3.538556)', '2026-07-18 16:35:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51391 -3.53854)'), GeomFromEWKT('SRID=4674;POINT (-38.513906 -3.538556)'))) / (select extract(epoch from '2026-07-18 16:35:49'::timestamp) - extract(epoch from '2026-07-18 16:35:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51391 -3.53854)'), GeomFromEWKT('SRID=4674;POINT (-38.513906 -3.538556)'))) / (select extract(epoch from '2026-07-18 16:35:49'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.513905 -3.538587)', '2026-07-18 16:35:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513906 -3.538556)'), GeomFromEWKT('SRID=4674;POINT (-38.513905 -3.538587)'))) / (select extract(epoch from '2026-07-18 16:35:51'::timestamp) - extract(epoch from '2026-07-18 16:35:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513906 -3.538556)'), GeomFromEWKT('SRID=4674;POINT (-38.513905 -3.538587)'))) / (select extract(epoch from '2026-07-18 16:35:51'::timestamp) - extract(epoch from '2026-07-18 16:35:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.513918 -3.538601)', '2026-07-18 16:35:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513905 -3.538587)'), GeomFromEWKT('SRID=4674;POINT (-38.513918 -3.538601)'))) / (select extract(epoch from '2026-07-18 16:35:52'::timestamp) - extract(epoch from '2026-07-18 16:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513905 -3.538587)'), GeomFromEWKT('SRID=4674;POINT (-38.513918 -3.538601)'))) / (select extract(epoch from '2026-07-18 16:35:52'::timestamp) - extract(epoch from '2026-07-18 16:35:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.513934 -3.538633)', '2026-07-18 16:35:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513918 -3.538601)'), GeomFromEWKT('SRID=4674;POINT (-38.513934 -3.538633)'))) / (select extract(epoch from '2026-07-18 16:35:54'::timestamp) - extract(epoch from '2026-07-18 16:35:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513918 -3.538601)'), GeomFromEWKT('SRID=4674;POINT (-38.513934 -3.538633)'))) / (select extract(epoch from '2026-07-18 16:35:54'::timestamp) - extract(epoch from '2026-07-18 16:35: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'), 47391, 'SRID=4674;POINT (-38.51393 -3.538661)', '2026-07-18 16:35:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513934 -3.538633)'), GeomFromEWKT('SRID=4674;POINT (-38.51393 -3.538661)'))) / (select extract(epoch from '2026-07-18 16:35:56'::timestamp) - extract(epoch from '2026-07-18 16:35:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513934 -3.538633)'), GeomFromEWKT('SRID=4674;POINT (-38.51393 -3.538661)'))) / (select extract(epoch from '2026-07-18 16:35:56'::timestamp) - extract(epoch from '2026-07-18 16:35:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.513939 -3.538737)', '2026-07-18 16:36:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51393 -3.538661)'), GeomFromEWKT('SRID=4674;POINT (-38.513939 -3.538737)'))) / (select extract(epoch from '2026-07-18 16:36:03'::timestamp) - extract(epoch from '2026-07-18 16:35:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51393 -3.538661)'), GeomFromEWKT('SRID=4674;POINT (-38.513939 -3.538737)'))) / (select extract(epoch from '2026-07-18 16:36:03'::timestamp) - extract(epoch from '2026-07-18 16:35:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.513974 -3.538824)', '2026-07-18 16:36:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513939 -3.538737)'), GeomFromEWKT('SRID=4674;POINT (-38.513974 -3.538824)'))) / (select extract(epoch from '2026-07-18 16:36:09'::timestamp) - extract(epoch from '2026-07-18 16:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513939 -3.538737)'), GeomFromEWKT('SRID=4674;POINT (-38.513974 -3.538824)'))) / (select extract(epoch from '2026-07-18 16:36:09'::timestamp) - extract(epoch from '2026-07-18 16:36: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'), 47391, 'SRID=4674;POINT (-38.514012 -3.538932)', '2026-07-18 16:36:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513974 -3.538824)'), GeomFromEWKT('SRID=4674;POINT (-38.514012 -3.538932)'))) / (select extract(epoch from '2026-07-18 16:36:15'::timestamp) - extract(epoch from '2026-07-18 16:36:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513974 -3.538824)'), GeomFromEWKT('SRID=4674;POINT (-38.514012 -3.538932)'))) / (select extract(epoch from '2026-07-18 16:36:15'::timestamp) - extract(epoch from '2026-07-18 16:36: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'), 47391, 'SRID=4674;POINT (-38.51403 -3.539014)', '2026-07-18 16:36:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514012 -3.538932)'), GeomFromEWKT('SRID=4674;POINT (-38.51403 -3.539014)'))) / (select extract(epoch from '2026-07-18 16:36:20'::timestamp) - extract(epoch from '2026-07-18 16:36:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514012 -3.538932)'), GeomFromEWKT('SRID=4674;POINT (-38.51403 -3.539014)'))) / (select extract(epoch from '2026-07-18 16:36:20'::timestamp) - extract(epoch from '2026-07-18 16:36:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.514051 -3.539121)', '2026-07-18 16:36:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51403 -3.539014)'), GeomFromEWKT('SRID=4674;POINT (-38.514051 -3.539121)'))) / (select extract(epoch from '2026-07-18 16:36:26'::timestamp) - extract(epoch from '2026-07-18 16:36:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51403 -3.539014)'), GeomFromEWKT('SRID=4674;POINT (-38.514051 -3.539121)'))) / (select extract(epoch from '2026-07-18 16:36:26'::timestamp) - extract(epoch from '2026-07-18 16:36: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'), 47391, 'SRID=4674;POINT (-38.514057 -3.539136)', '2026-07-18 16:36:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514051 -3.539121)'), GeomFromEWKT('SRID=4674;POINT (-38.514057 -3.539136)'))) / (select extract(epoch from '2026-07-18 16:36:27'::timestamp) - extract(epoch from '2026-07-18 16:36:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514051 -3.539121)'), GeomFromEWKT('SRID=4674;POINT (-38.514057 -3.539136)'))) / (select extract(epoch from '2026-07-18 16:36:27'::timestamp) - extract(epoch from '2026-07-18 16:36:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.514087 -3.539239)', '2026-07-18 16:36:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514057 -3.539136)'), GeomFromEWKT('SRID=4674;POINT (-38.514087 -3.539239)'))) / (select extract(epoch from '2026-07-18 16:36:33'::timestamp) - extract(epoch from '2026-07-18 16:36:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514057 -3.539136)'), GeomFromEWKT('SRID=4674;POINT (-38.514087 -3.539239)'))) / (select extract(epoch from '2026-07-18 16:36:33'::timestamp) - extract(epoch from '2026-07-18 16:36: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'), 47391, 'SRID=4674;POINT (-38.514094 -3.539252)', '2026-07-18 16:36:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514087 -3.539239)'), GeomFromEWKT('SRID=4674;POINT (-38.514094 -3.539252)'))) / (select extract(epoch from '2026-07-18 16:36:34'::timestamp) - extract(epoch from '2026-07-18 16:36:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514087 -3.539239)'), GeomFromEWKT('SRID=4674;POINT (-38.514094 -3.539252)'))) / (select extract(epoch from '2026-07-18 16:36:34'::timestamp) - extract(epoch from '2026-07-18 16:36:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.51413 -3.539359)', '2026-07-18 16:36:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514094 -3.539252)'), GeomFromEWKT('SRID=4674;POINT (-38.51413 -3.539359)'))) / (select extract(epoch from '2026-07-18 16:36:41'::timestamp) - extract(epoch from '2026-07-18 16:36:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514094 -3.539252)'), GeomFromEWKT('SRID=4674;POINT (-38.51413 -3.539359)'))) / (select extract(epoch from '2026-07-18 16:36:41'::timestamp) - extract(epoch from '2026-07-18 16:36:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.514161 -3.539447)', '2026-07-18 16:36:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51413 -3.539359)'), GeomFromEWKT('SRID=4674;POINT (-38.514161 -3.539447)'))) / (select extract(epoch from '2026-07-18 16:36:46'::timestamp) - extract(epoch from '2026-07-18 16:36:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51413 -3.539359)'), GeomFromEWKT('SRID=4674;POINT (-38.514161 -3.539447)'))) / (select extract(epoch from '2026-07-18 16:36:46'::timestamp) - extract(epoch from '2026-07-18 16:36: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'), 47391, 'SRID=4674;POINT (-38.514208 -3.539579)', '2026-07-18 16:36:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514161 -3.539447)'), GeomFromEWKT('SRID=4674;POINT (-38.514208 -3.539579)'))) / (select extract(epoch from '2026-07-18 16:36:53'::timestamp) - extract(epoch from '2026-07-18 16:36:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514161 -3.539447)'), GeomFromEWKT('SRID=4674;POINT (-38.514208 -3.539579)'))) / (select extract(epoch from '2026-07-18 16:36:53'::timestamp) - extract(epoch from '2026-07-18 16:36: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'), 47391, 'SRID=4674;POINT (-38.514229 -3.539707)', '2026-07-18 16:37:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514208 -3.539579)'), GeomFromEWKT('SRID=4674;POINT (-38.514229 -3.539707)'))) / (select extract(epoch from '2026-07-18 16:37:00'::timestamp) - extract(epoch from '2026-07-18 16:36:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514208 -3.539579)'), GeomFromEWKT('SRID=4674;POINT (-38.514229 -3.539707)'))) / (select extract(epoch from '2026-07-18 16:37:00'::timestamp) - extract(epoch from '2026-07-18 16:36:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.514234 -3.539723)', '2026-07-18 16:37:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514229 -3.539707)'), GeomFromEWKT('SRID=4674;POINT (-38.514234 -3.539723)'))) / (select extract(epoch from '2026-07-18 16:37:01'::timestamp) - extract(epoch from '2026-07-18 16:37:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514229 -3.539707)'), GeomFromEWKT('SRID=4674;POINT (-38.514234 -3.539723)'))) / (select extract(epoch from '2026-07-18 16:37:01'::timestamp) - extract(epoch from '2026-07-18 16:37: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'), 47391, 'SRID=4674;POINT (-38.514266 -3.539795)', '2026-07-18 16:37:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514234 -3.539723)'), GeomFromEWKT('SRID=4674;POINT (-38.514266 -3.539795)'))) / (select extract(epoch from '2026-07-18 16:37:05'::timestamp) - extract(epoch from '2026-07-18 16:37:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514234 -3.539723)'), GeomFromEWKT('SRID=4674;POINT (-38.514266 -3.539795)'))) / (select extract(epoch from '2026-07-18 16:37:05'::timestamp) - extract(epoch from '2026-07-18 16:37:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.514287 -3.539883)', '2026-07-18 16:37:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514266 -3.539795)'), GeomFromEWKT('SRID=4674;POINT (-38.514287 -3.539883)'))) / (select extract(epoch from '2026-07-18 16:37:10'::timestamp) - extract(epoch from '2026-07-18 16:37:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514266 -3.539795)'), GeomFromEWKT('SRID=4674;POINT (-38.514287 -3.539883)'))) / (select extract(epoch from '2026-07-18 16:37:10'::timestamp) - extract(epoch from '2026-07-18 16:37: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'), 47391, 'SRID=4674;POINT (-38.51431 -3.539985)', '2026-07-18 16:37:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514287 -3.539883)'), GeomFromEWKT('SRID=4674;POINT (-38.51431 -3.539985)'))) / (select extract(epoch from '2026-07-18 16:37:15'::timestamp) - extract(epoch from '2026-07-18 16:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514287 -3.539883)'), GeomFromEWKT('SRID=4674;POINT (-38.51431 -3.539985)'))) / (select extract(epoch from '2026-07-18 16:37:15'::timestamp) - extract(epoch from '2026-07-18 16:37:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.514356 -3.540099)', '2026-07-18 16:37:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51431 -3.539985)'), GeomFromEWKT('SRID=4674;POINT (-38.514356 -3.540099)'))) / (select extract(epoch from '2026-07-18 16:37:20'::timestamp) - extract(epoch from '2026-07-18 16:37:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51431 -3.539985)'), GeomFromEWKT('SRID=4674;POINT (-38.514356 -3.540099)'))) / (select extract(epoch from '2026-07-18 16:37:20'::timestamp) - extract(epoch from '2026-07-18 16:37: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'), 47391, 'SRID=4674;POINT (-38.514354 -3.540121)', '2026-07-18 16:37:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514356 -3.540099)'), GeomFromEWKT('SRID=4674;POINT (-38.514354 -3.540121)'))) / (select extract(epoch from '2026-07-18 16:37:21'::timestamp) - extract(epoch from '2026-07-18 16:37:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514356 -3.540099)'), GeomFromEWKT('SRID=4674;POINT (-38.514354 -3.540121)'))) / (select extract(epoch from '2026-07-18 16:37:21'::timestamp) - extract(epoch from '2026-07-18 16:37: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'), 47391, 'SRID=4674;POINT (-38.514356 -3.540157)', '2026-07-18 16:37:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514354 -3.540121)'), GeomFromEWKT('SRID=4674;POINT (-38.514356 -3.540157)'))) / (select extract(epoch from '2026-07-18 16:37:23'::timestamp) - extract(epoch from '2026-07-18 16:37:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514354 -3.540121)'), GeomFromEWKT('SRID=4674;POINT (-38.514356 -3.540157)'))) / (select extract(epoch from '2026-07-18 16:37:23'::timestamp) - extract(epoch from '2026-07-18 16:37: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'), 47391, 'SRID=4674;POINT (-38.514376 -3.540215)', '2026-07-18 16:37:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514356 -3.540157)'), GeomFromEWKT('SRID=4674;POINT (-38.514376 -3.540215)'))) / (select extract(epoch from '2026-07-18 16:37:26'::timestamp) - extract(epoch from '2026-07-18 16:37:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514356 -3.540157)'), GeomFromEWKT('SRID=4674;POINT (-38.514376 -3.540215)'))) / (select extract(epoch from '2026-07-18 16:37:26'::timestamp) - extract(epoch from '2026-07-18 16:37:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.514374 -3.540266)', '2026-07-18 16:37:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514376 -3.540215)'), GeomFromEWKT('SRID=4674;POINT (-38.514374 -3.540266)'))) / (select extract(epoch from '2026-07-18 16:37:29'::timestamp) - extract(epoch from '2026-07-18 16:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514376 -3.540215)'), GeomFromEWKT('SRID=4674;POINT (-38.514374 -3.540266)'))) / (select extract(epoch from '2026-07-18 16:37:29'::timestamp) - extract(epoch from '2026-07-18 16:37: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'), 47391, 'SRID=4674;POINT (-38.514389 -3.540306)', '2026-07-18 16:37:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514374 -3.540266)'), GeomFromEWKT('SRID=4674;POINT (-38.514389 -3.540306)'))) / (select extract(epoch from '2026-07-18 16:37:31'::timestamp) - extract(epoch from '2026-07-18 16:37:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514374 -3.540266)'), GeomFromEWKT('SRID=4674;POINT (-38.514389 -3.540306)'))) / (select extract(epoch from '2026-07-18 16:37:31'::timestamp) - extract(epoch from '2026-07-18 16:37:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.514404 -3.540391)', '2026-07-18 16:37:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514389 -3.540306)'), GeomFromEWKT('SRID=4674;POINT (-38.514404 -3.540391)'))) / (select extract(epoch from '2026-07-18 16:37:36'::timestamp) - extract(epoch from '2026-07-18 16:37:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514389 -3.540306)'), GeomFromEWKT('SRID=4674;POINT (-38.514404 -3.540391)'))) / (select extract(epoch from '2026-07-18 16:37:36'::timestamp) - extract(epoch from '2026-07-18 16:37:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.514434 -3.5405)', '2026-07-18 16:37:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514404 -3.540391)'), GeomFromEWKT('SRID=4674;POINT (-38.514434 -3.5405)'))) / (select extract(epoch from '2026-07-18 16:37:42'::timestamp) - extract(epoch from '2026-07-18 16:37:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514404 -3.540391)'), GeomFromEWKT('SRID=4674;POINT (-38.514434 -3.5405)'))) / (select extract(epoch from '2026-07-18 16:37:42'::timestamp) - extract(epoch from '2026-07-18 16:37:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.514465 -3.540584)', '2026-07-18 16:37:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514434 -3.5405)'), GeomFromEWKT('SRID=4674;POINT (-38.514465 -3.540584)'))) / (select extract(epoch from '2026-07-18 16:37:47'::timestamp) - extract(epoch from '2026-07-18 16:37:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514434 -3.5405)'), GeomFromEWKT('SRID=4674;POINT (-38.514465 -3.540584)'))) / (select extract(epoch from '2026-07-18 16:37:47'::timestamp) - extract(epoch from '2026-07-18 16:37:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.514467 -3.540605)', '2026-07-18 16:37:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514465 -3.540584)'), GeomFromEWKT('SRID=4674;POINT (-38.514467 -3.540605)'))) / (select extract(epoch from '2026-07-18 16:37:48'::timestamp) - extract(epoch from '2026-07-18 16:37:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514465 -3.540584)'), GeomFromEWKT('SRID=4674;POINT (-38.514467 -3.540605)'))) / (select extract(epoch from '2026-07-18 16:37:48'::timestamp) - extract(epoch from '2026-07-18 16:37: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'), 47391, 'SRID=4674;POINT (-38.514471 -3.540624)', '2026-07-18 16:37:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514467 -3.540605)'), GeomFromEWKT('SRID=4674;POINT (-38.514471 -3.540624)'))) / (select extract(epoch from '2026-07-18 16:37:49'::timestamp) - extract(epoch from '2026-07-18 16:37:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514467 -3.540605)'), GeomFromEWKT('SRID=4674;POINT (-38.514471 -3.540624)'))) / (select extract(epoch from '2026-07-18 16:37:49'::timestamp) - extract(epoch from '2026-07-18 16:37: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'), 47391, 'SRID=4674;POINT (-38.514501 -3.540677)', '2026-07-18 16:37:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514471 -3.540624)'), GeomFromEWKT('SRID=4674;POINT (-38.514501 -3.540677)'))) / (select extract(epoch from '2026-07-18 16:37:52'::timestamp) - extract(epoch from '2026-07-18 16:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514471 -3.540624)'), GeomFromEWKT('SRID=4674;POINT (-38.514501 -3.540677)'))) / (select extract(epoch from '2026-07-18 16:37:52'::timestamp) - extract(epoch from '2026-07-18 16:37:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.51451 -3.540758)', '2026-07-18 16:37:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514501 -3.540677)'), GeomFromEWKT('SRID=4674;POINT (-38.51451 -3.540758)'))) / (select extract(epoch from '2026-07-18 16:37:56'::timestamp) - extract(epoch from '2026-07-18 16:37:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514501 -3.540677)'), GeomFromEWKT('SRID=4674;POINT (-38.51451 -3.540758)'))) / (select extract(epoch from '2026-07-18 16:37:56'::timestamp) - extract(epoch from '2026-07-18 16:37:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.514526 -3.540791)', '2026-07-18 16:37:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51451 -3.540758)'), GeomFromEWKT('SRID=4674;POINT (-38.514526 -3.540791)'))) / (select extract(epoch from '2026-07-18 16:37:58'::timestamp) - extract(epoch from '2026-07-18 16:37:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51451 -3.540758)'), GeomFromEWKT('SRID=4674;POINT (-38.514526 -3.540791)'))) / (select extract(epoch from '2026-07-18 16:37:58'::timestamp) - extract(epoch from '2026-07-18 16:37: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'), 47391, 'SRID=4674;POINT (-38.514546 -3.540928)', '2026-07-18 16:38:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514526 -3.540791)'), GeomFromEWKT('SRID=4674;POINT (-38.514546 -3.540928)'))) / (select extract(epoch from '2026-07-18 16:38:05'::timestamp) - extract(epoch from '2026-07-18 16:37:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514526 -3.540791)'), GeomFromEWKT('SRID=4674;POINT (-38.514546 -3.540928)'))) / (select extract(epoch from '2026-07-18 16:38:05'::timestamp) - extract(epoch from '2026-07-18 16:37: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'), 47391, 'SRID=4674;POINT (-38.514569 -3.541086)', '2026-07-18 16:38:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514546 -3.540928)'), GeomFromEWKT('SRID=4674;POINT (-38.514569 -3.541086)'))) / (select extract(epoch from '2026-07-18 16:38:13'::timestamp) - extract(epoch from '2026-07-18 16:38:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514546 -3.540928)'), GeomFromEWKT('SRID=4674;POINT (-38.514569 -3.541086)'))) / (select extract(epoch from '2026-07-18 16:38:13'::timestamp) - extract(epoch from '2026-07-18 16:38:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.514597 -3.541213)', '2026-07-18 16:38:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514569 -3.541086)'), GeomFromEWKT('SRID=4674;POINT (-38.514597 -3.541213)'))) / (select extract(epoch from '2026-07-18 16:38:19'::timestamp) - extract(epoch from '2026-07-18 16:38:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514569 -3.541086)'), GeomFromEWKT('SRID=4674;POINT (-38.514597 -3.541213)'))) / (select extract(epoch from '2026-07-18 16:38:19'::timestamp) - extract(epoch from '2026-07-18 16:38:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.514612 -3.541303)', '2026-07-18 16:38:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514597 -3.541213)'), GeomFromEWKT('SRID=4674;POINT (-38.514612 -3.541303)'))) / (select extract(epoch from '2026-07-18 16:38:24'::timestamp) - extract(epoch from '2026-07-18 16:38:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514597 -3.541213)'), GeomFromEWKT('SRID=4674;POINT (-38.514612 -3.541303)'))) / (select extract(epoch from '2026-07-18 16:38:24'::timestamp) - extract(epoch from '2026-07-18 16:38: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'), 47391, 'SRID=4674;POINT (-38.514611 -3.541339)', '2026-07-18 16:38:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514612 -3.541303)'), GeomFromEWKT('SRID=4674;POINT (-38.514611 -3.541339)'))) / (select extract(epoch from '2026-07-18 16:38:26'::timestamp) - extract(epoch from '2026-07-18 16:38:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514612 -3.541303)'), GeomFromEWKT('SRID=4674;POINT (-38.514611 -3.541339)'))) / (select extract(epoch from '2026-07-18 16:38:26'::timestamp) - extract(epoch from '2026-07-18 16:38:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.514641 -3.541368)', '2026-07-18 16:38:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514611 -3.541339)'), GeomFromEWKT('SRID=4674;POINT (-38.514641 -3.541368)'))) / (select extract(epoch from '2026-07-18 16:38:28'::timestamp) - extract(epoch from '2026-07-18 16:38:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514611 -3.541339)'), GeomFromEWKT('SRID=4674;POINT (-38.514641 -3.541368)'))) / (select extract(epoch from '2026-07-18 16:38:28'::timestamp) - extract(epoch from '2026-07-18 16:38: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'), 47391, 'SRID=4674;POINT (-38.514654 -3.541386)', '2026-07-18 16:38:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514641 -3.541368)'), GeomFromEWKT('SRID=4674;POINT (-38.514654 -3.541386)'))) / (select extract(epoch from '2026-07-18 16:38:29'::timestamp) - extract(epoch from '2026-07-18 16:38:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514641 -3.541368)'), GeomFromEWKT('SRID=4674;POINT (-38.514654 -3.541386)'))) / (select extract(epoch from '2026-07-18 16:38:29'::timestamp) - extract(epoch from '2026-07-18 16:38: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'), 47391, 'SRID=4674;POINT (-38.514657 -3.541422)', '2026-07-18 16:38:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514654 -3.541386)'), GeomFromEWKT('SRID=4674;POINT (-38.514657 -3.541422)'))) / (select extract(epoch from '2026-07-18 16:38:31'::timestamp) - extract(epoch from '2026-07-18 16:38:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514654 -3.541386)'), GeomFromEWKT('SRID=4674;POINT (-38.514657 -3.541422)'))) / (select extract(epoch from '2026-07-18 16:38:31'::timestamp) - extract(epoch from '2026-07-18 16:38:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.514666 -3.541439)', '2026-07-18 16:38:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514657 -3.541422)'), GeomFromEWKT('SRID=4674;POINT (-38.514666 -3.541439)'))) / (select extract(epoch from '2026-07-18 16:38:32'::timestamp) - extract(epoch from '2026-07-18 16:38:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514657 -3.541422)'), GeomFromEWKT('SRID=4674;POINT (-38.514666 -3.541439)'))) / (select extract(epoch from '2026-07-18 16:38:32'::timestamp) - extract(epoch from '2026-07-18 16:38:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.514694 -3.541476)', '2026-07-18 16:38:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514666 -3.541439)'), GeomFromEWKT('SRID=4674;POINT (-38.514694 -3.541476)'))) / (select extract(epoch from '2026-07-18 16:38:34'::timestamp) - extract(epoch from '2026-07-18 16:38:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514666 -3.541439)'), GeomFromEWKT('SRID=4674;POINT (-38.514694 -3.541476)'))) / (select extract(epoch from '2026-07-18 16:38:34'::timestamp) - extract(epoch from '2026-07-18 16:38:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.514697 -3.541495)', '2026-07-18 16:38:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514694 -3.541476)'), GeomFromEWKT('SRID=4674;POINT (-38.514697 -3.541495)'))) / (select extract(epoch from '2026-07-18 16:38:35'::timestamp) - extract(epoch from '2026-07-18 16:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514694 -3.541476)'), GeomFromEWKT('SRID=4674;POINT (-38.514697 -3.541495)'))) / (select extract(epoch from '2026-07-18 16:38:35'::timestamp) - extract(epoch from '2026-07-18 16:38: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'), 47391, 'SRID=4674;POINT (-38.514714 -3.541582)', '2026-07-18 16:38:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514697 -3.541495)'), GeomFromEWKT('SRID=4674;POINT (-38.514714 -3.541582)'))) / (select extract(epoch from '2026-07-18 16:38:40'::timestamp) - extract(epoch from '2026-07-18 16:38:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514697 -3.541495)'), GeomFromEWKT('SRID=4674;POINT (-38.514714 -3.541582)'))) / (select extract(epoch from '2026-07-18 16:38:40'::timestamp) - extract(epoch from '2026-07-18 16:38:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.514727 -3.541652)', '2026-07-18 16:38:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514714 -3.541582)'), GeomFromEWKT('SRID=4674;POINT (-38.514727 -3.541652)'))) / (select extract(epoch from '2026-07-18 16:38:44'::timestamp) - extract(epoch from '2026-07-18 16:38:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514714 -3.541582)'), GeomFromEWKT('SRID=4674;POINT (-38.514727 -3.541652)'))) / (select extract(epoch from '2026-07-18 16:38:44'::timestamp) - extract(epoch from '2026-07-18 16:38: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'), 47391, 'SRID=4674;POINT (-38.514733 -3.541665)', '2026-07-18 16:38:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514727 -3.541652)'), GeomFromEWKT('SRID=4674;POINT (-38.514733 -3.541665)'))) / (select extract(epoch from '2026-07-18 16:38:45'::timestamp) - extract(epoch from '2026-07-18 16:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514727 -3.541652)'), GeomFromEWKT('SRID=4674;POINT (-38.514733 -3.541665)'))) / (select extract(epoch from '2026-07-18 16:38:45'::timestamp) - extract(epoch from '2026-07-18 16:38:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.514768 -3.541757)', '2026-07-18 16:38:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514733 -3.541665)'), GeomFromEWKT('SRID=4674;POINT (-38.514768 -3.541757)'))) / (select extract(epoch from '2026-07-18 16:38:51'::timestamp) - extract(epoch from '2026-07-18 16:38:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514733 -3.541665)'), GeomFromEWKT('SRID=4674;POINT (-38.514768 -3.541757)'))) / (select extract(epoch from '2026-07-18 16:38:51'::timestamp) - extract(epoch from '2026-07-18 16:38:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.514771 -3.541769)', '2026-07-18 16:38:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514768 -3.541757)'), GeomFromEWKT('SRID=4674;POINT (-38.514771 -3.541769)'))) / (select extract(epoch from '2026-07-18 16:38:52'::timestamp) - extract(epoch from '2026-07-18 16:38:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514768 -3.541757)'), GeomFromEWKT('SRID=4674;POINT (-38.514771 -3.541769)'))) / (select extract(epoch from '2026-07-18 16:38:52'::timestamp) - extract(epoch from '2026-07-18 16:38: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'), 47391, 'SRID=4674;POINT (-38.514798 -3.541821)', '2026-07-18 16:38:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514771 -3.541769)'), GeomFromEWKT('SRID=4674;POINT (-38.514798 -3.541821)'))) / (select extract(epoch from '2026-07-18 16:38:55'::timestamp) - extract(epoch from '2026-07-18 16:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514771 -3.541769)'), GeomFromEWKT('SRID=4674;POINT (-38.514798 -3.541821)'))) / (select extract(epoch from '2026-07-18 16:38:55'::timestamp) - extract(epoch from '2026-07-18 16:38:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.514815 -3.541903)', '2026-07-18 16:39:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514798 -3.541821)'), GeomFromEWKT('SRID=4674;POINT (-38.514815 -3.541903)'))) / (select extract(epoch from '2026-07-18 16:39:00'::timestamp) - extract(epoch from '2026-07-18 16:38:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514798 -3.541821)'), GeomFromEWKT('SRID=4674;POINT (-38.514815 -3.541903)'))) / (select extract(epoch from '2026-07-18 16:39:00'::timestamp) - extract(epoch from '2026-07-18 16:38: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'), 47391, 'SRID=4674;POINT (-38.514847 -3.54199)', '2026-07-18 16:39:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514815 -3.541903)'), GeomFromEWKT('SRID=4674;POINT (-38.514847 -3.54199)'))) / (select extract(epoch from '2026-07-18 16:39:06'::timestamp) - extract(epoch from '2026-07-18 16:39:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514815 -3.541903)'), GeomFromEWKT('SRID=4674;POINT (-38.514847 -3.54199)'))) / (select extract(epoch from '2026-07-18 16:39:06'::timestamp) - extract(epoch from '2026-07-18 16:39: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'), 47391, 'SRID=4674;POINT (-38.514901 -3.542116)', '2026-07-18 16:39:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514847 -3.54199)'), GeomFromEWKT('SRID=4674;POINT (-38.514901 -3.542116)'))) / (select extract(epoch from '2026-07-18 16:39:13'::timestamp) - extract(epoch from '2026-07-18 16:39:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514847 -3.54199)'), GeomFromEWKT('SRID=4674;POINT (-38.514901 -3.542116)'))) / (select extract(epoch from '2026-07-18 16:39:13'::timestamp) - extract(epoch from '2026-07-18 16:39:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.514914 -3.542221)', '2026-07-18 16:39:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514901 -3.542116)'), GeomFromEWKT('SRID=4674;POINT (-38.514914 -3.542221)'))) / (select extract(epoch from '2026-07-18 16:39:18'::timestamp) - extract(epoch from '2026-07-18 16:39:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514901 -3.542116)'), GeomFromEWKT('SRID=4674;POINT (-38.514914 -3.542221)'))) / (select extract(epoch from '2026-07-18 16:39:18'::timestamp) - extract(epoch from '2026-07-18 16:39: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'), 47391, 'SRID=4674;POINT (-38.51493 -3.542339)', '2026-07-18 16:39:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514914 -3.542221)'), GeomFromEWKT('SRID=4674;POINT (-38.51493 -3.542339)'))) / (select extract(epoch from '2026-07-18 16:39:24'::timestamp) - extract(epoch from '2026-07-18 16:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514914 -3.542221)'), GeomFromEWKT('SRID=4674;POINT (-38.51493 -3.542339)'))) / (select extract(epoch from '2026-07-18 16:39:24'::timestamp) - extract(epoch from '2026-07-18 16:39:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.514969 -3.54247)', '2026-07-18 16:39:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51493 -3.542339)'), GeomFromEWKT('SRID=4674;POINT (-38.514969 -3.54247)'))) / (select extract(epoch from '2026-07-18 16:39:31'::timestamp) - extract(epoch from '2026-07-18 16:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51493 -3.542339)'), GeomFromEWKT('SRID=4674;POINT (-38.514969 -3.54247)'))) / (select extract(epoch from '2026-07-18 16:39:31'::timestamp) - extract(epoch from '2026-07-18 16:39:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.514993 -3.54259)', '2026-07-18 16:39:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514969 -3.54247)'), GeomFromEWKT('SRID=4674;POINT (-38.514993 -3.54259)'))) / (select extract(epoch from '2026-07-18 16:39:37'::timestamp) - extract(epoch from '2026-07-18 16:39:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514969 -3.54247)'), GeomFromEWKT('SRID=4674;POINT (-38.514993 -3.54259)'))) / (select extract(epoch from '2026-07-18 16:39:37'::timestamp) - extract(epoch from '2026-07-18 16:39: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'), 47391, 'SRID=4674;POINT (-38.515017 -3.54273)', '2026-07-18 16:39:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514993 -3.54259)'), GeomFromEWKT('SRID=4674;POINT (-38.515017 -3.54273)'))) / (select extract(epoch from '2026-07-18 16:39:44'::timestamp) - extract(epoch from '2026-07-18 16:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514993 -3.54259)'), GeomFromEWKT('SRID=4674;POINT (-38.515017 -3.54273)'))) / (select extract(epoch from '2026-07-18 16:39:44'::timestamp) - extract(epoch from '2026-07-18 16:39:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.515035 -3.542855)', '2026-07-18 16:39:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515017 -3.54273)'), GeomFromEWKT('SRID=4674;POINT (-38.515035 -3.542855)'))) / (select extract(epoch from '2026-07-18 16:39:50'::timestamp) - extract(epoch from '2026-07-18 16:39:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515017 -3.54273)'), GeomFromEWKT('SRID=4674;POINT (-38.515035 -3.542855)'))) / (select extract(epoch from '2026-07-18 16:39:50'::timestamp) - extract(epoch from '2026-07-18 16:39: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'), 47391, 'SRID=4674;POINT (-38.515044 -3.542888)', '2026-07-18 16:39:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515035 -3.542855)'), GeomFromEWKT('SRID=4674;POINT (-38.515044 -3.542888)'))) / (select extract(epoch from '2026-07-18 16:39:52'::timestamp) - extract(epoch from '2026-07-18 16:39:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515035 -3.542855)'), GeomFromEWKT('SRID=4674;POINT (-38.515044 -3.542888)'))) / (select extract(epoch from '2026-07-18 16:39:52'::timestamp) - extract(epoch from '2026-07-18 16:39: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'), 47391, 'SRID=4674;POINT (-38.51506 -3.542916)', '2026-07-18 16:39:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515044 -3.542888)'), GeomFromEWKT('SRID=4674;POINT (-38.51506 -3.542916)'))) / (select extract(epoch from '2026-07-18 16:39:54'::timestamp) - extract(epoch from '2026-07-18 16:39:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515044 -3.542888)'), GeomFromEWKT('SRID=4674;POINT (-38.51506 -3.542916)'))) / (select extract(epoch from '2026-07-18 16:39:54'::timestamp) - extract(epoch from '2026-07-18 16:39: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'), 47391, 'SRID=4674;POINT (-38.515066 -3.542948)', '2026-07-18 16:39:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51506 -3.542916)'), GeomFromEWKT('SRID=4674;POINT (-38.515066 -3.542948)'))) / (select extract(epoch from '2026-07-18 16:39:56'::timestamp) - extract(epoch from '2026-07-18 16:39:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51506 -3.542916)'), GeomFromEWKT('SRID=4674;POINT (-38.515066 -3.542948)'))) / (select extract(epoch from '2026-07-18 16:39:56'::timestamp) - extract(epoch from '2026-07-18 16:39: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'), 47391, 'SRID=4674;POINT (-38.515085 -3.542991)', '2026-07-18 16:39:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515066 -3.542948)'), GeomFromEWKT('SRID=4674;POINT (-38.515085 -3.542991)'))) / (select extract(epoch from '2026-07-18 16:39:59'::timestamp) - extract(epoch from '2026-07-18 16:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515066 -3.542948)'), GeomFromEWKT('SRID=4674;POINT (-38.515085 -3.542991)'))) / (select extract(epoch from '2026-07-18 16:39:59'::timestamp) - extract(epoch from '2026-07-18 16:39:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.515127 -3.543093)', '2026-07-18 16:40:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515085 -3.542991)'), GeomFromEWKT('SRID=4674;POINT (-38.515127 -3.543093)'))) / (select extract(epoch from '2026-07-18 16:40:05'::timestamp) - extract(epoch from '2026-07-18 16:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515085 -3.542991)'), GeomFromEWKT('SRID=4674;POINT (-38.515127 -3.543093)'))) / (select extract(epoch from '2026-07-18 16:40:05'::timestamp) - extract(epoch from '2026-07-18 16:39:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.515157 -3.543205)', '2026-07-18 16:40:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515127 -3.543093)'), GeomFromEWKT('SRID=4674;POINT (-38.515157 -3.543205)'))) / (select extract(epoch from '2026-07-18 16:40:11'::timestamp) - extract(epoch from '2026-07-18 16:40:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515127 -3.543093)'), GeomFromEWKT('SRID=4674;POINT (-38.515157 -3.543205)'))) / (select extract(epoch from '2026-07-18 16:40:11'::timestamp) - extract(epoch from '2026-07-18 16:40: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'), 47391, 'SRID=4674;POINT (-38.51517 -3.543282)', '2026-07-18 16:40:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515157 -3.543205)'), GeomFromEWKT('SRID=4674;POINT (-38.51517 -3.543282)'))) / (select extract(epoch from '2026-07-18 16:40:15'::timestamp) - extract(epoch from '2026-07-18 16:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515157 -3.543205)'), GeomFromEWKT('SRID=4674;POINT (-38.51517 -3.543282)'))) / (select extract(epoch from '2026-07-18 16:40:15'::timestamp) - extract(epoch from '2026-07-18 16:40:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.515198 -3.54334)', '2026-07-18 16:40:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51517 -3.543282)'), GeomFromEWKT('SRID=4674;POINT (-38.515198 -3.54334)'))) / (select extract(epoch from '2026-07-18 16:40:18'::timestamp) - extract(epoch from '2026-07-18 16:40:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51517 -3.543282)'), GeomFromEWKT('SRID=4674;POINT (-38.515198 -3.54334)'))) / (select extract(epoch from '2026-07-18 16:40:18'::timestamp) - extract(epoch from '2026-07-18 16:40: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'), 47391, 'SRID=4674;POINT (-38.515198 -3.543363)', '2026-07-18 16:40:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515198 -3.54334)'), GeomFromEWKT('SRID=4674;POINT (-38.515198 -3.543363)'))) / (select extract(epoch from '2026-07-18 16:40:19'::timestamp) - extract(epoch from '2026-07-18 16:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515198 -3.54334)'), GeomFromEWKT('SRID=4674;POINT (-38.515198 -3.543363)'))) / (select extract(epoch from '2026-07-18 16:40:19'::timestamp) - extract(epoch from '2026-07-18 16:40:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.515201 -3.543381)', '2026-07-18 16:40:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515198 -3.543363)'), GeomFromEWKT('SRID=4674;POINT (-38.515201 -3.543381)'))) / (select extract(epoch from '2026-07-18 16:40:20'::timestamp) - extract(epoch from '2026-07-18 16:40:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515198 -3.543363)'), GeomFromEWKT('SRID=4674;POINT (-38.515201 -3.543381)'))) / (select extract(epoch from '2026-07-18 16:40:20'::timestamp) - extract(epoch from '2026-07-18 16:40: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'), 47391, 'SRID=4674;POINT (-38.515225 -3.543425)', '2026-07-18 16:40:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515201 -3.543381)'), GeomFromEWKT('SRID=4674;POINT (-38.515225 -3.543425)'))) / (select extract(epoch from '2026-07-18 16:40:23'::timestamp) - extract(epoch from '2026-07-18 16:40:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515201 -3.543381)'), GeomFromEWKT('SRID=4674;POINT (-38.515225 -3.543425)'))) / (select extract(epoch from '2026-07-18 16:40:23'::timestamp) - extract(epoch from '2026-07-18 16:40: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'), 47391, 'SRID=4674;POINT (-38.515237 -3.543541)', '2026-07-18 16:40:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515225 -3.543425)'), GeomFromEWKT('SRID=4674;POINT (-38.515237 -3.543541)'))) / (select extract(epoch from '2026-07-18 16:40:29'::timestamp) - extract(epoch from '2026-07-18 16:40:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515225 -3.543425)'), GeomFromEWKT('SRID=4674;POINT (-38.515237 -3.543541)'))) / (select extract(epoch from '2026-07-18 16:40:29'::timestamp) - extract(epoch from '2026-07-18 16:40: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'), 47391, 'SRID=4674;POINT (-38.515242 -3.543624)', '2026-07-18 16:40:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515237 -3.543541)'), GeomFromEWKT('SRID=4674;POINT (-38.515242 -3.543624)'))) / (select extract(epoch from '2026-07-18 16:40:34'::timestamp) - extract(epoch from '2026-07-18 16:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515237 -3.543541)'), GeomFromEWKT('SRID=4674;POINT (-38.515242 -3.543624)'))) / (select extract(epoch from '2026-07-18 16:40:34'::timestamp) - extract(epoch from '2026-07-18 16:40:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.515251 -3.543661)', '2026-07-18 16:40:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515242 -3.543624)'), GeomFromEWKT('SRID=4674;POINT (-38.515251 -3.543661)'))) / (select extract(epoch from '2026-07-18 16:40:36'::timestamp) - extract(epoch from '2026-07-18 16:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515242 -3.543624)'), GeomFromEWKT('SRID=4674;POINT (-38.515251 -3.543661)'))) / (select extract(epoch from '2026-07-18 16:40:36'::timestamp) - extract(epoch from '2026-07-18 16:40: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'), 47391, 'SRID=4674;POINT (-38.515249 -3.543691)', '2026-07-18 16:40:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515251 -3.543661)'), GeomFromEWKT('SRID=4674;POINT (-38.515249 -3.543691)'))) / (select extract(epoch from '2026-07-18 16:40:38'::timestamp) - extract(epoch from '2026-07-18 16:40:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515251 -3.543661)'), GeomFromEWKT('SRID=4674;POINT (-38.515249 -3.543691)'))) / (select extract(epoch from '2026-07-18 16:40:38'::timestamp) - extract(epoch from '2026-07-18 16:40:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.515287 -3.543743)', '2026-07-18 16:40:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515249 -3.543691)'), GeomFromEWKT('SRID=4674;POINT (-38.515287 -3.543743)'))) / (select extract(epoch from '2026-07-18 16:40:42'::timestamp) - extract(epoch from '2026-07-18 16:40:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515249 -3.543691)'), GeomFromEWKT('SRID=4674;POINT (-38.515287 -3.543743)'))) / (select extract(epoch from '2026-07-18 16:40:42'::timestamp) - extract(epoch from '2026-07-18 16:40: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'), 47391, 'SRID=4674;POINT (-38.515339 -3.54383)', '2026-07-18 16:40:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515287 -3.543743)'), GeomFromEWKT('SRID=4674;POINT (-38.515339 -3.54383)'))) / (select extract(epoch from '2026-07-18 16:40:48'::timestamp) - extract(epoch from '2026-07-18 16:40:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515287 -3.543743)'), GeomFromEWKT('SRID=4674;POINT (-38.515339 -3.54383)'))) / (select extract(epoch from '2026-07-18 16:40:48'::timestamp) - extract(epoch from '2026-07-18 16:40:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.515353 -3.543862)', '2026-07-18 16:40:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515339 -3.54383)'), GeomFromEWKT('SRID=4674;POINT (-38.515353 -3.543862)'))) / (select extract(epoch from '2026-07-18 16:40:50'::timestamp) - extract(epoch from '2026-07-18 16:40:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515339 -3.54383)'), GeomFromEWKT('SRID=4674;POINT (-38.515353 -3.543862)'))) / (select extract(epoch from '2026-07-18 16:40:50'::timestamp) - extract(epoch from '2026-07-18 16:40: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'), 47391, 'SRID=4674;POINT (-38.515378 -3.543891)', '2026-07-18 16:40:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515353 -3.543862)'), GeomFromEWKT('SRID=4674;POINT (-38.515378 -3.543891)'))) / (select extract(epoch from '2026-07-18 16:40:52'::timestamp) - extract(epoch from '2026-07-18 16:40:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515353 -3.543862)'), GeomFromEWKT('SRID=4674;POINT (-38.515378 -3.543891)'))) / (select extract(epoch from '2026-07-18 16:40:52'::timestamp) - extract(epoch from '2026-07-18 16:40:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.515382 -3.543908)', '2026-07-18 16:40:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515378 -3.543891)'), GeomFromEWKT('SRID=4674;POINT (-38.515382 -3.543908)'))) / (select extract(epoch from '2026-07-18 16:40:53'::timestamp) - extract(epoch from '2026-07-18 16:40:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515378 -3.543891)'), GeomFromEWKT('SRID=4674;POINT (-38.515382 -3.543908)'))) / (select extract(epoch from '2026-07-18 16:40:53'::timestamp) - extract(epoch from '2026-07-18 16:40:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.515388 -3.543927)', '2026-07-18 16:40:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515382 -3.543908)'), GeomFromEWKT('SRID=4674;POINT (-38.515388 -3.543927)'))) / (select extract(epoch from '2026-07-18 16:40:54'::timestamp) - extract(epoch from '2026-07-18 16:40:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515382 -3.543908)'), GeomFromEWKT('SRID=4674;POINT (-38.515388 -3.543927)'))) / (select extract(epoch from '2026-07-18 16:40:54'::timestamp) - extract(epoch from '2026-07-18 16:40: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'), 47391, 'SRID=4674;POINT (-38.515416 -3.543971)', '2026-07-18 16:40:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515388 -3.543927)'), GeomFromEWKT('SRID=4674;POINT (-38.515416 -3.543971)'))) / (select extract(epoch from '2026-07-18 16:40:57'::timestamp) - extract(epoch from '2026-07-18 16:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515388 -3.543927)'), GeomFromEWKT('SRID=4674;POINT (-38.515416 -3.543971)'))) / (select extract(epoch from '2026-07-18 16:40:57'::timestamp) - extract(epoch from '2026-07-18 16:40:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.515417 -3.544008)', '2026-07-18 16:40:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515416 -3.543971)'), GeomFromEWKT('SRID=4674;POINT (-38.515417 -3.544008)'))) / (select extract(epoch from '2026-07-18 16:40:59'::timestamp) - extract(epoch from '2026-07-18 16:40:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515416 -3.543971)'), GeomFromEWKT('SRID=4674;POINT (-38.515417 -3.544008)'))) / (select extract(epoch from '2026-07-18 16:40:59'::timestamp) - extract(epoch from '2026-07-18 16:40: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'), 47391, 'SRID=4674;POINT (-38.515438 -3.544061)', '2026-07-18 16:41:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515417 -3.544008)'), GeomFromEWKT('SRID=4674;POINT (-38.515438 -3.544061)'))) / (select extract(epoch from '2026-07-18 16:41:02'::timestamp) - extract(epoch from '2026-07-18 16:40:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515417 -3.544008)'), GeomFromEWKT('SRID=4674;POINT (-38.515438 -3.544061)'))) / (select extract(epoch from '2026-07-18 16:41:02'::timestamp) - extract(epoch from '2026-07-18 16:40:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.515446 -3.54414)', '2026-07-18 16:41:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515438 -3.544061)'), GeomFromEWKT('SRID=4674;POINT (-38.515446 -3.54414)'))) / (select extract(epoch from '2026-07-18 16:41:07'::timestamp) - extract(epoch from '2026-07-18 16:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515438 -3.544061)'), GeomFromEWKT('SRID=4674;POINT (-38.515446 -3.54414)'))) / (select extract(epoch from '2026-07-18 16:41:07'::timestamp) - extract(epoch from '2026-07-18 16:41:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.515452 -3.544213)', '2026-07-18 16:41:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515446 -3.54414)'), GeomFromEWKT('SRID=4674;POINT (-38.515452 -3.544213)'))) / (select extract(epoch from '2026-07-18 16:41:12'::timestamp) - extract(epoch from '2026-07-18 16:41:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515446 -3.54414)'), GeomFromEWKT('SRID=4674;POINT (-38.515452 -3.544213)'))) / (select extract(epoch from '2026-07-18 16:41:12'::timestamp) - extract(epoch from '2026-07-18 16:41:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.515463 -3.54423)', '2026-07-18 16:41:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515452 -3.544213)'), GeomFromEWKT('SRID=4674;POINT (-38.515463 -3.54423)'))) / (select extract(epoch from '2026-07-18 16:41:13'::timestamp) - extract(epoch from '2026-07-18 16:41:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515452 -3.544213)'), GeomFromEWKT('SRID=4674;POINT (-38.515463 -3.54423)'))) / (select extract(epoch from '2026-07-18 16:41:13'::timestamp) - extract(epoch from '2026-07-18 16:41: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'), 47391, 'SRID=4674;POINT (-38.51548 -3.544299)', '2026-07-18 16:41:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515463 -3.54423)'), GeomFromEWKT('SRID=4674;POINT (-38.51548 -3.544299)'))) / (select extract(epoch from '2026-07-18 16:41:17'::timestamp) - extract(epoch from '2026-07-18 16:41:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515463 -3.54423)'), GeomFromEWKT('SRID=4674;POINT (-38.51548 -3.544299)'))) / (select extract(epoch from '2026-07-18 16:41:17'::timestamp) - extract(epoch from '2026-07-18 16:41: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'), 47391, 'SRID=4674;POINT (-38.515495 -3.544342)', '2026-07-18 16:41:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51548 -3.544299)'), GeomFromEWKT('SRID=4674;POINT (-38.515495 -3.544342)'))) / (select extract(epoch from '2026-07-18 16:41:19'::timestamp) - extract(epoch from '2026-07-18 16:41:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51548 -3.544299)'), GeomFromEWKT('SRID=4674;POINT (-38.515495 -3.544342)'))) / (select extract(epoch from '2026-07-18 16:41:19'::timestamp) - extract(epoch from '2026-07-18 16:41:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.515524 -3.544401)', '2026-07-18 16:41:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515495 -3.544342)'), GeomFromEWKT('SRID=4674;POINT (-38.515524 -3.544401)'))) / (select extract(epoch from '2026-07-18 16:41:22'::timestamp) - extract(epoch from '2026-07-18 16:41:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515495 -3.544342)'), GeomFromEWKT('SRID=4674;POINT (-38.515524 -3.544401)'))) / (select extract(epoch from '2026-07-18 16:41:22'::timestamp) - extract(epoch from '2026-07-18 16:41:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.515528 -3.544448)', '2026-07-18 16:41:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515524 -3.544401)'), GeomFromEWKT('SRID=4674;POINT (-38.515528 -3.544448)'))) / (select extract(epoch from '2026-07-18 16:41:24'::timestamp) - extract(epoch from '2026-07-18 16:41:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515524 -3.544401)'), GeomFromEWKT('SRID=4674;POINT (-38.515528 -3.544448)'))) / (select extract(epoch from '2026-07-18 16:41:24'::timestamp) - extract(epoch from '2026-07-18 16:41:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.515548 -3.544488)', '2026-07-18 16:41:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515528 -3.544448)'), GeomFromEWKT('SRID=4674;POINT (-38.515548 -3.544488)'))) / (select extract(epoch from '2026-07-18 16:41:26'::timestamp) - extract(epoch from '2026-07-18 16:41:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515528 -3.544448)'), GeomFromEWKT('SRID=4674;POINT (-38.515548 -3.544488)'))) / (select extract(epoch from '2026-07-18 16:41:26'::timestamp) - extract(epoch from '2026-07-18 16:41: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'), 47391, 'SRID=4674;POINT (-38.51555 -3.544508)', '2026-07-18 16:41:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515548 -3.544488)'), GeomFromEWKT('SRID=4674;POINT (-38.51555 -3.544508)'))) / (select extract(epoch from '2026-07-18 16:41:27'::timestamp) - extract(epoch from '2026-07-18 16:41:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515548 -3.544488)'), GeomFromEWKT('SRID=4674;POINT (-38.51555 -3.544508)'))) / (select extract(epoch from '2026-07-18 16:41:27'::timestamp) - extract(epoch from '2026-07-18 16:41:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.515558 -3.544583)', '2026-07-18 16:41:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51555 -3.544508)'), GeomFromEWKT('SRID=4674;POINT (-38.515558 -3.544583)'))) / (select extract(epoch from '2026-07-18 16:41:31'::timestamp) - extract(epoch from '2026-07-18 16:41:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51555 -3.544508)'), GeomFromEWKT('SRID=4674;POINT (-38.515558 -3.544583)'))) / (select extract(epoch from '2026-07-18 16:41:31'::timestamp) - extract(epoch from '2026-07-18 16:41: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'), 47391, 'SRID=4674;POINT (-38.515596 -3.544673)', '2026-07-18 16:41:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515558 -3.544583)'), GeomFromEWKT('SRID=4674;POINT (-38.515596 -3.544673)'))) / (select extract(epoch from '2026-07-18 16:41:37'::timestamp) - extract(epoch from '2026-07-18 16:41:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515558 -3.544583)'), GeomFromEWKT('SRID=4674;POINT (-38.515596 -3.544673)'))) / (select extract(epoch from '2026-07-18 16:41:37'::timestamp) - extract(epoch from '2026-07-18 16:41: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'), 47391, 'SRID=4674;POINT (-38.515642 -3.544755)', '2026-07-18 16:41:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515596 -3.544673)'), GeomFromEWKT('SRID=4674;POINT (-38.515642 -3.544755)'))) / (select extract(epoch from '2026-07-18 16:41:42'::timestamp) - extract(epoch from '2026-07-18 16:41:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515596 -3.544673)'), GeomFromEWKT('SRID=4674;POINT (-38.515642 -3.544755)'))) / (select extract(epoch from '2026-07-18 16:41:42'::timestamp) - extract(epoch from '2026-07-18 16:41:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.51567 -3.54483)', '2026-07-18 16:41:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515642 -3.544755)'), GeomFromEWKT('SRID=4674;POINT (-38.51567 -3.54483)'))) / (select extract(epoch from '2026-07-18 16:41:47'::timestamp) - extract(epoch from '2026-07-18 16:41:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515642 -3.544755)'), GeomFromEWKT('SRID=4674;POINT (-38.51567 -3.54483)'))) / (select extract(epoch from '2026-07-18 16:41:47'::timestamp) - extract(epoch from '2026-07-18 16:41: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'), 47391, 'SRID=4674;POINT (-38.515679 -3.544856)', '2026-07-18 16:41:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51567 -3.54483)'), GeomFromEWKT('SRID=4674;POINT (-38.515679 -3.544856)'))) / (select extract(epoch from '2026-07-18 16:41:49'::timestamp) - extract(epoch from '2026-07-18 16:41:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51567 -3.54483)'), GeomFromEWKT('SRID=4674;POINT (-38.515679 -3.544856)'))) / (select extract(epoch from '2026-07-18 16:41:49'::timestamp) - extract(epoch from '2026-07-18 16:41: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'), 47391, 'SRID=4674;POINT (-38.515688 -3.544887)', '2026-07-18 16:41:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515679 -3.544856)'), GeomFromEWKT('SRID=4674;POINT (-38.515688 -3.544887)'))) / (select extract(epoch from '2026-07-18 16:41:51'::timestamp) - extract(epoch from '2026-07-18 16:41:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515679 -3.544856)'), GeomFromEWKT('SRID=4674;POINT (-38.515688 -3.544887)'))) / (select extract(epoch from '2026-07-18 16:41:51'::timestamp) - extract(epoch from '2026-07-18 16:41: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'), 47391, 'SRID=4674;POINT (-38.515699 -3.544908)', '2026-07-18 16:41:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515688 -3.544887)'), GeomFromEWKT('SRID=4674;POINT (-38.515699 -3.544908)'))) / (select extract(epoch from '2026-07-18 16:41:52'::timestamp) - extract(epoch from '2026-07-18 16:41:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515688 -3.544887)'), GeomFromEWKT('SRID=4674;POINT (-38.515699 -3.544908)'))) / (select extract(epoch from '2026-07-18 16:41:52'::timestamp) - extract(epoch from '2026-07-18 16:41: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'), 47391, 'SRID=4674;POINT (-38.51572 -3.544974)', '2026-07-18 16:41:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515699 -3.544908)'), GeomFromEWKT('SRID=4674;POINT (-38.51572 -3.544974)'))) / (select extract(epoch from '2026-07-18 16:41:56'::timestamp) - extract(epoch from '2026-07-18 16:41:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515699 -3.544908)'), GeomFromEWKT('SRID=4674;POINT (-38.51572 -3.544974)'))) / (select extract(epoch from '2026-07-18 16:41:56'::timestamp) - extract(epoch from '2026-07-18 16:41: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'), 47391, 'SRID=4674;POINT (-38.515755 -3.545078)', '2026-07-18 16:42:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51572 -3.544974)'), GeomFromEWKT('SRID=4674;POINT (-38.515755 -3.545078)'))) / (select extract(epoch from '2026-07-18 16:42:02'::timestamp) - extract(epoch from '2026-07-18 16:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51572 -3.544974)'), GeomFromEWKT('SRID=4674;POINT (-38.515755 -3.545078)'))) / (select extract(epoch from '2026-07-18 16:42:02'::timestamp) - extract(epoch from '2026-07-18 16:41:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.515826 -3.545216)', '2026-07-18 16:42:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515755 -3.545078)'), GeomFromEWKT('SRID=4674;POINT (-38.515826 -3.545216)'))) / (select extract(epoch from '2026-07-18 16:42:10'::timestamp) - extract(epoch from '2026-07-18 16:42:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515755 -3.545078)'), GeomFromEWKT('SRID=4674;POINT (-38.515826 -3.545216)'))) / (select extract(epoch from '2026-07-18 16:42:10'::timestamp) - extract(epoch from '2026-07-18 16:42: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'), 47391, 'SRID=4674;POINT (-38.515877 -3.545324)', '2026-07-18 16:42:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515826 -3.545216)'), GeomFromEWKT('SRID=4674;POINT (-38.515877 -3.545324)'))) / (select extract(epoch from '2026-07-18 16:42:16'::timestamp) - extract(epoch from '2026-07-18 16:42:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515826 -3.545216)'), GeomFromEWKT('SRID=4674;POINT (-38.515877 -3.545324)'))) / (select extract(epoch from '2026-07-18 16:42:16'::timestamp) - extract(epoch from '2026-07-18 16:42:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.515909 -3.545423)', '2026-07-18 16:42:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515877 -3.545324)'), GeomFromEWKT('SRID=4674;POINT (-38.515909 -3.545423)'))) / (select extract(epoch from '2026-07-18 16:42:22'::timestamp) - extract(epoch from '2026-07-18 16:42:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515877 -3.545324)'), GeomFromEWKT('SRID=4674;POINT (-38.515909 -3.545423)'))) / (select extract(epoch from '2026-07-18 16:42:22'::timestamp) - extract(epoch from '2026-07-18 16:42:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.515921 -3.545439)', '2026-07-18 16:42:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515909 -3.545423)'), GeomFromEWKT('SRID=4674;POINT (-38.515921 -3.545439)'))) / (select extract(epoch from '2026-07-18 16:42:23'::timestamp) - extract(epoch from '2026-07-18 16:42:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515909 -3.545423)'), GeomFromEWKT('SRID=4674;POINT (-38.515921 -3.545439)'))) / (select extract(epoch from '2026-07-18 16:42:23'::timestamp) - extract(epoch from '2026-07-18 16:42:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.515949 -3.545518)', '2026-07-18 16:42:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515921 -3.545439)'), GeomFromEWKT('SRID=4674;POINT (-38.515949 -3.545518)'))) / (select extract(epoch from '2026-07-18 16:42:28'::timestamp) - extract(epoch from '2026-07-18 16:42:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515921 -3.545439)'), GeomFromEWKT('SRID=4674;POINT (-38.515949 -3.545518)'))) / (select extract(epoch from '2026-07-18 16:42:28'::timestamp) - extract(epoch from '2026-07-18 16:42:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.515988 -3.545611)', '2026-07-18 16:42:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515949 -3.545518)'), GeomFromEWKT('SRID=4674;POINT (-38.515988 -3.545611)'))) / (select extract(epoch from '2026-07-18 16:42:34'::timestamp) - extract(epoch from '2026-07-18 16:42:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515949 -3.545518)'), GeomFromEWKT('SRID=4674;POINT (-38.515988 -3.545611)'))) / (select extract(epoch from '2026-07-18 16:42:34'::timestamp) - extract(epoch from '2026-07-18 16:42: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'), 47391, 'SRID=4674;POINT (-38.516003 -3.545643)', '2026-07-18 16:42:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515988 -3.545611)'), GeomFromEWKT('SRID=4674;POINT (-38.516003 -3.545643)'))) / (select extract(epoch from '2026-07-18 16:42:36'::timestamp) - extract(epoch from '2026-07-18 16:42:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515988 -3.545611)'), GeomFromEWKT('SRID=4674;POINT (-38.516003 -3.545643)'))) / (select extract(epoch from '2026-07-18 16:42:36'::timestamp) - extract(epoch from '2026-07-18 16:42: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'), 47391, 'SRID=4674;POINT (-38.516027 -3.545702)', '2026-07-18 16:42:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516003 -3.545643)'), GeomFromEWKT('SRID=4674;POINT (-38.516027 -3.545702)'))) / (select extract(epoch from '2026-07-18 16:42:39'::timestamp) - extract(epoch from '2026-07-18 16:42:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516003 -3.545643)'), GeomFromEWKT('SRID=4674;POINT (-38.516027 -3.545702)'))) / (select extract(epoch from '2026-07-18 16:42:39'::timestamp) - extract(epoch from '2026-07-18 16:42: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'), 47391, 'SRID=4674;POINT (-38.516049 -3.545784)', '2026-07-18 16:42:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516027 -3.545702)'), GeomFromEWKT('SRID=4674;POINT (-38.516049 -3.545784)'))) / (select extract(epoch from '2026-07-18 16:42:44'::timestamp) - extract(epoch from '2026-07-18 16:42:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516027 -3.545702)'), GeomFromEWKT('SRID=4674;POINT (-38.516049 -3.545784)'))) / (select extract(epoch from '2026-07-18 16:42:44'::timestamp) - extract(epoch from '2026-07-18 16:42: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'), 47391, 'SRID=4674;POINT (-38.516072 -3.545876)', '2026-07-18 16:42:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516049 -3.545784)'), GeomFromEWKT('SRID=4674;POINT (-38.516072 -3.545876)'))) / (select extract(epoch from '2026-07-18 16:42:49'::timestamp) - extract(epoch from '2026-07-18 16:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516049 -3.545784)'), GeomFromEWKT('SRID=4674;POINT (-38.516072 -3.545876)'))) / (select extract(epoch from '2026-07-18 16:42:49'::timestamp) - extract(epoch from '2026-07-18 16:42:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.516097 -3.545999)', '2026-07-18 16:42:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516072 -3.545876)'), GeomFromEWKT('SRID=4674;POINT (-38.516097 -3.545999)'))) / (select extract(epoch from '2026-07-18 16:42:56'::timestamp) - extract(epoch from '2026-07-18 16:42:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516072 -3.545876)'), GeomFromEWKT('SRID=4674;POINT (-38.516097 -3.545999)'))) / (select extract(epoch from '2026-07-18 16:42:56'::timestamp) - extract(epoch from '2026-07-18 16:42: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'), 47391, 'SRID=4674;POINT (-38.5161 -3.546062)', '2026-07-18 16:43:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516097 -3.545999)'), GeomFromEWKT('SRID=4674;POINT (-38.5161 -3.546062)'))) / (select extract(epoch from '2026-07-18 16:43:00'::timestamp) - extract(epoch from '2026-07-18 16:42:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516097 -3.545999)'), GeomFromEWKT('SRID=4674;POINT (-38.5161 -3.546062)'))) / (select extract(epoch from '2026-07-18 16:43:00'::timestamp) - extract(epoch from '2026-07-18 16:42: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'), 47391, 'SRID=4674;POINT (-38.516121 -3.546093)', '2026-07-18 16:43:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5161 -3.546062)'), GeomFromEWKT('SRID=4674;POINT (-38.516121 -3.546093)'))) / (select extract(epoch from '2026-07-18 16:43:02'::timestamp) - extract(epoch from '2026-07-18 16:43:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5161 -3.546062)'), GeomFromEWKT('SRID=4674;POINT (-38.516121 -3.546093)'))) / (select extract(epoch from '2026-07-18 16:43:02'::timestamp) - extract(epoch from '2026-07-18 16:43:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.516141 -3.546172)', '2026-07-18 16:43:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516121 -3.546093)'), GeomFromEWKT('SRID=4674;POINT (-38.516141 -3.546172)'))) / (select extract(epoch from '2026-07-18 16:43:07'::timestamp) - extract(epoch from '2026-07-18 16:43:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516121 -3.546093)'), GeomFromEWKT('SRID=4674;POINT (-38.516141 -3.546172)'))) / (select extract(epoch from '2026-07-18 16:43:07'::timestamp) - extract(epoch from '2026-07-18 16:43: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'), 47391, 'SRID=4674;POINT (-38.516172 -3.546212)', '2026-07-18 16:43:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516141 -3.546172)'), GeomFromEWKT('SRID=4674;POINT (-38.516172 -3.546212)'))) / (select extract(epoch from '2026-07-18 16:43:10'::timestamp) - extract(epoch from '2026-07-18 16:43:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516141 -3.546172)'), GeomFromEWKT('SRID=4674;POINT (-38.516172 -3.546212)'))) / (select extract(epoch from '2026-07-18 16:43:10'::timestamp) - extract(epoch from '2026-07-18 16:43:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.516179 -3.546239)', '2026-07-18 16:43:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516172 -3.546212)'), GeomFromEWKT('SRID=4674;POINT (-38.516179 -3.546239)'))) / (select extract(epoch from '2026-07-18 16:43:12'::timestamp) - extract(epoch from '2026-07-18 16:43:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516172 -3.546212)'), GeomFromEWKT('SRID=4674;POINT (-38.516179 -3.546239)'))) / (select extract(epoch from '2026-07-18 16:43:12'::timestamp) - extract(epoch from '2026-07-18 16:43: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'), 47391, 'SRID=4674;POINT (-38.516219 -3.546322)', '2026-07-18 16:43:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516179 -3.546239)'), GeomFromEWKT('SRID=4674;POINT (-38.516219 -3.546322)'))) / (select extract(epoch from '2026-07-18 16:43:17'::timestamp) - extract(epoch from '2026-07-18 16:43:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516179 -3.546239)'), GeomFromEWKT('SRID=4674;POINT (-38.516219 -3.546322)'))) / (select extract(epoch from '2026-07-18 16:43:17'::timestamp) - extract(epoch from '2026-07-18 16:43:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.516251 -3.546426)', '2026-07-18 16:43:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516219 -3.546322)'), GeomFromEWKT('SRID=4674;POINT (-38.516251 -3.546426)'))) / (select extract(epoch from '2026-07-18 16:43:23'::timestamp) - extract(epoch from '2026-07-18 16:43:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516219 -3.546322)'), GeomFromEWKT('SRID=4674;POINT (-38.516251 -3.546426)'))) / (select extract(epoch from '2026-07-18 16:43:23'::timestamp) - extract(epoch from '2026-07-18 16:43: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'), 47391, 'SRID=4674;POINT (-38.51626 -3.546476)', '2026-07-18 16:43:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516251 -3.546426)'), GeomFromEWKT('SRID=4674;POINT (-38.51626 -3.546476)'))) / (select extract(epoch from '2026-07-18 16:43:26'::timestamp) - extract(epoch from '2026-07-18 16:43:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516251 -3.546426)'), GeomFromEWKT('SRID=4674;POINT (-38.51626 -3.546476)'))) / (select extract(epoch from '2026-07-18 16:43:26'::timestamp) - extract(epoch from '2026-07-18 16:43:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.516282 -3.546524)', '2026-07-18 16:43:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51626 -3.546476)'), GeomFromEWKT('SRID=4674;POINT (-38.516282 -3.546524)'))) / (select extract(epoch from '2026-07-18 16:43:29'::timestamp) - extract(epoch from '2026-07-18 16:43:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51626 -3.546476)'), GeomFromEWKT('SRID=4674;POINT (-38.516282 -3.546524)'))) / (select extract(epoch from '2026-07-18 16:43:29'::timestamp) - extract(epoch from '2026-07-18 16:43:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.516312 -3.546596)', '2026-07-18 16:43:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516282 -3.546524)'), GeomFromEWKT('SRID=4674;POINT (-38.516312 -3.546596)'))) / (select extract(epoch from '2026-07-18 16:43:34'::timestamp) - extract(epoch from '2026-07-18 16:43:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516282 -3.546524)'), GeomFromEWKT('SRID=4674;POINT (-38.516312 -3.546596)'))) / (select extract(epoch from '2026-07-18 16:43:34'::timestamp) - extract(epoch from '2026-07-18 16:43:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.516351 -3.546655)', '2026-07-18 16:43:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516312 -3.546596)'), GeomFromEWKT('SRID=4674;POINT (-38.516351 -3.546655)'))) / (select extract(epoch from '2026-07-18 16:43:39'::timestamp) - extract(epoch from '2026-07-18 16:43:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516312 -3.546596)'), GeomFromEWKT('SRID=4674;POINT (-38.516351 -3.546655)'))) / (select extract(epoch from '2026-07-18 16:43:39'::timestamp) - extract(epoch from '2026-07-18 16:43: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'), 47391, 'SRID=4674;POINT (-38.516411 -3.546756)', '2026-07-18 16:43:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516351 -3.546655)'), GeomFromEWKT('SRID=4674;POINT (-38.516411 -3.546756)'))) / (select extract(epoch from '2026-07-18 16:43:45'::timestamp) - extract(epoch from '2026-07-18 16:43:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516351 -3.546655)'), GeomFromEWKT('SRID=4674;POINT (-38.516411 -3.546756)'))) / (select extract(epoch from '2026-07-18 16:43:45'::timestamp) - extract(epoch from '2026-07-18 16:43: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'), 47391, 'SRID=4674;POINT (-38.51646 -3.546848)', '2026-07-18 16:43:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516411 -3.546756)'), GeomFromEWKT('SRID=4674;POINT (-38.51646 -3.546848)'))) / (select extract(epoch from '2026-07-18 16:43:51'::timestamp) - extract(epoch from '2026-07-18 16:43:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516411 -3.546756)'), GeomFromEWKT('SRID=4674;POINT (-38.51646 -3.546848)'))) / (select extract(epoch from '2026-07-18 16:43:51'::timestamp) - extract(epoch from '2026-07-18 16:43:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.516488 -3.546948)', '2026-07-18 16:43:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51646 -3.546848)'), GeomFromEWKT('SRID=4674;POINT (-38.516488 -3.546948)'))) / (select extract(epoch from '2026-07-18 16:43:57'::timestamp) - extract(epoch from '2026-07-18 16:43:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51646 -3.546848)'), GeomFromEWKT('SRID=4674;POINT (-38.516488 -3.546948)'))) / (select extract(epoch from '2026-07-18 16:43:57'::timestamp) - extract(epoch from '2026-07-18 16:43: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'), 47391, 'SRID=4674;POINT (-38.516489 -3.546984)', '2026-07-18 16:44:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516488 -3.546948)'), GeomFromEWKT('SRID=4674;POINT (-38.516489 -3.546984)'))) / (select extract(epoch from '2026-07-18 16:44:00'::timestamp) - extract(epoch from '2026-07-18 16:43:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516488 -3.546948)'), GeomFromEWKT('SRID=4674;POINT (-38.516489 -3.546984)'))) / (select extract(epoch from '2026-07-18 16:44:00'::timestamp) - extract(epoch from '2026-07-18 16:43: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'), 47391, 'SRID=4674;POINT (-38.516512 -3.547016)', '2026-07-18 16:44:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516489 -3.546984)'), GeomFromEWKT('SRID=4674;POINT (-38.516512 -3.547016)'))) / (select extract(epoch from '2026-07-18 16:44:02'::timestamp) - extract(epoch from '2026-07-18 16:44:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516489 -3.546984)'), GeomFromEWKT('SRID=4674;POINT (-38.516512 -3.547016)'))) / (select extract(epoch from '2026-07-18 16:44:02'::timestamp) - extract(epoch from '2026-07-18 16:44:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.516531 -3.547078)', '2026-07-18 16:44:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516512 -3.547016)'), GeomFromEWKT('SRID=4674;POINT (-38.516531 -3.547078)'))) / (select extract(epoch from '2026-07-18 16:44:06'::timestamp) - extract(epoch from '2026-07-18 16:44:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516512 -3.547016)'), GeomFromEWKT('SRID=4674;POINT (-38.516531 -3.547078)'))) / (select extract(epoch from '2026-07-18 16:44:06'::timestamp) - extract(epoch from '2026-07-18 16:44: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'), 47391, 'SRID=4674;POINT (-38.516539 -3.547091)', '2026-07-18 16:44:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516531 -3.547078)'), GeomFromEWKT('SRID=4674;POINT (-38.516539 -3.547091)'))) / (select extract(epoch from '2026-07-18 16:44:07'::timestamp) - extract(epoch from '2026-07-18 16:44:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516531 -3.547078)'), GeomFromEWKT('SRID=4674;POINT (-38.516539 -3.547091)'))) / (select extract(epoch from '2026-07-18 16:44:07'::timestamp) - extract(epoch from '2026-07-18 16:44: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'), 47391, 'SRID=4674;POINT (-38.516581 -3.54718)', '2026-07-18 16:44:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516539 -3.547091)'), GeomFromEWKT('SRID=4674;POINT (-38.516581 -3.54718)'))) / (select extract(epoch from '2026-07-18 16:44:12'::timestamp) - extract(epoch from '2026-07-18 16:44:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516539 -3.547091)'), GeomFromEWKT('SRID=4674;POINT (-38.516581 -3.54718)'))) / (select extract(epoch from '2026-07-18 16:44:12'::timestamp) - extract(epoch from '2026-07-18 16:44: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'), 47391, 'SRID=4674;POINT (-38.516606 -3.547256)', '2026-07-18 16:44:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516581 -3.54718)'), GeomFromEWKT('SRID=4674;POINT (-38.516606 -3.547256)'))) / (select extract(epoch from '2026-07-18 16:44:17'::timestamp) - extract(epoch from '2026-07-18 16:44:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516581 -3.54718)'), GeomFromEWKT('SRID=4674;POINT (-38.516606 -3.547256)'))) / (select extract(epoch from '2026-07-18 16:44:17'::timestamp) - extract(epoch from '2026-07-18 16:44:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.516635 -3.547363)', '2026-07-18 16:44:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516606 -3.547256)'), GeomFromEWKT('SRID=4674;POINT (-38.516635 -3.547363)'))) / (select extract(epoch from '2026-07-18 16:44:23'::timestamp) - extract(epoch from '2026-07-18 16:44:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516606 -3.547256)'), GeomFromEWKT('SRID=4674;POINT (-38.516635 -3.547363)'))) / (select extract(epoch from '2026-07-18 16:44:23'::timestamp) - extract(epoch from '2026-07-18 16:44:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.51667 -3.547455)', '2026-07-18 16:44:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516635 -3.547363)'), GeomFromEWKT('SRID=4674;POINT (-38.51667 -3.547455)'))) / (select extract(epoch from '2026-07-18 16:44:28'::timestamp) - extract(epoch from '2026-07-18 16:44:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516635 -3.547363)'), GeomFromEWKT('SRID=4674;POINT (-38.51667 -3.547455)'))) / (select extract(epoch from '2026-07-18 16:44:28'::timestamp) - extract(epoch from '2026-07-18 16:44:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.516708 -3.547553)', '2026-07-18 16:44:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51667 -3.547455)'), GeomFromEWKT('SRID=4674;POINT (-38.516708 -3.547553)'))) / (select extract(epoch from '2026-07-18 16:44:34'::timestamp) - extract(epoch from '2026-07-18 16:44:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51667 -3.547455)'), GeomFromEWKT('SRID=4674;POINT (-38.516708 -3.547553)'))) / (select extract(epoch from '2026-07-18 16:44:34'::timestamp) - extract(epoch from '2026-07-18 16:44: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'), 47391, 'SRID=4674;POINT (-38.516739 -3.547655)', '2026-07-18 16:44:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516708 -3.547553)'), GeomFromEWKT('SRID=4674;POINT (-38.516739 -3.547655)'))) / (select extract(epoch from '2026-07-18 16:44:40'::timestamp) - extract(epoch from '2026-07-18 16:44:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516708 -3.547553)'), GeomFromEWKT('SRID=4674;POINT (-38.516739 -3.547655)'))) / (select extract(epoch from '2026-07-18 16:44:40'::timestamp) - extract(epoch from '2026-07-18 16:44:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.516783 -3.547751)', '2026-07-18 16:44:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516739 -3.547655)'), GeomFromEWKT('SRID=4674;POINT (-38.516783 -3.547751)'))) / (select extract(epoch from '2026-07-18 16:44:46'::timestamp) - extract(epoch from '2026-07-18 16:44:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516739 -3.547655)'), GeomFromEWKT('SRID=4674;POINT (-38.516783 -3.547751)'))) / (select extract(epoch from '2026-07-18 16:44:46'::timestamp) - extract(epoch from '2026-07-18 16:44: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'), 47391, 'SRID=4674;POINT (-38.51683 -3.547853)', '2026-07-18 16:44:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516783 -3.547751)'), GeomFromEWKT('SRID=4674;POINT (-38.51683 -3.547853)'))) / (select extract(epoch from '2026-07-18 16:44:52'::timestamp) - extract(epoch from '2026-07-18 16:44:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516783 -3.547751)'), GeomFromEWKT('SRID=4674;POINT (-38.51683 -3.547853)'))) / (select extract(epoch from '2026-07-18 16:44:52'::timestamp) - extract(epoch from '2026-07-18 16:44: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'), 47391, 'SRID=4674;POINT (-38.516859 -3.547958)', '2026-07-18 16:44:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51683 -3.547853)'), GeomFromEWKT('SRID=4674;POINT (-38.516859 -3.547958)'))) / (select extract(epoch from '2026-07-18 16:44:58'::timestamp) - extract(epoch from '2026-07-18 16:44:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51683 -3.547853)'), GeomFromEWKT('SRID=4674;POINT (-38.516859 -3.547958)'))) / (select extract(epoch from '2026-07-18 16:44:58'::timestamp) - extract(epoch from '2026-07-18 16:44: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'), 47391, 'SRID=4674;POINT (-38.51687 -3.548112)', '2026-07-18 16:45:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516859 -3.547958)'), GeomFromEWKT('SRID=4674;POINT (-38.51687 -3.548112)'))) / (select extract(epoch from '2026-07-18 16:45:07'::timestamp) - extract(epoch from '2026-07-18 16:44:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516859 -3.547958)'), GeomFromEWKT('SRID=4674;POINT (-38.51687 -3.548112)'))) / (select extract(epoch from '2026-07-18 16:45:07'::timestamp) - extract(epoch from '2026-07-18 16:44:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.516883 -3.548203)', '2026-07-18 16:45:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51687 -3.548112)'), GeomFromEWKT('SRID=4674;POINT (-38.516883 -3.548203)'))) / (select extract(epoch from '2026-07-18 16:45:13'::timestamp) - extract(epoch from '2026-07-18 16:45:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51687 -3.548112)'), GeomFromEWKT('SRID=4674;POINT (-38.516883 -3.548203)'))) / (select extract(epoch from '2026-07-18 16:45:13'::timestamp) - extract(epoch from '2026-07-18 16:45:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.516891 -3.548216)', '2026-07-18 16:45:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516883 -3.548203)'), GeomFromEWKT('SRID=4674;POINT (-38.516891 -3.548216)'))) / (select extract(epoch from '2026-07-18 16:45:14'::timestamp) - extract(epoch from '2026-07-18 16:45:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516883 -3.548203)'), GeomFromEWKT('SRID=4674;POINT (-38.516891 -3.548216)'))) / (select extract(epoch from '2026-07-18 16:45:14'::timestamp) - extract(epoch from '2026-07-18 16:45:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.516902 -3.548248)', '2026-07-18 16:45:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516891 -3.548216)'), GeomFromEWKT('SRID=4674;POINT (-38.516902 -3.548248)'))) / (select extract(epoch from '2026-07-18 16:45:16'::timestamp) - extract(epoch from '2026-07-18 16:45:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516891 -3.548216)'), GeomFromEWKT('SRID=4674;POINT (-38.516902 -3.548248)'))) / (select extract(epoch from '2026-07-18 16:45:16'::timestamp) - extract(epoch from '2026-07-18 16:45: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'), 47391, 'SRID=4674;POINT (-38.516902 -3.548266)', '2026-07-18 16:45:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516902 -3.548248)'), GeomFromEWKT('SRID=4674;POINT (-38.516902 -3.548266)'))) / (select extract(epoch from '2026-07-18 16:45:18'::timestamp) - extract(epoch from '2026-07-18 16:45:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516902 -3.548248)'), GeomFromEWKT('SRID=4674;POINT (-38.516902 -3.548266)'))) / (select extract(epoch from '2026-07-18 16:45:18'::timestamp) - extract(epoch from '2026-07-18 16:45: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'), 47391, 'SRID=4674;POINT (-38.516917 -3.548303)', '2026-07-18 16:45:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516902 -3.548266)'), GeomFromEWKT('SRID=4674;POINT (-38.516917 -3.548303)'))) / (select extract(epoch from '2026-07-18 16:45:21'::timestamp) - extract(epoch from '2026-07-18 16:45:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516902 -3.548266)'), GeomFromEWKT('SRID=4674;POINT (-38.516917 -3.548303)'))) / (select extract(epoch from '2026-07-18 16:45:21'::timestamp) - extract(epoch from '2026-07-18 16:45:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.516921 -3.548339)', '2026-07-18 16:45:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516917 -3.548303)'), GeomFromEWKT('SRID=4674;POINT (-38.516921 -3.548339)'))) / (select extract(epoch from '2026-07-18 16:45:24'::timestamp) - extract(epoch from '2026-07-18 16:45:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516917 -3.548303)'), GeomFromEWKT('SRID=4674;POINT (-38.516921 -3.548339)'))) / (select extract(epoch from '2026-07-18 16:45:24'::timestamp) - extract(epoch from '2026-07-18 16:45: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'), 47391, 'SRID=4674;POINT (-38.516954 -3.548431)', '2026-07-18 16:45:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516921 -3.548339)'), GeomFromEWKT('SRID=4674;POINT (-38.516954 -3.548431)'))) / (select extract(epoch from '2026-07-18 16:45:31'::timestamp) - extract(epoch from '2026-07-18 16:45:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516921 -3.548339)'), GeomFromEWKT('SRID=4674;POINT (-38.516954 -3.548431)'))) / (select extract(epoch from '2026-07-18 16:45:31'::timestamp) - extract(epoch from '2026-07-18 16:45:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.516988 -3.548496)', '2026-07-18 16:45:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516954 -3.548431)'), GeomFromEWKT('SRID=4674;POINT (-38.516988 -3.548496)'))) / (select extract(epoch from '2026-07-18 16:45:37'::timestamp) - extract(epoch from '2026-07-18 16:45:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516954 -3.548431)'), GeomFromEWKT('SRID=4674;POINT (-38.516988 -3.548496)'))) / (select extract(epoch from '2026-07-18 16:45:37'::timestamp) - extract(epoch from '2026-07-18 16:45: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'), 47391, 'SRID=4674;POINT (-38.516993 -3.548505)', '2026-07-18 16:45:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516988 -3.548496)'), GeomFromEWKT('SRID=4674;POINT (-38.516993 -3.548505)'))) / (select extract(epoch from '2026-07-18 16:45:38'::timestamp) - extract(epoch from '2026-07-18 16:45:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516988 -3.548496)'), GeomFromEWKT('SRID=4674;POINT (-38.516993 -3.548505)'))) / (select extract(epoch from '2026-07-18 16:45:38'::timestamp) - extract(epoch from '2026-07-18 16:45:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
