BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.359528 -2.80657)', '2026-07-17 06:53:55', -3.8, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.359693 -2.806587)', '2026-07-17 06:54:04', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359528 -2.80657)'), GeomFromEWKT('SRID=4674;POINT (-40.359693 -2.806587)'))) / (select extract(epoch from '2026-07-17 06:54:04'::timestamp) - extract(epoch from '2026-07-17 06:53:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359528 -2.80657)'), GeomFromEWKT('SRID=4674;POINT (-40.359693 -2.806587)'))) / (select extract(epoch from '2026-07-17 06:54:04'::timestamp) - extract(epoch from '2026-07-17 06:53:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.359821 -2.806634)', '2026-07-17 06:54:13', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359693 -2.806587)'), GeomFromEWKT('SRID=4674;POINT (-40.359821 -2.806634)'))) / (select extract(epoch from '2026-07-17 06:54:13'::timestamp) - extract(epoch from '2026-07-17 06:54:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359693 -2.806587)'), GeomFromEWKT('SRID=4674;POINT (-40.359821 -2.806634)'))) / (select extract(epoch from '2026-07-17 06:54:13'::timestamp) - extract(epoch from '2026-07-17 06:54:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.359926 -2.806662)', '2026-07-17 06:54:23', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359821 -2.806634)'), GeomFromEWKT('SRID=4674;POINT (-40.359926 -2.806662)'))) / (select extract(epoch from '2026-07-17 06:54:23'::timestamp) - extract(epoch from '2026-07-17 06:54:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359821 -2.806634)'), GeomFromEWKT('SRID=4674;POINT (-40.359926 -2.806662)'))) / (select extract(epoch from '2026-07-17 06:54:23'::timestamp) - extract(epoch from '2026-07-17 06:54:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.359988 -2.806669)', '2026-07-17 06:54:32', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359926 -2.806662)'), GeomFromEWKT('SRID=4674;POINT (-40.359988 -2.806669)'))) / (select extract(epoch from '2026-07-17 06:54:32'::timestamp) - extract(epoch from '2026-07-17 06:54:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359926 -2.806662)'), GeomFromEWKT('SRID=4674;POINT (-40.359988 -2.806669)'))) / (select extract(epoch from '2026-07-17 06:54:32'::timestamp) - extract(epoch from '2026-07-17 06:54:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.360057 -2.806657)', '2026-07-17 06:54:40', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359988 -2.806669)'), GeomFromEWKT('SRID=4674;POINT (-40.360057 -2.806657)'))) / (select extract(epoch from '2026-07-17 06:54:40'::timestamp) - extract(epoch from '2026-07-17 06:54:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359988 -2.806669)'), GeomFromEWKT('SRID=4674;POINT (-40.360057 -2.806657)'))) / (select extract(epoch from '2026-07-17 06:54:40'::timestamp) - extract(epoch from '2026-07-17 06:54:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.360168 -2.80664)', '2026-07-17 06:54:47', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360057 -2.806657)'), GeomFromEWKT('SRID=4674;POINT (-40.360168 -2.80664)'))) / (select extract(epoch from '2026-07-17 06:54:47'::timestamp) - extract(epoch from '2026-07-17 06:54:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360057 -2.806657)'), GeomFromEWKT('SRID=4674;POINT (-40.360168 -2.80664)'))) / (select extract(epoch from '2026-07-17 06:54:47'::timestamp) - extract(epoch from '2026-07-17 06:54:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.360311 -2.806612)', '2026-07-17 06:54:54', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360168 -2.80664)'), GeomFromEWKT('SRID=4674;POINT (-40.360311 -2.806612)'))) / (select extract(epoch from '2026-07-17 06:54:54'::timestamp) - extract(epoch from '2026-07-17 06:54:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360168 -2.80664)'), GeomFromEWKT('SRID=4674;POINT (-40.360311 -2.806612)'))) / (select extract(epoch from '2026-07-17 06:54:54'::timestamp) - extract(epoch from '2026-07-17 06:54:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.360462 -2.806601)', '2026-07-17 06:55:01', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360311 -2.806612)'), GeomFromEWKT('SRID=4674;POINT (-40.360462 -2.806601)'))) / (select extract(epoch from '2026-07-17 06:55:01'::timestamp) - extract(epoch from '2026-07-17 06:54:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360311 -2.806612)'), GeomFromEWKT('SRID=4674;POINT (-40.360462 -2.806601)'))) / (select extract(epoch from '2026-07-17 06:55:01'::timestamp) - extract(epoch from '2026-07-17 06:54:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.360616 -2.806566)', '2026-07-17 06:55:08', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360462 -2.806601)'), GeomFromEWKT('SRID=4674;POINT (-40.360616 -2.806566)'))) / (select extract(epoch from '2026-07-17 06:55:08'::timestamp) - extract(epoch from '2026-07-17 06:55:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360462 -2.806601)'), GeomFromEWKT('SRID=4674;POINT (-40.360616 -2.806566)'))) / (select extract(epoch from '2026-07-17 06:55:08'::timestamp) - extract(epoch from '2026-07-17 06:55:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.360811 -2.806493)', '2026-07-17 06:55:17', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360616 -2.806566)'), GeomFromEWKT('SRID=4674;POINT (-40.360811 -2.806493)'))) / (select extract(epoch from '2026-07-17 06:55:17'::timestamp) - extract(epoch from '2026-07-17 06:55:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360616 -2.806566)'), GeomFromEWKT('SRID=4674;POINT (-40.360811 -2.806493)'))) / (select extract(epoch from '2026-07-17 06:55:17'::timestamp) - extract(epoch from '2026-07-17 06:55:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.360982 -2.806426)', '2026-07-17 06:55:25', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360811 -2.806493)'), GeomFromEWKT('SRID=4674;POINT (-40.360982 -2.806426)'))) / (select extract(epoch from '2026-07-17 06:55:25'::timestamp) - extract(epoch from '2026-07-17 06:55:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360811 -2.806493)'), GeomFromEWKT('SRID=4674;POINT (-40.360982 -2.806426)'))) / (select extract(epoch from '2026-07-17 06:55:25'::timestamp) - extract(epoch from '2026-07-17 06:55:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.36119 -2.806321)', '2026-07-17 06:55:35', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360982 -2.806426)'), GeomFromEWKT('SRID=4674;POINT (-40.36119 -2.806321)'))) / (select extract(epoch from '2026-07-17 06:55:35'::timestamp) - extract(epoch from '2026-07-17 06:55:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360982 -2.806426)'), GeomFromEWKT('SRID=4674;POINT (-40.36119 -2.806321)'))) / (select extract(epoch from '2026-07-17 06:55:35'::timestamp) - extract(epoch from '2026-07-17 06:55:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.361341 -2.80628)', '2026-07-17 06:55:42', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36119 -2.806321)'), GeomFromEWKT('SRID=4674;POINT (-40.361341 -2.80628)'))) / (select extract(epoch from '2026-07-17 06:55:42'::timestamp) - extract(epoch from '2026-07-17 06:55:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36119 -2.806321)'), GeomFromEWKT('SRID=4674;POINT (-40.361341 -2.80628)'))) / (select extract(epoch from '2026-07-17 06:55:42'::timestamp) - extract(epoch from '2026-07-17 06:55:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.361491 -2.806217)', '2026-07-17 06:55:49', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361341 -2.80628)'), GeomFromEWKT('SRID=4674;POINT (-40.361491 -2.806217)'))) / (select extract(epoch from '2026-07-17 06:55:49'::timestamp) - extract(epoch from '2026-07-17 06:55:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361341 -2.80628)'), GeomFromEWKT('SRID=4674;POINT (-40.361491 -2.806217)'))) / (select extract(epoch from '2026-07-17 06:55:49'::timestamp) - extract(epoch from '2026-07-17 06:55:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.361653 -2.806124)', '2026-07-17 06:55:57', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361491 -2.806217)'), GeomFromEWKT('SRID=4674;POINT (-40.361653 -2.806124)'))) / (select extract(epoch from '2026-07-17 06:55:57'::timestamp) - extract(epoch from '2026-07-17 06:55:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361491 -2.806217)'), GeomFromEWKT('SRID=4674;POINT (-40.361653 -2.806124)'))) / (select extract(epoch from '2026-07-17 06:55:57'::timestamp) - extract(epoch from '2026-07-17 06:55:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.361766 -2.806049)', '2026-07-17 06:56:03', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361653 -2.806124)'), GeomFromEWKT('SRID=4674;POINT (-40.361766 -2.806049)'))) / (select extract(epoch from '2026-07-17 06:56:03'::timestamp) - extract(epoch from '2026-07-17 06:55:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361653 -2.806124)'), GeomFromEWKT('SRID=4674;POINT (-40.361766 -2.806049)'))) / (select extract(epoch from '2026-07-17 06:56:03'::timestamp) - extract(epoch from '2026-07-17 06:55:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.361952 -2.805996)', '2026-07-17 06:56:11', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361766 -2.806049)'), GeomFromEWKT('SRID=4674;POINT (-40.361952 -2.805996)'))) / (select extract(epoch from '2026-07-17 06:56:11'::timestamp) - extract(epoch from '2026-07-17 06:56:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361766 -2.806049)'), GeomFromEWKT('SRID=4674;POINT (-40.361952 -2.805996)'))) / (select extract(epoch from '2026-07-17 06:56:11'::timestamp) - extract(epoch from '2026-07-17 06:56:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.362143 -2.805993)', '2026-07-17 06:56:19', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361952 -2.805996)'), GeomFromEWKT('SRID=4674;POINT (-40.362143 -2.805993)'))) / (select extract(epoch from '2026-07-17 06:56:19'::timestamp) - extract(epoch from '2026-07-17 06:56:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361952 -2.805996)'), GeomFromEWKT('SRID=4674;POINT (-40.362143 -2.805993)'))) / (select extract(epoch from '2026-07-17 06:56:19'::timestamp) - extract(epoch from '2026-07-17 06:56:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.362367 -2.805971)', '2026-07-17 06:56:29', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362143 -2.805993)'), GeomFromEWKT('SRID=4674;POINT (-40.362367 -2.805971)'))) / (select extract(epoch from '2026-07-17 06:56:29'::timestamp) - extract(epoch from '2026-07-17 06:56:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362143 -2.805993)'), GeomFromEWKT('SRID=4674;POINT (-40.362367 -2.805971)'))) / (select extract(epoch from '2026-07-17 06:56:29'::timestamp) - extract(epoch from '2026-07-17 06:56:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.36256 -2.805936)', '2026-07-17 06:56:38', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362367 -2.805971)'), GeomFromEWKT('SRID=4674;POINT (-40.36256 -2.805936)'))) / (select extract(epoch from '2026-07-17 06:56:38'::timestamp) - extract(epoch from '2026-07-17 06:56:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362367 -2.805971)'), GeomFromEWKT('SRID=4674;POINT (-40.36256 -2.805936)'))) / (select extract(epoch from '2026-07-17 06:56:38'::timestamp) - extract(epoch from '2026-07-17 06:56:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.362734 -2.805902)', '2026-07-17 06:56:46', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36256 -2.805936)'), GeomFromEWKT('SRID=4674;POINT (-40.362734 -2.805902)'))) / (select extract(epoch from '2026-07-17 06:56:46'::timestamp) - extract(epoch from '2026-07-17 06:56:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36256 -2.805936)'), GeomFromEWKT('SRID=4674;POINT (-40.362734 -2.805902)'))) / (select extract(epoch from '2026-07-17 06:56:46'::timestamp) - extract(epoch from '2026-07-17 06:56:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.362895 -2.805822)', '2026-07-17 06:56:54', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362734 -2.805902)'), GeomFromEWKT('SRID=4674;POINT (-40.362895 -2.805822)'))) / (select extract(epoch from '2026-07-17 06:56:54'::timestamp) - extract(epoch from '2026-07-17 06:56:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362734 -2.805902)'), GeomFromEWKT('SRID=4674;POINT (-40.362895 -2.805822)'))) / (select extract(epoch from '2026-07-17 06:56:54'::timestamp) - extract(epoch from '2026-07-17 06:56:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.36307 -2.80574)', '2026-07-17 06:57:02', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362895 -2.805822)'), GeomFromEWKT('SRID=4674;POINT (-40.36307 -2.80574)'))) / (select extract(epoch from '2026-07-17 06:57:02'::timestamp) - extract(epoch from '2026-07-17 06:56:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362895 -2.805822)'), GeomFromEWKT('SRID=4674;POINT (-40.36307 -2.80574)'))) / (select extract(epoch from '2026-07-17 06:57:02'::timestamp) - extract(epoch from '2026-07-17 06:56:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.363244 -2.805699)', '2026-07-17 06:57:10', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36307 -2.80574)'), GeomFromEWKT('SRID=4674;POINT (-40.363244 -2.805699)'))) / (select extract(epoch from '2026-07-17 06:57:10'::timestamp) - extract(epoch from '2026-07-17 06:57:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36307 -2.80574)'), GeomFromEWKT('SRID=4674;POINT (-40.363244 -2.805699)'))) / (select extract(epoch from '2026-07-17 06:57:10'::timestamp) - extract(epoch from '2026-07-17 06:57:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.363441 -2.805657)', '2026-07-17 06:57:19', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363244 -2.805699)'), GeomFromEWKT('SRID=4674;POINT (-40.363441 -2.805657)'))) / (select extract(epoch from '2026-07-17 06:57:19'::timestamp) - extract(epoch from '2026-07-17 06:57:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363244 -2.805699)'), GeomFromEWKT('SRID=4674;POINT (-40.363441 -2.805657)'))) / (select extract(epoch from '2026-07-17 06:57:19'::timestamp) - extract(epoch from '2026-07-17 06:57:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.36362 -2.80564)', '2026-07-17 06:57:26', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363441 -2.805657)'), GeomFromEWKT('SRID=4674;POINT (-40.36362 -2.80564)'))) / (select extract(epoch from '2026-07-17 06:57:26'::timestamp) - extract(epoch from '2026-07-17 06:57:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363441 -2.805657)'), GeomFromEWKT('SRID=4674;POINT (-40.36362 -2.80564)'))) / (select extract(epoch from '2026-07-17 06:57:26'::timestamp) - extract(epoch from '2026-07-17 06:57:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.363792 -2.805579)', '2026-07-17 06:57:34', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36362 -2.80564)'), GeomFromEWKT('SRID=4674;POINT (-40.363792 -2.805579)'))) / (select extract(epoch from '2026-07-17 06:57:34'::timestamp) - extract(epoch from '2026-07-17 06:57:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36362 -2.80564)'), GeomFromEWKT('SRID=4674;POINT (-40.363792 -2.805579)'))) / (select extract(epoch from '2026-07-17 06:57:34'::timestamp) - extract(epoch from '2026-07-17 06:57:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.363977 -2.805535)', '2026-07-17 06:57:42', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363792 -2.805579)'), GeomFromEWKT('SRID=4674;POINT (-40.363977 -2.805535)'))) / (select extract(epoch from '2026-07-17 06:57:42'::timestamp) - extract(epoch from '2026-07-17 06:57:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363792 -2.805579)'), GeomFromEWKT('SRID=4674;POINT (-40.363977 -2.805535)'))) / (select extract(epoch from '2026-07-17 06:57:42'::timestamp) - extract(epoch from '2026-07-17 06:57:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.364109 -2.805455)', '2026-07-17 06:57:49', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363977 -2.805535)'), GeomFromEWKT('SRID=4674;POINT (-40.364109 -2.805455)'))) / (select extract(epoch from '2026-07-17 06:57:49'::timestamp) - extract(epoch from '2026-07-17 06:57:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363977 -2.805535)'), GeomFromEWKT('SRID=4674;POINT (-40.364109 -2.805455)'))) / (select extract(epoch from '2026-07-17 06:57:49'::timestamp) - extract(epoch from '2026-07-17 06:57:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.364241 -2.805371)', '2026-07-17 06:57:56', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364109 -2.805455)'), GeomFromEWKT('SRID=4674;POINT (-40.364241 -2.805371)'))) / (select extract(epoch from '2026-07-17 06:57:56'::timestamp) - extract(epoch from '2026-07-17 06:57:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364109 -2.805455)'), GeomFromEWKT('SRID=4674;POINT (-40.364241 -2.805371)'))) / (select extract(epoch from '2026-07-17 06:57:56'::timestamp) - extract(epoch from '2026-07-17 06:57:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.364365 -2.805323)', '2026-07-17 06:58:03', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364241 -2.805371)'), GeomFromEWKT('SRID=4674;POINT (-40.364365 -2.805323)'))) / (select extract(epoch from '2026-07-17 06:58:03'::timestamp) - extract(epoch from '2026-07-17 06:57:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364241 -2.805371)'), GeomFromEWKT('SRID=4674;POINT (-40.364365 -2.805323)'))) / (select extract(epoch from '2026-07-17 06:58:03'::timestamp) - extract(epoch from '2026-07-17 06:57:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.364536 -2.805294)', '2026-07-17 06:58:11', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364365 -2.805323)'), GeomFromEWKT('SRID=4674;POINT (-40.364536 -2.805294)'))) / (select extract(epoch from '2026-07-17 06:58:11'::timestamp) - extract(epoch from '2026-07-17 06:58:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364365 -2.805323)'), GeomFromEWKT('SRID=4674;POINT (-40.364536 -2.805294)'))) / (select extract(epoch from '2026-07-17 06:58:11'::timestamp) - extract(epoch from '2026-07-17 06:58:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.364714 -2.805202)', '2026-07-17 06:58:20', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364536 -2.805294)'), GeomFromEWKT('SRID=4674;POINT (-40.364714 -2.805202)'))) / (select extract(epoch from '2026-07-17 06:58:20'::timestamp) - extract(epoch from '2026-07-17 06:58:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364536 -2.805294)'), GeomFromEWKT('SRID=4674;POINT (-40.364714 -2.805202)'))) / (select extract(epoch from '2026-07-17 06:58:20'::timestamp) - extract(epoch from '2026-07-17 06:58:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.364836 -2.805066)', '2026-07-17 06:58:28', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364714 -2.805202)'), GeomFromEWKT('SRID=4674;POINT (-40.364836 -2.805066)'))) / (select extract(epoch from '2026-07-17 06:58:28'::timestamp) - extract(epoch from '2026-07-17 06:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364714 -2.805202)'), GeomFromEWKT('SRID=4674;POINT (-40.364836 -2.805066)'))) / (select extract(epoch from '2026-07-17 06:58:28'::timestamp) - extract(epoch from '2026-07-17 06:58:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.364982 -2.804904)', '2026-07-17 06:58:37', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364836 -2.805066)'), GeomFromEWKT('SRID=4674;POINT (-40.364982 -2.804904)'))) / (select extract(epoch from '2026-07-17 06:58:37'::timestamp) - extract(epoch from '2026-07-17 06:58:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364836 -2.805066)'), GeomFromEWKT('SRID=4674;POINT (-40.364982 -2.804904)'))) / (select extract(epoch from '2026-07-17 06:58:37'::timestamp) - extract(epoch from '2026-07-17 06:58:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.365162 -2.804789)', '2026-07-17 06:58:46', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364982 -2.804904)'), GeomFromEWKT('SRID=4674;POINT (-40.365162 -2.804789)'))) / (select extract(epoch from '2026-07-17 06:58:46'::timestamp) - extract(epoch from '2026-07-17 06:58:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364982 -2.804904)'), GeomFromEWKT('SRID=4674;POINT (-40.365162 -2.804789)'))) / (select extract(epoch from '2026-07-17 06:58:46'::timestamp) - extract(epoch from '2026-07-17 06:58:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.365307 -2.804679)', '2026-07-17 06:58:54', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365162 -2.804789)'), GeomFromEWKT('SRID=4674;POINT (-40.365307 -2.804679)'))) / (select extract(epoch from '2026-07-17 06:58:54'::timestamp) - extract(epoch from '2026-07-17 06:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365162 -2.804789)'), GeomFromEWKT('SRID=4674;POINT (-40.365307 -2.804679)'))) / (select extract(epoch from '2026-07-17 06:58:54'::timestamp) - extract(epoch from '2026-07-17 06:58:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.365435 -2.804572)', '2026-07-17 06:59:01', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365307 -2.804679)'), GeomFromEWKT('SRID=4674;POINT (-40.365435 -2.804572)'))) / (select extract(epoch from '2026-07-17 06:59:01'::timestamp) - extract(epoch from '2026-07-17 06:58:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365307 -2.804679)'), GeomFromEWKT('SRID=4674;POINT (-40.365435 -2.804572)'))) / (select extract(epoch from '2026-07-17 06:59:01'::timestamp) - extract(epoch from '2026-07-17 06:58:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.365631 -2.804458)', '2026-07-17 06:59:11', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365435 -2.804572)'), GeomFromEWKT('SRID=4674;POINT (-40.365631 -2.804458)'))) / (select extract(epoch from '2026-07-17 06:59:11'::timestamp) - extract(epoch from '2026-07-17 06:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365435 -2.804572)'), GeomFromEWKT('SRID=4674;POINT (-40.365631 -2.804458)'))) / (select extract(epoch from '2026-07-17 06:59:11'::timestamp) - extract(epoch from '2026-07-17 06:59:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.365756 -2.804367)', '2026-07-17 06:59:19', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365631 -2.804458)'), GeomFromEWKT('SRID=4674;POINT (-40.365756 -2.804367)'))) / (select extract(epoch from '2026-07-17 06:59:19'::timestamp) - extract(epoch from '2026-07-17 06:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365631 -2.804458)'), GeomFromEWKT('SRID=4674;POINT (-40.365756 -2.804367)'))) / (select extract(epoch from '2026-07-17 06:59:19'::timestamp) - extract(epoch from '2026-07-17 06:59:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.365918 -2.804218)', '2026-07-17 06:59:28', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365756 -2.804367)'), GeomFromEWKT('SRID=4674;POINT (-40.365918 -2.804218)'))) / (select extract(epoch from '2026-07-17 06:59:28'::timestamp) - extract(epoch from '2026-07-17 06:59:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365756 -2.804367)'), GeomFromEWKT('SRID=4674;POINT (-40.365918 -2.804218)'))) / (select extract(epoch from '2026-07-17 06:59:28'::timestamp) - extract(epoch from '2026-07-17 06:59:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.366033 -2.804057)', '2026-07-17 06:59:36', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365918 -2.804218)'), GeomFromEWKT('SRID=4674;POINT (-40.366033 -2.804057)'))) / (select extract(epoch from '2026-07-17 06:59:36'::timestamp) - extract(epoch from '2026-07-17 06:59:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365918 -2.804218)'), GeomFromEWKT('SRID=4674;POINT (-40.366033 -2.804057)'))) / (select extract(epoch from '2026-07-17 06:59:36'::timestamp) - extract(epoch from '2026-07-17 06:59:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.366147 -2.803912)', '2026-07-17 06:59:44', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366033 -2.804057)'), GeomFromEWKT('SRID=4674;POINT (-40.366147 -2.803912)'))) / (select extract(epoch from '2026-07-17 06:59:44'::timestamp) - extract(epoch from '2026-07-17 06:59:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366033 -2.804057)'), GeomFromEWKT('SRID=4674;POINT (-40.366147 -2.803912)'))) / (select extract(epoch from '2026-07-17 06:59:44'::timestamp) - extract(epoch from '2026-07-17 06:59:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.366294 -2.803832)', '2026-07-17 06:59:52', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366147 -2.803912)'), GeomFromEWKT('SRID=4674;POINT (-40.366294 -2.803832)'))) / (select extract(epoch from '2026-07-17 06:59:52'::timestamp) - extract(epoch from '2026-07-17 06:59:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366147 -2.803912)'), GeomFromEWKT('SRID=4674;POINT (-40.366294 -2.803832)'))) / (select extract(epoch from '2026-07-17 06:59:52'::timestamp) - extract(epoch from '2026-07-17 06:59:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.366458 -2.803784)', '2026-07-17 07:00:00', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366294 -2.803832)'), GeomFromEWKT('SRID=4674;POINT (-40.366458 -2.803784)'))) / (select extract(epoch from '2026-07-17 07:00:00'::timestamp) - extract(epoch from '2026-07-17 06:59:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366294 -2.803832)'), GeomFromEWKT('SRID=4674;POINT (-40.366458 -2.803784)'))) / (select extract(epoch from '2026-07-17 07:00:00'::timestamp) - extract(epoch from '2026-07-17 06:59:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.366656 -2.803724)', '2026-07-17 07:00:10', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366458 -2.803784)'), GeomFromEWKT('SRID=4674;POINT (-40.366656 -2.803724)'))) / (select extract(epoch from '2026-07-17 07:00:10'::timestamp) - extract(epoch from '2026-07-17 07:00:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366458 -2.803784)'), GeomFromEWKT('SRID=4674;POINT (-40.366656 -2.803724)'))) / (select extract(epoch from '2026-07-17 07:00:10'::timestamp) - extract(epoch from '2026-07-17 07:00:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.366769 -2.803648)', '2026-07-17 07:00:16', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366656 -2.803724)'), GeomFromEWKT('SRID=4674;POINT (-40.366769 -2.803648)'))) / (select extract(epoch from '2026-07-17 07:00:16'::timestamp) - extract(epoch from '2026-07-17 07:00:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366656 -2.803724)'), GeomFromEWKT('SRID=4674;POINT (-40.366769 -2.803648)'))) / (select extract(epoch from '2026-07-17 07:00:16'::timestamp) - extract(epoch from '2026-07-17 07:00:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.366912 -2.803496)', '2026-07-17 07:00:25', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366769 -2.803648)'), GeomFromEWKT('SRID=4674;POINT (-40.366912 -2.803496)'))) / (select extract(epoch from '2026-07-17 07:00:25'::timestamp) - extract(epoch from '2026-07-17 07:00:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366769 -2.803648)'), GeomFromEWKT('SRID=4674;POINT (-40.366912 -2.803496)'))) / (select extract(epoch from '2026-07-17 07:00:25'::timestamp) - extract(epoch from '2026-07-17 07:00:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.367025 -2.80338)', '2026-07-17 07:00:32', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366912 -2.803496)'), GeomFromEWKT('SRID=4674;POINT (-40.367025 -2.80338)'))) / (select extract(epoch from '2026-07-17 07:00:32'::timestamp) - extract(epoch from '2026-07-17 07:00:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366912 -2.803496)'), GeomFromEWKT('SRID=4674;POINT (-40.367025 -2.80338)'))) / (select extract(epoch from '2026-07-17 07:00:32'::timestamp) - extract(epoch from '2026-07-17 07:00:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.367122 -2.803285)', '2026-07-17 07:00:39', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367025 -2.80338)'), GeomFromEWKT('SRID=4674;POINT (-40.367122 -2.803285)'))) / (select extract(epoch from '2026-07-17 07:00:39'::timestamp) - extract(epoch from '2026-07-17 07:00:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367025 -2.80338)'), GeomFromEWKT('SRID=4674;POINT (-40.367122 -2.803285)'))) / (select extract(epoch from '2026-07-17 07:00:39'::timestamp) - extract(epoch from '2026-07-17 07:00:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.367298 -2.803198)', '2026-07-17 07:00:47', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367122 -2.803285)'), GeomFromEWKT('SRID=4674;POINT (-40.367298 -2.803198)'))) / (select extract(epoch from '2026-07-17 07:00:47'::timestamp) - extract(epoch from '2026-07-17 07:00:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367122 -2.803285)'), GeomFromEWKT('SRID=4674;POINT (-40.367298 -2.803198)'))) / (select extract(epoch from '2026-07-17 07:00:47'::timestamp) - extract(epoch from '2026-07-17 07:00:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.367467 -2.803109)', '2026-07-17 07:00:55', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367298 -2.803198)'), GeomFromEWKT('SRID=4674;POINT (-40.367467 -2.803109)'))) / (select extract(epoch from '2026-07-17 07:00:55'::timestamp) - extract(epoch from '2026-07-17 07:00:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367298 -2.803198)'), GeomFromEWKT('SRID=4674;POINT (-40.367467 -2.803109)'))) / (select extract(epoch from '2026-07-17 07:00:55'::timestamp) - extract(epoch from '2026-07-17 07:00:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.367624 -2.803)', '2026-07-17 07:01:04', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367467 -2.803109)'), GeomFromEWKT('SRID=4674;POINT (-40.367624 -2.803)'))) / (select extract(epoch from '2026-07-17 07:01:04'::timestamp) - extract(epoch from '2026-07-17 07:00:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367467 -2.803109)'), GeomFromEWKT('SRID=4674;POINT (-40.367624 -2.803)'))) / (select extract(epoch from '2026-07-17 07:01:04'::timestamp) - extract(epoch from '2026-07-17 07:00:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.36778 -2.802937)', '2026-07-17 07:01:12', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367624 -2.803)'), GeomFromEWKT('SRID=4674;POINT (-40.36778 -2.802937)'))) / (select extract(epoch from '2026-07-17 07:01:12'::timestamp) - extract(epoch from '2026-07-17 07:01:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367624 -2.803)'), GeomFromEWKT('SRID=4674;POINT (-40.36778 -2.802937)'))) / (select extract(epoch from '2026-07-17 07:01:12'::timestamp) - extract(epoch from '2026-07-17 07:01:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.367939 -2.802829)', '2026-07-17 07:01:21', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36778 -2.802937)'), GeomFromEWKT('SRID=4674;POINT (-40.367939 -2.802829)'))) / (select extract(epoch from '2026-07-17 07:01:21'::timestamp) - extract(epoch from '2026-07-17 07:01:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36778 -2.802937)'), GeomFromEWKT('SRID=4674;POINT (-40.367939 -2.802829)'))) / (select extract(epoch from '2026-07-17 07:01:21'::timestamp) - extract(epoch from '2026-07-17 07:01:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.368087 -2.802717)', '2026-07-17 07:01:29', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367939 -2.802829)'), GeomFromEWKT('SRID=4674;POINT (-40.368087 -2.802717)'))) / (select extract(epoch from '2026-07-17 07:01:29'::timestamp) - extract(epoch from '2026-07-17 07:01:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367939 -2.802829)'), GeomFromEWKT('SRID=4674;POINT (-40.368087 -2.802717)'))) / (select extract(epoch from '2026-07-17 07:01:29'::timestamp) - extract(epoch from '2026-07-17 07:01:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.368254 -2.802639)', '2026-07-17 07:01:37', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368087 -2.802717)'), GeomFromEWKT('SRID=4674;POINT (-40.368254 -2.802639)'))) / (select extract(epoch from '2026-07-17 07:01:37'::timestamp) - extract(epoch from '2026-07-17 07:01:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368087 -2.802717)'), GeomFromEWKT('SRID=4674;POINT (-40.368254 -2.802639)'))) / (select extract(epoch from '2026-07-17 07:01:37'::timestamp) - extract(epoch from '2026-07-17 07:01:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.368421 -2.802555)', '2026-07-17 07:01:45', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368254 -2.802639)'), GeomFromEWKT('SRID=4674;POINT (-40.368421 -2.802555)'))) / (select extract(epoch from '2026-07-17 07:01:45'::timestamp) - extract(epoch from '2026-07-17 07:01:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368254 -2.802639)'), GeomFromEWKT('SRID=4674;POINT (-40.368421 -2.802555)'))) / (select extract(epoch from '2026-07-17 07:01:45'::timestamp) - extract(epoch from '2026-07-17 07:01:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.368557 -2.802487)', '2026-07-17 07:01:52', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368421 -2.802555)'), GeomFromEWKT('SRID=4674;POINT (-40.368557 -2.802487)'))) / (select extract(epoch from '2026-07-17 07:01:52'::timestamp) - extract(epoch from '2026-07-17 07:01:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368421 -2.802555)'), GeomFromEWKT('SRID=4674;POINT (-40.368557 -2.802487)'))) / (select extract(epoch from '2026-07-17 07:01:52'::timestamp) - extract(epoch from '2026-07-17 07:01:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.368765 -2.802396)', '2026-07-17 07:02:02', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368557 -2.802487)'), GeomFromEWKT('SRID=4674;POINT (-40.368765 -2.802396)'))) / (select extract(epoch from '2026-07-17 07:02:02'::timestamp) - extract(epoch from '2026-07-17 07:01:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368557 -2.802487)'), GeomFromEWKT('SRID=4674;POINT (-40.368765 -2.802396)'))) / (select extract(epoch from '2026-07-17 07:02:02'::timestamp) - extract(epoch from '2026-07-17 07:01:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.368987 -2.802347)', '2026-07-17 07:02:11', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368765 -2.802396)'), GeomFromEWKT('SRID=4674;POINT (-40.368987 -2.802347)'))) / (select extract(epoch from '2026-07-17 07:02:11'::timestamp) - extract(epoch from '2026-07-17 07:02:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368765 -2.802396)'), GeomFromEWKT('SRID=4674;POINT (-40.368987 -2.802347)'))) / (select extract(epoch from '2026-07-17 07:02:11'::timestamp) - extract(epoch from '2026-07-17 07:02:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.36924 -2.802294)', '2026-07-17 07:02:20', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368987 -2.802347)'), GeomFromEWKT('SRID=4674;POINT (-40.36924 -2.802294)'))) / (select extract(epoch from '2026-07-17 07:02:20'::timestamp) - extract(epoch from '2026-07-17 07:02:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368987 -2.802347)'), GeomFromEWKT('SRID=4674;POINT (-40.36924 -2.802294)'))) / (select extract(epoch from '2026-07-17 07:02:20'::timestamp) - extract(epoch from '2026-07-17 07:02:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.369403 -2.802222)', '2026-07-17 07:02:27', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36924 -2.802294)'), GeomFromEWKT('SRID=4674;POINT (-40.369403 -2.802222)'))) / (select extract(epoch from '2026-07-17 07:02:27'::timestamp) - extract(epoch from '2026-07-17 07:02:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36924 -2.802294)'), GeomFromEWKT('SRID=4674;POINT (-40.369403 -2.802222)'))) / (select extract(epoch from '2026-07-17 07:02:27'::timestamp) - extract(epoch from '2026-07-17 07:02:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.369627 -2.802112)', '2026-07-17 07:02:36', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369403 -2.802222)'), GeomFromEWKT('SRID=4674;POINT (-40.369627 -2.802112)'))) / (select extract(epoch from '2026-07-17 07:02:36'::timestamp) - extract(epoch from '2026-07-17 07:02:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369403 -2.802222)'), GeomFromEWKT('SRID=4674;POINT (-40.369627 -2.802112)'))) / (select extract(epoch from '2026-07-17 07:02:36'::timestamp) - extract(epoch from '2026-07-17 07:02:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.369757 -2.802019)', '2026-07-17 07:02:43', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369627 -2.802112)'), GeomFromEWKT('SRID=4674;POINT (-40.369757 -2.802019)'))) / (select extract(epoch from '2026-07-17 07:02:43'::timestamp) - extract(epoch from '2026-07-17 07:02:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369627 -2.802112)'), GeomFromEWKT('SRID=4674;POINT (-40.369757 -2.802019)'))) / (select extract(epoch from '2026-07-17 07:02:43'::timestamp) - extract(epoch from '2026-07-17 07:02:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.369903 -2.801942)', '2026-07-17 07:02:51', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369757 -2.802019)'), GeomFromEWKT('SRID=4674;POINT (-40.369903 -2.801942)'))) / (select extract(epoch from '2026-07-17 07:02:51'::timestamp) - extract(epoch from '2026-07-17 07:02:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369757 -2.802019)'), GeomFromEWKT('SRID=4674;POINT (-40.369903 -2.801942)'))) / (select extract(epoch from '2026-07-17 07:02:51'::timestamp) - extract(epoch from '2026-07-17 07:02:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.370004 -2.801898)', '2026-07-17 07:02:58', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369903 -2.801942)'), GeomFromEWKT('SRID=4674;POINT (-40.370004 -2.801898)'))) / (select extract(epoch from '2026-07-17 07:02:58'::timestamp) - extract(epoch from '2026-07-17 07:02:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369903 -2.801942)'), GeomFromEWKT('SRID=4674;POINT (-40.370004 -2.801898)'))) / (select extract(epoch from '2026-07-17 07:02:58'::timestamp) - extract(epoch from '2026-07-17 07:02:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.370118 -2.801789)', '2026-07-17 07:03:06', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370004 -2.801898)'), GeomFromEWKT('SRID=4674;POINT (-40.370118 -2.801789)'))) / (select extract(epoch from '2026-07-17 07:03:06'::timestamp) - extract(epoch from '2026-07-17 07:02:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370004 -2.801898)'), GeomFromEWKT('SRID=4674;POINT (-40.370118 -2.801789)'))) / (select extract(epoch from '2026-07-17 07:03:06'::timestamp) - extract(epoch from '2026-07-17 07:02:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.370306 -2.801678)', '2026-07-17 07:03:15', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370118 -2.801789)'), GeomFromEWKT('SRID=4674;POINT (-40.370306 -2.801678)'))) / (select extract(epoch from '2026-07-17 07:03:15'::timestamp) - extract(epoch from '2026-07-17 07:03:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370118 -2.801789)'), GeomFromEWKT('SRID=4674;POINT (-40.370306 -2.801678)'))) / (select extract(epoch from '2026-07-17 07:03:15'::timestamp) - extract(epoch from '2026-07-17 07:03:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.370463 -2.801628)', '2026-07-17 07:03:22', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370306 -2.801678)'), GeomFromEWKT('SRID=4674;POINT (-40.370463 -2.801628)'))) / (select extract(epoch from '2026-07-17 07:03:22'::timestamp) - extract(epoch from '2026-07-17 07:03:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370306 -2.801678)'), GeomFromEWKT('SRID=4674;POINT (-40.370463 -2.801628)'))) / (select extract(epoch from '2026-07-17 07:03:22'::timestamp) - extract(epoch from '2026-07-17 07:03:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.370643 -2.801576)', '2026-07-17 07:03:30', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370463 -2.801628)'), GeomFromEWKT('SRID=4674;POINT (-40.370643 -2.801576)'))) / (select extract(epoch from '2026-07-17 07:03:30'::timestamp) - extract(epoch from '2026-07-17 07:03:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370463 -2.801628)'), GeomFromEWKT('SRID=4674;POINT (-40.370643 -2.801576)'))) / (select extract(epoch from '2026-07-17 07:03:30'::timestamp) - extract(epoch from '2026-07-17 07:03:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.370805 -2.801508)', '2026-07-17 07:03:38', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370643 -2.801576)'), GeomFromEWKT('SRID=4674;POINT (-40.370805 -2.801508)'))) / (select extract(epoch from '2026-07-17 07:03:38'::timestamp) - extract(epoch from '2026-07-17 07:03:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370643 -2.801576)'), GeomFromEWKT('SRID=4674;POINT (-40.370805 -2.801508)'))) / (select extract(epoch from '2026-07-17 07:03:38'::timestamp) - extract(epoch from '2026-07-17 07:03:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.370986 -2.801462)', '2026-07-17 07:03:47', 24, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370805 -2.801508)'), GeomFromEWKT('SRID=4674;POINT (-40.370986 -2.801462)'))) / (select extract(epoch from '2026-07-17 07:03:47'::timestamp) - extract(epoch from '2026-07-17 07:03:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370805 -2.801508)'), GeomFromEWKT('SRID=4674;POINT (-40.370986 -2.801462)'))) / (select extract(epoch from '2026-07-17 07:03:47'::timestamp) - extract(epoch from '2026-07-17 07:03:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.371139 -2.801412)', '2026-07-17 07:03:56', 24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370986 -2.801462)'), GeomFromEWKT('SRID=4674;POINT (-40.371139 -2.801412)'))) / (select extract(epoch from '2026-07-17 07:03:56'::timestamp) - extract(epoch from '2026-07-17 07:03:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370986 -2.801462)'), GeomFromEWKT('SRID=4674;POINT (-40.371139 -2.801412)'))) / (select extract(epoch from '2026-07-17 07:03:56'::timestamp) - extract(epoch from '2026-07-17 07:03:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.371334 -2.801331)', '2026-07-17 07:04:06', 22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371139 -2.801412)'), GeomFromEWKT('SRID=4674;POINT (-40.371334 -2.801331)'))) / (select extract(epoch from '2026-07-17 07:04:06'::timestamp) - extract(epoch from '2026-07-17 07:03:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371139 -2.801412)'), GeomFromEWKT('SRID=4674;POINT (-40.371334 -2.801331)'))) / (select extract(epoch from '2026-07-17 07:04:06'::timestamp) - extract(epoch from '2026-07-17 07:03:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.371468 -2.801233)', '2026-07-17 07:04:14', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371334 -2.801331)'), GeomFromEWKT('SRID=4674;POINT (-40.371468 -2.801233)'))) / (select extract(epoch from '2026-07-17 07:04:14'::timestamp) - extract(epoch from '2026-07-17 07:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371334 -2.801331)'), GeomFromEWKT('SRID=4674;POINT (-40.371468 -2.801233)'))) / (select extract(epoch from '2026-07-17 07:04:14'::timestamp) - extract(epoch from '2026-07-17 07:04:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.371606 -2.801169)', '2026-07-17 07:04:22', 23.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371468 -2.801233)'), GeomFromEWKT('SRID=4674;POINT (-40.371606 -2.801169)'))) / (select extract(epoch from '2026-07-17 07:04:22'::timestamp) - extract(epoch from '2026-07-17 07:04:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371468 -2.801233)'), GeomFromEWKT('SRID=4674;POINT (-40.371606 -2.801169)'))) / (select extract(epoch from '2026-07-17 07:04:22'::timestamp) - extract(epoch from '2026-07-17 07:04:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.371739 -2.801093)', '2026-07-17 07:04:30', 23.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371606 -2.801169)'), GeomFromEWKT('SRID=4674;POINT (-40.371739 -2.801093)'))) / (select extract(epoch from '2026-07-17 07:04:30'::timestamp) - extract(epoch from '2026-07-17 07:04:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371606 -2.801169)'), GeomFromEWKT('SRID=4674;POINT (-40.371739 -2.801093)'))) / (select extract(epoch from '2026-07-17 07:04:30'::timestamp) - extract(epoch from '2026-07-17 07:04:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.371872 -2.801008)', '2026-07-17 07:04:38', 23.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371739 -2.801093)'), GeomFromEWKT('SRID=4674;POINT (-40.371872 -2.801008)'))) / (select extract(epoch from '2026-07-17 07:04:38'::timestamp) - extract(epoch from '2026-07-17 07:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371739 -2.801093)'), GeomFromEWKT('SRID=4674;POINT (-40.371872 -2.801008)'))) / (select extract(epoch from '2026-07-17 07:04:38'::timestamp) - extract(epoch from '2026-07-17 07:04:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.372015 -2.800911)', '2026-07-17 07:04:46', 23.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371872 -2.801008)'), GeomFromEWKT('SRID=4674;POINT (-40.372015 -2.800911)'))) / (select extract(epoch from '2026-07-17 07:04:46'::timestamp) - extract(epoch from '2026-07-17 07:04:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371872 -2.801008)'), GeomFromEWKT('SRID=4674;POINT (-40.372015 -2.800911)'))) / (select extract(epoch from '2026-07-17 07:04:46'::timestamp) - extract(epoch from '2026-07-17 07:04:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.372198 -2.800793)', '2026-07-17 07:04:55', 22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372015 -2.800911)'), GeomFromEWKT('SRID=4674;POINT (-40.372198 -2.800793)'))) / (select extract(epoch from '2026-07-17 07:04:55'::timestamp) - extract(epoch from '2026-07-17 07:04:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372015 -2.800911)'), GeomFromEWKT('SRID=4674;POINT (-40.372198 -2.800793)'))) / (select extract(epoch from '2026-07-17 07:04:55'::timestamp) - extract(epoch from '2026-07-17 07:04:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.372339 -2.80069)', '2026-07-17 07:05:03', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372198 -2.800793)'), GeomFromEWKT('SRID=4674;POINT (-40.372339 -2.80069)'))) / (select extract(epoch from '2026-07-17 07:05:03'::timestamp) - extract(epoch from '2026-07-17 07:04:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372198 -2.800793)'), GeomFromEWKT('SRID=4674;POINT (-40.372339 -2.80069)'))) / (select extract(epoch from '2026-07-17 07:05:03'::timestamp) - extract(epoch from '2026-07-17 07:04:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.372486 -2.800566)', '2026-07-17 07:05:12', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372339 -2.80069)'), GeomFromEWKT('SRID=4674;POINT (-40.372486 -2.800566)'))) / (select extract(epoch from '2026-07-17 07:05:12'::timestamp) - extract(epoch from '2026-07-17 07:05:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372339 -2.80069)'), GeomFromEWKT('SRID=4674;POINT (-40.372486 -2.800566)'))) / (select extract(epoch from '2026-07-17 07:05:12'::timestamp) - extract(epoch from '2026-07-17 07:05:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.372665 -2.800495)', '2026-07-17 07:05:20', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372486 -2.800566)'), GeomFromEWKT('SRID=4674;POINT (-40.372665 -2.800495)'))) / (select extract(epoch from '2026-07-17 07:05:20'::timestamp) - extract(epoch from '2026-07-17 07:05:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372486 -2.800566)'), GeomFromEWKT('SRID=4674;POINT (-40.372665 -2.800495)'))) / (select extract(epoch from '2026-07-17 07:05:20'::timestamp) - extract(epoch from '2026-07-17 07:05:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.372822 -2.800418)', '2026-07-17 07:05:28', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372665 -2.800495)'), GeomFromEWKT('SRID=4674;POINT (-40.372822 -2.800418)'))) / (select extract(epoch from '2026-07-17 07:05:28'::timestamp) - extract(epoch from '2026-07-17 07:05:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372665 -2.800495)'), GeomFromEWKT('SRID=4674;POINT (-40.372822 -2.800418)'))) / (select extract(epoch from '2026-07-17 07:05:28'::timestamp) - extract(epoch from '2026-07-17 07:05:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.373023 -2.800292)', '2026-07-17 07:05:37', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372822 -2.800418)'), GeomFromEWKT('SRID=4674;POINT (-40.373023 -2.800292)'))) / (select extract(epoch from '2026-07-17 07:05:37'::timestamp) - extract(epoch from '2026-07-17 07:05:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372822 -2.800418)'), GeomFromEWKT('SRID=4674;POINT (-40.373023 -2.800292)'))) / (select extract(epoch from '2026-07-17 07:05:37'::timestamp) - extract(epoch from '2026-07-17 07:05:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.373211 -2.800165)', '2026-07-17 07:05:46', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373023 -2.800292)'), GeomFromEWKT('SRID=4674;POINT (-40.373211 -2.800165)'))) / (select extract(epoch from '2026-07-17 07:05:46'::timestamp) - extract(epoch from '2026-07-17 07:05:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373023 -2.800292)'), GeomFromEWKT('SRID=4674;POINT (-40.373211 -2.800165)'))) / (select extract(epoch from '2026-07-17 07:05:46'::timestamp) - extract(epoch from '2026-07-17 07:05:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.373375 -2.800137)', '2026-07-17 07:05:54', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373211 -2.800165)'), GeomFromEWKT('SRID=4674;POINT (-40.373375 -2.800137)'))) / (select extract(epoch from '2026-07-17 07:05:54'::timestamp) - extract(epoch from '2026-07-17 07:05:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373211 -2.800165)'), GeomFromEWKT('SRID=4674;POINT (-40.373375 -2.800137)'))) / (select extract(epoch from '2026-07-17 07:05:54'::timestamp) - extract(epoch from '2026-07-17 07:05:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.373535 -2.800125)', '2026-07-17 07:06:01', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373375 -2.800137)'), GeomFromEWKT('SRID=4674;POINT (-40.373535 -2.800125)'))) / (select extract(epoch from '2026-07-17 07:06:01'::timestamp) - extract(epoch from '2026-07-17 07:05:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373375 -2.800137)'), GeomFromEWKT('SRID=4674;POINT (-40.373535 -2.800125)'))) / (select extract(epoch from '2026-07-17 07:06:01'::timestamp) - extract(epoch from '2026-07-17 07:05:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.373752 -2.800066)', '2026-07-17 07:06:11', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373535 -2.800125)'), GeomFromEWKT('SRID=4674;POINT (-40.373752 -2.800066)'))) / (select extract(epoch from '2026-07-17 07:06:11'::timestamp) - extract(epoch from '2026-07-17 07:06:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373535 -2.800125)'), GeomFromEWKT('SRID=4674;POINT (-40.373752 -2.800066)'))) / (select extract(epoch from '2026-07-17 07:06:11'::timestamp) - extract(epoch from '2026-07-17 07:06:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.373934 -2.79998)', '2026-07-17 07:06:20', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373752 -2.800066)'), GeomFromEWKT('SRID=4674;POINT (-40.373934 -2.79998)'))) / (select extract(epoch from '2026-07-17 07:06:20'::timestamp) - extract(epoch from '2026-07-17 07:06:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373752 -2.800066)'), GeomFromEWKT('SRID=4674;POINT (-40.373934 -2.79998)'))) / (select extract(epoch from '2026-07-17 07:06:20'::timestamp) - extract(epoch from '2026-07-17 07:06:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.374068 -2.799912)', '2026-07-17 07:06:27', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373934 -2.79998)'), GeomFromEWKT('SRID=4674;POINT (-40.374068 -2.799912)'))) / (select extract(epoch from '2026-07-17 07:06:27'::timestamp) - extract(epoch from '2026-07-17 07:06:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373934 -2.79998)'), GeomFromEWKT('SRID=4674;POINT (-40.374068 -2.799912)'))) / (select extract(epoch from '2026-07-17 07:06:27'::timestamp) - extract(epoch from '2026-07-17 07:06:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.374376 -2.799794)', '2026-07-17 07:06:40', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374068 -2.799912)'), GeomFromEWKT('SRID=4674;POINT (-40.374376 -2.799794)'))) / (select extract(epoch from '2026-07-17 07:06:40'::timestamp) - extract(epoch from '2026-07-17 07:06:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374068 -2.799912)'), GeomFromEWKT('SRID=4674;POINT (-40.374376 -2.799794)'))) / (select extract(epoch from '2026-07-17 07:06:40'::timestamp) - extract(epoch from '2026-07-17 07:06:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.374574 -2.799742)', '2026-07-17 07:06:49', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374376 -2.799794)'), GeomFromEWKT('SRID=4674;POINT (-40.374574 -2.799742)'))) / (select extract(epoch from '2026-07-17 07:06:49'::timestamp) - extract(epoch from '2026-07-17 07:06:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374376 -2.799794)'), GeomFromEWKT('SRID=4674;POINT (-40.374574 -2.799742)'))) / (select extract(epoch from '2026-07-17 07:06:49'::timestamp) - extract(epoch from '2026-07-17 07:06:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.374779 -2.79969)', '2026-07-17 07:06:58', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374574 -2.799742)'), GeomFromEWKT('SRID=4674;POINT (-40.374779 -2.79969)'))) / (select extract(epoch from '2026-07-17 07:06:58'::timestamp) - extract(epoch from '2026-07-17 07:06:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374574 -2.799742)'), GeomFromEWKT('SRID=4674;POINT (-40.374779 -2.79969)'))) / (select extract(epoch from '2026-07-17 07:06:58'::timestamp) - extract(epoch from '2026-07-17 07:06:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.374924 -2.799606)', '2026-07-17 07:07:05', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374779 -2.79969)'), GeomFromEWKT('SRID=4674;POINT (-40.374924 -2.799606)'))) / (select extract(epoch from '2026-07-17 07:07:05'::timestamp) - extract(epoch from '2026-07-17 07:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374779 -2.79969)'), GeomFromEWKT('SRID=4674;POINT (-40.374924 -2.799606)'))) / (select extract(epoch from '2026-07-17 07:07:05'::timestamp) - extract(epoch from '2026-07-17 07:06:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.375097 -2.799562)', '2026-07-17 07:07:13', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374924 -2.799606)'), GeomFromEWKT('SRID=4674;POINT (-40.375097 -2.799562)'))) / (select extract(epoch from '2026-07-17 07:07:13'::timestamp) - extract(epoch from '2026-07-17 07:07:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374924 -2.799606)'), GeomFromEWKT('SRID=4674;POINT (-40.375097 -2.799562)'))) / (select extract(epoch from '2026-07-17 07:07:13'::timestamp) - extract(epoch from '2026-07-17 07:07:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.375337 -2.799575)', '2026-07-17 07:07:22', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375097 -2.799562)'), GeomFromEWKT('SRID=4674;POINT (-40.375337 -2.799575)'))) / (select extract(epoch from '2026-07-17 07:07:22'::timestamp) - extract(epoch from '2026-07-17 07:07:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375097 -2.799562)'), GeomFromEWKT('SRID=4674;POINT (-40.375337 -2.799575)'))) / (select extract(epoch from '2026-07-17 07:07:22'::timestamp) - extract(epoch from '2026-07-17 07:07:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.375518 -2.799535)', '2026-07-17 07:07:29', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375337 -2.799575)'), GeomFromEWKT('SRID=4674;POINT (-40.375518 -2.799535)'))) / (select extract(epoch from '2026-07-17 07:07:29'::timestamp) - extract(epoch from '2026-07-17 07:07:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375337 -2.799575)'), GeomFromEWKT('SRID=4674;POINT (-40.375518 -2.799535)'))) / (select extract(epoch from '2026-07-17 07:07:29'::timestamp) - extract(epoch from '2026-07-17 07:07:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.375697 -2.799447)', '2026-07-17 07:07:38', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375518 -2.799535)'), GeomFromEWKT('SRID=4674;POINT (-40.375697 -2.799447)'))) / (select extract(epoch from '2026-07-17 07:07:38'::timestamp) - extract(epoch from '2026-07-17 07:07:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375518 -2.799535)'), GeomFromEWKT('SRID=4674;POINT (-40.375697 -2.799447)'))) / (select extract(epoch from '2026-07-17 07:07:38'::timestamp) - extract(epoch from '2026-07-17 07:07:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.375838 -2.799368)', '2026-07-17 07:07:45', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375697 -2.799447)'), GeomFromEWKT('SRID=4674;POINT (-40.375838 -2.799368)'))) / (select extract(epoch from '2026-07-17 07:07:45'::timestamp) - extract(epoch from '2026-07-17 07:07:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375697 -2.799447)'), GeomFromEWKT('SRID=4674;POINT (-40.375838 -2.799368)'))) / (select extract(epoch from '2026-07-17 07:07:45'::timestamp) - extract(epoch from '2026-07-17 07:07:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.375941 -2.799296)', '2026-07-17 07:07:52', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375838 -2.799368)'), GeomFromEWKT('SRID=4674;POINT (-40.375941 -2.799296)'))) / (select extract(epoch from '2026-07-17 07:07:52'::timestamp) - extract(epoch from '2026-07-17 07:07:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375838 -2.799368)'), GeomFromEWKT('SRID=4674;POINT (-40.375941 -2.799296)'))) / (select extract(epoch from '2026-07-17 07:07:52'::timestamp) - extract(epoch from '2026-07-17 07:07:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.376088 -2.7992)', '2026-07-17 07:08:00', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375941 -2.799296)'), GeomFromEWKT('SRID=4674;POINT (-40.376088 -2.7992)'))) / (select extract(epoch from '2026-07-17 07:08:00'::timestamp) - extract(epoch from '2026-07-17 07:07:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375941 -2.799296)'), GeomFromEWKT('SRID=4674;POINT (-40.376088 -2.7992)'))) / (select extract(epoch from '2026-07-17 07:08:00'::timestamp) - extract(epoch from '2026-07-17 07:07:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.37625 -2.799121)', '2026-07-17 07:08:08', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376088 -2.7992)'), GeomFromEWKT('SRID=4674;POINT (-40.37625 -2.799121)'))) / (select extract(epoch from '2026-07-17 07:08:08'::timestamp) - extract(epoch from '2026-07-17 07:08:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376088 -2.7992)'), GeomFromEWKT('SRID=4674;POINT (-40.37625 -2.799121)'))) / (select extract(epoch from '2026-07-17 07:08:08'::timestamp) - extract(epoch from '2026-07-17 07:08:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.376459 -2.799001)', '2026-07-17 07:08:18', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37625 -2.799121)'), GeomFromEWKT('SRID=4674;POINT (-40.376459 -2.799001)'))) / (select extract(epoch from '2026-07-17 07:08:18'::timestamp) - extract(epoch from '2026-07-17 07:08:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37625 -2.799121)'), GeomFromEWKT('SRID=4674;POINT (-40.376459 -2.799001)'))) / (select extract(epoch from '2026-07-17 07:08:18'::timestamp) - extract(epoch from '2026-07-17 07:08:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.376578 -2.79894)', '2026-07-17 07:08:24', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376459 -2.799001)'), GeomFromEWKT('SRID=4674;POINT (-40.376578 -2.79894)'))) / (select extract(epoch from '2026-07-17 07:08:24'::timestamp) - extract(epoch from '2026-07-17 07:08:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376459 -2.799001)'), GeomFromEWKT('SRID=4674;POINT (-40.376578 -2.79894)'))) / (select extract(epoch from '2026-07-17 07:08:24'::timestamp) - extract(epoch from '2026-07-17 07:08:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.376786 -2.798861)', '2026-07-17 07:08:34', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376578 -2.79894)'), GeomFromEWKT('SRID=4674;POINT (-40.376786 -2.798861)'))) / (select extract(epoch from '2026-07-17 07:08:34'::timestamp) - extract(epoch from '2026-07-17 07:08:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376578 -2.79894)'), GeomFromEWKT('SRID=4674;POINT (-40.376786 -2.798861)'))) / (select extract(epoch from '2026-07-17 07:08:34'::timestamp) - extract(epoch from '2026-07-17 07:08:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.376968 -2.798753)', '2026-07-17 07:08:43', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376786 -2.798861)'), GeomFromEWKT('SRID=4674;POINT (-40.376968 -2.798753)'))) / (select extract(epoch from '2026-07-17 07:08:43'::timestamp) - extract(epoch from '2026-07-17 07:08:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376786 -2.798861)'), GeomFromEWKT('SRID=4674;POINT (-40.376968 -2.798753)'))) / (select extract(epoch from '2026-07-17 07:08:43'::timestamp) - extract(epoch from '2026-07-17 07:08:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.377132 -2.79866)', '2026-07-17 07:08:52', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376968 -2.798753)'), GeomFromEWKT('SRID=4674;POINT (-40.377132 -2.79866)'))) / (select extract(epoch from '2026-07-17 07:08:52'::timestamp) - extract(epoch from '2026-07-17 07:08:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376968 -2.798753)'), GeomFromEWKT('SRID=4674;POINT (-40.377132 -2.79866)'))) / (select extract(epoch from '2026-07-17 07:08:52'::timestamp) - extract(epoch from '2026-07-17 07:08:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.377274 -2.798602)', '2026-07-17 07:08:59', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377132 -2.79866)'), GeomFromEWKT('SRID=4674;POINT (-40.377274 -2.798602)'))) / (select extract(epoch from '2026-07-17 07:08:59'::timestamp) - extract(epoch from '2026-07-17 07:08:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377132 -2.79866)'), GeomFromEWKT('SRID=4674;POINT (-40.377274 -2.798602)'))) / (select extract(epoch from '2026-07-17 07:08:59'::timestamp) - extract(epoch from '2026-07-17 07:08:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.377501 -2.798524)', '2026-07-17 07:09:09', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377274 -2.798602)'), GeomFromEWKT('SRID=4674;POINT (-40.377501 -2.798524)'))) / (select extract(epoch from '2026-07-17 07:09:09'::timestamp) - extract(epoch from '2026-07-17 07:08:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377274 -2.798602)'), GeomFromEWKT('SRID=4674;POINT (-40.377501 -2.798524)'))) / (select extract(epoch from '2026-07-17 07:09:09'::timestamp) - extract(epoch from '2026-07-17 07:08:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.377731 -2.798451)', '2026-07-17 07:09:19', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377501 -2.798524)'), GeomFromEWKT('SRID=4674;POINT (-40.377731 -2.798451)'))) / (select extract(epoch from '2026-07-17 07:09:19'::timestamp) - extract(epoch from '2026-07-17 07:09:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377501 -2.798524)'), GeomFromEWKT('SRID=4674;POINT (-40.377731 -2.798451)'))) / (select extract(epoch from '2026-07-17 07:09:19'::timestamp) - extract(epoch from '2026-07-17 07:09:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.377944 -2.798377)', '2026-07-17 07:09:29', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377731 -2.798451)'), GeomFromEWKT('SRID=4674;POINT (-40.377944 -2.798377)'))) / (select extract(epoch from '2026-07-17 07:09:29'::timestamp) - extract(epoch from '2026-07-17 07:09:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377731 -2.798451)'), GeomFromEWKT('SRID=4674;POINT (-40.377944 -2.798377)'))) / (select extract(epoch from '2026-07-17 07:09:29'::timestamp) - extract(epoch from '2026-07-17 07:09:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.378153 -2.798301)', '2026-07-17 07:09:39', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377944 -2.798377)'), GeomFromEWKT('SRID=4674;POINT (-40.378153 -2.798301)'))) / (select extract(epoch from '2026-07-17 07:09:39'::timestamp) - extract(epoch from '2026-07-17 07:09:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377944 -2.798377)'), GeomFromEWKT('SRID=4674;POINT (-40.378153 -2.798301)'))) / (select extract(epoch from '2026-07-17 07:09:39'::timestamp) - extract(epoch from '2026-07-17 07:09:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.378374 -2.798237)', '2026-07-17 07:09:48', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378153 -2.798301)'), GeomFromEWKT('SRID=4674;POINT (-40.378374 -2.798237)'))) / (select extract(epoch from '2026-07-17 07:09:48'::timestamp) - extract(epoch from '2026-07-17 07:09:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378153 -2.798301)'), GeomFromEWKT('SRID=4674;POINT (-40.378374 -2.798237)'))) / (select extract(epoch from '2026-07-17 07:09:48'::timestamp) - extract(epoch from '2026-07-17 07:09:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.378534 -2.798212)', '2026-07-17 07:09:56', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378374 -2.798237)'), GeomFromEWKT('SRID=4674;POINT (-40.378534 -2.798212)'))) / (select extract(epoch from '2026-07-17 07:09:56'::timestamp) - extract(epoch from '2026-07-17 07:09:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378374 -2.798237)'), GeomFromEWKT('SRID=4674;POINT (-40.378534 -2.798212)'))) / (select extract(epoch from '2026-07-17 07:09:56'::timestamp) - extract(epoch from '2026-07-17 07:09:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.378625 -2.798127)', '2026-07-17 07:10:02', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378534 -2.798212)'), GeomFromEWKT('SRID=4674;POINT (-40.378625 -2.798127)'))) / (select extract(epoch from '2026-07-17 07:10:02'::timestamp) - extract(epoch from '2026-07-17 07:09:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378534 -2.798212)'), GeomFromEWKT('SRID=4674;POINT (-40.378625 -2.798127)'))) / (select extract(epoch from '2026-07-17 07:10:02'::timestamp) - extract(epoch from '2026-07-17 07:09:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.378754 -2.79802)', '2026-07-17 07:10:10', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378625 -2.798127)'), GeomFromEWKT('SRID=4674;POINT (-40.378754 -2.79802)'))) / (select extract(epoch from '2026-07-17 07:10:10'::timestamp) - extract(epoch from '2026-07-17 07:10:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378625 -2.798127)'), GeomFromEWKT('SRID=4674;POINT (-40.378754 -2.79802)'))) / (select extract(epoch from '2026-07-17 07:10:10'::timestamp) - extract(epoch from '2026-07-17 07:10:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.378936 -2.797937)', '2026-07-17 07:10:18', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378754 -2.79802)'), GeomFromEWKT('SRID=4674;POINT (-40.378936 -2.797937)'))) / (select extract(epoch from '2026-07-17 07:10:18'::timestamp) - extract(epoch from '2026-07-17 07:10:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378754 -2.79802)'), GeomFromEWKT('SRID=4674;POINT (-40.378936 -2.797937)'))) / (select extract(epoch from '2026-07-17 07:10:18'::timestamp) - extract(epoch from '2026-07-17 07:10:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.379128 -2.79782)', '2026-07-17 07:10:28', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378936 -2.797937)'), GeomFromEWKT('SRID=4674;POINT (-40.379128 -2.79782)'))) / (select extract(epoch from '2026-07-17 07:10:28'::timestamp) - extract(epoch from '2026-07-17 07:10:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378936 -2.797937)'), GeomFromEWKT('SRID=4674;POINT (-40.379128 -2.79782)'))) / (select extract(epoch from '2026-07-17 07:10:28'::timestamp) - extract(epoch from '2026-07-17 07:10:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.379242 -2.797723)', '2026-07-17 07:10:35', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379128 -2.79782)'), GeomFromEWKT('SRID=4674;POINT (-40.379242 -2.797723)'))) / (select extract(epoch from '2026-07-17 07:10:35'::timestamp) - extract(epoch from '2026-07-17 07:10:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379128 -2.79782)'), GeomFromEWKT('SRID=4674;POINT (-40.379242 -2.797723)'))) / (select extract(epoch from '2026-07-17 07:10:35'::timestamp) - extract(epoch from '2026-07-17 07:10:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.379416 -2.797628)', '2026-07-17 07:10:44', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379242 -2.797723)'), GeomFromEWKT('SRID=4674;POINT (-40.379416 -2.797628)'))) / (select extract(epoch from '2026-07-17 07:10:44'::timestamp) - extract(epoch from '2026-07-17 07:10:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379242 -2.797723)'), GeomFromEWKT('SRID=4674;POINT (-40.379416 -2.797628)'))) / (select extract(epoch from '2026-07-17 07:10:44'::timestamp) - extract(epoch from '2026-07-17 07:10:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.379577 -2.797551)', '2026-07-17 07:10:52', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379416 -2.797628)'), GeomFromEWKT('SRID=4674;POINT (-40.379577 -2.797551)'))) / (select extract(epoch from '2026-07-17 07:10:52'::timestamp) - extract(epoch from '2026-07-17 07:10:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379416 -2.797628)'), GeomFromEWKT('SRID=4674;POINT (-40.379577 -2.797551)'))) / (select extract(epoch from '2026-07-17 07:10:52'::timestamp) - extract(epoch from '2026-07-17 07:10:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.379757 -2.797464)', '2026-07-17 07:11:01', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379577 -2.797551)'), GeomFromEWKT('SRID=4674;POINT (-40.379757 -2.797464)'))) / (select extract(epoch from '2026-07-17 07:11:01'::timestamp) - extract(epoch from '2026-07-17 07:10:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379577 -2.797551)'), GeomFromEWKT('SRID=4674;POINT (-40.379757 -2.797464)'))) / (select extract(epoch from '2026-07-17 07:11:01'::timestamp) - extract(epoch from '2026-07-17 07:10:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.379957 -2.797405)', '2026-07-17 07:11:11', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379757 -2.797464)'), GeomFromEWKT('SRID=4674;POINT (-40.379957 -2.797405)'))) / (select extract(epoch from '2026-07-17 07:11:11'::timestamp) - extract(epoch from '2026-07-17 07:11:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379757 -2.797464)'), GeomFromEWKT('SRID=4674;POINT (-40.379957 -2.797405)'))) / (select extract(epoch from '2026-07-17 07:11:11'::timestamp) - extract(epoch from '2026-07-17 07:11:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.380129 -2.79735)', '2026-07-17 07:11:20', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379957 -2.797405)'), GeomFromEWKT('SRID=4674;POINT (-40.380129 -2.79735)'))) / (select extract(epoch from '2026-07-17 07:11:20'::timestamp) - extract(epoch from '2026-07-17 07:11:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379957 -2.797405)'), GeomFromEWKT('SRID=4674;POINT (-40.380129 -2.79735)'))) / (select extract(epoch from '2026-07-17 07:11:20'::timestamp) - extract(epoch from '2026-07-17 07:11:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.380272 -2.797287)', '2026-07-17 07:11:28', 22.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380129 -2.79735)'), GeomFromEWKT('SRID=4674;POINT (-40.380272 -2.797287)'))) / (select extract(epoch from '2026-07-17 07:11:28'::timestamp) - extract(epoch from '2026-07-17 07:11:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380129 -2.79735)'), GeomFromEWKT('SRID=4674;POINT (-40.380272 -2.797287)'))) / (select extract(epoch from '2026-07-17 07:11:28'::timestamp) - extract(epoch from '2026-07-17 07:11:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.380444 -2.797207)', '2026-07-17 07:11:36', 23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380272 -2.797287)'), GeomFromEWKT('SRID=4674;POINT (-40.380444 -2.797207)'))) / (select extract(epoch from '2026-07-17 07:11:36'::timestamp) - extract(epoch from '2026-07-17 07:11:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380272 -2.797287)'), GeomFromEWKT('SRID=4674;POINT (-40.380444 -2.797207)'))) / (select extract(epoch from '2026-07-17 07:11:36'::timestamp) - extract(epoch from '2026-07-17 07:11:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.380642 -2.797151)', '2026-07-17 07:11:45', 24.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380444 -2.797207)'), GeomFromEWKT('SRID=4674;POINT (-40.380642 -2.797151)'))) / (select extract(epoch from '2026-07-17 07:11:45'::timestamp) - extract(epoch from '2026-07-17 07:11:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380444 -2.797207)'), GeomFromEWKT('SRID=4674;POINT (-40.380642 -2.797151)'))) / (select extract(epoch from '2026-07-17 07:11:45'::timestamp) - extract(epoch from '2026-07-17 07:11:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.380869 -2.797123)', '2026-07-17 07:11:54', 24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380642 -2.797151)'), GeomFromEWKT('SRID=4674;POINT (-40.380869 -2.797123)'))) / (select extract(epoch from '2026-07-17 07:11:54'::timestamp) - extract(epoch from '2026-07-17 07:11:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380642 -2.797151)'), GeomFromEWKT('SRID=4674;POINT (-40.380869 -2.797123)'))) / (select extract(epoch from '2026-07-17 07:11:54'::timestamp) - extract(epoch from '2026-07-17 07:11:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.381004 -2.797003)', '2026-07-17 07:12:02', 23.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380869 -2.797123)'), GeomFromEWKT('SRID=4674;POINT (-40.381004 -2.797003)'))) / (select extract(epoch from '2026-07-17 07:12:02'::timestamp) - extract(epoch from '2026-07-17 07:11:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380869 -2.797123)'), GeomFromEWKT('SRID=4674;POINT (-40.381004 -2.797003)'))) / (select extract(epoch from '2026-07-17 07:12:02'::timestamp) - extract(epoch from '2026-07-17 07:11:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.38115 -2.796887)', '2026-07-17 07:12:10', 22.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381004 -2.797003)'), GeomFromEWKT('SRID=4674;POINT (-40.38115 -2.796887)'))) / (select extract(epoch from '2026-07-17 07:12:10'::timestamp) - extract(epoch from '2026-07-17 07:12:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381004 -2.797003)'), GeomFromEWKT('SRID=4674;POINT (-40.38115 -2.796887)'))) / (select extract(epoch from '2026-07-17 07:12:10'::timestamp) - extract(epoch from '2026-07-17 07:12:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.381307 -2.796811)', '2026-07-17 07:12:17', 21.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38115 -2.796887)'), GeomFromEWKT('SRID=4674;POINT (-40.381307 -2.796811)'))) / (select extract(epoch from '2026-07-17 07:12:17'::timestamp) - extract(epoch from '2026-07-17 07:12:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38115 -2.796887)'), GeomFromEWKT('SRID=4674;POINT (-40.381307 -2.796811)'))) / (select extract(epoch from '2026-07-17 07:12:17'::timestamp) - extract(epoch from '2026-07-17 07:12:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.381525 -2.796742)', '2026-07-17 07:12:26', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381307 -2.796811)'), GeomFromEWKT('SRID=4674;POINT (-40.381525 -2.796742)'))) / (select extract(epoch from '2026-07-17 07:12:26'::timestamp) - extract(epoch from '2026-07-17 07:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381307 -2.796811)'), GeomFromEWKT('SRID=4674;POINT (-40.381525 -2.796742)'))) / (select extract(epoch from '2026-07-17 07:12:26'::timestamp) - extract(epoch from '2026-07-17 07:12:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.381707 -2.796703)', '2026-07-17 07:12:34', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381525 -2.796742)'), GeomFromEWKT('SRID=4674;POINT (-40.381707 -2.796703)'))) / (select extract(epoch from '2026-07-17 07:12:34'::timestamp) - extract(epoch from '2026-07-17 07:12:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381525 -2.796742)'), GeomFromEWKT('SRID=4674;POINT (-40.381707 -2.796703)'))) / (select extract(epoch from '2026-07-17 07:12:34'::timestamp) - extract(epoch from '2026-07-17 07:12:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.381839 -2.796608)', '2026-07-17 07:12:42', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381707 -2.796703)'), GeomFromEWKT('SRID=4674;POINT (-40.381839 -2.796608)'))) / (select extract(epoch from '2026-07-17 07:12:42'::timestamp) - extract(epoch from '2026-07-17 07:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381707 -2.796703)'), GeomFromEWKT('SRID=4674;POINT (-40.381839 -2.796608)'))) / (select extract(epoch from '2026-07-17 07:12:42'::timestamp) - extract(epoch from '2026-07-17 07:12:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.382032 -2.796464)', '2026-07-17 07:12:52', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381839 -2.796608)'), GeomFromEWKT('SRID=4674;POINT (-40.382032 -2.796464)'))) / (select extract(epoch from '2026-07-17 07:12:52'::timestamp) - extract(epoch from '2026-07-17 07:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381839 -2.796608)'), GeomFromEWKT('SRID=4674;POINT (-40.382032 -2.796464)'))) / (select extract(epoch from '2026-07-17 07:12:52'::timestamp) - extract(epoch from '2026-07-17 07:12:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.382212 -2.796376)', '2026-07-17 07:13:00', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382032 -2.796464)'), GeomFromEWKT('SRID=4674;POINT (-40.382212 -2.796376)'))) / (select extract(epoch from '2026-07-17 07:13:00'::timestamp) - extract(epoch from '2026-07-17 07:12:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382032 -2.796464)'), GeomFromEWKT('SRID=4674;POINT (-40.382212 -2.796376)'))) / (select extract(epoch from '2026-07-17 07:13:00'::timestamp) - extract(epoch from '2026-07-17 07:12:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.38233 -2.796286)', '2026-07-17 07:13:07', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382212 -2.796376)'), GeomFromEWKT('SRID=4674;POINT (-40.38233 -2.796286)'))) / (select extract(epoch from '2026-07-17 07:13:07'::timestamp) - extract(epoch from '2026-07-17 07:13:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382212 -2.796376)'), GeomFromEWKT('SRID=4674;POINT (-40.38233 -2.796286)'))) / (select extract(epoch from '2026-07-17 07:13:07'::timestamp) - extract(epoch from '2026-07-17 07:13:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.382492 -2.7962)', '2026-07-17 07:13:15', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38233 -2.796286)'), GeomFromEWKT('SRID=4674;POINT (-40.382492 -2.7962)'))) / (select extract(epoch from '2026-07-17 07:13:15'::timestamp) - extract(epoch from '2026-07-17 07:13:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38233 -2.796286)'), GeomFromEWKT('SRID=4674;POINT (-40.382492 -2.7962)'))) / (select extract(epoch from '2026-07-17 07:13:15'::timestamp) - extract(epoch from '2026-07-17 07:13:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.382614 -2.796108)', '2026-07-17 07:13:22', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382492 -2.7962)'), GeomFromEWKT('SRID=4674;POINT (-40.382614 -2.796108)'))) / (select extract(epoch from '2026-07-17 07:13:22'::timestamp) - extract(epoch from '2026-07-17 07:13:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382492 -2.7962)'), GeomFromEWKT('SRID=4674;POINT (-40.382614 -2.796108)'))) / (select extract(epoch from '2026-07-17 07:13:22'::timestamp) - extract(epoch from '2026-07-17 07:13:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.38272 -2.796004)', '2026-07-17 07:13:29', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382614 -2.796108)'), GeomFromEWKT('SRID=4674;POINT (-40.38272 -2.796004)'))) / (select extract(epoch from '2026-07-17 07:13:29'::timestamp) - extract(epoch from '2026-07-17 07:13:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382614 -2.796108)'), GeomFromEWKT('SRID=4674;POINT (-40.38272 -2.796004)'))) / (select extract(epoch from '2026-07-17 07:13:29'::timestamp) - extract(epoch from '2026-07-17 07:13:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.382855 -2.795905)', '2026-07-17 07:13:37', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38272 -2.796004)'), GeomFromEWKT('SRID=4674;POINT (-40.382855 -2.795905)'))) / (select extract(epoch from '2026-07-17 07:13:37'::timestamp) - extract(epoch from '2026-07-17 07:13:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38272 -2.796004)'), GeomFromEWKT('SRID=4674;POINT (-40.382855 -2.795905)'))) / (select extract(epoch from '2026-07-17 07:13:37'::timestamp) - extract(epoch from '2026-07-17 07:13:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.382964 -2.795843)', '2026-07-17 07:13:43', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382855 -2.795905)'), GeomFromEWKT('SRID=4674;POINT (-40.382964 -2.795843)'))) / (select extract(epoch from '2026-07-17 07:13:43'::timestamp) - extract(epoch from '2026-07-17 07:13:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382855 -2.795905)'), GeomFromEWKT('SRID=4674;POINT (-40.382964 -2.795843)'))) / (select extract(epoch from '2026-07-17 07:13:43'::timestamp) - extract(epoch from '2026-07-17 07:13:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.383146 -2.795738)', '2026-07-17 07:13:52', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382964 -2.795843)'), GeomFromEWKT('SRID=4674;POINT (-40.383146 -2.795738)'))) / (select extract(epoch from '2026-07-17 07:13:52'::timestamp) - extract(epoch from '2026-07-17 07:13:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382964 -2.795843)'), GeomFromEWKT('SRID=4674;POINT (-40.383146 -2.795738)'))) / (select extract(epoch from '2026-07-17 07:13:52'::timestamp) - extract(epoch from '2026-07-17 07:13:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.383293 -2.795701)', '2026-07-17 07:13:59', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383146 -2.795738)'), GeomFromEWKT('SRID=4674;POINT (-40.383293 -2.795701)'))) / (select extract(epoch from '2026-07-17 07:13:59'::timestamp) - extract(epoch from '2026-07-17 07:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383146 -2.795738)'), GeomFromEWKT('SRID=4674;POINT (-40.383293 -2.795701)'))) / (select extract(epoch from '2026-07-17 07:13:59'::timestamp) - extract(epoch from '2026-07-17 07:13:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.383432 -2.79569)', '2026-07-17 07:14:05', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383293 -2.795701)'), GeomFromEWKT('SRID=4674;POINT (-40.383432 -2.79569)'))) / (select extract(epoch from '2026-07-17 07:14:05'::timestamp) - extract(epoch from '2026-07-17 07:13:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383293 -2.795701)'), GeomFromEWKT('SRID=4674;POINT (-40.383432 -2.79569)'))) / (select extract(epoch from '2026-07-17 07:14:05'::timestamp) - extract(epoch from '2026-07-17 07:13:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.38358 -2.795663)', '2026-07-17 07:14:13', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383432 -2.79569)'), GeomFromEWKT('SRID=4674;POINT (-40.38358 -2.795663)'))) / (select extract(epoch from '2026-07-17 07:14:13'::timestamp) - extract(epoch from '2026-07-17 07:14:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383432 -2.79569)'), GeomFromEWKT('SRID=4674;POINT (-40.38358 -2.795663)'))) / (select extract(epoch from '2026-07-17 07:14:13'::timestamp) - extract(epoch from '2026-07-17 07:14:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.383699 -2.795603)', '2026-07-17 07:14:19', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38358 -2.795663)'), GeomFromEWKT('SRID=4674;POINT (-40.383699 -2.795603)'))) / (select extract(epoch from '2026-07-17 07:14:19'::timestamp) - extract(epoch from '2026-07-17 07:14:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38358 -2.795663)'), GeomFromEWKT('SRID=4674;POINT (-40.383699 -2.795603)'))) / (select extract(epoch from '2026-07-17 07:14:19'::timestamp) - extract(epoch from '2026-07-17 07:14:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.383857 -2.795565)', '2026-07-17 07:14:26', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383699 -2.795603)'), GeomFromEWKT('SRID=4674;POINT (-40.383857 -2.795565)'))) / (select extract(epoch from '2026-07-17 07:14:26'::timestamp) - extract(epoch from '2026-07-17 07:14:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383699 -2.795603)'), GeomFromEWKT('SRID=4674;POINT (-40.383857 -2.795565)'))) / (select extract(epoch from '2026-07-17 07:14:26'::timestamp) - extract(epoch from '2026-07-17 07:14:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.384027 -2.795526)', '2026-07-17 07:14:33', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383857 -2.795565)'), GeomFromEWKT('SRID=4674;POINT (-40.384027 -2.795526)'))) / (select extract(epoch from '2026-07-17 07:14:33'::timestamp) - extract(epoch from '2026-07-17 07:14:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383857 -2.795565)'), GeomFromEWKT('SRID=4674;POINT (-40.384027 -2.795526)'))) / (select extract(epoch from '2026-07-17 07:14:33'::timestamp) - extract(epoch from '2026-07-17 07:14:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.384152 -2.7955)', '2026-07-17 07:14:40', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384027 -2.795526)'), GeomFromEWKT('SRID=4674;POINT (-40.384152 -2.7955)'))) / (select extract(epoch from '2026-07-17 07:14:40'::timestamp) - extract(epoch from '2026-07-17 07:14:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384027 -2.795526)'), GeomFromEWKT('SRID=4674;POINT (-40.384152 -2.7955)'))) / (select extract(epoch from '2026-07-17 07:14:40'::timestamp) - extract(epoch from '2026-07-17 07:14:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.38429 -2.795474)', '2026-07-17 07:14:46', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384152 -2.7955)'), GeomFromEWKT('SRID=4674;POINT (-40.38429 -2.795474)'))) / (select extract(epoch from '2026-07-17 07:14:46'::timestamp) - extract(epoch from '2026-07-17 07:14:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384152 -2.7955)'), GeomFromEWKT('SRID=4674;POINT (-40.38429 -2.795474)'))) / (select extract(epoch from '2026-07-17 07:14:46'::timestamp) - extract(epoch from '2026-07-17 07:14:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.384453 -2.795383)', '2026-07-17 07:14:53', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38429 -2.795474)'), GeomFromEWKT('SRID=4674;POINT (-40.384453 -2.795383)'))) / (select extract(epoch from '2026-07-17 07:14:53'::timestamp) - extract(epoch from '2026-07-17 07:14:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38429 -2.795474)'), GeomFromEWKT('SRID=4674;POINT (-40.384453 -2.795383)'))) / (select extract(epoch from '2026-07-17 07:14:53'::timestamp) - extract(epoch from '2026-07-17 07:14:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.384613 -2.795291)', '2026-07-17 07:15:02', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384453 -2.795383)'), GeomFromEWKT('SRID=4674;POINT (-40.384613 -2.795291)'))) / (select extract(epoch from '2026-07-17 07:15:02'::timestamp) - extract(epoch from '2026-07-17 07:14:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384453 -2.795383)'), GeomFromEWKT('SRID=4674;POINT (-40.384613 -2.795291)'))) / (select extract(epoch from '2026-07-17 07:15:02'::timestamp) - extract(epoch from '2026-07-17 07:14:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.38475 -2.795227)', '2026-07-17 07:15:09', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384613 -2.795291)'), GeomFromEWKT('SRID=4674;POINT (-40.38475 -2.795227)'))) / (select extract(epoch from '2026-07-17 07:15:09'::timestamp) - extract(epoch from '2026-07-17 07:15:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384613 -2.795291)'), GeomFromEWKT('SRID=4674;POINT (-40.38475 -2.795227)'))) / (select extract(epoch from '2026-07-17 07:15:09'::timestamp) - extract(epoch from '2026-07-17 07:15:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.384907 -2.795171)', '2026-07-17 07:15:16', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38475 -2.795227)'), GeomFromEWKT('SRID=4674;POINT (-40.384907 -2.795171)'))) / (select extract(epoch from '2026-07-17 07:15:16'::timestamp) - extract(epoch from '2026-07-17 07:15:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38475 -2.795227)'), GeomFromEWKT('SRID=4674;POINT (-40.384907 -2.795171)'))) / (select extract(epoch from '2026-07-17 07:15:16'::timestamp) - extract(epoch from '2026-07-17 07:15:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.385075 -2.79511)', '2026-07-17 07:15:24', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384907 -2.795171)'), GeomFromEWKT('SRID=4674;POINT (-40.385075 -2.79511)'))) / (select extract(epoch from '2026-07-17 07:15:24'::timestamp) - extract(epoch from '2026-07-17 07:15:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384907 -2.795171)'), GeomFromEWKT('SRID=4674;POINT (-40.385075 -2.79511)'))) / (select extract(epoch from '2026-07-17 07:15:24'::timestamp) - extract(epoch from '2026-07-17 07:15:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.385202 -2.795085)', '2026-07-17 07:15:30', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385075 -2.79511)'), GeomFromEWKT('SRID=4674;POINT (-40.385202 -2.795085)'))) / (select extract(epoch from '2026-07-17 07:15:30'::timestamp) - extract(epoch from '2026-07-17 07:15:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385075 -2.79511)'), GeomFromEWKT('SRID=4674;POINT (-40.385202 -2.795085)'))) / (select extract(epoch from '2026-07-17 07:15:30'::timestamp) - extract(epoch from '2026-07-17 07:15:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.385342 -2.795058)', '2026-07-17 07:15:37', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385202 -2.795085)'), GeomFromEWKT('SRID=4674;POINT (-40.385342 -2.795058)'))) / (select extract(epoch from '2026-07-17 07:15:37'::timestamp) - extract(epoch from '2026-07-17 07:15:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385202 -2.795085)'), GeomFromEWKT('SRID=4674;POINT (-40.385342 -2.795058)'))) / (select extract(epoch from '2026-07-17 07:15:37'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.385496 -2.795021)', '2026-07-17 07:15:44', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385342 -2.795058)'), GeomFromEWKT('SRID=4674;POINT (-40.385496 -2.795021)'))) / (select extract(epoch from '2026-07-17 07:15:44'::timestamp) - extract(epoch from '2026-07-17 07:15:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385342 -2.795058)'), GeomFromEWKT('SRID=4674;POINT (-40.385496 -2.795021)'))) / (select extract(epoch from '2026-07-17 07:15:44'::timestamp) - extract(epoch from '2026-07-17 07:15:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.385619 -2.794938)', '2026-07-17 07:15:51', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385496 -2.795021)'), GeomFromEWKT('SRID=4674;POINT (-40.385619 -2.794938)'))) / (select extract(epoch from '2026-07-17 07:15:51'::timestamp) - extract(epoch from '2026-07-17 07:15:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385496 -2.795021)'), GeomFromEWKT('SRID=4674;POINT (-40.385619 -2.794938)'))) / (select extract(epoch from '2026-07-17 07:15:51'::timestamp) - extract(epoch from '2026-07-17 07:15:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.385734 -2.794816)', '2026-07-17 07:15:58', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385619 -2.794938)'), GeomFromEWKT('SRID=4674;POINT (-40.385734 -2.794816)'))) / (select extract(epoch from '2026-07-17 07:15:58'::timestamp) - extract(epoch from '2026-07-17 07:15:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385619 -2.794938)'), GeomFromEWKT('SRID=4674;POINT (-40.385734 -2.794816)'))) / (select extract(epoch from '2026-07-17 07:15:58'::timestamp) - extract(epoch from '2026-07-17 07:15:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.385847 -2.794736)', '2026-07-17 07:16:05', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385734 -2.794816)'), GeomFromEWKT('SRID=4674;POINT (-40.385847 -2.794736)'))) / (select extract(epoch from '2026-07-17 07:16:05'::timestamp) - extract(epoch from '2026-07-17 07:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385734 -2.794816)'), GeomFromEWKT('SRID=4674;POINT (-40.385847 -2.794736)'))) / (select extract(epoch from '2026-07-17 07:16:05'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.385984 -2.794628)', '2026-07-17 07:16:13', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385847 -2.794736)'), GeomFromEWKT('SRID=4674;POINT (-40.385984 -2.794628)'))) / (select extract(epoch from '2026-07-17 07:16:13'::timestamp) - extract(epoch from '2026-07-17 07:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385847 -2.794736)'), GeomFromEWKT('SRID=4674;POINT (-40.385984 -2.794628)'))) / (select extract(epoch from '2026-07-17 07:16:13'::timestamp) - extract(epoch from '2026-07-17 07:16:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.386114 -2.794474)', '2026-07-17 07:16:22', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385984 -2.794628)'), GeomFromEWKT('SRID=4674;POINT (-40.386114 -2.794474)'))) / (select extract(epoch from '2026-07-17 07:16:22'::timestamp) - extract(epoch from '2026-07-17 07:16:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385984 -2.794628)'), GeomFromEWKT('SRID=4674;POINT (-40.386114 -2.794474)'))) / (select extract(epoch from '2026-07-17 07:16:22'::timestamp) - extract(epoch from '2026-07-17 07:16:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.386204 -2.794303)', '2026-07-17 07:16:31', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386114 -2.794474)'), GeomFromEWKT('SRID=4674;POINT (-40.386204 -2.794303)'))) / (select extract(epoch from '2026-07-17 07:16:31'::timestamp) - extract(epoch from '2026-07-17 07:16:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386114 -2.794474)'), GeomFromEWKT('SRID=4674;POINT (-40.386204 -2.794303)'))) / (select extract(epoch from '2026-07-17 07:16:31'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.386264 -2.794138)', '2026-07-17 07:16:39', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386204 -2.794303)'), GeomFromEWKT('SRID=4674;POINT (-40.386264 -2.794138)'))) / (select extract(epoch from '2026-07-17 07:16:39'::timestamp) - extract(epoch from '2026-07-17 07:16:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386204 -2.794303)'), GeomFromEWKT('SRID=4674;POINT (-40.386264 -2.794138)'))) / (select extract(epoch from '2026-07-17 07:16:39'::timestamp) - extract(epoch from '2026-07-17 07:16:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.386369 -2.794016)', '2026-07-17 07:16:46', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386264 -2.794138)'), GeomFromEWKT('SRID=4674;POINT (-40.386369 -2.794016)'))) / (select extract(epoch from '2026-07-17 07:16:46'::timestamp) - extract(epoch from '2026-07-17 07:16:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386264 -2.794138)'), GeomFromEWKT('SRID=4674;POINT (-40.386369 -2.794016)'))) / (select extract(epoch from '2026-07-17 07:16:46'::timestamp) - extract(epoch from '2026-07-17 07:16:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.386531 -2.793909)', '2026-07-17 07:16:55', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386369 -2.794016)'), GeomFromEWKT('SRID=4674;POINT (-40.386531 -2.793909)'))) / (select extract(epoch from '2026-07-17 07:16:55'::timestamp) - extract(epoch from '2026-07-17 07:16:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386369 -2.794016)'), GeomFromEWKT('SRID=4674;POINT (-40.386531 -2.793909)'))) / (select extract(epoch from '2026-07-17 07:16:55'::timestamp) - extract(epoch from '2026-07-17 07:16:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.386675 -2.793814)', '2026-07-17 07:17:03', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386531 -2.793909)'), GeomFromEWKT('SRID=4674;POINT (-40.386675 -2.793814)'))) / (select extract(epoch from '2026-07-17 07:17:03'::timestamp) - extract(epoch from '2026-07-17 07:16:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386531 -2.793909)'), GeomFromEWKT('SRID=4674;POINT (-40.386675 -2.793814)'))) / (select extract(epoch from '2026-07-17 07:17:03'::timestamp) - extract(epoch from '2026-07-17 07:16:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.386765 -2.793697)', '2026-07-17 07:17:10', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386675 -2.793814)'), GeomFromEWKT('SRID=4674;POINT (-40.386765 -2.793697)'))) / (select extract(epoch from '2026-07-17 07:17:10'::timestamp) - extract(epoch from '2026-07-17 07:17:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386675 -2.793814)'), GeomFromEWKT('SRID=4674;POINT (-40.386765 -2.793697)'))) / (select extract(epoch from '2026-07-17 07:17:10'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.3869 -2.793538)', '2026-07-17 07:17:19', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386765 -2.793697)'), GeomFromEWKT('SRID=4674;POINT (-40.3869 -2.793538)'))) / (select extract(epoch from '2026-07-17 07:17:19'::timestamp) - extract(epoch from '2026-07-17 07:17:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386765 -2.793697)'), GeomFromEWKT('SRID=4674;POINT (-40.3869 -2.793538)'))) / (select extract(epoch from '2026-07-17 07:17:19'::timestamp) - extract(epoch from '2026-07-17 07:17:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.387049 -2.793371)', '2026-07-17 07:17:28', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3869 -2.793538)'), GeomFromEWKT('SRID=4674;POINT (-40.387049 -2.793371)'))) / (select extract(epoch from '2026-07-17 07:17:28'::timestamp) - extract(epoch from '2026-07-17 07:17:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3869 -2.793538)'), GeomFromEWKT('SRID=4674;POINT (-40.387049 -2.793371)'))) / (select extract(epoch from '2026-07-17 07:17:28'::timestamp) - extract(epoch from '2026-07-17 07:17:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.387168 -2.793234)', '2026-07-17 07:17:36', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387049 -2.793371)'), GeomFromEWKT('SRID=4674;POINT (-40.387168 -2.793234)'))) / (select extract(epoch from '2026-07-17 07:17:36'::timestamp) - extract(epoch from '2026-07-17 07:17:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387049 -2.793371)'), GeomFromEWKT('SRID=4674;POINT (-40.387168 -2.793234)'))) / (select extract(epoch from '2026-07-17 07:17:36'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.387261 -2.793109)', '2026-07-17 07:17:43', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387168 -2.793234)'), GeomFromEWKT('SRID=4674;POINT (-40.387261 -2.793109)'))) / (select extract(epoch from '2026-07-17 07:17:43'::timestamp) - extract(epoch from '2026-07-17 07:17:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387168 -2.793234)'), GeomFromEWKT('SRID=4674;POINT (-40.387261 -2.793109)'))) / (select extract(epoch from '2026-07-17 07:17:43'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.387365 -2.792975)', '2026-07-17 07:17:51', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387261 -2.793109)'), GeomFromEWKT('SRID=4674;POINT (-40.387365 -2.792975)'))) / (select extract(epoch from '2026-07-17 07:17:51'::timestamp) - extract(epoch from '2026-07-17 07:17:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387261 -2.793109)'), GeomFromEWKT('SRID=4674;POINT (-40.387365 -2.792975)'))) / (select extract(epoch from '2026-07-17 07:17:51'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.387471 -2.792875)', '2026-07-17 07:17:58', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387365 -2.792975)'), GeomFromEWKT('SRID=4674;POINT (-40.387471 -2.792875)'))) / (select extract(epoch from '2026-07-17 07:17:58'::timestamp) - extract(epoch from '2026-07-17 07:17:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387365 -2.792975)'), GeomFromEWKT('SRID=4674;POINT (-40.387471 -2.792875)'))) / (select extract(epoch from '2026-07-17 07:17:58'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.387582 -2.79273)', '2026-07-17 07:18:06', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387471 -2.792875)'), GeomFromEWKT('SRID=4674;POINT (-40.387582 -2.79273)'))) / (select extract(epoch from '2026-07-17 07:18:06'::timestamp) - extract(epoch from '2026-07-17 07:17:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387471 -2.792875)'), GeomFromEWKT('SRID=4674;POINT (-40.387582 -2.79273)'))) / (select extract(epoch from '2026-07-17 07:18:06'::timestamp) - extract(epoch from '2026-07-17 07:17:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.38775 -2.792565)', '2026-07-17 07:18:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387582 -2.79273)'), GeomFromEWKT('SRID=4674;POINT (-40.38775 -2.792565)'))) / (select extract(epoch from '2026-07-17 07:18:16'::timestamp) - extract(epoch from '2026-07-17 07:18:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387582 -2.79273)'), GeomFromEWKT('SRID=4674;POINT (-40.38775 -2.792565)'))) / (select extract(epoch from '2026-07-17 07:18:16'::timestamp) - extract(epoch from '2026-07-17 07:18:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.387894 -2.792432)', '2026-07-17 07:18:24', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38775 -2.792565)'), GeomFromEWKT('SRID=4674;POINT (-40.387894 -2.792432)'))) / (select extract(epoch from '2026-07-17 07:18:24'::timestamp) - extract(epoch from '2026-07-17 07:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38775 -2.792565)'), GeomFromEWKT('SRID=4674;POINT (-40.387894 -2.792432)'))) / (select extract(epoch from '2026-07-17 07:18:24'::timestamp) - extract(epoch from '2026-07-17 07:18:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.388017 -2.792332)', '2026-07-17 07:18:32', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387894 -2.792432)'), GeomFromEWKT('SRID=4674;POINT (-40.388017 -2.792332)'))) / (select extract(epoch from '2026-07-17 07:18:32'::timestamp) - extract(epoch from '2026-07-17 07:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387894 -2.792432)'), GeomFromEWKT('SRID=4674;POINT (-40.388017 -2.792332)'))) / (select extract(epoch from '2026-07-17 07:18:32'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.388129 -2.792199)', '2026-07-17 07:18:40', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388017 -2.792332)'), GeomFromEWKT('SRID=4674;POINT (-40.388129 -2.792199)'))) / (select extract(epoch from '2026-07-17 07:18:40'::timestamp) - extract(epoch from '2026-07-17 07:18:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388017 -2.792332)'), GeomFromEWKT('SRID=4674;POINT (-40.388129 -2.792199)'))) / (select extract(epoch from '2026-07-17 07:18:40'::timestamp) - extract(epoch from '2026-07-17 07:18:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.388201 -2.792043)', '2026-07-17 07:18:47', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388129 -2.792199)'), GeomFromEWKT('SRID=4674;POINT (-40.388201 -2.792043)'))) / (select extract(epoch from '2026-07-17 07:18:47'::timestamp) - extract(epoch from '2026-07-17 07:18:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388129 -2.792199)'), GeomFromEWKT('SRID=4674;POINT (-40.388201 -2.792043)'))) / (select extract(epoch from '2026-07-17 07:18:47'::timestamp) - extract(epoch from '2026-07-17 07:18:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.38834 -2.7919)', '2026-07-17 07:18:56', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388201 -2.792043)'), GeomFromEWKT('SRID=4674;POINT (-40.38834 -2.7919)'))) / (select extract(epoch from '2026-07-17 07:18:56'::timestamp) - extract(epoch from '2026-07-17 07:18:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388201 -2.792043)'), GeomFromEWKT('SRID=4674;POINT (-40.38834 -2.7919)'))) / (select extract(epoch from '2026-07-17 07:18:56'::timestamp) - extract(epoch from '2026-07-17 07:18:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.388485 -2.791829)', '2026-07-17 07:19:04', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38834 -2.7919)'), GeomFromEWKT('SRID=4674;POINT (-40.388485 -2.791829)'))) / (select extract(epoch from '2026-07-17 07:19:04'::timestamp) - extract(epoch from '2026-07-17 07:18:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38834 -2.7919)'), GeomFromEWKT('SRID=4674;POINT (-40.388485 -2.791829)'))) / (select extract(epoch from '2026-07-17 07:19:04'::timestamp) - extract(epoch from '2026-07-17 07:18:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.38861 -2.791728)', '2026-07-17 07:19:12', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388485 -2.791829)'), GeomFromEWKT('SRID=4674;POINT (-40.38861 -2.791728)'))) / (select extract(epoch from '2026-07-17 07:19:12'::timestamp) - extract(epoch from '2026-07-17 07:19:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388485 -2.791829)'), GeomFromEWKT('SRID=4674;POINT (-40.38861 -2.791728)'))) / (select extract(epoch from '2026-07-17 07:19:12'::timestamp) - extract(epoch from '2026-07-17 07:19:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.388687 -2.791561)', '2026-07-17 07:19:20', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38861 -2.791728)'), GeomFromEWKT('SRID=4674;POINT (-40.388687 -2.791561)'))) / (select extract(epoch from '2026-07-17 07:19:20'::timestamp) - extract(epoch from '2026-07-17 07:19:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38861 -2.791728)'), GeomFromEWKT('SRID=4674;POINT (-40.388687 -2.791561)'))) / (select extract(epoch from '2026-07-17 07:19:20'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.388743 -2.791406)', '2026-07-17 07:19:28', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388687 -2.791561)'), GeomFromEWKT('SRID=4674;POINT (-40.388743 -2.791406)'))) / (select extract(epoch from '2026-07-17 07:19:28'::timestamp) - extract(epoch from '2026-07-17 07:19:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388687 -2.791561)'), GeomFromEWKT('SRID=4674;POINT (-40.388743 -2.791406)'))) / (select extract(epoch from '2026-07-17 07:19:28'::timestamp) - extract(epoch from '2026-07-17 07:19:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.388853 -2.791248)', '2026-07-17 07:19:37', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388743 -2.791406)'), GeomFromEWKT('SRID=4674;POINT (-40.388853 -2.791248)'))) / (select extract(epoch from '2026-07-17 07:19:37'::timestamp) - extract(epoch from '2026-07-17 07:19:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388743 -2.791406)'), GeomFromEWKT('SRID=4674;POINT (-40.388853 -2.791248)'))) / (select extract(epoch from '2026-07-17 07:19:37'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.388972 -2.791093)', '2026-07-17 07:19:46', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388853 -2.791248)'), GeomFromEWKT('SRID=4674;POINT (-40.388972 -2.791093)'))) / (select extract(epoch from '2026-07-17 07:19:46'::timestamp) - extract(epoch from '2026-07-17 07:19:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388853 -2.791248)'), GeomFromEWKT('SRID=4674;POINT (-40.388972 -2.791093)'))) / (select extract(epoch from '2026-07-17 07:19:46'::timestamp) - extract(epoch from '2026-07-17 07:19:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.389075 -2.790919)', '2026-07-17 07:19:55', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388972 -2.791093)'), GeomFromEWKT('SRID=4674;POINT (-40.389075 -2.790919)'))) / (select extract(epoch from '2026-07-17 07:19:55'::timestamp) - extract(epoch from '2026-07-17 07:19:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388972 -2.791093)'), GeomFromEWKT('SRID=4674;POINT (-40.389075 -2.790919)'))) / (select extract(epoch from '2026-07-17 07:19:55'::timestamp) - extract(epoch from '2026-07-17 07:19:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.389184 -2.790769)', '2026-07-17 07:20:03', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389075 -2.790919)'), GeomFromEWKT('SRID=4674;POINT (-40.389184 -2.790769)'))) / (select extract(epoch from '2026-07-17 07:20:03'::timestamp) - extract(epoch from '2026-07-17 07:19:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389075 -2.790919)'), GeomFromEWKT('SRID=4674;POINT (-40.389184 -2.790769)'))) / (select extract(epoch from '2026-07-17 07:20:03'::timestamp) - extract(epoch from '2026-07-17 07:19:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.389325 -2.790582)', '2026-07-17 07:20:13', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389184 -2.790769)'), GeomFromEWKT('SRID=4674;POINT (-40.389325 -2.790582)'))) / (select extract(epoch from '2026-07-17 07:20:13'::timestamp) - extract(epoch from '2026-07-17 07:20:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389184 -2.790769)'), GeomFromEWKT('SRID=4674;POINT (-40.389325 -2.790582)'))) / (select extract(epoch from '2026-07-17 07:20:13'::timestamp) - extract(epoch from '2026-07-17 07:20:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.389395 -2.790463)', '2026-07-17 07:20:19', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389325 -2.790582)'), GeomFromEWKT('SRID=4674;POINT (-40.389395 -2.790463)'))) / (select extract(epoch from '2026-07-17 07:20:19'::timestamp) - extract(epoch from '2026-07-17 07:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389325 -2.790582)'), GeomFromEWKT('SRID=4674;POINT (-40.389395 -2.790463)'))) / (select extract(epoch from '2026-07-17 07:20:19'::timestamp) - extract(epoch from '2026-07-17 07:20:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.389457 -2.790334)', '2026-07-17 07:20:25', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389395 -2.790463)'), GeomFromEWKT('SRID=4674;POINT (-40.389457 -2.790334)'))) / (select extract(epoch from '2026-07-17 07:20:25'::timestamp) - extract(epoch from '2026-07-17 07:20:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389395 -2.790463)'), GeomFromEWKT('SRID=4674;POINT (-40.389457 -2.790334)'))) / (select extract(epoch from '2026-07-17 07:20:25'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.389513 -2.790198)', '2026-07-17 07:20:32', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389457 -2.790334)'), GeomFromEWKT('SRID=4674;POINT (-40.389513 -2.790198)'))) / (select extract(epoch from '2026-07-17 07:20:32'::timestamp) - extract(epoch from '2026-07-17 07:20:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389457 -2.790334)'), GeomFromEWKT('SRID=4674;POINT (-40.389513 -2.790198)'))) / (select extract(epoch from '2026-07-17 07:20:32'::timestamp) - extract(epoch from '2026-07-17 07:20:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.389575 -2.790044)', '2026-07-17 07:20:40', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389513 -2.790198)'), GeomFromEWKT('SRID=4674;POINT (-40.389575 -2.790044)'))) / (select extract(epoch from '2026-07-17 07:20:40'::timestamp) - extract(epoch from '2026-07-17 07:20:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389513 -2.790198)'), GeomFromEWKT('SRID=4674;POINT (-40.389575 -2.790044)'))) / (select extract(epoch from '2026-07-17 07:20:40'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.389676 -2.789912)', '2026-07-17 07:20:48', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389575 -2.790044)'), GeomFromEWKT('SRID=4674;POINT (-40.389676 -2.789912)'))) / (select extract(epoch from '2026-07-17 07:20:48'::timestamp) - extract(epoch from '2026-07-17 07:20:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389575 -2.790044)'), GeomFromEWKT('SRID=4674;POINT (-40.389676 -2.789912)'))) / (select extract(epoch from '2026-07-17 07:20:48'::timestamp) - extract(epoch from '2026-07-17 07:20:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.389774 -2.789781)', '2026-07-17 07:20:56', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389676 -2.789912)'), GeomFromEWKT('SRID=4674;POINT (-40.389774 -2.789781)'))) / (select extract(epoch from '2026-07-17 07:20:56'::timestamp) - extract(epoch from '2026-07-17 07:20:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389676 -2.789912)'), GeomFromEWKT('SRID=4674;POINT (-40.389774 -2.789781)'))) / (select extract(epoch from '2026-07-17 07:20:56'::timestamp) - extract(epoch from '2026-07-17 07:20:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.389859 -2.789662)', '2026-07-17 07:21:03', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389774 -2.789781)'), GeomFromEWKT('SRID=4674;POINT (-40.389859 -2.789662)'))) / (select extract(epoch from '2026-07-17 07:21:03'::timestamp) - extract(epoch from '2026-07-17 07:20:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389774 -2.789781)'), GeomFromEWKT('SRID=4674;POINT (-40.389859 -2.789662)'))) / (select extract(epoch from '2026-07-17 07:21:03'::timestamp) - extract(epoch from '2026-07-17 07:20:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.389981 -2.789505)', '2026-07-17 07:21:12', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389859 -2.789662)'), GeomFromEWKT('SRID=4674;POINT (-40.389981 -2.789505)'))) / (select extract(epoch from '2026-07-17 07:21:12'::timestamp) - extract(epoch from '2026-07-17 07:21:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389859 -2.789662)'), GeomFromEWKT('SRID=4674;POINT (-40.389981 -2.789505)'))) / (select extract(epoch from '2026-07-17 07:21:12'::timestamp) - extract(epoch from '2026-07-17 07:21:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.390099 -2.78934)', '2026-07-17 07:21:20', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389981 -2.789505)'), GeomFromEWKT('SRID=4674;POINT (-40.390099 -2.78934)'))) / (select extract(epoch from '2026-07-17 07:21:20'::timestamp) - extract(epoch from '2026-07-17 07:21:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389981 -2.789505)'), GeomFromEWKT('SRID=4674;POINT (-40.390099 -2.78934)'))) / (select extract(epoch from '2026-07-17 07:21:20'::timestamp) - extract(epoch from '2026-07-17 07:21:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.390239 -2.789148)', '2026-07-17 07:21:30', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390099 -2.78934)'), GeomFromEWKT('SRID=4674;POINT (-40.390239 -2.789148)'))) / (select extract(epoch from '2026-07-17 07:21:30'::timestamp) - extract(epoch from '2026-07-17 07:21:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390099 -2.78934)'), GeomFromEWKT('SRID=4674;POINT (-40.390239 -2.789148)'))) / (select extract(epoch from '2026-07-17 07:21:30'::timestamp) - extract(epoch from '2026-07-17 07:21:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.390312 -2.788988)', '2026-07-17 07:21:38', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390239 -2.789148)'), GeomFromEWKT('SRID=4674;POINT (-40.390312 -2.788988)'))) / (select extract(epoch from '2026-07-17 07:21:38'::timestamp) - extract(epoch from '2026-07-17 07:21:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390239 -2.789148)'), GeomFromEWKT('SRID=4674;POINT (-40.390312 -2.788988)'))) / (select extract(epoch from '2026-07-17 07:21:38'::timestamp) - extract(epoch from '2026-07-17 07:21:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.390398 -2.788832)', '2026-07-17 07:21:46', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390312 -2.788988)'), GeomFromEWKT('SRID=4674;POINT (-40.390398 -2.788832)'))) / (select extract(epoch from '2026-07-17 07:21:46'::timestamp) - extract(epoch from '2026-07-17 07:21:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390312 -2.788988)'), GeomFromEWKT('SRID=4674;POINT (-40.390398 -2.788832)'))) / (select extract(epoch from '2026-07-17 07:21:46'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.390503 -2.788745)', '2026-07-17 07:21:52', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390398 -2.788832)'), GeomFromEWKT('SRID=4674;POINT (-40.390503 -2.788745)'))) / (select extract(epoch from '2026-07-17 07:21:52'::timestamp) - extract(epoch from '2026-07-17 07:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390398 -2.788832)'), GeomFromEWKT('SRID=4674;POINT (-40.390503 -2.788745)'))) / (select extract(epoch from '2026-07-17 07:21:52'::timestamp) - extract(epoch from '2026-07-17 07:21:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.39063 -2.788656)', '2026-07-17 07:21:59', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390503 -2.788745)'), GeomFromEWKT('SRID=4674;POINT (-40.39063 -2.788656)'))) / (select extract(epoch from '2026-07-17 07:21:59'::timestamp) - extract(epoch from '2026-07-17 07:21:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390503 -2.788745)'), GeomFromEWKT('SRID=4674;POINT (-40.39063 -2.788656)'))) / (select extract(epoch from '2026-07-17 07:21:59'::timestamp) - extract(epoch from '2026-07-17 07:21:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.390749 -2.788544)', '2026-07-17 07:22:06', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39063 -2.788656)'), GeomFromEWKT('SRID=4674;POINT (-40.390749 -2.788544)'))) / (select extract(epoch from '2026-07-17 07:22:06'::timestamp) - extract(epoch from '2026-07-17 07:21:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39063 -2.788656)'), GeomFromEWKT('SRID=4674;POINT (-40.390749 -2.788544)'))) / (select extract(epoch from '2026-07-17 07:22:06'::timestamp) - extract(epoch from '2026-07-17 07:21:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.390845 -2.788406)', '2026-07-17 07:22:14', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390749 -2.788544)'), GeomFromEWKT('SRID=4674;POINT (-40.390845 -2.788406)'))) / (select extract(epoch from '2026-07-17 07:22:14'::timestamp) - extract(epoch from '2026-07-17 07:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390749 -2.788544)'), GeomFromEWKT('SRID=4674;POINT (-40.390845 -2.788406)'))) / (select extract(epoch from '2026-07-17 07:22:14'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.390915 -2.78829)', '2026-07-17 07:22:20', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390845 -2.788406)'), GeomFromEWKT('SRID=4674;POINT (-40.390915 -2.78829)'))) / (select extract(epoch from '2026-07-17 07:22:20'::timestamp) - extract(epoch from '2026-07-17 07:22:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390845 -2.788406)'), GeomFromEWKT('SRID=4674;POINT (-40.390915 -2.78829)'))) / (select extract(epoch from '2026-07-17 07:22:20'::timestamp) - extract(epoch from '2026-07-17 07:22:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.390984 -2.788147)', '2026-07-17 07:22:27', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390915 -2.78829)'), GeomFromEWKT('SRID=4674;POINT (-40.390984 -2.788147)'))) / (select extract(epoch from '2026-07-17 07:22:27'::timestamp) - extract(epoch from '2026-07-17 07:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390915 -2.78829)'), GeomFromEWKT('SRID=4674;POINT (-40.390984 -2.788147)'))) / (select extract(epoch from '2026-07-17 07:22:27'::timestamp) - extract(epoch from '2026-07-17 07:22:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.391067 -2.788009)', '2026-07-17 07:22:34', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390984 -2.788147)'), GeomFromEWKT('SRID=4674;POINT (-40.391067 -2.788009)'))) / (select extract(epoch from '2026-07-17 07:22:34'::timestamp) - extract(epoch from '2026-07-17 07:22:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390984 -2.788147)'), GeomFromEWKT('SRID=4674;POINT (-40.391067 -2.788009)'))) / (select extract(epoch from '2026-07-17 07:22:34'::timestamp) - extract(epoch from '2026-07-17 07:22:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.391188 -2.787896)', '2026-07-17 07:22:41', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391067 -2.788009)'), GeomFromEWKT('SRID=4674;POINT (-40.391188 -2.787896)'))) / (select extract(epoch from '2026-07-17 07:22:41'::timestamp) - extract(epoch from '2026-07-17 07:22:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391067 -2.788009)'), GeomFromEWKT('SRID=4674;POINT (-40.391188 -2.787896)'))) / (select extract(epoch from '2026-07-17 07:22:41'::timestamp) - extract(epoch from '2026-07-17 07:22:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.391324 -2.78778)', '2026-07-17 07:22:49', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391188 -2.787896)'), GeomFromEWKT('SRID=4674;POINT (-40.391324 -2.78778)'))) / (select extract(epoch from '2026-07-17 07:22:49'::timestamp) - extract(epoch from '2026-07-17 07:22:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391188 -2.787896)'), GeomFromEWKT('SRID=4674;POINT (-40.391324 -2.78778)'))) / (select extract(epoch from '2026-07-17 07:22:49'::timestamp) - extract(epoch from '2026-07-17 07:22:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.391458 -2.787663)', '2026-07-17 07:22:57', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391324 -2.78778)'), GeomFromEWKT('SRID=4674;POINT (-40.391458 -2.787663)'))) / (select extract(epoch from '2026-07-17 07:22:57'::timestamp) - extract(epoch from '2026-07-17 07:22:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391324 -2.78778)'), GeomFromEWKT('SRID=4674;POINT (-40.391458 -2.787663)'))) / (select extract(epoch from '2026-07-17 07:22:57'::timestamp) - extract(epoch from '2026-07-17 07:22:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.391528 -2.787556)', '2026-07-17 07:23:03', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391458 -2.787663)'), GeomFromEWKT('SRID=4674;POINT (-40.391528 -2.787556)'))) / (select extract(epoch from '2026-07-17 07:23:03'::timestamp) - extract(epoch from '2026-07-17 07:22:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391458 -2.787663)'), GeomFromEWKT('SRID=4674;POINT (-40.391528 -2.787556)'))) / (select extract(epoch from '2026-07-17 07:23:03'::timestamp) - extract(epoch from '2026-07-17 07:22:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.391667 -2.787431)', '2026-07-17 07:23:11', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391528 -2.787556)'), GeomFromEWKT('SRID=4674;POINT (-40.391667 -2.787431)'))) / (select extract(epoch from '2026-07-17 07:23:11'::timestamp) - extract(epoch from '2026-07-17 07:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391528 -2.787556)'), GeomFromEWKT('SRID=4674;POINT (-40.391667 -2.787431)'))) / (select extract(epoch from '2026-07-17 07:23:11'::timestamp) - extract(epoch from '2026-07-17 07:23:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.391797 -2.787309)', '2026-07-17 07:23:18', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391667 -2.787431)'), GeomFromEWKT('SRID=4674;POINT (-40.391797 -2.787309)'))) / (select extract(epoch from '2026-07-17 07:23:18'::timestamp) - extract(epoch from '2026-07-17 07:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391667 -2.787431)'), GeomFromEWKT('SRID=4674;POINT (-40.391797 -2.787309)'))) / (select extract(epoch from '2026-07-17 07:23:18'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.391914 -2.787208)', '2026-07-17 07:23:25', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391797 -2.787309)'), GeomFromEWKT('SRID=4674;POINT (-40.391914 -2.787208)'))) / (select extract(epoch from '2026-07-17 07:23:25'::timestamp) - extract(epoch from '2026-07-17 07:23:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391797 -2.787309)'), GeomFromEWKT('SRID=4674;POINT (-40.391914 -2.787208)'))) / (select extract(epoch from '2026-07-17 07:23:25'::timestamp) - extract(epoch from '2026-07-17 07:23:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.392028 -2.78709)', '2026-07-17 07:23:33', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391914 -2.787208)'), GeomFromEWKT('SRID=4674;POINT (-40.392028 -2.78709)'))) / (select extract(epoch from '2026-07-17 07:23:33'::timestamp) - extract(epoch from '2026-07-17 07:23:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391914 -2.787208)'), GeomFromEWKT('SRID=4674;POINT (-40.392028 -2.78709)'))) / (select extract(epoch from '2026-07-17 07:23:33'::timestamp) - extract(epoch from '2026-07-17 07:23:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.392122 -2.786993)', '2026-07-17 07:23:40', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392028 -2.78709)'), GeomFromEWKT('SRID=4674;POINT (-40.392122 -2.786993)'))) / (select extract(epoch from '2026-07-17 07:23:40'::timestamp) - extract(epoch from '2026-07-17 07:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392028 -2.78709)'), GeomFromEWKT('SRID=4674;POINT (-40.392122 -2.786993)'))) / (select extract(epoch from '2026-07-17 07:23:40'::timestamp) - extract(epoch from '2026-07-17 07:23:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.392234 -2.786883)', '2026-07-17 07:23:47', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392122 -2.786993)'), GeomFromEWKT('SRID=4674;POINT (-40.392234 -2.786883)'))) / (select extract(epoch from '2026-07-17 07:23:47'::timestamp) - extract(epoch from '2026-07-17 07:23:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392122 -2.786993)'), GeomFromEWKT('SRID=4674;POINT (-40.392234 -2.786883)'))) / (select extract(epoch from '2026-07-17 07:23:47'::timestamp) - extract(epoch from '2026-07-17 07:23:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.392365 -2.786789)', '2026-07-17 07:23:54', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392234 -2.786883)'), GeomFromEWKT('SRID=4674;POINT (-40.392365 -2.786789)'))) / (select extract(epoch from '2026-07-17 07:23:54'::timestamp) - extract(epoch from '2026-07-17 07:23:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392234 -2.786883)'), GeomFromEWKT('SRID=4674;POINT (-40.392365 -2.786789)'))) / (select extract(epoch from '2026-07-17 07:23:54'::timestamp) - extract(epoch from '2026-07-17 07:23:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.392479 -2.786645)', '2026-07-17 07:24:02', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392365 -2.786789)'), GeomFromEWKT('SRID=4674;POINT (-40.392479 -2.786645)'))) / (select extract(epoch from '2026-07-17 07:24:02'::timestamp) - extract(epoch from '2026-07-17 07:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392365 -2.786789)'), GeomFromEWKT('SRID=4674;POINT (-40.392479 -2.786645)'))) / (select extract(epoch from '2026-07-17 07:24:02'::timestamp) - extract(epoch from '2026-07-17 07:23:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.392591 -2.786472)', '2026-07-17 07:24:11', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392479 -2.786645)'), GeomFromEWKT('SRID=4674;POINT (-40.392591 -2.786472)'))) / (select extract(epoch from '2026-07-17 07:24:11'::timestamp) - extract(epoch from '2026-07-17 07:24:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392479 -2.786645)'), GeomFromEWKT('SRID=4674;POINT (-40.392591 -2.786472)'))) / (select extract(epoch from '2026-07-17 07:24:11'::timestamp) - extract(epoch from '2026-07-17 07:24:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.392709 -2.786311)', '2026-07-17 07:24:20', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392591 -2.786472)'), GeomFromEWKT('SRID=4674;POINT (-40.392709 -2.786311)'))) / (select extract(epoch from '2026-07-17 07:24:20'::timestamp) - extract(epoch from '2026-07-17 07:24:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392591 -2.786472)'), GeomFromEWKT('SRID=4674;POINT (-40.392709 -2.786311)'))) / (select extract(epoch from '2026-07-17 07:24:20'::timestamp) - extract(epoch from '2026-07-17 07:24:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.392803 -2.786168)', '2026-07-17 07:24:28', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392709 -2.786311)'), GeomFromEWKT('SRID=4674;POINT (-40.392803 -2.786168)'))) / (select extract(epoch from '2026-07-17 07:24:28'::timestamp) - extract(epoch from '2026-07-17 07:24:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392709 -2.786311)'), GeomFromEWKT('SRID=4674;POINT (-40.392803 -2.786168)'))) / (select extract(epoch from '2026-07-17 07:24:28'::timestamp) - extract(epoch from '2026-07-17 07:24:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.392887 -2.786066)', '2026-07-17 07:24:34', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392803 -2.786168)'), GeomFromEWKT('SRID=4674;POINT (-40.392887 -2.786066)'))) / (select extract(epoch from '2026-07-17 07:24:34'::timestamp) - extract(epoch from '2026-07-17 07:24:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392803 -2.786168)'), GeomFromEWKT('SRID=4674;POINT (-40.392887 -2.786066)'))) / (select extract(epoch from '2026-07-17 07:24:34'::timestamp) - extract(epoch from '2026-07-17 07:24:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.392973 -2.785927)', '2026-07-17 07:24:42', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392887 -2.786066)'), GeomFromEWKT('SRID=4674;POINT (-40.392973 -2.785927)'))) / (select extract(epoch from '2026-07-17 07:24:42'::timestamp) - extract(epoch from '2026-07-17 07:24:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392887 -2.786066)'), GeomFromEWKT('SRID=4674;POINT (-40.392973 -2.785927)'))) / (select extract(epoch from '2026-07-17 07:24:42'::timestamp) - extract(epoch from '2026-07-17 07:24:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.393071 -2.785766)', '2026-07-17 07:24:50', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392973 -2.785927)'), GeomFromEWKT('SRID=4674;POINT (-40.393071 -2.785766)'))) / (select extract(epoch from '2026-07-17 07:24:50'::timestamp) - extract(epoch from '2026-07-17 07:24:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392973 -2.785927)'), GeomFromEWKT('SRID=4674;POINT (-40.393071 -2.785766)'))) / (select extract(epoch from '2026-07-17 07:24:50'::timestamp) - extract(epoch from '2026-07-17 07:24:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.393181 -2.785596)', '2026-07-17 07:24:58', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393071 -2.785766)'), GeomFromEWKT('SRID=4674;POINT (-40.393181 -2.785596)'))) / (select extract(epoch from '2026-07-17 07:24:58'::timestamp) - extract(epoch from '2026-07-17 07:24:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393071 -2.785766)'), GeomFromEWKT('SRID=4674;POINT (-40.393181 -2.785596)'))) / (select extract(epoch from '2026-07-17 07:24:58'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.393281 -2.785466)', '2026-07-17 07:25:05', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393181 -2.785596)'), GeomFromEWKT('SRID=4674;POINT (-40.393281 -2.785466)'))) / (select extract(epoch from '2026-07-17 07:25:05'::timestamp) - extract(epoch from '2026-07-17 07:24:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393181 -2.785596)'), GeomFromEWKT('SRID=4674;POINT (-40.393281 -2.785466)'))) / (select extract(epoch from '2026-07-17 07:25:05'::timestamp) - extract(epoch from '2026-07-17 07:24:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.393382 -2.785351)', '2026-07-17 07:25:12', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393281 -2.785466)'), GeomFromEWKT('SRID=4674;POINT (-40.393382 -2.785351)'))) / (select extract(epoch from '2026-07-17 07:25:12'::timestamp) - extract(epoch from '2026-07-17 07:25:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393281 -2.785466)'), GeomFromEWKT('SRID=4674;POINT (-40.393382 -2.785351)'))) / (select extract(epoch from '2026-07-17 07:25:12'::timestamp) - extract(epoch from '2026-07-17 07:25:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.393506 -2.785226)', '2026-07-17 07:25:20', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393382 -2.785351)'), GeomFromEWKT('SRID=4674;POINT (-40.393506 -2.785226)'))) / (select extract(epoch from '2026-07-17 07:25:20'::timestamp) - extract(epoch from '2026-07-17 07:25:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393382 -2.785351)'), GeomFromEWKT('SRID=4674;POINT (-40.393506 -2.785226)'))) / (select extract(epoch from '2026-07-17 07:25:20'::timestamp) - extract(epoch from '2026-07-17 07:25:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.393608 -2.785063)', '2026-07-17 07:25:28', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393506 -2.785226)'), GeomFromEWKT('SRID=4674;POINT (-40.393608 -2.785063)'))) / (select extract(epoch from '2026-07-17 07:25:28'::timestamp) - extract(epoch from '2026-07-17 07:25:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393506 -2.785226)'), GeomFromEWKT('SRID=4674;POINT (-40.393608 -2.785063)'))) / (select extract(epoch from '2026-07-17 07:25:28'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.393689 -2.784919)', '2026-07-17 07:25:35', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393608 -2.785063)'), GeomFromEWKT('SRID=4674;POINT (-40.393689 -2.784919)'))) / (select extract(epoch from '2026-07-17 07:25:35'::timestamp) - extract(epoch from '2026-07-17 07:25:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393608 -2.785063)'), GeomFromEWKT('SRID=4674;POINT (-40.393689 -2.784919)'))) / (select extract(epoch from '2026-07-17 07:25:35'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.393783 -2.78477)', '2026-07-17 07:25:43', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393689 -2.784919)'), GeomFromEWKT('SRID=4674;POINT (-40.393783 -2.78477)'))) / (select extract(epoch from '2026-07-17 07:25:43'::timestamp) - extract(epoch from '2026-07-17 07:25:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393689 -2.784919)'), GeomFromEWKT('SRID=4674;POINT (-40.393783 -2.78477)'))) / (select extract(epoch from '2026-07-17 07:25:43'::timestamp) - extract(epoch from '2026-07-17 07:25:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.393857 -2.784693)', '2026-07-17 07:25:49', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393783 -2.78477)'), GeomFromEWKT('SRID=4674;POINT (-40.393857 -2.784693)'))) / (select extract(epoch from '2026-07-17 07:25:49'::timestamp) - extract(epoch from '2026-07-17 07:25:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393783 -2.78477)'), GeomFromEWKT('SRID=4674;POINT (-40.393857 -2.784693)'))) / (select extract(epoch from '2026-07-17 07:25:49'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.393976 -2.784558)', '2026-07-17 07:25:57', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393857 -2.784693)'), GeomFromEWKT('SRID=4674;POINT (-40.393976 -2.784558)'))) / (select extract(epoch from '2026-07-17 07:25:57'::timestamp) - extract(epoch from '2026-07-17 07:25:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393857 -2.784693)'), GeomFromEWKT('SRID=4674;POINT (-40.393976 -2.784558)'))) / (select extract(epoch from '2026-07-17 07:25:57'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.394105 -2.784442)', '2026-07-17 07:26:04', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393976 -2.784558)'), GeomFromEWKT('SRID=4674;POINT (-40.394105 -2.784442)'))) / (select extract(epoch from '2026-07-17 07:26:04'::timestamp) - extract(epoch from '2026-07-17 07:25:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393976 -2.784558)'), GeomFromEWKT('SRID=4674;POINT (-40.394105 -2.784442)'))) / (select extract(epoch from '2026-07-17 07:26:04'::timestamp) - extract(epoch from '2026-07-17 07:25:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.394228 -2.784283)', '2026-07-17 07:26:13', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394105 -2.784442)'), GeomFromEWKT('SRID=4674;POINT (-40.394228 -2.784283)'))) / (select extract(epoch from '2026-07-17 07:26:13'::timestamp) - extract(epoch from '2026-07-17 07:26:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394105 -2.784442)'), GeomFromEWKT('SRID=4674;POINT (-40.394228 -2.784283)'))) / (select extract(epoch from '2026-07-17 07:26:13'::timestamp) - extract(epoch from '2026-07-17 07:26:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.39432 -2.784126)', '2026-07-17 07:26:21', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394228 -2.784283)'), GeomFromEWKT('SRID=4674;POINT (-40.39432 -2.784126)'))) / (select extract(epoch from '2026-07-17 07:26:21'::timestamp) - extract(epoch from '2026-07-17 07:26:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394228 -2.784283)'), GeomFromEWKT('SRID=4674;POINT (-40.39432 -2.784126)'))) / (select extract(epoch from '2026-07-17 07:26:21'::timestamp) - extract(epoch from '2026-07-17 07:26:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.394444 -2.783975)', '2026-07-17 07:26:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39432 -2.784126)'), GeomFromEWKT('SRID=4674;POINT (-40.394444 -2.783975)'))) / (select extract(epoch from '2026-07-17 07:26:30'::timestamp) - extract(epoch from '2026-07-17 07:26:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39432 -2.784126)'), GeomFromEWKT('SRID=4674;POINT (-40.394444 -2.783975)'))) / (select extract(epoch from '2026-07-17 07:26:30'::timestamp) - extract(epoch from '2026-07-17 07:26:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.39452 -2.783853)', '2026-07-17 07:26:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394444 -2.783975)'), GeomFromEWKT('SRID=4674;POINT (-40.39452 -2.783853)'))) / (select extract(epoch from '2026-07-17 07:26:37'::timestamp) - extract(epoch from '2026-07-17 07:26:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394444 -2.783975)'), GeomFromEWKT('SRID=4674;POINT (-40.39452 -2.783853)'))) / (select extract(epoch from '2026-07-17 07:26:37'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.394601 -2.783743)', '2026-07-17 07:26:43', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39452 -2.783853)'), GeomFromEWKT('SRID=4674;POINT (-40.394601 -2.783743)'))) / (select extract(epoch from '2026-07-17 07:26:43'::timestamp) - extract(epoch from '2026-07-17 07:26:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39452 -2.783853)'), GeomFromEWKT('SRID=4674;POINT (-40.394601 -2.783743)'))) / (select extract(epoch from '2026-07-17 07:26:43'::timestamp) - extract(epoch from '2026-07-17 07:26:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.39469 -2.783617)', '2026-07-17 07:26:50', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394601 -2.783743)'), GeomFromEWKT('SRID=4674;POINT (-40.39469 -2.783617)'))) / (select extract(epoch from '2026-07-17 07:26:50'::timestamp) - extract(epoch from '2026-07-17 07:26:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394601 -2.783743)'), GeomFromEWKT('SRID=4674;POINT (-40.39469 -2.783617)'))) / (select extract(epoch from '2026-07-17 07:26:50'::timestamp) - extract(epoch from '2026-07-17 07:26:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.394787 -2.78348)', '2026-07-17 07:26:58', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39469 -2.783617)'), GeomFromEWKT('SRID=4674;POINT (-40.394787 -2.78348)'))) / (select extract(epoch from '2026-07-17 07:26:58'::timestamp) - extract(epoch from '2026-07-17 07:26:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39469 -2.783617)'), GeomFromEWKT('SRID=4674;POINT (-40.394787 -2.78348)'))) / (select extract(epoch from '2026-07-17 07:26:58'::timestamp) - extract(epoch from '2026-07-17 07:26:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.39488 -2.783343)', '2026-07-17 07:27:06', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394787 -2.78348)'), GeomFromEWKT('SRID=4674;POINT (-40.39488 -2.783343)'))) / (select extract(epoch from '2026-07-17 07:27:06'::timestamp) - extract(epoch from '2026-07-17 07:26:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394787 -2.78348)'), GeomFromEWKT('SRID=4674;POINT (-40.39488 -2.783343)'))) / (select extract(epoch from '2026-07-17 07:27:06'::timestamp) - extract(epoch from '2026-07-17 07:26:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.394972 -2.783245)', '2026-07-17 07:27:12', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39488 -2.783343)'), GeomFromEWKT('SRID=4674;POINT (-40.394972 -2.783245)'))) / (select extract(epoch from '2026-07-17 07:27:12'::timestamp) - extract(epoch from '2026-07-17 07:27:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39488 -2.783343)'), GeomFromEWKT('SRID=4674;POINT (-40.394972 -2.783245)'))) / (select extract(epoch from '2026-07-17 07:27:12'::timestamp) - extract(epoch from '2026-07-17 07:27:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.395113 -2.783119)', '2026-07-17 07:27:20', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394972 -2.783245)'), GeomFromEWKT('SRID=4674;POINT (-40.395113 -2.783119)'))) / (select extract(epoch from '2026-07-17 07:27:20'::timestamp) - extract(epoch from '2026-07-17 07:27:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394972 -2.783245)'), GeomFromEWKT('SRID=4674;POINT (-40.395113 -2.783119)'))) / (select extract(epoch from '2026-07-17 07:27:20'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.39525 -2.782986)', '2026-07-17 07:27:28', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395113 -2.783119)'), GeomFromEWKT('SRID=4674;POINT (-40.39525 -2.782986)'))) / (select extract(epoch from '2026-07-17 07:27:28'::timestamp) - extract(epoch from '2026-07-17 07:27:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395113 -2.783119)'), GeomFromEWKT('SRID=4674;POINT (-40.39525 -2.782986)'))) / (select extract(epoch from '2026-07-17 07:27:28'::timestamp) - extract(epoch from '2026-07-17 07:27:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.395395 -2.78284)', '2026-07-17 07:27:37', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39525 -2.782986)'), GeomFromEWKT('SRID=4674;POINT (-40.395395 -2.78284)'))) / (select extract(epoch from '2026-07-17 07:27:37'::timestamp) - extract(epoch from '2026-07-17 07:27:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39525 -2.782986)'), GeomFromEWKT('SRID=4674;POINT (-40.395395 -2.78284)'))) / (select extract(epoch from '2026-07-17 07:27:37'::timestamp) - extract(epoch from '2026-07-17 07:27:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.395493 -2.782721)', '2026-07-17 07:27:44', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395395 -2.78284)'), GeomFromEWKT('SRID=4674;POINT (-40.395493 -2.782721)'))) / (select extract(epoch from '2026-07-17 07:27:44'::timestamp) - extract(epoch from '2026-07-17 07:27:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395395 -2.78284)'), GeomFromEWKT('SRID=4674;POINT (-40.395493 -2.782721)'))) / (select extract(epoch from '2026-07-17 07:27:44'::timestamp) - extract(epoch from '2026-07-17 07:27:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.395618 -2.782594)', '2026-07-17 07:27:52', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395493 -2.782721)'), GeomFromEWKT('SRID=4674;POINT (-40.395618 -2.782594)'))) / (select extract(epoch from '2026-07-17 07:27:52'::timestamp) - extract(epoch from '2026-07-17 07:27:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395493 -2.782721)'), GeomFromEWKT('SRID=4674;POINT (-40.395618 -2.782594)'))) / (select extract(epoch from '2026-07-17 07:27:52'::timestamp) - extract(epoch from '2026-07-17 07:27:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.395782 -2.782442)', '2026-07-17 07:28:01', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395618 -2.782594)'), GeomFromEWKT('SRID=4674;POINT (-40.395782 -2.782442)'))) / (select extract(epoch from '2026-07-17 07:28:01'::timestamp) - extract(epoch from '2026-07-17 07:27:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395618 -2.782594)'), GeomFromEWKT('SRID=4674;POINT (-40.395782 -2.782442)'))) / (select extract(epoch from '2026-07-17 07:28:01'::timestamp) - extract(epoch from '2026-07-17 07:27:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.395902 -2.782308)', '2026-07-17 07:28:09', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395782 -2.782442)'), GeomFromEWKT('SRID=4674;POINT (-40.395902 -2.782308)'))) / (select extract(epoch from '2026-07-17 07:28:09'::timestamp) - extract(epoch from '2026-07-17 07:28:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395782 -2.782442)'), GeomFromEWKT('SRID=4674;POINT (-40.395902 -2.782308)'))) / (select extract(epoch from '2026-07-17 07:28:09'::timestamp) - extract(epoch from '2026-07-17 07:28:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.396027 -2.782235)', '2026-07-17 07:28:15', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395902 -2.782308)'), GeomFromEWKT('SRID=4674;POINT (-40.396027 -2.782235)'))) / (select extract(epoch from '2026-07-17 07:28:15'::timestamp) - extract(epoch from '2026-07-17 07:28:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395902 -2.782308)'), GeomFromEWKT('SRID=4674;POINT (-40.396027 -2.782235)'))) / (select extract(epoch from '2026-07-17 07:28:15'::timestamp) - extract(epoch from '2026-07-17 07:28:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.396178 -2.782161)', '2026-07-17 07:28:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396027 -2.782235)'), GeomFromEWKT('SRID=4674;POINT (-40.396178 -2.782161)'))) / (select extract(epoch from '2026-07-17 07:28:23'::timestamp) - extract(epoch from '2026-07-17 07:28:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396027 -2.782235)'), GeomFromEWKT('SRID=4674;POINT (-40.396178 -2.782161)'))) / (select extract(epoch from '2026-07-17 07:28:23'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.396346 -2.78206)', '2026-07-17 07:28:32', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396178 -2.782161)'), GeomFromEWKT('SRID=4674;POINT (-40.396346 -2.78206)'))) / (select extract(epoch from '2026-07-17 07:28:32'::timestamp) - extract(epoch from '2026-07-17 07:28:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396178 -2.782161)'), GeomFromEWKT('SRID=4674;POINT (-40.396346 -2.78206)'))) / (select extract(epoch from '2026-07-17 07:28:32'::timestamp) - extract(epoch from '2026-07-17 07:28:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.396566 -2.781969)', '2026-07-17 07:28:42', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396346 -2.78206)'), GeomFromEWKT('SRID=4674;POINT (-40.396566 -2.781969)'))) / (select extract(epoch from '2026-07-17 07:28:42'::timestamp) - extract(epoch from '2026-07-17 07:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396346 -2.78206)'), GeomFromEWKT('SRID=4674;POINT (-40.396566 -2.781969)'))) / (select extract(epoch from '2026-07-17 07:28:42'::timestamp) - extract(epoch from '2026-07-17 07:28:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.396777 -2.781888)', '2026-07-17 07:28:51', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396566 -2.781969)'), GeomFromEWKT('SRID=4674;POINT (-40.396777 -2.781888)'))) / (select extract(epoch from '2026-07-17 07:28:51'::timestamp) - extract(epoch from '2026-07-17 07:28:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396566 -2.781969)'), GeomFromEWKT('SRID=4674;POINT (-40.396777 -2.781888)'))) / (select extract(epoch from '2026-07-17 07:28:51'::timestamp) - extract(epoch from '2026-07-17 07:28:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.396885 -2.781809)', '2026-07-17 07:28:57', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396777 -2.781888)'), GeomFromEWKT('SRID=4674;POINT (-40.396885 -2.781809)'))) / (select extract(epoch from '2026-07-17 07:28:57'::timestamp) - extract(epoch from '2026-07-17 07:28:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396777 -2.781888)'), GeomFromEWKT('SRID=4674;POINT (-40.396885 -2.781809)'))) / (select extract(epoch from '2026-07-17 07:28:57'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.396995 -2.781775)', '2026-07-17 07:29:02', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396885 -2.781809)'), GeomFromEWKT('SRID=4674;POINT (-40.396995 -2.781775)'))) / (select extract(epoch from '2026-07-17 07:29:02'::timestamp) - extract(epoch from '2026-07-17 07:28:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396885 -2.781809)'), GeomFromEWKT('SRID=4674;POINT (-40.396995 -2.781775)'))) / (select extract(epoch from '2026-07-17 07:29:02'::timestamp) - extract(epoch from '2026-07-17 07:28:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.397141 -2.781705)', '2026-07-17 07:29:10', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396995 -2.781775)'), GeomFromEWKT('SRID=4674;POINT (-40.397141 -2.781705)'))) / (select extract(epoch from '2026-07-17 07:29:10'::timestamp) - extract(epoch from '2026-07-17 07:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396995 -2.781775)'), GeomFromEWKT('SRID=4674;POINT (-40.397141 -2.781705)'))) / (select extract(epoch from '2026-07-17 07:29:10'::timestamp) - extract(epoch from '2026-07-17 07:29:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.397216 -2.781611)', '2026-07-17 07:29:16', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397141 -2.781705)'), GeomFromEWKT('SRID=4674;POINT (-40.397216 -2.781611)'))) / (select extract(epoch from '2026-07-17 07:29:16'::timestamp) - extract(epoch from '2026-07-17 07:29:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397141 -2.781705)'), GeomFromEWKT('SRID=4674;POINT (-40.397216 -2.781611)'))) / (select extract(epoch from '2026-07-17 07:29:16'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.397242 -2.781475)', '2026-07-17 07:29:22', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397216 -2.781611)'), GeomFromEWKT('SRID=4674;POINT (-40.397242 -2.781475)'))) / (select extract(epoch from '2026-07-17 07:29:22'::timestamp) - extract(epoch from '2026-07-17 07:29:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397216 -2.781611)'), GeomFromEWKT('SRID=4674;POINT (-40.397242 -2.781475)'))) / (select extract(epoch from '2026-07-17 07:29:22'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.397297 -2.781318)', '2026-07-17 07:29:29', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397242 -2.781475)'), GeomFromEWKT('SRID=4674;POINT (-40.397297 -2.781318)'))) / (select extract(epoch from '2026-07-17 07:29:29'::timestamp) - extract(epoch from '2026-07-17 07:29:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397242 -2.781475)'), GeomFromEWKT('SRID=4674;POINT (-40.397297 -2.781318)'))) / (select extract(epoch from '2026-07-17 07:29:29'::timestamp) - extract(epoch from '2026-07-17 07:29:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.397348 -2.781193)', '2026-07-17 07:29:35', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397297 -2.781318)'), GeomFromEWKT('SRID=4674;POINT (-40.397348 -2.781193)'))) / (select extract(epoch from '2026-07-17 07:29:35'::timestamp) - extract(epoch from '2026-07-17 07:29:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397297 -2.781318)'), GeomFromEWKT('SRID=4674;POINT (-40.397348 -2.781193)'))) / (select extract(epoch from '2026-07-17 07:29:35'::timestamp) - extract(epoch from '2026-07-17 07:29:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.397449 -2.781042)', '2026-07-17 07:29:44', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397348 -2.781193)'), GeomFromEWKT('SRID=4674;POINT (-40.397449 -2.781042)'))) / (select extract(epoch from '2026-07-17 07:29:44'::timestamp) - extract(epoch from '2026-07-17 07:29:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397348 -2.781193)'), GeomFromEWKT('SRID=4674;POINT (-40.397449 -2.781042)'))) / (select extract(epoch from '2026-07-17 07:29:44'::timestamp) - extract(epoch from '2026-07-17 07:29:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.397518 -2.780945)', '2026-07-17 07:29:50', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397449 -2.781042)'), GeomFromEWKT('SRID=4674;POINT (-40.397518 -2.780945)'))) / (select extract(epoch from '2026-07-17 07:29:50'::timestamp) - extract(epoch from '2026-07-17 07:29:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397449 -2.781042)'), GeomFromEWKT('SRID=4674;POINT (-40.397518 -2.780945)'))) / (select extract(epoch from '2026-07-17 07:29:50'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.397624 -2.78082)', '2026-07-17 07:29:57', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397518 -2.780945)'), GeomFromEWKT('SRID=4674;POINT (-40.397624 -2.78082)'))) / (select extract(epoch from '2026-07-17 07:29:57'::timestamp) - extract(epoch from '2026-07-17 07:29:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397518 -2.780945)'), GeomFromEWKT('SRID=4674;POINT (-40.397624 -2.78082)'))) / (select extract(epoch from '2026-07-17 07:29:57'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.397716 -2.780669)', '2026-07-17 07:30:05', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397624 -2.78082)'), GeomFromEWKT('SRID=4674;POINT (-40.397716 -2.780669)'))) / (select extract(epoch from '2026-07-17 07:30:05'::timestamp) - extract(epoch from '2026-07-17 07:29:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397624 -2.78082)'), GeomFromEWKT('SRID=4674;POINT (-40.397716 -2.780669)'))) / (select extract(epoch from '2026-07-17 07:30:05'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.397827 -2.780498)', '2026-07-17 07:30:14', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397716 -2.780669)'), GeomFromEWKT('SRID=4674;POINT (-40.397827 -2.780498)'))) / (select extract(epoch from '2026-07-17 07:30:14'::timestamp) - extract(epoch from '2026-07-17 07:30:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397716 -2.780669)'), GeomFromEWKT('SRID=4674;POINT (-40.397827 -2.780498)'))) / (select extract(epoch from '2026-07-17 07:30:14'::timestamp) - extract(epoch from '2026-07-17 07:30:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.3979 -2.780323)', '2026-07-17 07:30:22', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397827 -2.780498)'), GeomFromEWKT('SRID=4674;POINT (-40.3979 -2.780323)'))) / (select extract(epoch from '2026-07-17 07:30:22'::timestamp) - extract(epoch from '2026-07-17 07:30:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397827 -2.780498)'), GeomFromEWKT('SRID=4674;POINT (-40.3979 -2.780323)'))) / (select extract(epoch from '2026-07-17 07:30:22'::timestamp) - extract(epoch from '2026-07-17 07:30:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.397948 -2.780232)', '2026-07-17 07:30:27', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3979 -2.780323)'), GeomFromEWKT('SRID=4674;POINT (-40.397948 -2.780232)'))) / (select extract(epoch from '2026-07-17 07:30:27'::timestamp) - extract(epoch from '2026-07-17 07:30:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3979 -2.780323)'), GeomFromEWKT('SRID=4674;POINT (-40.397948 -2.780232)'))) / (select extract(epoch from '2026-07-17 07:30:27'::timestamp) - extract(epoch from '2026-07-17 07:30:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.39803 -2.780096)', '2026-07-17 07:30:34', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397948 -2.780232)'), GeomFromEWKT('SRID=4674;POINT (-40.39803 -2.780096)'))) / (select extract(epoch from '2026-07-17 07:30:34'::timestamp) - extract(epoch from '2026-07-17 07:30:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397948 -2.780232)'), GeomFromEWKT('SRID=4674;POINT (-40.39803 -2.780096)'))) / (select extract(epoch from '2026-07-17 07:30:34'::timestamp) - extract(epoch from '2026-07-17 07:30:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.398113 -2.779979)', '2026-07-17 07:30:41', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39803 -2.780096)'), GeomFromEWKT('SRID=4674;POINT (-40.398113 -2.779979)'))) / (select extract(epoch from '2026-07-17 07:30:41'::timestamp) - extract(epoch from '2026-07-17 07:30:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39803 -2.780096)'), GeomFromEWKT('SRID=4674;POINT (-40.398113 -2.779979)'))) / (select extract(epoch from '2026-07-17 07:30:41'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.398203 -2.779846)', '2026-07-17 07:30:48', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398113 -2.779979)'), GeomFromEWKT('SRID=4674;POINT (-40.398203 -2.779846)'))) / (select extract(epoch from '2026-07-17 07:30:48'::timestamp) - extract(epoch from '2026-07-17 07:30:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398113 -2.779979)'), GeomFromEWKT('SRID=4674;POINT (-40.398203 -2.779846)'))) / (select extract(epoch from '2026-07-17 07:30:48'::timestamp) - extract(epoch from '2026-07-17 07:30:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.398313 -2.779721)', '2026-07-17 07:30:56', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398203 -2.779846)'), GeomFromEWKT('SRID=4674;POINT (-40.398313 -2.779721)'))) / (select extract(epoch from '2026-07-17 07:30:56'::timestamp) - extract(epoch from '2026-07-17 07:30:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398203 -2.779846)'), GeomFromEWKT('SRID=4674;POINT (-40.398313 -2.779721)'))) / (select extract(epoch from '2026-07-17 07:30:56'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.398395 -2.779624)', '2026-07-17 07:31:02', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398313 -2.779721)'), GeomFromEWKT('SRID=4674;POINT (-40.398395 -2.779624)'))) / (select extract(epoch from '2026-07-17 07:31:02'::timestamp) - extract(epoch from '2026-07-17 07:30:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398313 -2.779721)'), GeomFromEWKT('SRID=4674;POINT (-40.398395 -2.779624)'))) / (select extract(epoch from '2026-07-17 07:31:02'::timestamp) - extract(epoch from '2026-07-17 07:30:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.398486 -2.779513)', '2026-07-17 07:31:09', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398395 -2.779624)'), GeomFromEWKT('SRID=4674;POINT (-40.398486 -2.779513)'))) / (select extract(epoch from '2026-07-17 07:31:09'::timestamp) - extract(epoch from '2026-07-17 07:31:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398395 -2.779624)'), GeomFromEWKT('SRID=4674;POINT (-40.398486 -2.779513)'))) / (select extract(epoch from '2026-07-17 07:31:09'::timestamp) - extract(epoch from '2026-07-17 07:31:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.398593 -2.77938)', '2026-07-17 07:31:17', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398486 -2.779513)'), GeomFromEWKT('SRID=4674;POINT (-40.398593 -2.77938)'))) / (select extract(epoch from '2026-07-17 07:31:17'::timestamp) - extract(epoch from '2026-07-17 07:31:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398486 -2.779513)'), GeomFromEWKT('SRID=4674;POINT (-40.398593 -2.77938)'))) / (select extract(epoch from '2026-07-17 07:31:17'::timestamp) - extract(epoch from '2026-07-17 07:31:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.398711 -2.779261)', '2026-07-17 07:31:24', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398593 -2.77938)'), GeomFromEWKT('SRID=4674;POINT (-40.398711 -2.779261)'))) / (select extract(epoch from '2026-07-17 07:31:24'::timestamp) - extract(epoch from '2026-07-17 07:31:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398593 -2.77938)'), GeomFromEWKT('SRID=4674;POINT (-40.398711 -2.779261)'))) / (select extract(epoch from '2026-07-17 07:31:24'::timestamp) - extract(epoch from '2026-07-17 07:31:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.398862 -2.779125)', '2026-07-17 07:31:32', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398711 -2.779261)'), GeomFromEWKT('SRID=4674;POINT (-40.398862 -2.779125)'))) / (select extract(epoch from '2026-07-17 07:31:32'::timestamp) - extract(epoch from '2026-07-17 07:31:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398711 -2.779261)'), GeomFromEWKT('SRID=4674;POINT (-40.398862 -2.779125)'))) / (select extract(epoch from '2026-07-17 07:31:32'::timestamp) - extract(epoch from '2026-07-17 07:31:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.39898 -2.779018)', '2026-07-17 07:31:39', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398862 -2.779125)'), GeomFromEWKT('SRID=4674;POINT (-40.39898 -2.779018)'))) / (select extract(epoch from '2026-07-17 07:31:39'::timestamp) - extract(epoch from '2026-07-17 07:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398862 -2.779125)'), GeomFromEWKT('SRID=4674;POINT (-40.39898 -2.779018)'))) / (select extract(epoch from '2026-07-17 07:31:39'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.399087 -2.778923)', '2026-07-17 07:31:46', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39898 -2.779018)'), GeomFromEWKT('SRID=4674;POINT (-40.399087 -2.778923)'))) / (select extract(epoch from '2026-07-17 07:31:46'::timestamp) - extract(epoch from '2026-07-17 07:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39898 -2.779018)'), GeomFromEWKT('SRID=4674;POINT (-40.399087 -2.778923)'))) / (select extract(epoch from '2026-07-17 07:31:46'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.399203 -2.778777)', '2026-07-17 07:31:54', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399087 -2.778923)'), GeomFromEWKT('SRID=4674;POINT (-40.399203 -2.778777)'))) / (select extract(epoch from '2026-07-17 07:31:54'::timestamp) - extract(epoch from '2026-07-17 07:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399087 -2.778923)'), GeomFromEWKT('SRID=4674;POINT (-40.399203 -2.778777)'))) / (select extract(epoch from '2026-07-17 07:31:54'::timestamp) - extract(epoch from '2026-07-17 07:31:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.399301 -2.778696)', '2026-07-17 07:32:01', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399203 -2.778777)'), GeomFromEWKT('SRID=4674;POINT (-40.399301 -2.778696)'))) / (select extract(epoch from '2026-07-17 07:32:01'::timestamp) - extract(epoch from '2026-07-17 07:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399203 -2.778777)'), GeomFromEWKT('SRID=4674;POINT (-40.399301 -2.778696)'))) / (select extract(epoch from '2026-07-17 07:32:01'::timestamp) - extract(epoch from '2026-07-17 07:31:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.39942 -2.778613)', '2026-07-17 07:32:07', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399301 -2.778696)'), GeomFromEWKT('SRID=4674;POINT (-40.39942 -2.778613)'))) / (select extract(epoch from '2026-07-17 07:32:07'::timestamp) - extract(epoch from '2026-07-17 07:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399301 -2.778696)'), GeomFromEWKT('SRID=4674;POINT (-40.39942 -2.778613)'))) / (select extract(epoch from '2026-07-17 07:32:07'::timestamp) - extract(epoch from '2026-07-17 07:32:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.399586 -2.778453)', '2026-07-17 07:32:15', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39942 -2.778613)'), GeomFromEWKT('SRID=4674;POINT (-40.399586 -2.778453)'))) / (select extract(epoch from '2026-07-17 07:32:15'::timestamp) - extract(epoch from '2026-07-17 07:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39942 -2.778613)'), GeomFromEWKT('SRID=4674;POINT (-40.399586 -2.778453)'))) / (select extract(epoch from '2026-07-17 07:32:15'::timestamp) - extract(epoch from '2026-07-17 07:32:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.399686 -2.778329)', '2026-07-17 07:32:22', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399586 -2.778453)'), GeomFromEWKT('SRID=4674;POINT (-40.399686 -2.778329)'))) / (select extract(epoch from '2026-07-17 07:32:22'::timestamp) - extract(epoch from '2026-07-17 07:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399586 -2.778453)'), GeomFromEWKT('SRID=4674;POINT (-40.399686 -2.778329)'))) / (select extract(epoch from '2026-07-17 07:32:22'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.39978 -2.778224)', '2026-07-17 07:32:29', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399686 -2.778329)'), GeomFromEWKT('SRID=4674;POINT (-40.39978 -2.778224)'))) / (select extract(epoch from '2026-07-17 07:32:29'::timestamp) - extract(epoch from '2026-07-17 07:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399686 -2.778329)'), GeomFromEWKT('SRID=4674;POINT (-40.39978 -2.778224)'))) / (select extract(epoch from '2026-07-17 07:32:29'::timestamp) - extract(epoch from '2026-07-17 07:32:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.399895 -2.778125)', '2026-07-17 07:32:36', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39978 -2.778224)'), GeomFromEWKT('SRID=4674;POINT (-40.399895 -2.778125)'))) / (select extract(epoch from '2026-07-17 07:32:36'::timestamp) - extract(epoch from '2026-07-17 07:32:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39978 -2.778224)'), GeomFromEWKT('SRID=4674;POINT (-40.399895 -2.778125)'))) / (select extract(epoch from '2026-07-17 07:32:36'::timestamp) - extract(epoch from '2026-07-17 07:32:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.400018 -2.778013)', '2026-07-17 07:32:44', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399895 -2.778125)'), GeomFromEWKT('SRID=4674;POINT (-40.400018 -2.778013)'))) / (select extract(epoch from '2026-07-17 07:32:44'::timestamp) - extract(epoch from '2026-07-17 07:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399895 -2.778125)'), GeomFromEWKT('SRID=4674;POINT (-40.400018 -2.778013)'))) / (select extract(epoch from '2026-07-17 07:32:44'::timestamp) - extract(epoch from '2026-07-17 07:32:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.400121 -2.777889)', '2026-07-17 07:32:51', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400018 -2.778013)'), GeomFromEWKT('SRID=4674;POINT (-40.400121 -2.777889)'))) / (select extract(epoch from '2026-07-17 07:32:51'::timestamp) - extract(epoch from '2026-07-17 07:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400018 -2.778013)'), GeomFromEWKT('SRID=4674;POINT (-40.400121 -2.777889)'))) / (select extract(epoch from '2026-07-17 07:32:51'::timestamp) - extract(epoch from '2026-07-17 07:32:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.400246 -2.777756)', '2026-07-17 07:32:59', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400121 -2.777889)'), GeomFromEWKT('SRID=4674;POINT (-40.400246 -2.777756)'))) / (select extract(epoch from '2026-07-17 07:32:59'::timestamp) - extract(epoch from '2026-07-17 07:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400121 -2.777889)'), GeomFromEWKT('SRID=4674;POINT (-40.400246 -2.777756)'))) / (select extract(epoch from '2026-07-17 07:32:59'::timestamp) - extract(epoch from '2026-07-17 07:32:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.400361 -2.777617)', '2026-07-17 07:33:07', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400246 -2.777756)'), GeomFromEWKT('SRID=4674;POINT (-40.400361 -2.777617)'))) / (select extract(epoch from '2026-07-17 07:33:07'::timestamp) - extract(epoch from '2026-07-17 07:32:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400246 -2.777756)'), GeomFromEWKT('SRID=4674;POINT (-40.400361 -2.777617)'))) / (select extract(epoch from '2026-07-17 07:33:07'::timestamp) - extract(epoch from '2026-07-17 07:32:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.400444 -2.777527)', '2026-07-17 07:33:13', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400361 -2.777617)'), GeomFromEWKT('SRID=4674;POINT (-40.400444 -2.777527)'))) / (select extract(epoch from '2026-07-17 07:33:13'::timestamp) - extract(epoch from '2026-07-17 07:33:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400361 -2.777617)'), GeomFromEWKT('SRID=4674;POINT (-40.400444 -2.777527)'))) / (select extract(epoch from '2026-07-17 07:33:13'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.400535 -2.777418)', '2026-07-17 07:33:20', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400444 -2.777527)'), GeomFromEWKT('SRID=4674;POINT (-40.400535 -2.777418)'))) / (select extract(epoch from '2026-07-17 07:33:20'::timestamp) - extract(epoch from '2026-07-17 07:33:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400444 -2.777527)'), GeomFromEWKT('SRID=4674;POINT (-40.400535 -2.777418)'))) / (select extract(epoch from '2026-07-17 07:33:20'::timestamp) - extract(epoch from '2026-07-17 07:33:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.400613 -2.777299)', '2026-07-17 07:33:26', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400535 -2.777418)'), GeomFromEWKT('SRID=4674;POINT (-40.400613 -2.777299)'))) / (select extract(epoch from '2026-07-17 07:33:26'::timestamp) - extract(epoch from '2026-07-17 07:33:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400535 -2.777418)'), GeomFromEWKT('SRID=4674;POINT (-40.400613 -2.777299)'))) / (select extract(epoch from '2026-07-17 07:33:26'::timestamp) - extract(epoch from '2026-07-17 07:33:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.400699 -2.777168)', '2026-07-17 07:33:33', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400613 -2.777299)'), GeomFromEWKT('SRID=4674;POINT (-40.400699 -2.777168)'))) / (select extract(epoch from '2026-07-17 07:33:33'::timestamp) - extract(epoch from '2026-07-17 07:33:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400613 -2.777299)'), GeomFromEWKT('SRID=4674;POINT (-40.400699 -2.777168)'))) / (select extract(epoch from '2026-07-17 07:33:33'::timestamp) - extract(epoch from '2026-07-17 07:33:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.400804 -2.776987)', '2026-07-17 07:33:42', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400699 -2.777168)'), GeomFromEWKT('SRID=4674;POINT (-40.400804 -2.776987)'))) / (select extract(epoch from '2026-07-17 07:33:42'::timestamp) - extract(epoch from '2026-07-17 07:33:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400699 -2.777168)'), GeomFromEWKT('SRID=4674;POINT (-40.400804 -2.776987)'))) / (select extract(epoch from '2026-07-17 07:33:42'::timestamp) - extract(epoch from '2026-07-17 07:33:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.400907 -2.776851)', '2026-07-17 07:33:50', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400804 -2.776987)'), GeomFromEWKT('SRID=4674;POINT (-40.400907 -2.776851)'))) / (select extract(epoch from '2026-07-17 07:33:50'::timestamp) - extract(epoch from '2026-07-17 07:33:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400804 -2.776987)'), GeomFromEWKT('SRID=4674;POINT (-40.400907 -2.776851)'))) / (select extract(epoch from '2026-07-17 07:33:50'::timestamp) - extract(epoch from '2026-07-17 07:33:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.400981 -2.776724)', '2026-07-17 07:33:57', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400907 -2.776851)'), GeomFromEWKT('SRID=4674;POINT (-40.400981 -2.776724)'))) / (select extract(epoch from '2026-07-17 07:33:57'::timestamp) - extract(epoch from '2026-07-17 07:33:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400907 -2.776851)'), GeomFromEWKT('SRID=4674;POINT (-40.400981 -2.776724)'))) / (select extract(epoch from '2026-07-17 07:33:57'::timestamp) - extract(epoch from '2026-07-17 07:33:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.401125 -2.77655)', '2026-07-17 07:34:06', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400981 -2.776724)'), GeomFromEWKT('SRID=4674;POINT (-40.401125 -2.77655)'))) / (select extract(epoch from '2026-07-17 07:34:06'::timestamp) - extract(epoch from '2026-07-17 07:33:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400981 -2.776724)'), GeomFromEWKT('SRID=4674;POINT (-40.401125 -2.77655)'))) / (select extract(epoch from '2026-07-17 07:34:06'::timestamp) - extract(epoch from '2026-07-17 07:33:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.401199 -2.776474)', '2026-07-17 07:34:11', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401125 -2.77655)'), GeomFromEWKT('SRID=4674;POINT (-40.401199 -2.776474)'))) / (select extract(epoch from '2026-07-17 07:34:11'::timestamp) - extract(epoch from '2026-07-17 07:34:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401125 -2.77655)'), GeomFromEWKT('SRID=4674;POINT (-40.401199 -2.776474)'))) / (select extract(epoch from '2026-07-17 07:34:11'::timestamp) - extract(epoch from '2026-07-17 07:34:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.401245 -2.776353)', '2026-07-17 07:34:17', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401199 -2.776474)'), GeomFromEWKT('SRID=4674;POINT (-40.401245 -2.776353)'))) / (select extract(epoch from '2026-07-17 07:34:17'::timestamp) - extract(epoch from '2026-07-17 07:34:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401199 -2.776474)'), GeomFromEWKT('SRID=4674;POINT (-40.401245 -2.776353)'))) / (select extract(epoch from '2026-07-17 07:34:17'::timestamp) - extract(epoch from '2026-07-17 07:34:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.401276 -2.77621)', '2026-07-17 07:34:24', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401245 -2.776353)'), GeomFromEWKT('SRID=4674;POINT (-40.401276 -2.77621)'))) / (select extract(epoch from '2026-07-17 07:34:24'::timestamp) - extract(epoch from '2026-07-17 07:34:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401245 -2.776353)'), GeomFromEWKT('SRID=4674;POINT (-40.401276 -2.77621)'))) / (select extract(epoch from '2026-07-17 07:34:24'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.401319 -2.776059)', '2026-07-17 07:34:31', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401276 -2.77621)'), GeomFromEWKT('SRID=4674;POINT (-40.401319 -2.776059)'))) / (select extract(epoch from '2026-07-17 07:34:31'::timestamp) - extract(epoch from '2026-07-17 07:34:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401276 -2.77621)'), GeomFromEWKT('SRID=4674;POINT (-40.401319 -2.776059)'))) / (select extract(epoch from '2026-07-17 07:34:31'::timestamp) - extract(epoch from '2026-07-17 07:34:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.401384 -2.775894)', '2026-07-17 07:34:39', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401319 -2.776059)'), GeomFromEWKT('SRID=4674;POINT (-40.401384 -2.775894)'))) / (select extract(epoch from '2026-07-17 07:34:39'::timestamp) - extract(epoch from '2026-07-17 07:34:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401319 -2.776059)'), GeomFromEWKT('SRID=4674;POINT (-40.401384 -2.775894)'))) / (select extract(epoch from '2026-07-17 07:34:39'::timestamp) - extract(epoch from '2026-07-17 07:34:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.401457 -2.775762)', '2026-07-17 07:34:46', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401384 -2.775894)'), GeomFromEWKT('SRID=4674;POINT (-40.401457 -2.775762)'))) / (select extract(epoch from '2026-07-17 07:34:46'::timestamp) - extract(epoch from '2026-07-17 07:34:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401384 -2.775894)'), GeomFromEWKT('SRID=4674;POINT (-40.401457 -2.775762)'))) / (select extract(epoch from '2026-07-17 07:34:46'::timestamp) - extract(epoch from '2026-07-17 07:34:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.401523 -2.775626)', '2026-07-17 07:34:53', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401457 -2.775762)'), GeomFromEWKT('SRID=4674;POINT (-40.401523 -2.775626)'))) / (select extract(epoch from '2026-07-17 07:34:53'::timestamp) - extract(epoch from '2026-07-17 07:34:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401457 -2.775762)'), GeomFromEWKT('SRID=4674;POINT (-40.401523 -2.775626)'))) / (select extract(epoch from '2026-07-17 07:34:53'::timestamp) - extract(epoch from '2026-07-17 07:34:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.401575 -2.775496)', '2026-07-17 07:35:00', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401523 -2.775626)'), GeomFromEWKT('SRID=4674;POINT (-40.401575 -2.775496)'))) / (select extract(epoch from '2026-07-17 07:35:00'::timestamp) - extract(epoch from '2026-07-17 07:34:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401523 -2.775626)'), GeomFromEWKT('SRID=4674;POINT (-40.401575 -2.775496)'))) / (select extract(epoch from '2026-07-17 07:35:00'::timestamp) - extract(epoch from '2026-07-17 07:34:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.401599 -2.775346)', '2026-07-17 07:35:06', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401575 -2.775496)'), GeomFromEWKT('SRID=4674;POINT (-40.401599 -2.775346)'))) / (select extract(epoch from '2026-07-17 07:35:06'::timestamp) - extract(epoch from '2026-07-17 07:35:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401575 -2.775496)'), GeomFromEWKT('SRID=4674;POINT (-40.401599 -2.775346)'))) / (select extract(epoch from '2026-07-17 07:35:06'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.401644 -2.775221)', '2026-07-17 07:35:12', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401599 -2.775346)'), GeomFromEWKT('SRID=4674;POINT (-40.401644 -2.775221)'))) / (select extract(epoch from '2026-07-17 07:35:12'::timestamp) - extract(epoch from '2026-07-17 07:35:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401599 -2.775346)'), GeomFromEWKT('SRID=4674;POINT (-40.401644 -2.775221)'))) / (select extract(epoch from '2026-07-17 07:35:12'::timestamp) - extract(epoch from '2026-07-17 07:35:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.401718 -2.775109)', '2026-07-17 07:35:19', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401644 -2.775221)'), GeomFromEWKT('SRID=4674;POINT (-40.401718 -2.775109)'))) / (select extract(epoch from '2026-07-17 07:35:19'::timestamp) - extract(epoch from '2026-07-17 07:35:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401644 -2.775221)'), GeomFromEWKT('SRID=4674;POINT (-40.401718 -2.775109)'))) / (select extract(epoch from '2026-07-17 07:35:19'::timestamp) - extract(epoch from '2026-07-17 07:35:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.40179 -2.774997)', '2026-07-17 07:35:25', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401718 -2.775109)'), GeomFromEWKT('SRID=4674;POINT (-40.40179 -2.774997)'))) / (select extract(epoch from '2026-07-17 07:35:25'::timestamp) - extract(epoch from '2026-07-17 07:35:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401718 -2.775109)'), GeomFromEWKT('SRID=4674;POINT (-40.40179 -2.774997)'))) / (select extract(epoch from '2026-07-17 07:35:25'::timestamp) - extract(epoch from '2026-07-17 07:35:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.401853 -2.774878)', '2026-07-17 07:35:31', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40179 -2.774997)'), GeomFromEWKT('SRID=4674;POINT (-40.401853 -2.774878)'))) / (select extract(epoch from '2026-07-17 07:35:31'::timestamp) - extract(epoch from '2026-07-17 07:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40179 -2.774997)'), GeomFromEWKT('SRID=4674;POINT (-40.401853 -2.774878)'))) / (select extract(epoch from '2026-07-17 07:35:31'::timestamp) - extract(epoch from '2026-07-17 07:35:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.401944 -2.774727)', '2026-07-17 07:35:39', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401853 -2.774878)'), GeomFromEWKT('SRID=4674;POINT (-40.401944 -2.774727)'))) / (select extract(epoch from '2026-07-17 07:35:39'::timestamp) - extract(epoch from '2026-07-17 07:35:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401853 -2.774878)'), GeomFromEWKT('SRID=4674;POINT (-40.401944 -2.774727)'))) / (select extract(epoch from '2026-07-17 07:35:39'::timestamp) - extract(epoch from '2026-07-17 07:35:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.402021 -2.774626)', '2026-07-17 07:35:45', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401944 -2.774727)'), GeomFromEWKT('SRID=4674;POINT (-40.402021 -2.774626)'))) / (select extract(epoch from '2026-07-17 07:35:45'::timestamp) - extract(epoch from '2026-07-17 07:35:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401944 -2.774727)'), GeomFromEWKT('SRID=4674;POINT (-40.402021 -2.774626)'))) / (select extract(epoch from '2026-07-17 07:35:45'::timestamp) - extract(epoch from '2026-07-17 07:35:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.40213 -2.774512)', '2026-07-17 07:35:53', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402021 -2.774626)'), GeomFromEWKT('SRID=4674;POINT (-40.40213 -2.774512)'))) / (select extract(epoch from '2026-07-17 07:35:53'::timestamp) - extract(epoch from '2026-07-17 07:35:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402021 -2.774626)'), GeomFromEWKT('SRID=4674;POINT (-40.40213 -2.774512)'))) / (select extract(epoch from '2026-07-17 07:35:53'::timestamp) - extract(epoch from '2026-07-17 07:35:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.402231 -2.77436)', '2026-07-17 07:36:01', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40213 -2.774512)'), GeomFromEWKT('SRID=4674;POINT (-40.402231 -2.77436)'))) / (select extract(epoch from '2026-07-17 07:36:01'::timestamp) - extract(epoch from '2026-07-17 07:35:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40213 -2.774512)'), GeomFromEWKT('SRID=4674;POINT (-40.402231 -2.77436)'))) / (select extract(epoch from '2026-07-17 07:36:01'::timestamp) - extract(epoch from '2026-07-17 07:35:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.402324 -2.774206)', '2026-07-17 07:36:08', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402231 -2.77436)'), GeomFromEWKT('SRID=4674;POINT (-40.402324 -2.774206)'))) / (select extract(epoch from '2026-07-17 07:36:08'::timestamp) - extract(epoch from '2026-07-17 07:36:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402231 -2.77436)'), GeomFromEWKT('SRID=4674;POINT (-40.402324 -2.774206)'))) / (select extract(epoch from '2026-07-17 07:36:08'::timestamp) - extract(epoch from '2026-07-17 07:36:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.402405 -2.774092)', '2026-07-17 07:36:14', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402324 -2.774206)'), GeomFromEWKT('SRID=4674;POINT (-40.402405 -2.774092)'))) / (select extract(epoch from '2026-07-17 07:36:14'::timestamp) - extract(epoch from '2026-07-17 07:36:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402324 -2.774206)'), GeomFromEWKT('SRID=4674;POINT (-40.402405 -2.774092)'))) / (select extract(epoch from '2026-07-17 07:36:14'::timestamp) - extract(epoch from '2026-07-17 07:36:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.402489 -2.773937)', '2026-07-17 07:36:22', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402405 -2.774092)'), GeomFromEWKT('SRID=4674;POINT (-40.402489 -2.773937)'))) / (select extract(epoch from '2026-07-17 07:36:22'::timestamp) - extract(epoch from '2026-07-17 07:36:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402405 -2.774092)'), GeomFromEWKT('SRID=4674;POINT (-40.402489 -2.773937)'))) / (select extract(epoch from '2026-07-17 07:36:22'::timestamp) - extract(epoch from '2026-07-17 07:36:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.402585 -2.773803)', '2026-07-17 07:36:30', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402489 -2.773937)'), GeomFromEWKT('SRID=4674;POINT (-40.402585 -2.773803)'))) / (select extract(epoch from '2026-07-17 07:36:30'::timestamp) - extract(epoch from '2026-07-17 07:36:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402489 -2.773937)'), GeomFromEWKT('SRID=4674;POINT (-40.402585 -2.773803)'))) / (select extract(epoch from '2026-07-17 07:36:30'::timestamp) - extract(epoch from '2026-07-17 07:36:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.402663 -2.773662)', '2026-07-17 07:36:37', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402585 -2.773803)'), GeomFromEWKT('SRID=4674;POINT (-40.402663 -2.773662)'))) / (select extract(epoch from '2026-07-17 07:36:37'::timestamp) - extract(epoch from '2026-07-17 07:36:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402585 -2.773803)'), GeomFromEWKT('SRID=4674;POINT (-40.402663 -2.773662)'))) / (select extract(epoch from '2026-07-17 07:36:37'::timestamp) - extract(epoch from '2026-07-17 07:36:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.402717 -2.773545)', '2026-07-17 07:36:43', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402663 -2.773662)'), GeomFromEWKT('SRID=4674;POINT (-40.402717 -2.773545)'))) / (select extract(epoch from '2026-07-17 07:36:43'::timestamp) - extract(epoch from '2026-07-17 07:36:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402663 -2.773662)'), GeomFromEWKT('SRID=4674;POINT (-40.402717 -2.773545)'))) / (select extract(epoch from '2026-07-17 07:36:43'::timestamp) - extract(epoch from '2026-07-17 07:36:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.402783 -2.773365)', '2026-07-17 07:36:51', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402717 -2.773545)'), GeomFromEWKT('SRID=4674;POINT (-40.402783 -2.773365)'))) / (select extract(epoch from '2026-07-17 07:36:51'::timestamp) - extract(epoch from '2026-07-17 07:36:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402717 -2.773545)'), GeomFromEWKT('SRID=4674;POINT (-40.402783 -2.773365)'))) / (select extract(epoch from '2026-07-17 07:36:51'::timestamp) - extract(epoch from '2026-07-17 07:36:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.402846 -2.773221)', '2026-07-17 07:36:58', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402783 -2.773365)'), GeomFromEWKT('SRID=4674;POINT (-40.402846 -2.773221)'))) / (select extract(epoch from '2026-07-17 07:36:58'::timestamp) - extract(epoch from '2026-07-17 07:36:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402783 -2.773365)'), GeomFromEWKT('SRID=4674;POINT (-40.402846 -2.773221)'))) / (select extract(epoch from '2026-07-17 07:36:58'::timestamp) - extract(epoch from '2026-07-17 07:36:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.402912 -2.773097)', '2026-07-17 07:37:04', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402846 -2.773221)'), GeomFromEWKT('SRID=4674;POINT (-40.402912 -2.773097)'))) / (select extract(epoch from '2026-07-17 07:37:04'::timestamp) - extract(epoch from '2026-07-17 07:36:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402846 -2.773221)'), GeomFromEWKT('SRID=4674;POINT (-40.402912 -2.773097)'))) / (select extract(epoch from '2026-07-17 07:37:04'::timestamp) - extract(epoch from '2026-07-17 07:36:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.402972 -2.772988)', '2026-07-17 07:37:10', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402912 -2.773097)'), GeomFromEWKT('SRID=4674;POINT (-40.402972 -2.772988)'))) / (select extract(epoch from '2026-07-17 07:37:10'::timestamp) - extract(epoch from '2026-07-17 07:37:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402912 -2.773097)'), GeomFromEWKT('SRID=4674;POINT (-40.402972 -2.772988)'))) / (select extract(epoch from '2026-07-17 07:37:10'::timestamp) - extract(epoch from '2026-07-17 07:37:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.40303 -2.772861)', '2026-07-17 07:37:16', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402972 -2.772988)'), GeomFromEWKT('SRID=4674;POINT (-40.40303 -2.772861)'))) / (select extract(epoch from '2026-07-17 07:37:16'::timestamp) - extract(epoch from '2026-07-17 07:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402972 -2.772988)'), GeomFromEWKT('SRID=4674;POINT (-40.40303 -2.772861)'))) / (select extract(epoch from '2026-07-17 07:37:16'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.403102 -2.772731)', '2026-07-17 07:37:23', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40303 -2.772861)'), GeomFromEWKT('SRID=4674;POINT (-40.403102 -2.772731)'))) / (select extract(epoch from '2026-07-17 07:37:23'::timestamp) - extract(epoch from '2026-07-17 07:37:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40303 -2.772861)'), GeomFromEWKT('SRID=4674;POINT (-40.403102 -2.772731)'))) / (select extract(epoch from '2026-07-17 07:37:23'::timestamp) - extract(epoch from '2026-07-17 07:37:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.403169 -2.772596)', '2026-07-17 07:37:30', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403102 -2.772731)'), GeomFromEWKT('SRID=4674;POINT (-40.403169 -2.772596)'))) / (select extract(epoch from '2026-07-17 07:37:30'::timestamp) - extract(epoch from '2026-07-17 07:37:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403102 -2.772731)'), GeomFromEWKT('SRID=4674;POINT (-40.403169 -2.772596)'))) / (select extract(epoch from '2026-07-17 07:37:30'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.403233 -2.772456)', '2026-07-17 07:37:37', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403169 -2.772596)'), GeomFromEWKT('SRID=4674;POINT (-40.403233 -2.772456)'))) / (select extract(epoch from '2026-07-17 07:37:37'::timestamp) - extract(epoch from '2026-07-17 07:37:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403169 -2.772596)'), GeomFromEWKT('SRID=4674;POINT (-40.403233 -2.772456)'))) / (select extract(epoch from '2026-07-17 07:37:37'::timestamp) - extract(epoch from '2026-07-17 07:37:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.403297 -2.772319)', '2026-07-17 07:37:44', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403233 -2.772456)'), GeomFromEWKT('SRID=4674;POINT (-40.403297 -2.772319)'))) / (select extract(epoch from '2026-07-17 07:37:44'::timestamp) - extract(epoch from '2026-07-17 07:37:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403233 -2.772456)'), GeomFromEWKT('SRID=4674;POINT (-40.403297 -2.772319)'))) / (select extract(epoch from '2026-07-17 07:37:44'::timestamp) - extract(epoch from '2026-07-17 07:37:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.40338 -2.772171)', '2026-07-17 07:37:52', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403297 -2.772319)'), GeomFromEWKT('SRID=4674;POINT (-40.40338 -2.772171)'))) / (select extract(epoch from '2026-07-17 07:37:52'::timestamp) - extract(epoch from '2026-07-17 07:37:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403297 -2.772319)'), GeomFromEWKT('SRID=4674;POINT (-40.40338 -2.772171)'))) / (select extract(epoch from '2026-07-17 07:37:52'::timestamp) - extract(epoch from '2026-07-17 07:37:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.403472 -2.772019)', '2026-07-17 07:37:59', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40338 -2.772171)'), GeomFromEWKT('SRID=4674;POINT (-40.403472 -2.772019)'))) / (select extract(epoch from '2026-07-17 07:37:59'::timestamp) - extract(epoch from '2026-07-17 07:37:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40338 -2.772171)'), GeomFromEWKT('SRID=4674;POINT (-40.403472 -2.772019)'))) / (select extract(epoch from '2026-07-17 07:37:59'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.403542 -2.771893)', '2026-07-17 07:38:05', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403472 -2.772019)'), GeomFromEWKT('SRID=4674;POINT (-40.403542 -2.771893)'))) / (select extract(epoch from '2026-07-17 07:38:05'::timestamp) - extract(epoch from '2026-07-17 07:37:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403472 -2.772019)'), GeomFromEWKT('SRID=4674;POINT (-40.403542 -2.771893)'))) / (select extract(epoch from '2026-07-17 07:38:05'::timestamp) - extract(epoch from '2026-07-17 07:37:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.403619 -2.771764)', '2026-07-17 07:38:11', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403542 -2.771893)'), GeomFromEWKT('SRID=4674;POINT (-40.403619 -2.771764)'))) / (select extract(epoch from '2026-07-17 07:38:11'::timestamp) - extract(epoch from '2026-07-17 07:38:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403542 -2.771893)'), GeomFromEWKT('SRID=4674;POINT (-40.403619 -2.771764)'))) / (select extract(epoch from '2026-07-17 07:38:11'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.403691 -2.771615)', '2026-07-17 07:38:18', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403619 -2.771764)'), GeomFromEWKT('SRID=4674;POINT (-40.403691 -2.771615)'))) / (select extract(epoch from '2026-07-17 07:38:18'::timestamp) - extract(epoch from '2026-07-17 07:38:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403619 -2.771764)'), GeomFromEWKT('SRID=4674;POINT (-40.403691 -2.771615)'))) / (select extract(epoch from '2026-07-17 07:38:18'::timestamp) - extract(epoch from '2026-07-17 07:38:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.403764 -2.77141)', '2026-07-17 07:38:27', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403691 -2.771615)'), GeomFromEWKT('SRID=4674;POINT (-40.403764 -2.77141)'))) / (select extract(epoch from '2026-07-17 07:38:27'::timestamp) - extract(epoch from '2026-07-17 07:38:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403691 -2.771615)'), GeomFromEWKT('SRID=4674;POINT (-40.403764 -2.77141)'))) / (select extract(epoch from '2026-07-17 07:38:27'::timestamp) - extract(epoch from '2026-07-17 07:38:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.403816 -2.771274)', '2026-07-17 07:38:34', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403764 -2.77141)'), GeomFromEWKT('SRID=4674;POINT (-40.403816 -2.771274)'))) / (select extract(epoch from '2026-07-17 07:38:34'::timestamp) - extract(epoch from '2026-07-17 07:38:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403764 -2.77141)'), GeomFromEWKT('SRID=4674;POINT (-40.403816 -2.771274)'))) / (select extract(epoch from '2026-07-17 07:38:34'::timestamp) - extract(epoch from '2026-07-17 07:38:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.403891 -2.771104)', '2026-07-17 07:38:42', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403816 -2.771274)'), GeomFromEWKT('SRID=4674;POINT (-40.403891 -2.771104)'))) / (select extract(epoch from '2026-07-17 07:38:42'::timestamp) - extract(epoch from '2026-07-17 07:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403816 -2.771274)'), GeomFromEWKT('SRID=4674;POINT (-40.403891 -2.771104)'))) / (select extract(epoch from '2026-07-17 07:38:42'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.403942 -2.77093)', '2026-07-17 07:38:50', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403891 -2.771104)'), GeomFromEWKT('SRID=4674;POINT (-40.403942 -2.77093)'))) / (select extract(epoch from '2026-07-17 07:38:50'::timestamp) - extract(epoch from '2026-07-17 07:38:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403891 -2.771104)'), GeomFromEWKT('SRID=4674;POINT (-40.403942 -2.77093)'))) / (select extract(epoch from '2026-07-17 07:38:50'::timestamp) - extract(epoch from '2026-07-17 07:38:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.403996 -2.770746)', '2026-07-17 07:38:59', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403942 -2.77093)'), GeomFromEWKT('SRID=4674;POINT (-40.403996 -2.770746)'))) / (select extract(epoch from '2026-07-17 07:38:59'::timestamp) - extract(epoch from '2026-07-17 07:38:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403942 -2.77093)'), GeomFromEWKT('SRID=4674;POINT (-40.403996 -2.770746)'))) / (select extract(epoch from '2026-07-17 07:38:59'::timestamp) - extract(epoch from '2026-07-17 07:38:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.404055 -2.770612)', '2026-07-17 07:39:06', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403996 -2.770746)'), GeomFromEWKT('SRID=4674;POINT (-40.404055 -2.770612)'))) / (select extract(epoch from '2026-07-17 07:39:06'::timestamp) - extract(epoch from '2026-07-17 07:38:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403996 -2.770746)'), GeomFromEWKT('SRID=4674;POINT (-40.404055 -2.770612)'))) / (select extract(epoch from '2026-07-17 07:39:06'::timestamp) - extract(epoch from '2026-07-17 07:38:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.404118 -2.770521)', '2026-07-17 07:39:11', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404055 -2.770612)'), GeomFromEWKT('SRID=4674;POINT (-40.404118 -2.770521)'))) / (select extract(epoch from '2026-07-17 07:39:11'::timestamp) - extract(epoch from '2026-07-17 07:39:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404055 -2.770612)'), GeomFromEWKT('SRID=4674;POINT (-40.404118 -2.770521)'))) / (select extract(epoch from '2026-07-17 07:39:11'::timestamp) - extract(epoch from '2026-07-17 07:39:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.404181 -2.770369)', '2026-07-17 07:39:18', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404118 -2.770521)'), GeomFromEWKT('SRID=4674;POINT (-40.404181 -2.770369)'))) / (select extract(epoch from '2026-07-17 07:39:18'::timestamp) - extract(epoch from '2026-07-17 07:39:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404118 -2.770521)'), GeomFromEWKT('SRID=4674;POINT (-40.404181 -2.770369)'))) / (select extract(epoch from '2026-07-17 07:39:18'::timestamp) - extract(epoch from '2026-07-17 07:39:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.404209 -2.770252)', '2026-07-17 07:39:23', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404181 -2.770369)'), GeomFromEWKT('SRID=4674;POINT (-40.404209 -2.770252)'))) / (select extract(epoch from '2026-07-17 07:39:23'::timestamp) - extract(epoch from '2026-07-17 07:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404181 -2.770369)'), GeomFromEWKT('SRID=4674;POINT (-40.404209 -2.770252)'))) / (select extract(epoch from '2026-07-17 07:39:23'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.404239 -2.770078)', '2026-07-17 07:39:31', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404209 -2.770252)'), GeomFromEWKT('SRID=4674;POINT (-40.404239 -2.770078)'))) / (select extract(epoch from '2026-07-17 07:39:31'::timestamp) - extract(epoch from '2026-07-17 07:39:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404209 -2.770252)'), GeomFromEWKT('SRID=4674;POINT (-40.404239 -2.770078)'))) / (select extract(epoch from '2026-07-17 07:39:31'::timestamp) - extract(epoch from '2026-07-17 07:39:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.404277 -2.769958)', '2026-07-17 07:39:37', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404239 -2.770078)'), GeomFromEWKT('SRID=4674;POINT (-40.404277 -2.769958)'))) / (select extract(epoch from '2026-07-17 07:39:37'::timestamp) - extract(epoch from '2026-07-17 07:39:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404239 -2.770078)'), GeomFromEWKT('SRID=4674;POINT (-40.404277 -2.769958)'))) / (select extract(epoch from '2026-07-17 07:39:37'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.404322 -2.769817)', '2026-07-17 07:39:44', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404277 -2.769958)'), GeomFromEWKT('SRID=4674;POINT (-40.404322 -2.769817)'))) / (select extract(epoch from '2026-07-17 07:39:44'::timestamp) - extract(epoch from '2026-07-17 07:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404277 -2.769958)'), GeomFromEWKT('SRID=4674;POINT (-40.404322 -2.769817)'))) / (select extract(epoch from '2026-07-17 07:39:44'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.404362 -2.769688)', '2026-07-17 07:39:50', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404322 -2.769817)'), GeomFromEWKT('SRID=4674;POINT (-40.404362 -2.769688)'))) / (select extract(epoch from '2026-07-17 07:39:50'::timestamp) - extract(epoch from '2026-07-17 07:39:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404322 -2.769817)'), GeomFromEWKT('SRID=4674;POINT (-40.404362 -2.769688)'))) / (select extract(epoch from '2026-07-17 07:39:50'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.404458 -2.769547)', '2026-07-17 07:39:57', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404362 -2.769688)'), GeomFromEWKT('SRID=4674;POINT (-40.404458 -2.769547)'))) / (select extract(epoch from '2026-07-17 07:39:57'::timestamp) - extract(epoch from '2026-07-17 07:39:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404362 -2.769688)'), GeomFromEWKT('SRID=4674;POINT (-40.404458 -2.769547)'))) / (select extract(epoch from '2026-07-17 07:39:57'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.404564 -2.769433)', '2026-07-17 07:40:04', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404458 -2.769547)'), GeomFromEWKT('SRID=4674;POINT (-40.404564 -2.769433)'))) / (select extract(epoch from '2026-07-17 07:40:04'::timestamp) - extract(epoch from '2026-07-17 07:39:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404458 -2.769547)'), GeomFromEWKT('SRID=4674;POINT (-40.404564 -2.769433)'))) / (select extract(epoch from '2026-07-17 07:40:04'::timestamp) - extract(epoch from '2026-07-17 07:39:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.404595 -2.769305)', '2026-07-17 07:40:10', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404564 -2.769433)'), GeomFromEWKT('SRID=4674;POINT (-40.404595 -2.769305)'))) / (select extract(epoch from '2026-07-17 07:40:10'::timestamp) - extract(epoch from '2026-07-17 07:40:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404564 -2.769433)'), GeomFromEWKT('SRID=4674;POINT (-40.404595 -2.769305)'))) / (select extract(epoch from '2026-07-17 07:40:10'::timestamp) - extract(epoch from '2026-07-17 07:40:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.40459 -2.769094)', '2026-07-17 07:40:20', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404595 -2.769305)'), GeomFromEWKT('SRID=4674;POINT (-40.40459 -2.769094)'))) / (select extract(epoch from '2026-07-17 07:40:20'::timestamp) - extract(epoch from '2026-07-17 07:40:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404595 -2.769305)'), GeomFromEWKT('SRID=4674;POINT (-40.40459 -2.769094)'))) / (select extract(epoch from '2026-07-17 07:40:20'::timestamp) - extract(epoch from '2026-07-17 07:40:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.404596 -2.768984)', '2026-07-17 07:40:26', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40459 -2.769094)'), GeomFromEWKT('SRID=4674;POINT (-40.404596 -2.768984)'))) / (select extract(epoch from '2026-07-17 07:40:26'::timestamp) - extract(epoch from '2026-07-17 07:40:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40459 -2.769094)'), GeomFromEWKT('SRID=4674;POINT (-40.404596 -2.768984)'))) / (select extract(epoch from '2026-07-17 07:40:26'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.404602 -2.768823)', '2026-07-17 07:40:33', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404596 -2.768984)'), GeomFromEWKT('SRID=4674;POINT (-40.404602 -2.768823)'))) / (select extract(epoch from '2026-07-17 07:40:33'::timestamp) - extract(epoch from '2026-07-17 07:40:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404596 -2.768984)'), GeomFromEWKT('SRID=4674;POINT (-40.404602 -2.768823)'))) / (select extract(epoch from '2026-07-17 07:40:33'::timestamp) - extract(epoch from '2026-07-17 07:40:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.404635 -2.768677)', '2026-07-17 07:40:39', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404602 -2.768823)'), GeomFromEWKT('SRID=4674;POINT (-40.404635 -2.768677)'))) / (select extract(epoch from '2026-07-17 07:40:39'::timestamp) - extract(epoch from '2026-07-17 07:40:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404602 -2.768823)'), GeomFromEWKT('SRID=4674;POINT (-40.404635 -2.768677)'))) / (select extract(epoch from '2026-07-17 07:40:39'::timestamp) - extract(epoch from '2026-07-17 07:40:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.404659 -2.768456)', '2026-07-17 07:40:48', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404635 -2.768677)'), GeomFromEWKT('SRID=4674;POINT (-40.404659 -2.768456)'))) / (select extract(epoch from '2026-07-17 07:40:48'::timestamp) - extract(epoch from '2026-07-17 07:40:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404635 -2.768677)'), GeomFromEWKT('SRID=4674;POINT (-40.404659 -2.768456)'))) / (select extract(epoch from '2026-07-17 07:40:48'::timestamp) - extract(epoch from '2026-07-17 07:40:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.404697 -2.768304)', '2026-07-17 07:40:55', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404659 -2.768456)'), GeomFromEWKT('SRID=4674;POINT (-40.404697 -2.768304)'))) / (select extract(epoch from '2026-07-17 07:40:55'::timestamp) - extract(epoch from '2026-07-17 07:40:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404659 -2.768456)'), GeomFromEWKT('SRID=4674;POINT (-40.404697 -2.768304)'))) / (select extract(epoch from '2026-07-17 07:40:55'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.40473 -2.768128)', '2026-07-17 07:41:03', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404697 -2.768304)'), GeomFromEWKT('SRID=4674;POINT (-40.40473 -2.768128)'))) / (select extract(epoch from '2026-07-17 07:41:03'::timestamp) - extract(epoch from '2026-07-17 07:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404697 -2.768304)'), GeomFromEWKT('SRID=4674;POINT (-40.40473 -2.768128)'))) / (select extract(epoch from '2026-07-17 07:41:03'::timestamp) - extract(epoch from '2026-07-17 07:40:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.404763 -2.767955)', '2026-07-17 07:41:11', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40473 -2.768128)'), GeomFromEWKT('SRID=4674;POINT (-40.404763 -2.767955)'))) / (select extract(epoch from '2026-07-17 07:41:11'::timestamp) - extract(epoch from '2026-07-17 07:41:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40473 -2.768128)'), GeomFromEWKT('SRID=4674;POINT (-40.404763 -2.767955)'))) / (select extract(epoch from '2026-07-17 07:41:11'::timestamp) - extract(epoch from '2026-07-17 07:41:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.4048 -2.767786)', '2026-07-17 07:41:19', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404763 -2.767955)'), GeomFromEWKT('SRID=4674;POINT (-40.4048 -2.767786)'))) / (select extract(epoch from '2026-07-17 07:41:19'::timestamp) - extract(epoch from '2026-07-17 07:41:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404763 -2.767955)'), GeomFromEWKT('SRID=4674;POINT (-40.4048 -2.767786)'))) / (select extract(epoch from '2026-07-17 07:41:19'::timestamp) - extract(epoch from '2026-07-17 07:41:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.404828 -2.767659)', '2026-07-17 07:41:26', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4048 -2.767786)'), GeomFromEWKT('SRID=4674;POINT (-40.404828 -2.767659)'))) / (select extract(epoch from '2026-07-17 07:41:26'::timestamp) - extract(epoch from '2026-07-17 07:41:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4048 -2.767786)'), GeomFromEWKT('SRID=4674;POINT (-40.404828 -2.767659)'))) / (select extract(epoch from '2026-07-17 07:41:26'::timestamp) - extract(epoch from '2026-07-17 07:41:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.404848 -2.767509)', '2026-07-17 07:41:33', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404828 -2.767659)'), GeomFromEWKT('SRID=4674;POINT (-40.404848 -2.767509)'))) / (select extract(epoch from '2026-07-17 07:41:33'::timestamp) - extract(epoch from '2026-07-17 07:41:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404828 -2.767659)'), GeomFromEWKT('SRID=4674;POINT (-40.404848 -2.767509)'))) / (select extract(epoch from '2026-07-17 07:41:33'::timestamp) - extract(epoch from '2026-07-17 07:41:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.404877 -2.767363)', '2026-07-17 07:41:40', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404848 -2.767509)'), GeomFromEWKT('SRID=4674;POINT (-40.404877 -2.767363)'))) / (select extract(epoch from '2026-07-17 07:41:40'::timestamp) - extract(epoch from '2026-07-17 07:41:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404848 -2.767509)'), GeomFromEWKT('SRID=4674;POINT (-40.404877 -2.767363)'))) / (select extract(epoch from '2026-07-17 07:41:40'::timestamp) - extract(epoch from '2026-07-17 07:41:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.40488 -2.767256)', '2026-07-17 07:41:45', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404877 -2.767363)'), GeomFromEWKT('SRID=4674;POINT (-40.40488 -2.767256)'))) / (select extract(epoch from '2026-07-17 07:41:45'::timestamp) - extract(epoch from '2026-07-17 07:41:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404877 -2.767363)'), GeomFromEWKT('SRID=4674;POINT (-40.40488 -2.767256)'))) / (select extract(epoch from '2026-07-17 07:41:45'::timestamp) - extract(epoch from '2026-07-17 07:41:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.404879 -2.767142)', '2026-07-17 07:41:51', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40488 -2.767256)'), GeomFromEWKT('SRID=4674;POINT (-40.404879 -2.767142)'))) / (select extract(epoch from '2026-07-17 07:41:51'::timestamp) - extract(epoch from '2026-07-17 07:41:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40488 -2.767256)'), GeomFromEWKT('SRID=4674;POINT (-40.404879 -2.767142)'))) / (select extract(epoch from '2026-07-17 07:41:51'::timestamp) - extract(epoch from '2026-07-17 07:41:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.404871 -2.766998)', '2026-07-17 07:41:59', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404879 -2.767142)'), GeomFromEWKT('SRID=4674;POINT (-40.404871 -2.766998)'))) / (select extract(epoch from '2026-07-17 07:41:59'::timestamp) - extract(epoch from '2026-07-17 07:41:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404879 -2.767142)'), GeomFromEWKT('SRID=4674;POINT (-40.404871 -2.766998)'))) / (select extract(epoch from '2026-07-17 07:41:59'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.404872 -2.76686)', '2026-07-17 07:42:05', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404871 -2.766998)'), GeomFromEWKT('SRID=4674;POINT (-40.404872 -2.76686)'))) / (select extract(epoch from '2026-07-17 07:42:05'::timestamp) - extract(epoch from '2026-07-17 07:41:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404871 -2.766998)'), GeomFromEWKT('SRID=4674;POINT (-40.404872 -2.76686)'))) / (select extract(epoch from '2026-07-17 07:42:05'::timestamp) - extract(epoch from '2026-07-17 07:41:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.404872 -2.766734)', '2026-07-17 07:42:11', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404872 -2.76686)'), GeomFromEWKT('SRID=4674;POINT (-40.404872 -2.766734)'))) / (select extract(epoch from '2026-07-17 07:42:11'::timestamp) - extract(epoch from '2026-07-17 07:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404872 -2.76686)'), GeomFromEWKT('SRID=4674;POINT (-40.404872 -2.766734)'))) / (select extract(epoch from '2026-07-17 07:42:11'::timestamp) - extract(epoch from '2026-07-17 07:42:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.404865 -2.76661)', '2026-07-17 07:42:17', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404872 -2.766734)'), GeomFromEWKT('SRID=4674;POINT (-40.404865 -2.76661)'))) / (select extract(epoch from '2026-07-17 07:42:17'::timestamp) - extract(epoch from '2026-07-17 07:42:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404872 -2.766734)'), GeomFromEWKT('SRID=4674;POINT (-40.404865 -2.76661)'))) / (select extract(epoch from '2026-07-17 07:42:17'::timestamp) - extract(epoch from '2026-07-17 07:42:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.404886 -2.766454)', '2026-07-17 07:42:24', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404865 -2.76661)'), GeomFromEWKT('SRID=4674;POINT (-40.404886 -2.766454)'))) / (select extract(epoch from '2026-07-17 07:42:24'::timestamp) - extract(epoch from '2026-07-17 07:42:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404865 -2.76661)'), GeomFromEWKT('SRID=4674;POINT (-40.404886 -2.766454)'))) / (select extract(epoch from '2026-07-17 07:42:24'::timestamp) - extract(epoch from '2026-07-17 07:42:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.404905 -2.766303)', '2026-07-17 07:42:32', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404886 -2.766454)'), GeomFromEWKT('SRID=4674;POINT (-40.404905 -2.766303)'))) / (select extract(epoch from '2026-07-17 07:42:32'::timestamp) - extract(epoch from '2026-07-17 07:42:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404886 -2.766454)'), GeomFromEWKT('SRID=4674;POINT (-40.404905 -2.766303)'))) / (select extract(epoch from '2026-07-17 07:42:32'::timestamp) - extract(epoch from '2026-07-17 07:42:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.404933 -2.766161)', '2026-07-17 07:42:39', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404905 -2.766303)'), GeomFromEWKT('SRID=4674;POINT (-40.404933 -2.766161)'))) / (select extract(epoch from '2026-07-17 07:42:39'::timestamp) - extract(epoch from '2026-07-17 07:42:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404905 -2.766303)'), GeomFromEWKT('SRID=4674;POINT (-40.404933 -2.766161)'))) / (select extract(epoch from '2026-07-17 07:42:39'::timestamp) - extract(epoch from '2026-07-17 07:42:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.404982 -2.765993)', '2026-07-17 07:42:46', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404933 -2.766161)'), GeomFromEWKT('SRID=4674;POINT (-40.404982 -2.765993)'))) / (select extract(epoch from '2026-07-17 07:42:46'::timestamp) - extract(epoch from '2026-07-17 07:42:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404933 -2.766161)'), GeomFromEWKT('SRID=4674;POINT (-40.404982 -2.765993)'))) / (select extract(epoch from '2026-07-17 07:42:46'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.405032 -2.765828)', '2026-07-17 07:42:54', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404982 -2.765993)'), GeomFromEWKT('SRID=4674;POINT (-40.405032 -2.765828)'))) / (select extract(epoch from '2026-07-17 07:42:54'::timestamp) - extract(epoch from '2026-07-17 07:42:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404982 -2.765993)'), GeomFromEWKT('SRID=4674;POINT (-40.405032 -2.765828)'))) / (select extract(epoch from '2026-07-17 07:42:54'::timestamp) - extract(epoch from '2026-07-17 07:42:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.405127 -2.765621)', '2026-07-17 07:43:03', -5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405032 -2.765828)'), GeomFromEWKT('SRID=4674;POINT (-40.405127 -2.765621)'))) / (select extract(epoch from '2026-07-17 07:43:03'::timestamp) - extract(epoch from '2026-07-17 07:42:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405032 -2.765828)'), GeomFromEWKT('SRID=4674;POINT (-40.405127 -2.765621)'))) / (select extract(epoch from '2026-07-17 07:43:03'::timestamp) - extract(epoch from '2026-07-17 07:42:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.405171 -2.765482)', '2026-07-17 07:43:10', -5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405127 -2.765621)'), GeomFromEWKT('SRID=4674;POINT (-40.405171 -2.765482)'))) / (select extract(epoch from '2026-07-17 07:43:10'::timestamp) - extract(epoch from '2026-07-17 07:43:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405127 -2.765621)'), GeomFromEWKT('SRID=4674;POINT (-40.405171 -2.765482)'))) / (select extract(epoch from '2026-07-17 07:43:10'::timestamp) - extract(epoch from '2026-07-17 07:43:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.405195 -2.765319)', '2026-07-17 07:43:17', -5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405171 -2.765482)'), GeomFromEWKT('SRID=4674;POINT (-40.405195 -2.765319)'))) / (select extract(epoch from '2026-07-17 07:43:17'::timestamp) - extract(epoch from '2026-07-17 07:43:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405171 -2.765482)'), GeomFromEWKT('SRID=4674;POINT (-40.405195 -2.765319)'))) / (select extract(epoch from '2026-07-17 07:43:17'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.405222 -2.765193)', '2026-07-17 07:43:23', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405195 -2.765319)'), GeomFromEWKT('SRID=4674;POINT (-40.405222 -2.765193)'))) / (select extract(epoch from '2026-07-17 07:43:23'::timestamp) - extract(epoch from '2026-07-17 07:43:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405195 -2.765319)'), GeomFromEWKT('SRID=4674;POINT (-40.405222 -2.765193)'))) / (select extract(epoch from '2026-07-17 07:43:23'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.405325 -2.765107)', '2026-07-17 07:43:29', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405222 -2.765193)'), GeomFromEWKT('SRID=4674;POINT (-40.405325 -2.765107)'))) / (select extract(epoch from '2026-07-17 07:43:29'::timestamp) - extract(epoch from '2026-07-17 07:43:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405222 -2.765193)'), GeomFromEWKT('SRID=4674;POINT (-40.405325 -2.765107)'))) / (select extract(epoch from '2026-07-17 07:43:29'::timestamp) - extract(epoch from '2026-07-17 07:43:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.405477 -2.765028)', '2026-07-17 07:43:37', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405325 -2.765107)'), GeomFromEWKT('SRID=4674;POINT (-40.405477 -2.765028)'))) / (select extract(epoch from '2026-07-17 07:43:37'::timestamp) - extract(epoch from '2026-07-17 07:43:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405325 -2.765107)'), GeomFromEWKT('SRID=4674;POINT (-40.405477 -2.765028)'))) / (select extract(epoch from '2026-07-17 07:43:37'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.405624 -2.764999)', '2026-07-17 07:43:44', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405477 -2.765028)'), GeomFromEWKT('SRID=4674;POINT (-40.405624 -2.764999)'))) / (select extract(epoch from '2026-07-17 07:43:44'::timestamp) - extract(epoch from '2026-07-17 07:43:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405477 -2.765028)'), GeomFromEWKT('SRID=4674;POINT (-40.405624 -2.764999)'))) / (select extract(epoch from '2026-07-17 07:43:44'::timestamp) - extract(epoch from '2026-07-17 07:43:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.405743 -2.76503)', '2026-07-17 07:43:50', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405624 -2.764999)'), GeomFromEWKT('SRID=4674;POINT (-40.405743 -2.76503)'))) / (select extract(epoch from '2026-07-17 07:43:50'::timestamp) - extract(epoch from '2026-07-17 07:43:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405624 -2.764999)'), GeomFromEWKT('SRID=4674;POINT (-40.405743 -2.76503)'))) / (select extract(epoch from '2026-07-17 07:43:50'::timestamp) - extract(epoch from '2026-07-17 07:43:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.405898 -2.765057)', '2026-07-17 07:43:57', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405743 -2.76503)'), GeomFromEWKT('SRID=4674;POINT (-40.405898 -2.765057)'))) / (select extract(epoch from '2026-07-17 07:43:57'::timestamp) - extract(epoch from '2026-07-17 07:43:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405743 -2.76503)'), GeomFromEWKT('SRID=4674;POINT (-40.405898 -2.765057)'))) / (select extract(epoch from '2026-07-17 07:43:57'::timestamp) - extract(epoch from '2026-07-17 07:43:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.406049 -2.765023)', '2026-07-17 07:44:04', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405898 -2.765057)'), GeomFromEWKT('SRID=4674;POINT (-40.406049 -2.765023)'))) / (select extract(epoch from '2026-07-17 07:44:04'::timestamp) - extract(epoch from '2026-07-17 07:43:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405898 -2.765057)'), GeomFromEWKT('SRID=4674;POINT (-40.406049 -2.765023)'))) / (select extract(epoch from '2026-07-17 07:44:04'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.406187 -2.764942)', '2026-07-17 07:44:11', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406049 -2.765023)'), GeomFromEWKT('SRID=4674;POINT (-40.406187 -2.764942)'))) / (select extract(epoch from '2026-07-17 07:44:11'::timestamp) - extract(epoch from '2026-07-17 07:44:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406049 -2.765023)'), GeomFromEWKT('SRID=4674;POINT (-40.406187 -2.764942)'))) / (select extract(epoch from '2026-07-17 07:44:11'::timestamp) - extract(epoch from '2026-07-17 07:44:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.406306 -2.764817)', '2026-07-17 07:44:18', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406187 -2.764942)'), GeomFromEWKT('SRID=4674;POINT (-40.406306 -2.764817)'))) / (select extract(epoch from '2026-07-17 07:44:18'::timestamp) - extract(epoch from '2026-07-17 07:44:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406187 -2.764942)'), GeomFromEWKT('SRID=4674;POINT (-40.406306 -2.764817)'))) / (select extract(epoch from '2026-07-17 07:44:18'::timestamp) - extract(epoch from '2026-07-17 07:44:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.406378 -2.764708)', '2026-07-17 07:44:24', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406306 -2.764817)'), GeomFromEWKT('SRID=4674;POINT (-40.406378 -2.764708)'))) / (select extract(epoch from '2026-07-17 07:44:24'::timestamp) - extract(epoch from '2026-07-17 07:44:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406306 -2.764817)'), GeomFromEWKT('SRID=4674;POINT (-40.406378 -2.764708)'))) / (select extract(epoch from '2026-07-17 07:44:24'::timestamp) - extract(epoch from '2026-07-17 07:44:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.406472 -2.76459)', '2026-07-17 07:44:31', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406378 -2.764708)'), GeomFromEWKT('SRID=4674;POINT (-40.406472 -2.76459)'))) / (select extract(epoch from '2026-07-17 07:44:31'::timestamp) - extract(epoch from '2026-07-17 07:44:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406378 -2.764708)'), GeomFromEWKT('SRID=4674;POINT (-40.406472 -2.76459)'))) / (select extract(epoch from '2026-07-17 07:44:31'::timestamp) - extract(epoch from '2026-07-17 07:44:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.406642 -2.764472)', '2026-07-17 07:44:40', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406472 -2.76459)'), GeomFromEWKT('SRID=4674;POINT (-40.406642 -2.764472)'))) / (select extract(epoch from '2026-07-17 07:44:40'::timestamp) - extract(epoch from '2026-07-17 07:44:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406472 -2.76459)'), GeomFromEWKT('SRID=4674;POINT (-40.406642 -2.764472)'))) / (select extract(epoch from '2026-07-17 07:44:40'::timestamp) - extract(epoch from '2026-07-17 07:44:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.406811 -2.764444)', '2026-07-17 07:44:48', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406642 -2.764472)'), GeomFromEWKT('SRID=4674;POINT (-40.406811 -2.764444)'))) / (select extract(epoch from '2026-07-17 07:44:48'::timestamp) - extract(epoch from '2026-07-17 07:44:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406642 -2.764472)'), GeomFromEWKT('SRID=4674;POINT (-40.406811 -2.764444)'))) / (select extract(epoch from '2026-07-17 07:44:48'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.407 -2.764401)', '2026-07-17 07:44:57', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406811 -2.764444)'), GeomFromEWKT('SRID=4674;POINT (-40.407 -2.764401)'))) / (select extract(epoch from '2026-07-17 07:44:57'::timestamp) - extract(epoch from '2026-07-17 07:44:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406811 -2.764444)'), GeomFromEWKT('SRID=4674;POINT (-40.407 -2.764401)'))) / (select extract(epoch from '2026-07-17 07:44:57'::timestamp) - extract(epoch from '2026-07-17 07:44:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.407123 -2.764355)', '2026-07-17 07:45:03', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407 -2.764401)'), GeomFromEWKT('SRID=4674;POINT (-40.407123 -2.764355)'))) / (select extract(epoch from '2026-07-17 07:45:03'::timestamp) - extract(epoch from '2026-07-17 07:44:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407 -2.764401)'), GeomFromEWKT('SRID=4674;POINT (-40.407123 -2.764355)'))) / (select extract(epoch from '2026-07-17 07:45:03'::timestamp) - extract(epoch from '2026-07-17 07:44:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.40724 -2.764281)', '2026-07-17 07:45:10', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407123 -2.764355)'), GeomFromEWKT('SRID=4674;POINT (-40.40724 -2.764281)'))) / (select extract(epoch from '2026-07-17 07:45:10'::timestamp) - extract(epoch from '2026-07-17 07:45:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407123 -2.764355)'), GeomFromEWKT('SRID=4674;POINT (-40.40724 -2.764281)'))) / (select extract(epoch from '2026-07-17 07:45:10'::timestamp) - extract(epoch from '2026-07-17 07:45:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.407342 -2.764177)', '2026-07-17 07:45:16', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40724 -2.764281)'), GeomFromEWKT('SRID=4674;POINT (-40.407342 -2.764177)'))) / (select extract(epoch from '2026-07-17 07:45:16'::timestamp) - extract(epoch from '2026-07-17 07:45:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40724 -2.764281)'), GeomFromEWKT('SRID=4674;POINT (-40.407342 -2.764177)'))) / (select extract(epoch from '2026-07-17 07:45:16'::timestamp) - extract(epoch from '2026-07-17 07:45:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.407423 -2.764086)', '2026-07-17 07:45:22', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407342 -2.764177)'), GeomFromEWKT('SRID=4674;POINT (-40.407423 -2.764086)'))) / (select extract(epoch from '2026-07-17 07:45:22'::timestamp) - extract(epoch from '2026-07-17 07:45:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407342 -2.764177)'), GeomFromEWKT('SRID=4674;POINT (-40.407423 -2.764086)'))) / (select extract(epoch from '2026-07-17 07:45:22'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.407533 -2.763999)', '2026-07-17 07:45:29', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407423 -2.764086)'), GeomFromEWKT('SRID=4674;POINT (-40.407533 -2.763999)'))) / (select extract(epoch from '2026-07-17 07:45:29'::timestamp) - extract(epoch from '2026-07-17 07:45:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407423 -2.764086)'), GeomFromEWKT('SRID=4674;POINT (-40.407533 -2.763999)'))) / (select extract(epoch from '2026-07-17 07:45:29'::timestamp) - extract(epoch from '2026-07-17 07:45:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.407668 -2.763917)', '2026-07-17 07:45:36', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407533 -2.763999)'), GeomFromEWKT('SRID=4674;POINT (-40.407668 -2.763917)'))) / (select extract(epoch from '2026-07-17 07:45:36'::timestamp) - extract(epoch from '2026-07-17 07:45:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407533 -2.763999)'), GeomFromEWKT('SRID=4674;POINT (-40.407668 -2.763917)'))) / (select extract(epoch from '2026-07-17 07:45:36'::timestamp) - extract(epoch from '2026-07-17 07:45:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.40784 -2.763785)', '2026-07-17 07:45:45', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407668 -2.763917)'), GeomFromEWKT('SRID=4674;POINT (-40.40784 -2.763785)'))) / (select extract(epoch from '2026-07-17 07:45:45'::timestamp) - extract(epoch from '2026-07-17 07:45:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407668 -2.763917)'), GeomFromEWKT('SRID=4674;POINT (-40.40784 -2.763785)'))) / (select extract(epoch from '2026-07-17 07:45:45'::timestamp) - extract(epoch from '2026-07-17 07:45:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.40796 -2.763688)', '2026-07-17 07:45:51', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40784 -2.763785)'), GeomFromEWKT('SRID=4674;POINT (-40.40796 -2.763688)'))) / (select extract(epoch from '2026-07-17 07:45:51'::timestamp) - extract(epoch from '2026-07-17 07:45:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40784 -2.763785)'), GeomFromEWKT('SRID=4674;POINT (-40.40796 -2.763688)'))) / (select extract(epoch from '2026-07-17 07:45:51'::timestamp) - extract(epoch from '2026-07-17 07:45:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408102 -2.763537)', '2026-07-17 07:46:00', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40796 -2.763688)'), GeomFromEWKT('SRID=4674;POINT (-40.408102 -2.763537)'))) / (select extract(epoch from '2026-07-17 07:46:00'::timestamp) - extract(epoch from '2026-07-17 07:45:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40796 -2.763688)'), GeomFromEWKT('SRID=4674;POINT (-40.408102 -2.763537)'))) / (select extract(epoch from '2026-07-17 07:46:00'::timestamp) - extract(epoch from '2026-07-17 07:45:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408219 -2.763428)', '2026-07-17 07:46:07', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408102 -2.763537)'), GeomFromEWKT('SRID=4674;POINT (-40.408219 -2.763428)'))) / (select extract(epoch from '2026-07-17 07:46:07'::timestamp) - extract(epoch from '2026-07-17 07:46:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408102 -2.763537)'), GeomFromEWKT('SRID=4674;POINT (-40.408219 -2.763428)'))) / (select extract(epoch from '2026-07-17 07:46:07'::timestamp) - extract(epoch from '2026-07-17 07:46:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408337 -2.763354)', '2026-07-17 07:46:13', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408219 -2.763428)'), GeomFromEWKT('SRID=4674;POINT (-40.408337 -2.763354)'))) / (select extract(epoch from '2026-07-17 07:46:13'::timestamp) - extract(epoch from '2026-07-17 07:46:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408219 -2.763428)'), GeomFromEWKT('SRID=4674;POINT (-40.408337 -2.763354)'))) / (select extract(epoch from '2026-07-17 07:46:13'::timestamp) - extract(epoch from '2026-07-17 07:46:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.4085 -2.763277)', '2026-07-17 07:46:21', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408337 -2.763354)'), GeomFromEWKT('SRID=4674;POINT (-40.4085 -2.763277)'))) / (select extract(epoch from '2026-07-17 07:46:21'::timestamp) - extract(epoch from '2026-07-17 07:46:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408337 -2.763354)'), GeomFromEWKT('SRID=4674;POINT (-40.4085 -2.763277)'))) / (select extract(epoch from '2026-07-17 07:46:21'::timestamp) - extract(epoch from '2026-07-17 07:46:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.40863 -2.763225)', '2026-07-17 07:46:27', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4085 -2.763277)'), GeomFromEWKT('SRID=4674;POINT (-40.40863 -2.763225)'))) / (select extract(epoch from '2026-07-17 07:46:27'::timestamp) - extract(epoch from '2026-07-17 07:46:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4085 -2.763277)'), GeomFromEWKT('SRID=4674;POINT (-40.40863 -2.763225)'))) / (select extract(epoch from '2026-07-17 07:46:27'::timestamp) - extract(epoch from '2026-07-17 07:46:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408833 -2.763172)', '2026-07-17 07:46:36', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40863 -2.763225)'), GeomFromEWKT('SRID=4674;POINT (-40.408833 -2.763172)'))) / (select extract(epoch from '2026-07-17 07:46:36'::timestamp) - extract(epoch from '2026-07-17 07:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40863 -2.763225)'), GeomFromEWKT('SRID=4674;POINT (-40.408833 -2.763172)'))) / (select extract(epoch from '2026-07-17 07:46:36'::timestamp) - extract(epoch from '2026-07-17 07:46:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408966 -2.763134)', '2026-07-17 07:46:42', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408833 -2.763172)'), GeomFromEWKT('SRID=4674;POINT (-40.408966 -2.763134)'))) / (select extract(epoch from '2026-07-17 07:46:42'::timestamp) - extract(epoch from '2026-07-17 07:46:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408833 -2.763172)'), GeomFromEWKT('SRID=4674;POINT (-40.408966 -2.763134)'))) / (select extract(epoch from '2026-07-17 07:46:42'::timestamp) - extract(epoch from '2026-07-17 07:46:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409092 -2.763028)', '2026-07-17 07:46:49', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408966 -2.763134)'), GeomFromEWKT('SRID=4674;POINT (-40.409092 -2.763028)'))) / (select extract(epoch from '2026-07-17 07:46:49'::timestamp) - extract(epoch from '2026-07-17 07:46:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408966 -2.763134)'), GeomFromEWKT('SRID=4674;POINT (-40.409092 -2.763028)'))) / (select extract(epoch from '2026-07-17 07:46:49'::timestamp) - extract(epoch from '2026-07-17 07:46:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409174 -2.762934)', '2026-07-17 07:46:54', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409092 -2.763028)'), GeomFromEWKT('SRID=4674;POINT (-40.409174 -2.762934)'))) / (select extract(epoch from '2026-07-17 07:46:54'::timestamp) - extract(epoch from '2026-07-17 07:46:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409092 -2.763028)'), GeomFromEWKT('SRID=4674;POINT (-40.409174 -2.762934)'))) / (select extract(epoch from '2026-07-17 07:46:54'::timestamp) - extract(epoch from '2026-07-17 07:46:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409273 -2.762762)', '2026-07-17 07:47:02', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409174 -2.762934)'), GeomFromEWKT('SRID=4674;POINT (-40.409273 -2.762762)'))) / (select extract(epoch from '2026-07-17 07:47:02'::timestamp) - extract(epoch from '2026-07-17 07:46:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409174 -2.762934)'), GeomFromEWKT('SRID=4674;POINT (-40.409273 -2.762762)'))) / (select extract(epoch from '2026-07-17 07:47:02'::timestamp) - extract(epoch from '2026-07-17 07:46:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409342 -2.762598)', '2026-07-17 07:47:10', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409273 -2.762762)'), GeomFromEWKT('SRID=4674;POINT (-40.409342 -2.762598)'))) / (select extract(epoch from '2026-07-17 07:47:10'::timestamp) - extract(epoch from '2026-07-17 07:47:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409273 -2.762762)'), GeomFromEWKT('SRID=4674;POINT (-40.409342 -2.762598)'))) / (select extract(epoch from '2026-07-17 07:47:10'::timestamp) - extract(epoch from '2026-07-17 07:47:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409455 -2.762505)', '2026-07-17 07:47:17', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409342 -2.762598)'), GeomFromEWKT('SRID=4674;POINT (-40.409455 -2.762505)'))) / (select extract(epoch from '2026-07-17 07:47:17'::timestamp) - extract(epoch from '2026-07-17 07:47:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409342 -2.762598)'), GeomFromEWKT('SRID=4674;POINT (-40.409455 -2.762505)'))) / (select extract(epoch from '2026-07-17 07:47:17'::timestamp) - extract(epoch from '2026-07-17 07:47:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409611 -2.762432)', '2026-07-17 07:47:24', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409455 -2.762505)'), GeomFromEWKT('SRID=4674;POINT (-40.409611 -2.762432)'))) / (select extract(epoch from '2026-07-17 07:47:24'::timestamp) - extract(epoch from '2026-07-17 07:47:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409455 -2.762505)'), GeomFromEWKT('SRID=4674;POINT (-40.409611 -2.762432)'))) / (select extract(epoch from '2026-07-17 07:47:24'::timestamp) - extract(epoch from '2026-07-17 07:47:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409725 -2.762345)', '2026-07-17 07:47:31', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409611 -2.762432)'), GeomFromEWKT('SRID=4674;POINT (-40.409725 -2.762345)'))) / (select extract(epoch from '2026-07-17 07:47:31'::timestamp) - extract(epoch from '2026-07-17 07:47:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409611 -2.762432)'), GeomFromEWKT('SRID=4674;POINT (-40.409725 -2.762345)'))) / (select extract(epoch from '2026-07-17 07:47:31'::timestamp) - extract(epoch from '2026-07-17 07:47:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.40986 -2.762207)', '2026-07-17 07:47:40', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409725 -2.762345)'), GeomFromEWKT('SRID=4674;POINT (-40.40986 -2.762207)'))) / (select extract(epoch from '2026-07-17 07:47:40'::timestamp) - extract(epoch from '2026-07-17 07:47:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409725 -2.762345)'), GeomFromEWKT('SRID=4674;POINT (-40.40986 -2.762207)'))) / (select extract(epoch from '2026-07-17 07:47:40'::timestamp) - extract(epoch from '2026-07-17 07:47:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409859 -2.762093)', '2026-07-17 07:47:46', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40986 -2.762207)'), GeomFromEWKT('SRID=4674;POINT (-40.409859 -2.762093)'))) / (select extract(epoch from '2026-07-17 07:47:46'::timestamp) - extract(epoch from '2026-07-17 07:47:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40986 -2.762207)'), GeomFromEWKT('SRID=4674;POINT (-40.409859 -2.762093)'))) / (select extract(epoch from '2026-07-17 07:47:46'::timestamp) - extract(epoch from '2026-07-17 07:47:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409833 -2.761949)', '2026-07-17 07:47:53', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409859 -2.762093)'), GeomFromEWKT('SRID=4674;POINT (-40.409833 -2.761949)'))) / (select extract(epoch from '2026-07-17 07:47:53'::timestamp) - extract(epoch from '2026-07-17 07:47:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409859 -2.762093)'), GeomFromEWKT('SRID=4674;POINT (-40.409833 -2.761949)'))) / (select extract(epoch from '2026-07-17 07:47:53'::timestamp) - extract(epoch from '2026-07-17 07:47:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409838 -2.761777)', '2026-07-17 07:48:01', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409833 -2.761949)'), GeomFromEWKT('SRID=4674;POINT (-40.409838 -2.761777)'))) / (select extract(epoch from '2026-07-17 07:48:01'::timestamp) - extract(epoch from '2026-07-17 07:47:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409833 -2.761949)'), GeomFromEWKT('SRID=4674;POINT (-40.409838 -2.761777)'))) / (select extract(epoch from '2026-07-17 07:48:01'::timestamp) - extract(epoch from '2026-07-17 07:47:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409883 -2.761622)', '2026-07-17 07:48:08', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409838 -2.761777)'), GeomFromEWKT('SRID=4674;POINT (-40.409883 -2.761622)'))) / (select extract(epoch from '2026-07-17 07:48:08'::timestamp) - extract(epoch from '2026-07-17 07:48:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409838 -2.761777)'), GeomFromEWKT('SRID=4674;POINT (-40.409883 -2.761622)'))) / (select extract(epoch from '2026-07-17 07:48:08'::timestamp) - extract(epoch from '2026-07-17 07:48:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409934 -2.761489)', '2026-07-17 07:48:14', -6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409883 -2.761622)'), GeomFromEWKT('SRID=4674;POINT (-40.409934 -2.761489)'))) / (select extract(epoch from '2026-07-17 07:48:14'::timestamp) - extract(epoch from '2026-07-17 07:48:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409883 -2.761622)'), GeomFromEWKT('SRID=4674;POINT (-40.409934 -2.761489)'))) / (select extract(epoch from '2026-07-17 07:48:14'::timestamp) - extract(epoch from '2026-07-17 07:48:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409984 -2.761313)', '2026-07-17 07:48:22', -6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409934 -2.761489)'), GeomFromEWKT('SRID=4674;POINT (-40.409984 -2.761313)'))) / (select extract(epoch from '2026-07-17 07:48:22'::timestamp) - extract(epoch from '2026-07-17 07:48:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409934 -2.761489)'), GeomFromEWKT('SRID=4674;POINT (-40.409984 -2.761313)'))) / (select extract(epoch from '2026-07-17 07:48:22'::timestamp) - extract(epoch from '2026-07-17 07:48:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410023 -2.761183)', '2026-07-17 07:48:28', -7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409984 -2.761313)'), GeomFromEWKT('SRID=4674;POINT (-40.410023 -2.761183)'))) / (select extract(epoch from '2026-07-17 07:48:28'::timestamp) - extract(epoch from '2026-07-17 07:48:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409984 -2.761313)'), GeomFromEWKT('SRID=4674;POINT (-40.410023 -2.761183)'))) / (select extract(epoch from '2026-07-17 07:48:28'::timestamp) - extract(epoch from '2026-07-17 07:48:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410056 -2.761036)', '2026-07-17 07:48:35', -7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410023 -2.761183)'), GeomFromEWKT('SRID=4674;POINT (-40.410056 -2.761036)'))) / (select extract(epoch from '2026-07-17 07:48:35'::timestamp) - extract(epoch from '2026-07-17 07:48:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410023 -2.761183)'), GeomFromEWKT('SRID=4674;POINT (-40.410056 -2.761036)'))) / (select extract(epoch from '2026-07-17 07:48:35'::timestamp) - extract(epoch from '2026-07-17 07:48:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410067 -2.760956)', '2026-07-17 07:48:40', -6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410056 -2.761036)'), GeomFromEWKT('SRID=4674;POINT (-40.410067 -2.760956)'))) / (select extract(epoch from '2026-07-17 07:48:40'::timestamp) - extract(epoch from '2026-07-17 07:48:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410056 -2.761036)'), GeomFromEWKT('SRID=4674;POINT (-40.410067 -2.760956)'))) / (select extract(epoch from '2026-07-17 07:48:40'::timestamp) - extract(epoch from '2026-07-17 07:48:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410078 -2.760761)', '2026-07-17 07:48:47', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410067 -2.760956)'), GeomFromEWKT('SRID=4674;POINT (-40.410078 -2.760761)'))) / (select extract(epoch from '2026-07-17 07:48:47'::timestamp) - extract(epoch from '2026-07-17 07:48:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410067 -2.760956)'), GeomFromEWKT('SRID=4674;POINT (-40.410078 -2.760761)'))) / (select extract(epoch from '2026-07-17 07:48:47'::timestamp) - extract(epoch from '2026-07-17 07:48:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410107 -2.760597)', '2026-07-17 07:48:55', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410078 -2.760761)'), GeomFromEWKT('SRID=4674;POINT (-40.410107 -2.760597)'))) / (select extract(epoch from '2026-07-17 07:48:55'::timestamp) - extract(epoch from '2026-07-17 07:48:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410078 -2.760761)'), GeomFromEWKT('SRID=4674;POINT (-40.410107 -2.760597)'))) / (select extract(epoch from '2026-07-17 07:48:55'::timestamp) - extract(epoch from '2026-07-17 07:48:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410148 -2.760452)', '2026-07-17 07:49:01', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410107 -2.760597)'), GeomFromEWKT('SRID=4674;POINT (-40.410148 -2.760452)'))) / (select extract(epoch from '2026-07-17 07:49:01'::timestamp) - extract(epoch from '2026-07-17 07:48:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410107 -2.760597)'), GeomFromEWKT('SRID=4674;POINT (-40.410148 -2.760452)'))) / (select extract(epoch from '2026-07-17 07:49:01'::timestamp) - extract(epoch from '2026-07-17 07:48:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410192 -2.760331)', '2026-07-17 07:49:07', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410148 -2.760452)'), GeomFromEWKT('SRID=4674;POINT (-40.410192 -2.760331)'))) / (select extract(epoch from '2026-07-17 07:49:07'::timestamp) - extract(epoch from '2026-07-17 07:49:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410148 -2.760452)'), GeomFromEWKT('SRID=4674;POINT (-40.410192 -2.760331)'))) / (select extract(epoch from '2026-07-17 07:49:07'::timestamp) - extract(epoch from '2026-07-17 07:49:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410216 -2.760179)', '2026-07-17 07:49:14', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410192 -2.760331)'), GeomFromEWKT('SRID=4674;POINT (-40.410216 -2.760179)'))) / (select extract(epoch from '2026-07-17 07:49:14'::timestamp) - extract(epoch from '2026-07-17 07:49:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410192 -2.760331)'), GeomFromEWKT('SRID=4674;POINT (-40.410216 -2.760179)'))) / (select extract(epoch from '2026-07-17 07:49:14'::timestamp) - extract(epoch from '2026-07-17 07:49:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410229 -2.76003)', '2026-07-17 07:49:21', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410216 -2.760179)'), GeomFromEWKT('SRID=4674;POINT (-40.410229 -2.76003)'))) / (select extract(epoch from '2026-07-17 07:49:21'::timestamp) - extract(epoch from '2026-07-17 07:49:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410216 -2.760179)'), GeomFromEWKT('SRID=4674;POINT (-40.410229 -2.76003)'))) / (select extract(epoch from '2026-07-17 07:49:21'::timestamp) - extract(epoch from '2026-07-17 07:49:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410217 -2.759896)', '2026-07-17 07:49:27', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410229 -2.76003)'), GeomFromEWKT('SRID=4674;POINT (-40.410217 -2.759896)'))) / (select extract(epoch from '2026-07-17 07:49:27'::timestamp) - extract(epoch from '2026-07-17 07:49:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410229 -2.76003)'), GeomFromEWKT('SRID=4674;POINT (-40.410217 -2.759896)'))) / (select extract(epoch from '2026-07-17 07:49:27'::timestamp) - extract(epoch from '2026-07-17 07:49:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410166 -2.759777)', '2026-07-17 07:49:35', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410217 -2.759896)'), GeomFromEWKT('SRID=4674;POINT (-40.410166 -2.759777)'))) / (select extract(epoch from '2026-07-17 07:49:35'::timestamp) - extract(epoch from '2026-07-17 07:49:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410217 -2.759896)'), GeomFromEWKT('SRID=4674;POINT (-40.410166 -2.759777)'))) / (select extract(epoch from '2026-07-17 07:49:35'::timestamp) - extract(epoch from '2026-07-17 07:49:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410141 -2.759663)', '2026-07-17 07:49:41', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410166 -2.759777)'), GeomFromEWKT('SRID=4674;POINT (-40.410141 -2.759663)'))) / (select extract(epoch from '2026-07-17 07:49:41'::timestamp) - extract(epoch from '2026-07-17 07:49:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410166 -2.759777)'), GeomFromEWKT('SRID=4674;POINT (-40.410141 -2.759663)'))) / (select extract(epoch from '2026-07-17 07:49:41'::timestamp) - extract(epoch from '2026-07-17 07:49:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.41016 -2.759502)', '2026-07-17 07:49:48', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410141 -2.759663)'), GeomFromEWKT('SRID=4674;POINT (-40.41016 -2.759502)'))) / (select extract(epoch from '2026-07-17 07:49:48'::timestamp) - extract(epoch from '2026-07-17 07:49:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410141 -2.759663)'), GeomFromEWKT('SRID=4674;POINT (-40.41016 -2.759502)'))) / (select extract(epoch from '2026-07-17 07:49:48'::timestamp) - extract(epoch from '2026-07-17 07:49:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410248 -2.759362)', '2026-07-17 07:49:56', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41016 -2.759502)'), GeomFromEWKT('SRID=4674;POINT (-40.410248 -2.759362)'))) / (select extract(epoch from '2026-07-17 07:49:56'::timestamp) - extract(epoch from '2026-07-17 07:49:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41016 -2.759502)'), GeomFromEWKT('SRID=4674;POINT (-40.410248 -2.759362)'))) / (select extract(epoch from '2026-07-17 07:49:56'::timestamp) - extract(epoch from '2026-07-17 07:49:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410284 -2.759228)', '2026-07-17 07:50:03', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410248 -2.759362)'), GeomFromEWKT('SRID=4674;POINT (-40.410284 -2.759228)'))) / (select extract(epoch from '2026-07-17 07:50:03'::timestamp) - extract(epoch from '2026-07-17 07:49:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410248 -2.759362)'), GeomFromEWKT('SRID=4674;POINT (-40.410284 -2.759228)'))) / (select extract(epoch from '2026-07-17 07:50:03'::timestamp) - extract(epoch from '2026-07-17 07:49:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410283 -2.759102)', '2026-07-17 07:50:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410284 -2.759228)'), GeomFromEWKT('SRID=4674;POINT (-40.410283 -2.759102)'))) / (select extract(epoch from '2026-07-17 07:50:09'::timestamp) - extract(epoch from '2026-07-17 07:50:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410284 -2.759228)'), GeomFromEWKT('SRID=4674;POINT (-40.410283 -2.759102)'))) / (select extract(epoch from '2026-07-17 07:50:09'::timestamp) - extract(epoch from '2026-07-17 07:50:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410282 -2.758899)', '2026-07-17 07:50:17', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410283 -2.759102)'), GeomFromEWKT('SRID=4674;POINT (-40.410282 -2.758899)'))) / (select extract(epoch from '2026-07-17 07:50:17'::timestamp) - extract(epoch from '2026-07-17 07:50:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410283 -2.759102)'), GeomFromEWKT('SRID=4674;POINT (-40.410282 -2.758899)'))) / (select extract(epoch from '2026-07-17 07:50:17'::timestamp) - extract(epoch from '2026-07-17 07:50:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410294 -2.758669)', '2026-07-17 07:50:26', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410282 -2.758899)'), GeomFromEWKT('SRID=4674;POINT (-40.410294 -2.758669)'))) / (select extract(epoch from '2026-07-17 07:50:26'::timestamp) - extract(epoch from '2026-07-17 07:50:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410282 -2.758899)'), GeomFromEWKT('SRID=4674;POINT (-40.410294 -2.758669)'))) / (select extract(epoch from '2026-07-17 07:50:26'::timestamp) - extract(epoch from '2026-07-17 07:50:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410299 -2.758554)', '2026-07-17 07:50:31', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410294 -2.758669)'), GeomFromEWKT('SRID=4674;POINT (-40.410299 -2.758554)'))) / (select extract(epoch from '2026-07-17 07:50:31'::timestamp) - extract(epoch from '2026-07-17 07:50:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410294 -2.758669)'), GeomFromEWKT('SRID=4674;POINT (-40.410299 -2.758554)'))) / (select extract(epoch from '2026-07-17 07:50:31'::timestamp) - extract(epoch from '2026-07-17 07:50:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410294 -2.758414)', '2026-07-17 07:50:38', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410299 -2.758554)'), GeomFromEWKT('SRID=4674;POINT (-40.410294 -2.758414)'))) / (select extract(epoch from '2026-07-17 07:50:38'::timestamp) - extract(epoch from '2026-07-17 07:50:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410299 -2.758554)'), GeomFromEWKT('SRID=4674;POINT (-40.410294 -2.758414)'))) / (select extract(epoch from '2026-07-17 07:50:38'::timestamp) - extract(epoch from '2026-07-17 07:50:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410244 -2.758279)', '2026-07-17 07:50:46', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410294 -2.758414)'), GeomFromEWKT('SRID=4674;POINT (-40.410244 -2.758279)'))) / (select extract(epoch from '2026-07-17 07:50:46'::timestamp) - extract(epoch from '2026-07-17 07:50:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410294 -2.758414)'), GeomFromEWKT('SRID=4674;POINT (-40.410244 -2.758279)'))) / (select extract(epoch from '2026-07-17 07:50:46'::timestamp) - extract(epoch from '2026-07-17 07:50:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410184 -2.75822)', '2026-07-17 07:50:51', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410244 -2.758279)'), GeomFromEWKT('SRID=4674;POINT (-40.410184 -2.75822)'))) / (select extract(epoch from '2026-07-17 07:50:51'::timestamp) - extract(epoch from '2026-07-17 07:50:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410244 -2.758279)'), GeomFromEWKT('SRID=4674;POINT (-40.410184 -2.75822)'))) / (select extract(epoch from '2026-07-17 07:50:51'::timestamp) - extract(epoch from '2026-07-17 07:50:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410118 -2.75811)', '2026-07-17 07:50:58', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410184 -2.75822)'), GeomFromEWKT('SRID=4674;POINT (-40.410118 -2.75811)'))) / (select extract(epoch from '2026-07-17 07:50:58'::timestamp) - extract(epoch from '2026-07-17 07:50:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410184 -2.75822)'), GeomFromEWKT('SRID=4674;POINT (-40.410118 -2.75811)'))) / (select extract(epoch from '2026-07-17 07:50:58'::timestamp) - extract(epoch from '2026-07-17 07:50:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410104 -2.75799)', '2026-07-17 07:51:04', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410118 -2.75811)'), GeomFromEWKT('SRID=4674;POINT (-40.410104 -2.75799)'))) / (select extract(epoch from '2026-07-17 07:51:04'::timestamp) - extract(epoch from '2026-07-17 07:50:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410118 -2.75811)'), GeomFromEWKT('SRID=4674;POINT (-40.410104 -2.75799)'))) / (select extract(epoch from '2026-07-17 07:51:04'::timestamp) - extract(epoch from '2026-07-17 07:50:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410093 -2.75786)', '2026-07-17 07:51:10', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410104 -2.75799)'), GeomFromEWKT('SRID=4674;POINT (-40.410093 -2.75786)'))) / (select extract(epoch from '2026-07-17 07:51:10'::timestamp) - extract(epoch from '2026-07-17 07:51:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410104 -2.75799)'), GeomFromEWKT('SRID=4674;POINT (-40.410093 -2.75786)'))) / (select extract(epoch from '2026-07-17 07:51:10'::timestamp) - extract(epoch from '2026-07-17 07:51:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410094 -2.757721)', '2026-07-17 07:51:17', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410093 -2.75786)'), GeomFromEWKT('SRID=4674;POINT (-40.410094 -2.757721)'))) / (select extract(epoch from '2026-07-17 07:51:17'::timestamp) - extract(epoch from '2026-07-17 07:51:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410093 -2.75786)'), GeomFromEWKT('SRID=4674;POINT (-40.410094 -2.757721)'))) / (select extract(epoch from '2026-07-17 07:51:17'::timestamp) - extract(epoch from '2026-07-17 07:51:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410099 -2.757599)', '2026-07-17 07:51:26', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410094 -2.757721)'), GeomFromEWKT('SRID=4674;POINT (-40.410099 -2.757599)'))) / (select extract(epoch from '2026-07-17 07:51:26'::timestamp) - extract(epoch from '2026-07-17 07:51:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410094 -2.757721)'), GeomFromEWKT('SRID=4674;POINT (-40.410099 -2.757599)'))) / (select extract(epoch from '2026-07-17 07:51:26'::timestamp) - extract(epoch from '2026-07-17 07:51:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410101 -2.757498)', '2026-07-17 07:51:33', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410099 -2.757599)'), GeomFromEWKT('SRID=4674;POINT (-40.410101 -2.757498)'))) / (select extract(epoch from '2026-07-17 07:51:33'::timestamp) - extract(epoch from '2026-07-17 07:51:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410099 -2.757599)'), GeomFromEWKT('SRID=4674;POINT (-40.410101 -2.757498)'))) / (select extract(epoch from '2026-07-17 07:51:33'::timestamp) - extract(epoch from '2026-07-17 07:51:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410133 -2.757445)', '2026-07-17 07:51:37', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410101 -2.757498)'), GeomFromEWKT('SRID=4674;POINT (-40.410133 -2.757445)'))) / (select extract(epoch from '2026-07-17 07:51:37'::timestamp) - extract(epoch from '2026-07-17 07:51:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410101 -2.757498)'), GeomFromEWKT('SRID=4674;POINT (-40.410133 -2.757445)'))) / (select extract(epoch from '2026-07-17 07:51:37'::timestamp) - extract(epoch from '2026-07-17 07:51:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410161 -2.757385)', '2026-07-17 07:51:41', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410133 -2.757445)'), GeomFromEWKT('SRID=4674;POINT (-40.410161 -2.757385)'))) / (select extract(epoch from '2026-07-17 07:51:41'::timestamp) - extract(epoch from '2026-07-17 07:51:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410133 -2.757445)'), GeomFromEWKT('SRID=4674;POINT (-40.410161 -2.757385)'))) / (select extract(epoch from '2026-07-17 07:51:41'::timestamp) - extract(epoch from '2026-07-17 07:51:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410174 -2.757289)', '2026-07-17 07:51:50', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410161 -2.757385)'), GeomFromEWKT('SRID=4674;POINT (-40.410174 -2.757289)'))) / (select extract(epoch from '2026-07-17 07:51:50'::timestamp) - extract(epoch from '2026-07-17 07:51:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410161 -2.757385)'), GeomFromEWKT('SRID=4674;POINT (-40.410174 -2.757289)'))) / (select extract(epoch from '2026-07-17 07:51:50'::timestamp) - extract(epoch from '2026-07-17 07:51:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410177 -2.757149)', '2026-07-17 07:52:00', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410174 -2.757289)'), GeomFromEWKT('SRID=4674;POINT (-40.410177 -2.757149)'))) / (select extract(epoch from '2026-07-17 07:52:00'::timestamp) - extract(epoch from '2026-07-17 07:51:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410174 -2.757289)'), GeomFromEWKT('SRID=4674;POINT (-40.410177 -2.757149)'))) / (select extract(epoch from '2026-07-17 07:52:00'::timestamp) - extract(epoch from '2026-07-17 07:51:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410152 -2.757035)', '2026-07-17 07:52:10', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410177 -2.757149)'), GeomFromEWKT('SRID=4674;POINT (-40.410152 -2.757035)'))) / (select extract(epoch from '2026-07-17 07:52:10'::timestamp) - extract(epoch from '2026-07-17 07:52:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410177 -2.757149)'), GeomFromEWKT('SRID=4674;POINT (-40.410152 -2.757035)'))) / (select extract(epoch from '2026-07-17 07:52:10'::timestamp) - extract(epoch from '2026-07-17 07:52:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410107 -2.756928)', '2026-07-17 07:52:17', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410152 -2.757035)'), GeomFromEWKT('SRID=4674;POINT (-40.410107 -2.756928)'))) / (select extract(epoch from '2026-07-17 07:52:17'::timestamp) - extract(epoch from '2026-07-17 07:52:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410152 -2.757035)'), GeomFromEWKT('SRID=4674;POINT (-40.410107 -2.756928)'))) / (select extract(epoch from '2026-07-17 07:52:17'::timestamp) - extract(epoch from '2026-07-17 07:52:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410094 -2.756836)', '2026-07-17 07:52:23', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410107 -2.756928)'), GeomFromEWKT('SRID=4674;POINT (-40.410094 -2.756836)'))) / (select extract(epoch from '2026-07-17 07:52:23'::timestamp) - extract(epoch from '2026-07-17 07:52:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410107 -2.756928)'), GeomFromEWKT('SRID=4674;POINT (-40.410094 -2.756836)'))) / (select extract(epoch from '2026-07-17 07:52:23'::timestamp) - extract(epoch from '2026-07-17 07:52:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410098 -2.756777)', '2026-07-17 07:52:26', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410094 -2.756836)'), GeomFromEWKT('SRID=4674;POINT (-40.410098 -2.756777)'))) / (select extract(epoch from '2026-07-17 07:52:26'::timestamp) - extract(epoch from '2026-07-17 07:52:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410094 -2.756836)'), GeomFromEWKT('SRID=4674;POINT (-40.410098 -2.756777)'))) / (select extract(epoch from '2026-07-17 07:52:26'::timestamp) - extract(epoch from '2026-07-17 07:52:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410082 -2.756655)', '2026-07-17 07:52:33', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410098 -2.756777)'), GeomFromEWKT('SRID=4674;POINT (-40.410082 -2.756655)'))) / (select extract(epoch from '2026-07-17 07:52:33'::timestamp) - extract(epoch from '2026-07-17 07:52:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410098 -2.756777)'), GeomFromEWKT('SRID=4674;POINT (-40.410082 -2.756655)'))) / (select extract(epoch from '2026-07-17 07:52:33'::timestamp) - extract(epoch from '2026-07-17 07:52:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410034 -2.7565)', '2026-07-17 07:52:41', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410082 -2.756655)'), GeomFromEWKT('SRID=4674;POINT (-40.410034 -2.7565)'))) / (select extract(epoch from '2026-07-17 07:52:41'::timestamp) - extract(epoch from '2026-07-17 07:52:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410082 -2.756655)'), GeomFromEWKT('SRID=4674;POINT (-40.410034 -2.7565)'))) / (select extract(epoch from '2026-07-17 07:52:41'::timestamp) - extract(epoch from '2026-07-17 07:52:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410006 -2.756412)', '2026-07-17 07:52:47', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410034 -2.7565)'), GeomFromEWKT('SRID=4674;POINT (-40.410006 -2.756412)'))) / (select extract(epoch from '2026-07-17 07:52:47'::timestamp) - extract(epoch from '2026-07-17 07:52:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410034 -2.7565)'), GeomFromEWKT('SRID=4674;POINT (-40.410006 -2.756412)'))) / (select extract(epoch from '2026-07-17 07:52:47'::timestamp) - extract(epoch from '2026-07-17 07:52:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410006 -2.756396)', '2026-07-17 07:52:48', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410006 -2.756412)'), GeomFromEWKT('SRID=4674;POINT (-40.410006 -2.756396)'))) / (select extract(epoch from '2026-07-17 07:52:48'::timestamp) - extract(epoch from '2026-07-17 07:52:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410006 -2.756412)'), GeomFromEWKT('SRID=4674;POINT (-40.410006 -2.756396)'))) / (select extract(epoch from '2026-07-17 07:52:48'::timestamp) - extract(epoch from '2026-07-17 07:52:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409992 -2.756353)', '2026-07-17 07:52:51', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410006 -2.756396)'), GeomFromEWKT('SRID=4674;POINT (-40.409992 -2.756353)'))) / (select extract(epoch from '2026-07-17 07:52:51'::timestamp) - extract(epoch from '2026-07-17 07:52:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410006 -2.756396)'), GeomFromEWKT('SRID=4674;POINT (-40.409992 -2.756353)'))) / (select extract(epoch from '2026-07-17 07:52:51'::timestamp) - extract(epoch from '2026-07-17 07:52:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409959 -2.756291)', '2026-07-17 07:52:55', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409992 -2.756353)'), GeomFromEWKT('SRID=4674;POINT (-40.409959 -2.756291)'))) / (select extract(epoch from '2026-07-17 07:52:55'::timestamp) - extract(epoch from '2026-07-17 07:52:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409992 -2.756353)'), GeomFromEWKT('SRID=4674;POINT (-40.409959 -2.756291)'))) / (select extract(epoch from '2026-07-17 07:52:55'::timestamp) - extract(epoch from '2026-07-17 07:52:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409882 -2.756159)', '2026-07-17 07:53:03', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409959 -2.756291)'), GeomFromEWKT('SRID=4674;POINT (-40.409882 -2.756159)'))) / (select extract(epoch from '2026-07-17 07:53:03'::timestamp) - extract(epoch from '2026-07-17 07:52:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409959 -2.756291)'), GeomFromEWKT('SRID=4674;POINT (-40.409882 -2.756159)'))) / (select extract(epoch from '2026-07-17 07:53:03'::timestamp) - extract(epoch from '2026-07-17 07:52:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409808 -2.756039)', '2026-07-17 07:53:10', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409882 -2.756159)'), GeomFromEWKT('SRID=4674;POINT (-40.409808 -2.756039)'))) / (select extract(epoch from '2026-07-17 07:53:10'::timestamp) - extract(epoch from '2026-07-17 07:53:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409882 -2.756159)'), GeomFromEWKT('SRID=4674;POINT (-40.409808 -2.756039)'))) / (select extract(epoch from '2026-07-17 07:53:10'::timestamp) - extract(epoch from '2026-07-17 07:53:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
